From a590b4afa702f797ce29f9ffb891262773f91b24 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 11:22:22 +0100 Subject: [PATCH 01/21] Bump minimum CodeQL version to 2.9.4 --- lib/codeql.js | 2 +- src/codeql.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 8f98decd06..65259efc5c 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -60,7 +60,7 @@ let cachedCodeQL = undefined; * The version flags below can be used to conditionally enable certain features * on versions newer than this. */ -const CODEQL_MINIMUM_VERSION = "2.8.5"; +const CODEQL_MINIMUM_VERSION = "2.9.4"; /** * Versions of CodeQL that version-flag certain functionality in the Action. * For convenience, please keep these in descending order. Once a version diff --git a/src/codeql.ts b/src/codeql.ts index 1dee500768..ec6e23abdd 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -254,7 +254,7 @@ let cachedCodeQL: CodeQL | undefined = undefined; * The version flags below can be used to conditionally enable certain features * on versions newer than this. */ -const CODEQL_MINIMUM_VERSION = "2.8.5"; +const CODEQL_MINIMUM_VERSION = "2.9.4"; /** * Versions of CodeQL that version-flag certain functionality in the Action. From f1c4784a3f3e842c0c0852ef302a1ae32bdbbdd4 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 11:26:55 +0100 Subject: [PATCH 02/21] Update checks --- .github/workflows/__analyze-ref-input.yml | 12 +++---- .github/workflows/__go-custom-queries.yml | 12 +++---- .../workflows/__go-tracing-autobuilder.yml | 8 ++--- .../__go-tracing-custom-build-steps.yml | 8 ++--- .../__go-tracing-legacy-workflow.yml | 8 ++--- .github/workflows/__ml-powered-queries.yml | 33 +++++-------------- .../workflows/__multi-language-autodetect.yml | 8 ++--- ...ackaging-codescanning-config-inputs-js.yml | 3 +- .../__packaging-config-inputs-js.yml | 3 +- .github/workflows/__packaging-config-js.yml | 3 +- .github/workflows/__packaging-inputs-js.yml | 3 +- .github/workflows/__remote-config.yml | 12 +++---- .github/workflows/__unset-environment.yml | 4 +-- .github/workflows/__upload-ref-sha-input.yml | 12 +++---- .github/workflows/__with-checkout-path.yml | 12 +++---- .github/workflows/debug-artifacts.yml | 4 +-- pr-checks/checks/ml-powered-queries.yml | 17 ++-------- pr-checks/sync.py | 6 ++-- 18 files changed, 68 insertions(+), 100 deletions(-) diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index 61ad6a3b83..f20837daad 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index afa78f3c71..b75dfeab61 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 963f9bc508..a28f35d9ac 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -41,6 +37,10 @@ jobs: version: stable-20221211 - os: macos-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index bfe8143579..47605c46fb 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -41,6 +37,10 @@ jobs: version: stable-20221211 - os: macos-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index e0dae91d66..606f551145 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -41,6 +37,10 @@ jobs: version: stable-20221211 - os: macos-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__ml-powered-queries.yml b/.github/workflows/__ml-powered-queries.yml index c965bc239e..58504a687d 100644 --- a/.github/workflows/__ml-powered-queries.yml +++ b/.github/workflows/__ml-powered-queries.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest @@ -110,23 +110,14 @@ jobs: - name: Check sarif uses: ./../action/.github/actions/check-sarif - # Running on Windows requires CodeQL CLI 2.9.0+. - if: "!(matrix.version == 'stable-20220401' && runner.os == 'Windows')" with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: - js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss + queries-run: js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss queries-not-run: foo,bar - name: Check results - env: - # Running on Windows requires CodeQL CLI 2.9.0+. - SHOULD_RUN_ML_POWERED_QUERIES: ${{ !(matrix.version == 'stable-20220401' && - runner.os == 'Windows') }} shell: bash run: | - echo "Expecting ML-powered queries to be run: ${SHOULD_RUN_ML_POWERED_QUERIES}" - cd "$RUNNER_TEMP/results" # We should run at least the ML-powered queries in `expected_rules`. expected_rules="js/ml-powered/nosql-injection js/ml-powered/path-injection js/ml-powered/sql-injection js/ml-powered/xss" @@ -135,12 +126,9 @@ jobs: found_rule=$(jq --arg rule "${rule}" '[.runs[0].tool.extensions[].rules | select(. != null) | flatten | .[].id] | any(. == $rule)' javascript.sarif) echo "Did find rule '${rule}': ${found_rule}" - if [[ "${found_rule}" != "true" && "${SHOULD_RUN_ML_POWERED_QUERIES}" == "true" ]]; then + if [[ "${found_rule}" != "true" ]]; then echo "Expected SARIF output to contain rule '${rule}', but found no such rule." exit 1 - elif [[ "${found_rule}" == "true" && "${SHOULD_RUN_ML_POWERED_QUERIES}" != "true" ]]; then - echo "Found rule '${rule}' in the SARIF output which shouldn't have been part of the analysis." - exit 1 fi done @@ -149,12 +137,9 @@ jobs: select(.properties.score != null and (.rule.id | startswith("js/ml-powered/")))] | length' \ javascript.sarif) echo "Found ${num_alerts} alerts from ML-powered queries."; - if [[ "${num_alerts}" -eq 0 && "${SHOULD_RUN_ML_POWERED_QUERIES}" == "true" ]]; then + if [[ "${num_alerts}" -eq 0 ]]; then echo "Expected to find at least one alert from an ML-powered query but found ${num_alerts}." exit 1 - elif [[ "${num_alerts}" -ne 0 && "${SHOULD_RUN_ML_POWERED_QUERIES}" != "true" ]]; then - echo "Expected not to find any alerts from an ML-powered query but found ${num_alerts}." - exit 1 fi env: CODEQL_ACTION_TEST_MODE: true diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 83382ae4dd..a88650c6e4 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -25,10 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -41,6 +37,10 @@ jobs: version: stable-20221211 - os: macos-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 8a106ff438..89717d46fd 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -83,8 +83,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: - javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 994c09a0dc..00f21105d6 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -83,8 +83,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: - javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 70013f6f80..bf86b610e9 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -82,8 +82,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: - javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 26485c1c9c..98fa6b3564 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -82,8 +82,7 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: - javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index b302fb7d93..e699528ad9 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index f7a7f27c8f..9c34631e4a 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -25,14 +25,14 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: ubuntu-latest version: stable-20220908 - os: ubuntu-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: ubuntu-latest diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 4108065aad..0f708b389b 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index ec83717fe9..17bfb1add6 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -25,12 +25,6 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20220401 - - os: macos-latest - version: stable-20220401 - - os: windows-latest - version: stable-20220401 - os: ubuntu-latest version: stable-20220615 - os: macos-latest @@ -49,6 +43,12 @@ jobs: version: stable-20221211 - os: windows-latest version: stable-20221211 + - os: ubuntu-latest + version: stable-20230418 + - os: macos-latest + version: stable-20230418 + - os: windows-latest + version: stable-20230418 - os: ubuntu-latest version: cached - os: macos-latest diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 9336a03bf6..b91ac304ce 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -25,10 +25,10 @@ jobs: - ubuntu-latest - macos-latest version: - - stable-20220401 - stable-20220615 - stable-20220908 - stable-20221211 + - stable-20230418 - cached - latest - nightly-latest @@ -74,7 +74,7 @@ jobs: - name: Check expected artifacts exist shell: bash run: | - VERSIONS="stable-20220401 stable-20220615 stable-20220908 stable-20221211 cached latest nightly-latest" + VERSIONS="stable-20220615 stable-20220908 stable-20221211 stable-20230418 cached latest nightly-latest" LANGUAGES="cpp csharp go java javascript python" for version in $VERSIONS; do for os in ubuntu-latest macos-latest; do diff --git a/pr-checks/checks/ml-powered-queries.yml b/pr-checks/checks/ml-powered-queries.yml index 2312b967d7..87c5c375c9 100644 --- a/pr-checks/checks/ml-powered-queries.yml +++ b/pr-checks/checks/ml-powered-queries.yml @@ -22,21 +22,14 @@ steps: - name: Check sarif uses: ./../action/.github/actions/check-sarif - # Running on Windows requires CodeQL CLI 2.9.0+. - if: "!(matrix.version == 'stable-20220401' && runner.os == 'Windows')" with: sarif-file: ${{ runner.temp }}/results/javascript.sarif queries-run: js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss queries-not-run: foo,bar - name: Check results - env: - # Running on Windows requires CodeQL CLI 2.9.0+. - SHOULD_RUN_ML_POWERED_QUERIES: ${{ !(matrix.version == 'stable-20220401' && runner.os == 'Windows') }} shell: bash run: | - echo "Expecting ML-powered queries to be run: ${SHOULD_RUN_ML_POWERED_QUERIES}" - cd "$RUNNER_TEMP/results" # We should run at least the ML-powered queries in `expected_rules`. expected_rules="js/ml-powered/nosql-injection js/ml-powered/path-injection js/ml-powered/sql-injection js/ml-powered/xss" @@ -45,12 +38,9 @@ steps: found_rule=$(jq --arg rule "${rule}" '[.runs[0].tool.extensions[].rules | select(. != null) | flatten | .[].id] | any(. == $rule)' javascript.sarif) echo "Did find rule '${rule}': ${found_rule}" - if [[ "${found_rule}" != "true" && "${SHOULD_RUN_ML_POWERED_QUERIES}" == "true" ]]; then + if [[ "${found_rule}" != "true" ]]; then echo "Expected SARIF output to contain rule '${rule}', but found no such rule." exit 1 - elif [[ "${found_rule}" == "true" && "${SHOULD_RUN_ML_POWERED_QUERIES}" != "true" ]]; then - echo "Found rule '${rule}' in the SARIF output which shouldn't have been part of the analysis." - exit 1 fi done @@ -59,10 +49,7 @@ steps: select(.properties.score != null and (.rule.id | startswith("js/ml-powered/")))] | length' \ javascript.sarif) echo "Found ${num_alerts} alerts from ML-powered queries."; - if [[ "${num_alerts}" -eq 0 && "${SHOULD_RUN_ML_POWERED_QUERIES}" == "true" ]]; then + if [[ "${num_alerts}" -eq 0 ]]; then echo "Expected to find at least one alert from an ML-powered query but found ${num_alerts}." exit 1 - elif [[ "${num_alerts}" -ne 0 && "${SHOULD_RUN_ML_POWERED_QUERIES}" != "true" ]]; then - echo "Expected not to find any alerts from an ML-powered query but found ${num_alerts}." - exit 1 fi diff --git a/pr-checks/sync.py b/pr-checks/sync.py index bde0964541..5c0c322462 100644 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -5,14 +5,14 @@ # The default set of CodeQL Bundle versions to use for the PR checks. defaultTestVersions = [ - # The oldest supported CodeQL version: 2.8.5. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts` - "stable-20220401", - # The last CodeQL release in the 2.9 series: 2.9.4. + # The oldest supported CodeQL version: 2.9.4. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts` "stable-20220615", # The last CodeQL release in the 2.10 series: 2.10.5. "stable-20220908", # The last CodeQL release in the 2.11 series: 2.11.6. "stable-20221211", + # The last CodeQL release in the 2.12 series: 2.12.7. + "stable-20230418", # The version of CodeQL currently in the toolcache. Typically either the latest release or the one before. "cached", # The latest release of CodeQL. From 7bd23b58b5e4537f7e1e9f94e19752c5a4e0d985 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 11:34:01 +0100 Subject: [PATCH 03/21] Remove support for CodeQL CLI 2.9.3 and earlier --- lib/codeql.js | 8 +--- lib/codeql.js.map | 2 +- lib/codeql.test.js | 2 +- lib/config-utils.js | 6 +-- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 40 +++++++------------ lib/config-utils.test.js.map | 2 +- lib/feature-flags.js | 2 +- lib/feature-flags.js.map | 2 +- lib/util.js | 8 +--- lib/util.js.map | 2 +- src/codeql.test.ts | 2 +- src/codeql.ts | 7 ---- src/config-utils.test.ts | 75 +++++++----------------------------- src/config-utils.ts | 7 ---- src/feature-flags.ts | 2 +- src/util.ts | 6 +-- 17 files changed, 39 insertions(+), 136 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 65259efc5c..3c74ea6493 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExtraOptions = exports.getCodeQLForCmd = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.setupCodeQL = exports.CODEQL_VERSION_INIT_WITH_QLCONFIG = exports.CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CommandInvocationError = void 0; +exports.getExtraOptions = exports.getCodeQLForCmd = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.setupCodeQL = exports.CODEQL_VERSION_INIT_WITH_QLCONFIG = exports.CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CommandInvocationError = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); @@ -70,12 +70,6 @@ const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; const CODEQL_VERSION_FILE_BASELINE_INFORMATION = "2.11.3"; -/** - * Versions 2.9.0+ of the CodeQL CLI run machine learning models from a temporary directory, which - * resolves an issue on Windows where TensorFlow models are not correctly loaded due to the path of - * some of their files being greater than MAX_PATH (260 characters). - */ -exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = "2.9.0"; /** * Previous versions had the option already, but were missing the * --extractor-options-verbosity that we need. diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 824a203d3e..2bd6b937fd 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,8CAAgC;AAEhC,iDAAkD;AAElD,iDAA4E;AAC5E,mDAAgD;AAChD,mDAIyB;AAEzB,2CAAyD;AAEzD,4DAA8C;AAC9C,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iC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,EAAE,CAAC;IAElB,EAAE,CAAC,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IACrE,OAAO,sBAAsB,CAAC;AAChC,CAAC;AAED,SAAS,WAAW,CAAI,GAAM;IAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,oCAAoC,CACjD,MAAc,EACd,MAAc,EACd,QAA2B;IAE3B,MAAM,sBAAsB,GAAG,IAAA,iDAAkC,EAAC,MAAM,CAAC,CAAC;IAC1E,IACE,EAAE,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACrC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC,EAC1E;QACA,OAAO,CAAC,6BAA6B,EAAE,sBAAsB,CAAC,CAAC;KAChE;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index bfa843741b..fb1f9edc78 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -392,7 +392,7 @@ for (const isBundleVersionInUrl of [true, false]) { await util.withTmpDir(async (tempDir) => { const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.8.1"); + sinon.stub(codeqlObject, "getVersion").resolves("2.9.4"); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); const thisStubConfig = { diff --git a/lib/config-utils.js b/lib/config-utils.js index 98b05a669e..0684d394cf 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -156,11 +156,7 @@ async function addBuiltinSuiteQueries(languages, codeQL, resultMap, packs, suite // If we're running the JavaScript security-extended analysis (or a superset of it), the repo is // opted into the ML-powered queries beta, and a user hasn't already added the ML-powered query // pack, then add the ML-powered query pack so that we run ML-powered queries. - if ( - // Only run ML-powered queries on Windows if we have a CLI that supports it. - (process.platform !== "win32" || - (await (0, util_1.codeQlVersionAbove)(codeQL, codeql_1.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS))) && - languages.includes("javascript") && + if (languages.includes("javascript") && (found === "security-experimental" || found === "security-extended" || found === "security-and-quality") && diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 5dce49c2be..5675a568b3 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAMkB;AAClB,oEAAsD;AACtD,mDAA6D;AAC7D,2CAKqB;AAGrB,iDAAoD;AACpD,iCAOgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eA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SAC1B;KACF;AACH,CAAC;AAxBD,0CAwBC;AAED;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,MAAc;IAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;AAC1D,CAAC;AAFD,gFAEC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA6D;AAC7D,2CAKqB;AAGrB,iDAAoD;AACpD,iCAOgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AAmN/B;;;GAGG;AACU,QAAA,6BAA6B,GAA2B;IACnE,oBAAoB,EAAE,KAAK;IAC3B,kBAAkB,EAAE,KAAK;IACzB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE,SAAS;CACxB,CAAC;AASF;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,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AAE,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG;QACrE,QAAQ,EAAE,QAAQ,CAAC,QAAQ;KAC5B,CAAC,CAAC,CAAC;IACJ,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,cAAc;KAC3B,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,eAAe,CACnC,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC;AAxBD,0CAwBC;AAED;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,MAAc;IAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;AAC1D,CAAC;AAFD,gFAEC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index a5a4f969a4..4f8805a37d 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -1101,37 +1101,23 @@ const mlPoweredQueriesMacro = ava_1.default.macro({ }); // macro, codeQLVersion, isMlPoweredQueriesEnabled, packsInput, queriesInput, expectedVersionString // Test that ML-powered queries aren't run when the feature is off. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.7.5", false, undefined, "security-extended", undefined); -// Test that the ~0.1.0 version of ML-powered queries is run on v2.8.3 of the CLI. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.8.3", true, undefined, "security-extended", process.platform === "win32" ? undefined : "~0.1.0"); +(0, ava_1.default)(mlPoweredQueriesMacro, "2.12.3", false, undefined, "security-extended", undefined); // Test that ML-powered queries aren't run when the user hasn't specified that we should run the // `security-extended`, `security-and-quality`, or `security-experimental` query suite. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.7.5", true, undefined, undefined, undefined); -// Test that ML-powered queries are run on non-Windows platforms running `security-extended` on -// versions of the CodeQL CLI prior to 2.9.0. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.8.5", true, undefined, "security-extended", process.platform === "win32" ? undefined : "~0.2.0"); -// Test that ML-powered queries are run on non-Windows platforms running `security-and-quality` on -// versions of the CodeQL CLI prior to 2.9.0. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.8.5", true, undefined, "security-and-quality", process.platform === "win32" ? undefined : "~0.2.0"); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL CLI -// 2.9.0+. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.0", true, undefined, "security-extended", "~0.2.0"); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.9.0+. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.0", true, undefined, "security-and-quality", "~0.2.0"); +(0, ava_1.default)(mlPoweredQueriesMacro, "2.12.3", true, undefined, undefined, undefined); // Test that we don't inject an ML-powered query pack if the user has already specified one. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.0", true, "codeql/javascript-experimental-atm-queries@0.0.1", "security-and-quality", "0.0.1"); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL -// CLI 2.9.3+. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.3", true, undefined, "security-extended", "~0.3.0"); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.9.3+. -(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.3", true, undefined, "security-and-quality", "~0.3.0"); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL -// CLI 2.11.3+. +(0, ava_1.default)(mlPoweredQueriesMacro, "2.12.3", true, "codeql/javascript-experimental-atm-queries@0.0.1", "security-and-quality", "0.0.1"); +// Test that ML-powered queries ~0.3.0 are run on all platforms running `security-extended` on +// CodeQL CLI 2.9.4+. +(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.4", true, undefined, "security-extended", "~0.3.0"); +// Test that ML-powered queries ~0.3.0 are run on all platforms running `security-and-quality` on +// CodeQL CLI 2.9.4+. +(0, ava_1.default)(mlPoweredQueriesMacro, "2.9.4", true, undefined, "security-and-quality", "~0.3.0"); +// Test that ML-powered queries ~0.4.0 are run on all platforms running `security-extended` on +// CodeQL CLI 2.11.3+. (0, ava_1.default)(mlPoweredQueriesMacro, "2.11.3", true, undefined, "security-extended", "~0.4.0"); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.11.3+. +// Test that ML-powered queries ~0.4.0 are run on all platforms running `security-and-quality` on +// CodeQL CLI 2.11.3+. (0, ava_1.default)(mlPoweredQueriesMacro, "2.11.3", true, undefined, "security-and-quality", "~0.4.0"); // Test that ML-powered queries are run on all platforms running `security-experimental` on CodeQL // CLI 2.12.1+. diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index b614c7081e..d641f30a6c 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;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AO,CAAC,SAAS,CAAC;SACnD,CAAC,CAAC;QAEH,IAAI,IAAI,CAAC,iBAAiB,EAAE;YAC1B,aAAa;YACb,MAAM,eAAe,GAAG,MAAM,WAAW,CAAC,YAAY,CACpD,MAAM,EACN,IAAI,CAAC,cAAc,EACnB,iBAAiB,EACjB,UAAU,CACX,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;SACpE;aAAM;YACL,oBAAoB;YACpB,MAAM,CAAC,CAAC,WAAW,CACjB,KAAK,IAAI,EAAE,CACT,MAAM,WAAW,CAAC,YAAY,CAC5B,MAAM,EACN,IAAI,CAAC,cAAc,EACnB,iBAAiB,EACjB,UAAU,CACX,EACH,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,CAChC,CAAC;SACH;QACD,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,8CAAgC;AAChC,6CAA+B;AAE/B,kDAAoC;AACpC,qCAKkB;AAClB,4DAA8C;AAC9C,mDAA0C;AAC1C,2CAAuC;AACvC,uCAAoD;AACpD,6CAAkD;AAClD,mDAIyB;AACzB,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC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iBAAiB,EAAE;YAC1B,aAAa;YACb,MAAM,eAAe,GAAG,MAAM,WAAW,CAAC,YAAY,CACpD,MAAM,EACN,IAAI,CAAC,cAAc,EACnB,iBAAiB,EACjB,UAAU,CACX,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;SACpE;aAAM;YACL,oBAAoB;YACpB,MAAM,CAAC,CAAC,WAAW,CACjB,KAAK,IAAI,EAAE,CACT,MAAM,WAAW,CAAC,YAAY,CAC5B,MAAM,EACN,IAAI,CAAC,cAAc,EACnB,iBAAiB,EACjB,UAAU,CACX,EACH,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,CAChC,CAAC;SACH;QACD,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACxD,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 abb8d3045e..585055301a 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -65,7 +65,7 @@ exports.featureConfig = { }, [Feature.MlPoweredQueriesEnabled]: { envVar: "CODEQL_ML_POWERED_QUERIES", - minimumVersion: "2.7.5", + minimumVersion: undefined, defaultValue: false, }, [Feature.UploadFailedSarifEnabled]: { diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index bb589efdf5..93ef01a719 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,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAA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,CAAC,IAAI,CAAC;YAClC,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,wFAAwF;gBACtF,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CACnC,CAAC;YACF,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;SACpB;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;gBAC3C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,EAAE,CACxF,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;aACX;iBAAM;gBACL,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;aACH;SACF;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,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAyBvD,IAAY,OAQX;AARD,WAAY,OAAO;IACjB,2DAAgD,CAAA;IAChD,2EAAgE,CAAA;IAChE,kFAAuE,CAAA;IACvE,kEAAuD,CAAA;IACvD,iEAAsD,CAAA;IACtD,mEAAwD,CAAA;IACxD,yFAA8E,CAAA;AAChF,CAAC,EARW,OAAO,GAAP,eAAO,KAAP,eAAO,QAQlB;AAEY,QAAA,aAAa,GAGtB;IACF,CAAC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,GAAG,EAAE;gBAC3C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,EAAE,CACxF,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;aACX;iBAAM;gBACL,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;aACH;SACF;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 3c59908c0f..9ff63bd79b 100644 --- a/lib/util.js +++ b/lib/util.js @@ -445,14 +445,8 @@ async function getMlPoweredJsQueriesPack(codeQL) { if (await codeQlVersionAbove(codeQL, "2.11.3")) { version = "~0.4.0"; } - else if (await codeQlVersionAbove(codeQL, "2.9.3")) { - version = `~0.3.0`; - } - else if (await codeQlVersionAbove(codeQL, "2.8.4")) { - version = `~0.2.0`; - } else { - version = `~0.1.0`; + version = `~0.3.0`; } return (0, config_utils_1.prettyPrintPack)({ name: exports.ML_POWERED_JS_QUERIES_PACK_NAME, diff --git a/lib/util.js.map b/lib/util.js.map index bdb59015b2..730292e9da 100644 --- a/lib/util.js.map +++ b/lib/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAC7B,+BAAiC;AAEjC,oDAAsC;AACtC,8CAAsB;AACtB,sEAA4C;AAC5C,+CAAiC;AAEjC,6CAA8D;AAC9D,2EAA6D;AAE7D,iDAIwB;AACxB,mDAA6D;AAG7D,6DAI8B;AAE9B;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAE3C;;GAEG;AACU,QAAA,iBA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AAG,CAAC,EAAE;QACpC,MAAM,CAAC,IAAI,CACT,WAAW,4BAA4B,+CAA+C;YACpF,UAAU,CACb,CAAC;KACH;SAAM;QACL,MAAM,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAC;KAC7E;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AA5DD,0DA4DC;AAED;;;;;;;;;qDASqD;AACrD,SAAgB,6BAA6B,CAC3C,SAAiB,EACjB,UAAkB,EAClB,MAAc;IAEd,IAAI,OAAO,CAAC,GAAG,CAAC,iEAA4C,CAAC,KAAK,MAAM,EAAE;QACxE,MAAM,CAAC,IAAI,CACT,mEAAmE;YACjE,GAAG,iEAA4C,wBAAwB,CAC1E,CAAC;QACF,EAAE,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;KACtC;SAAM;QACL,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,CAAc,CAAC;QACxE,KAAK,GAAG,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAC/C,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;KACrD;AACH,CAAC;AAhBD,sEAgBC;AAED,SAAgB,SAAS,CAAC,KAAc;IACtC,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,8BAEC"} \ No newline at end of file diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 85c9597cdf..c45b297b08 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -572,7 +572,7 @@ test("databaseInitCluster() without injected codescanning config", async (t) => await util.withTmpDir(async (tempDir) => { const runnerConstructorStub = stubToolRunnerConstructor(); const codeqlObject = await codeql.getCodeQLForTesting(); - sinon.stub(codeqlObject, "getVersion").resolves("2.8.1"); + sinon.stub(codeqlObject, "getVersion").resolves("2.9.4"); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); diff --git a/src/codeql.ts b/src/codeql.ts index ec6e23abdd..da2ad07f90 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -266,13 +266,6 @@ const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; export const CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; const CODEQL_VERSION_FILE_BASELINE_INFORMATION = "2.11.3"; -/** - * Versions 2.9.0+ of the CodeQL CLI run machine learning models from a temporary directory, which - * resolves an issue on Windows where TensorFlow models are not correctly loaded due to the path of - * some of their files being greater than MAX_PATH (260 characters). - */ -export const CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = "2.9.0"; - /** * Previous versions had the option already, but were missing the * --extractor-options-verbosity that we need. diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 4c2a50bde5..ba10edc848 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -2178,95 +2178,46 @@ const mlPoweredQueriesMacro = test.macro({ // Test that ML-powered queries aren't run when the feature is off. test( mlPoweredQueriesMacro, - "2.7.5", + "2.12.3", false, undefined, "security-extended", undefined ); -// Test that the ~0.1.0 version of ML-powered queries is run on v2.8.3 of the CLI. -test( - mlPoweredQueriesMacro, - "2.8.3", - true, - undefined, - "security-extended", - process.platform === "win32" ? undefined : "~0.1.0" -); // Test that ML-powered queries aren't run when the user hasn't specified that we should run the // `security-extended`, `security-and-quality`, or `security-experimental` query suite. -test(mlPoweredQueriesMacro, "2.7.5", true, undefined, undefined, undefined); -// Test that ML-powered queries are run on non-Windows platforms running `security-extended` on -// versions of the CodeQL CLI prior to 2.9.0. -test( - mlPoweredQueriesMacro, - "2.8.5", - true, - undefined, - "security-extended", - process.platform === "win32" ? undefined : "~0.2.0" -); -// Test that ML-powered queries are run on non-Windows platforms running `security-and-quality` on -// versions of the CodeQL CLI prior to 2.9.0. -test( - mlPoweredQueriesMacro, - "2.8.5", - true, - undefined, - "security-and-quality", - process.platform === "win32" ? undefined : "~0.2.0" -); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL CLI -// 2.9.0+. -test( - mlPoweredQueriesMacro, - "2.9.0", - true, - undefined, - "security-extended", - "~0.2.0" -); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.9.0+. -test( - mlPoweredQueriesMacro, - "2.9.0", - true, - undefined, - "security-and-quality", - "~0.2.0" -); +test(mlPoweredQueriesMacro, "2.12.3", true, undefined, undefined, undefined); // Test that we don't inject an ML-powered query pack if the user has already specified one. test( mlPoweredQueriesMacro, - "2.9.0", + "2.12.3", true, "codeql/javascript-experimental-atm-queries@0.0.1", "security-and-quality", "0.0.1" ); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL -// CLI 2.9.3+. +// Test that ML-powered queries ~0.3.0 are run on all platforms running `security-extended` on +// CodeQL CLI 2.9.4+. test( mlPoweredQueriesMacro, - "2.9.3", + "2.9.4", true, undefined, "security-extended", "~0.3.0" ); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.9.3+. +// Test that ML-powered queries ~0.3.0 are run on all platforms running `security-and-quality` on +// CodeQL CLI 2.9.4+. test( mlPoweredQueriesMacro, - "2.9.3", + "2.9.4", true, undefined, "security-and-quality", "~0.3.0" ); -// Test that ML-powered queries are run on all platforms running `security-extended` on CodeQL -// CLI 2.11.3+. +// Test that ML-powered queries ~0.4.0 are run on all platforms running `security-extended` on +// CodeQL CLI 2.11.3+. test( mlPoweredQueriesMacro, "2.11.3", @@ -2275,8 +2226,8 @@ test( "security-extended", "~0.4.0" ); -// Test that ML-powered queries are run on all platforms running `security-and-quality` on CodeQL -// CLI 2.11.3+. +// Test that ML-powered queries ~0.4.0 are run on all platforms running `security-and-quality` on +// CodeQL CLI 2.11.3+. test( mlPoweredQueriesMacro, "2.11.3", diff --git a/src/config-utils.ts b/src/config-utils.ts index 83c0bd9285..4cf2dad67a 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -9,7 +9,6 @@ import * as api from "./api-client"; import { CodeQL, CODEQL_VERSION_GHES_PACK_DOWNLOAD, - CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS, CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE, ResolveQueriesOutput, } from "./codeql"; @@ -424,12 +423,6 @@ async function addBuiltinSuiteQueries( // opted into the ML-powered queries beta, and a user hasn't already added the ML-powered query // pack, then add the ML-powered query pack so that we run ML-powered queries. if ( - // Only run ML-powered queries on Windows if we have a CLI that supports it. - (process.platform !== "win32" || - (await codeQlVersionAbove( - codeQL, - CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS - ))) && languages.includes("javascript") && (found === "security-experimental" || found === "security-extended" || diff --git a/src/feature-flags.ts b/src/feature-flags.ts index e4f76f977c..e098dc0498 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -73,7 +73,7 @@ export const featureConfig: Record< [Feature.MlPoweredQueriesEnabled]: { envVar: "CODEQL_ML_POWERED_QUERIES", - minimumVersion: "2.7.5", + minimumVersion: undefined, defaultValue: false, }, [Feature.UploadFailedSarifEnabled]: { diff --git a/src/util.ts b/src/util.ts index b8c4a751f5..a6c59c2487 100644 --- a/src/util.ts +++ b/src/util.ts @@ -565,12 +565,8 @@ export async function getMlPoweredJsQueriesPack( let version; if (await codeQlVersionAbove(codeQL, "2.11.3")) { version = "~0.4.0"; - } else if (await codeQlVersionAbove(codeQL, "2.9.3")) { - version = `~0.3.0`; - } else if (await codeQlVersionAbove(codeQL, "2.8.4")) { - version = `~0.2.0`; } else { - version = `~0.1.0`; + version = `~0.3.0`; } return prettyPrintPack({ name: ML_POWERED_JS_QUERIES_PACK_NAME, From 834c357222d4fe96d842ed679d0e71bb675e19f6 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 11:36:47 +0100 Subject: [PATCH 04/21] Add changelog note --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdeb5c8ff3..5f246a187d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -No user facing changes. +- Bump the minimum CodeQL bundle version to 2.9.4. [#1724](https://github.com/github/codeql-action/pull/1724) ## 2.3.6 - 01 Jun 2023 From eb5d32322735b1e9e4a4d43481cecf0114926e99 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 11:39:32 +0100 Subject: [PATCH 05/21] Bump minor version number --- node_modules/.package-lock.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index c11cbf00d3..706d163e43 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.3.7", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index d31da2bed1..f0e9601951 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "2.3.7", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "2.3.7", + "version": "2.4.0", "license": "MIT", "dependencies": { "@actions/artifact": "^1.1.0", diff --git a/package.json b/package.json index 9b8f2b7004..1449acc773 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.3.7", + "version": "2.4.0", "private": true, "description": "CodeQL action", "scripts": { From 5be8bd1c165a48a3625e446525455f3a910afe29 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 12:05:52 +0100 Subject: [PATCH 06/21] Pin version of ruamel.yaml to avoid checks breaking --- .github/workflows/pr-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 11cd33efb6..af376db3ea 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -47,12 +47,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip - pip install ruamel.yaml + pip install ruamel.yaml==0.17.31 # Ensure the generated PR check workflows are up to date. - name: Verify PR checks up to date From 98884904a2661dfefa2d08088a956a142e1860f3 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 12:06:08 +0100 Subject: [PATCH 07/21] Update checks formatting --- .github/workflows/__ml-powered-queries.yml | 3 ++- .../workflows/__packaging-codescanning-config-inputs-js.yml | 3 ++- .github/workflows/__packaging-config-inputs-js.yml | 3 ++- .github/workflows/__packaging-config-js.yml | 3 ++- .github/workflows/__packaging-inputs-js.yml | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/__ml-powered-queries.yml b/.github/workflows/__ml-powered-queries.yml index 58504a687d..55233cfb54 100644 --- a/.github/workflows/__ml-powered-queries.yml +++ b/.github/workflows/__ml-powered-queries.yml @@ -112,7 +112,8 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss + queries-run: + js/ml-powered/nosql-injection,js/ml-powered/path-injection,js/ml-powered/sql-injection,js/ml-powered/xss queries-not-run: foo,bar - name: Check results diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 89717d46fd..8a106ff438 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -83,7 +83,8 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: + javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 00f21105d6..994c09a0dc 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -83,7 +83,8 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: + javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index bf86b610e9..70013f6f80 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -82,7 +82,8 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: + javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 98fa6b3564..26485c1c9c 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -82,7 +82,8 @@ jobs: uses: ./../action/.github/actions/check-sarif with: sarif-file: ${{ runner.temp }}/results/javascript.sarif - queries-run: javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block + queries-run: + javascript/example/empty-or-one-block,javascript/example/empty-or-one-block,javascript/example/other-query-block,javascript/example/two-block queries-not-run: foo,bar - name: Assert Results From 9f45792756ca6722eed7d386c133e47b808f3901 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 12 Jun 2023 12:15:07 +0100 Subject: [PATCH 08/21] Update autogenerated notice to refer to specific ruamel.yaml version --- .github/workflows/__analyze-ref-input.yml | 2 +- .github/workflows/__autobuild-action.yml | 2 +- .github/workflows/__config-export.yml | 2 +- .github/workflows/__diagnostics-export.yml | 2 +- .github/workflows/__export-file-baseline-information.yml | 2 +- .github/workflows/__extractor-ram-threads.yml | 2 +- .github/workflows/__go-custom-queries.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/__init-with-registries.yml | 2 +- .github/workflows/__javascript-source-root.yml | 2 +- .github/workflows/__ml-powered-queries.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/__rubocop-multi-language.yml | 2 +- .github/workflows/__ruby.yml | 2 +- .github/workflows/__split-workflow.yml | 2 +- .github/workflows/__submit-sarif-failure.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/pr-checks.yml | 1 + pr-checks/sync.py | 5 +++-- 32 files changed, 34 insertions(+), 32 deletions(-) diff --git a/.github/workflows/__analyze-ref-input.yml b/.github/workflows/__analyze-ref-input.yml index f20837daad..3f5a56a8b6 100644 --- a/.github/workflows/__analyze-ref-input.yml +++ b/.github/workflows/__analyze-ref-input.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: "PR Check - Analyze: 'ref' and 'sha' from inputs" diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index ee0aa9cc3d..3e8e3b50d1 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - autobuild-action diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index a49d72cd9f..86d3b8092c 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Config export diff --git a/.github/workflows/__diagnostics-export.yml b/.github/workflows/__diagnostics-export.yml index 41744503ba..aef8a03fc0 100644 --- a/.github/workflows/__diagnostics-export.yml +++ b/.github/workflows/__diagnostics-export.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Diagnostic export diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 895bf393cf..299e489f54 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Export file baseline information diff --git a/.github/workflows/__extractor-ram-threads.yml b/.github/workflows/__extractor-ram-threads.yml index a8087a70a7..ec013f2a43 100644 --- a/.github/workflows/__extractor-ram-threads.yml +++ b/.github/workflows/__extractor-ram-threads.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Extractor ram and threads options test diff --git a/.github/workflows/__go-custom-queries.yml b/.github/workflows/__go-custom-queries.yml index b75dfeab61..999e43501f 100644 --- a/.github/workflows/__go-custom-queries.yml +++ b/.github/workflows/__go-custom-queries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Go: Custom queries' diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index a28f35d9ac..71af706101 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Go: tracing with autobuilder step' diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 47605c46fb..9f6c8543ff 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Go: tracing with custom build steps' diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 606f551145..f740808ee9 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Go: tracing with legacy workflow' diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 9c7618a5ce..8b9faf3d39 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Packaging: Download using registries' diff --git a/.github/workflows/__javascript-source-root.yml b/.github/workflows/__javascript-source-root.yml index e9768a26d8..6657d4fe58 100644 --- a/.github/workflows/__javascript-source-root.yml +++ b/.github/workflows/__javascript-source-root.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Custom source root diff --git a/.github/workflows/__ml-powered-queries.yml b/.github/workflows/__ml-powered-queries.yml index 55233cfb54..edce39098b 100644 --- a/.github/workflows/__ml-powered-queries.yml +++ b/.github/workflows/__ml-powered-queries.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - ML-powered queries diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index a88650c6e4..7adbb5823a 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Multi-language repository diff --git a/.github/workflows/__packaging-codescanning-config-inputs-js.yml b/.github/workflows/__packaging-codescanning-config-inputs-js.yml index 8a106ff438..27cca78bd3 100644 --- a/.github/workflows/__packaging-codescanning-config-inputs-js.yml +++ b/.github/workflows/__packaging-codescanning-config-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Packaging: Config and input passed to the CLI' diff --git a/.github/workflows/__packaging-config-inputs-js.yml b/.github/workflows/__packaging-config-inputs-js.yml index 994c09a0dc..6481c3ad35 100644 --- a/.github/workflows/__packaging-config-inputs-js.yml +++ b/.github/workflows/__packaging-config-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Packaging: Config and input' diff --git a/.github/workflows/__packaging-config-js.yml b/.github/workflows/__packaging-config-js.yml index 70013f6f80..1318f822ed 100644 --- a/.github/workflows/__packaging-config-js.yml +++ b/.github/workflows/__packaging-config-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Packaging: Config file' diff --git a/.github/workflows/__packaging-inputs-js.yml b/.github/workflows/__packaging-inputs-js.yml index 26485c1c9c..8f57756210 100644 --- a/.github/workflows/__packaging-inputs-js.yml +++ b/.github/workflows/__packaging-inputs-js.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: 'PR Check - Packaging: Action input' diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index e699528ad9..a126c041c9 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Remote config file diff --git a/.github/workflows/__rubocop-multi-language.yml b/.github/workflows/__rubocop-multi-language.yml index bdbb130a6f..3e9935c0b0 100644 --- a/.github/workflows/__rubocop-multi-language.yml +++ b/.github/workflows/__rubocop-multi-language.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - RuboCop multi-language diff --git a/.github/workflows/__ruby.yml b/.github/workflows/__ruby.yml index d0bdacb24a..abf5b5519b 100644 --- a/.github/workflows/__ruby.yml +++ b/.github/workflows/__ruby.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Ruby analysis diff --git a/.github/workflows/__split-workflow.yml b/.github/workflows/__split-workflow.yml index b132418870..8ebe390a32 100644 --- a/.github/workflows/__split-workflow.yml +++ b/.github/workflows/__split-workflow.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Split workflow diff --git a/.github/workflows/__submit-sarif-failure.yml b/.github/workflows/__submit-sarif-failure.yml index 8b50134b3a..e778841a66 100644 --- a/.github/workflows/__submit-sarif-failure.yml +++ b/.github/workflows/__submit-sarif-failure.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Submit SARIF after failure diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index 194c44512b..8a6b8cb3a9 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Swift analysis using a custom build command diff --git a/.github/workflows/__test-autobuild-working-dir.yml b/.github/workflows/__test-autobuild-working-dir.yml index 9247a5da2c..a230e4d571 100644 --- a/.github/workflows/__test-autobuild-working-dir.yml +++ b/.github/workflows/__test-autobuild-working-dir.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Autobuild working directory diff --git a/.github/workflows/__test-local-codeql.yml b/.github/workflows/__test-local-codeql.yml index 5aead2a2fb..c0e7135ea9 100644 --- a/.github/workflows/__test-local-codeql.yml +++ b/.github/workflows/__test-local-codeql.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Local CodeQL bundle diff --git a/.github/workflows/__test-proxy.yml b/.github/workflows/__test-proxy.yml index ed8dc3897d..ec34b9f29f 100644 --- a/.github/workflows/__test-proxy.yml +++ b/.github/workflows/__test-proxy.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Proxy test diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index 9c34631e4a..3cfaebfb18 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Test unsetting environment variables diff --git a/.github/workflows/__upload-ref-sha-input.yml b/.github/workflows/__upload-ref-sha-input.yml index 0f708b389b..3c3580a0d0 100644 --- a/.github/workflows/__upload-ref-sha-input.yml +++ b/.github/workflows/__upload-ref-sha-input.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: "PR Check - Upload-sarif: 'ref' and 'sha' from inputs" diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index 17bfb1add6..9ada2e06a9 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -1,6 +1,6 @@ # Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. name: PR Check - Use a custom `checkout_path` diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index af376db3ea..824837cc60 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -52,6 +52,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + # When updating this, update the autogenerated code header in `sync.py` too. pip install ruamel.yaml==0.17.31 # Ensure the generated PR check workflows are up to date. diff --git a/pr-checks/sync.py b/pr-checks/sync.py index 5c0c322462..f59f848e57 100644 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -21,10 +21,11 @@ "nightly-latest" ] - +# When updating the ruamel.yaml version here, update the PR check in +# `.github/workflows/pr-checks.yml` too. header = """# Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: -# (cd pr-checks; pip install ruamel.yaml && python3 sync.py) +# (cd pr-checks; pip install ruamel.yaml@0.17.31 && python3 sync.py) # to regenerate this file. """ From f60aebf28630527ae773075cbcc0852f58bc0da6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 00:13:41 +0000 Subject: [PATCH 09/21] 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 2e2b5d56a1..05aa4f49c4 100644 --- a/lib/api-compatibility.json +++ b/lib/api-compatibility.json @@ -1 +1 @@ -{ "maximumVersion": "3.10", "minimumVersion": "3.5" } +{ "maximumVersion": "3.10", "minimumVersion": "3.6" } diff --git a/src/api-compatibility.json b/src/api-compatibility.json index 93dba1ce64..76a44b4f50 100644 --- a/src/api-compatibility.json +++ b/src/api-compatibility.json @@ -1 +1 @@ -{"maximumVersion": "3.10", "minimumVersion": "3.5"} +{"maximumVersion": "3.10", "minimumVersion": "3.6"} From 9a97b34d8cb44ac1df08fe67cb81288be00e37eb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Jul 2023 13:59:05 +0000 Subject: [PATCH 10/21] Update changelog and version after v2.20.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 dca6eadbdc..5ada6596ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CodeQL Action Changelog +## [UNRELEASED] + +No user facing changes. + See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. ## 2.20.4 - 14 Jul 2023 diff --git a/package-lock.json b/package-lock.json index dd57a82ef3..7351907582 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "2.20.4", + "version": "2.20.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "2.20.4", + "version": "2.20.5", "license": "MIT", "dependencies": { "@actions/artifact": "^1.1.1", diff --git a/package.json b/package.json index 60e1fde22b..fe0b99e888 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.20.4", + "version": "2.20.5", "private": true, "description": "CodeQL action", "scripts": { From aedd8c2a63b0b8d9a59c62f489b5feaf50e6e602 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Jul 2023 14:05:35 +0000 Subject: [PATCH 11/21] 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 2bef485a7f..8ec8a188c1 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "2.20.4", + "version": "2.20.5", "lockfileVersion": 3, "requires": true, "packages": { From 2e8581811e448f4e91d359688911c3f785971128 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 17 Jul 2023 15:42:21 +0100 Subject: [PATCH 12/21] Remove redundant environment variable from PR check --- .github/workflows/__config-export.yml | 1 - pr-checks/checks/config-export.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 86d3b8092c..5a8d449bcb 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -101,6 +101,5 @@ jobs: } core.info('Finished config export tests.'); env: - CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG: true CODEQL_PASS_CONFIG_TO_CLI: true CODEQL_ACTION_TEST_MODE: true diff --git a/pr-checks/checks/config-export.yml b/pr-checks/checks/config-export.yml index f4520b6631..02afeffc90 100644 --- a/pr-checks/checks/config-export.yml +++ b/pr-checks/checks/config-export.yml @@ -2,7 +2,6 @@ name: "Config export" description: "Tests that the code scanning configuration file is exported to SARIF correctly." versions: ["latest", "nightly-latest"] env: - CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG: true CODEQL_PASS_CONFIG_TO_CLI: true steps: - uses: ./../action/init From 5719ca3eb62d4b01976f3c1f63f2da98a2cf33d3 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 17 Jul 2023 18:29:59 +0100 Subject: [PATCH 13/21] Run check-sarif Action using Node 16 `using: node12` Actions have already been running using Node 16 for some time. --- .github/actions/check-sarif/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/check-sarif/action.yml b/.github/actions/check-sarif/action.yml index ea540ec7c5..d87e87b839 100644 --- a/.github/actions/check-sarif/action.yml +++ b/.github/actions/check-sarif/action.yml @@ -16,5 +16,5 @@ inputs: Comma separated list of query ids that should NOT be included in this SARIF file. runs: - using: node12 + using: node16 main: index.js From e0806ce6536ffdf4b7e3535f2894a850deb24dec Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 17 Jul 2023 19:01:20 +0100 Subject: [PATCH 14/21] Update Dependabot config to ignore incompatible updates --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b4b7996d19..78ca0460b1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,17 @@ updates: interval: weekly labels: - Update dependencies + # Ignore incompatible dependency updates + ignore: + # There is a type incompatibility issue between v0.0.9 and our other dependencies. + - dependency-name: "@octokit/plugin-retry" + versions: ["~6.0.0"] + # There is a type incompatibility issue between v0.0.9 and our other dependencies. + - dependency-name: "@schemastore/package" + versions: ["0.0.9"] + # v7 requires ESM + - dependency-name: "del" + versions: ["^7.0.0"] groups: npm: patterns: From 99c9f6a498d55e7e090c823a759d823af9cd6f74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:14:19 +0000 Subject: [PATCH 15/21] Bump the npm group with 6 updates Bumps the npm group with 6 updates: | Package | Update | | --- | --- | | [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) | 10.0.2 to 10.0.15 | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | 6.0.0 to 6.1.0 | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | 6.0.0 to 6.1.0 | | [eslint](https://github.com/eslint/eslint) | 8.44.0 to 8.45.0 | | [eslint-plugin-github](https://github.com/github/eslint-plugin-github) | 4.8.0 to 4.9.0 | | [nock](https://github.com/nock/nock) | 13.3.1 to 13.3.2 | Updates `@types/sinon` from 10.0.2 to 10.0.15 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon) Updates `@typescript-eslint/eslint-plugin` from 6.0.0 to 6.1.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/v6.1.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 6.0.0 to 6.1.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/v6.1.0/packages/parser) Updates `eslint` from 8.44.0 to 8.45.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/compare/v8.44.0...v8.45.0) Updates `eslint-plugin-github` from 4.8.0 to 4.9.0 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](https://github.com/github/eslint-plugin-github/compare/v4.8.0...v4.9.0) Updates `nock` from 13.3.1 to 13.3.2 - [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.3.1...v13.3.2) --- updated-dependencies: - dependency-name: "@types/sinon" dependency-type: direct:development 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 - dependency-name: eslint 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-minor dependency-group: npm - dependency-name: nock dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm ... Signed-off-by: dependabot[bot] --- package-lock.json | 189 +++++++++++++++++++++------------------------- package.json | 12 +-- 2 files changed, 94 insertions(+), 107 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90cbaae765..a6b2d5d76c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,18 +43,18 @@ "@types/js-yaml": "^4.0.5", "@types/node": "16.11.22", "@types/semver": "^7.5.0", - "@types/sinon": "^10.0.2", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@types/sinon": "^10.0.15", + "@typescript-eslint/eslint-plugin": "^6.1.0", + "@typescript-eslint/parser": "^6.1.0", "ava": "^5.3.1", - "eslint": "^8.44.0", + "eslint": "^8.45.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^4.8.0", + "eslint-plugin-github": "^4.9.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.5", - "nock": "^13.3.1", + "nock": "^13.3.2", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^15.2.0", "typescript": "^5.1.6" @@ -864,24 +864,6 @@ "resolved": "https://registry.npmjs.org/@schemastore/package/-/package-0.0.8.tgz", "integrity": "sha512-1jMrmFLUZBeQ7zdxe3ez1LSLYrUH4eY3gAPisW1rbNZ62zoYy8sudo9fXSS182s8f7p6TRy7wD6ybZvz9SUT1Q==" }, - "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz", - "integrity": "sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.7.0" - } - }, "node_modules/@sinonjs/samsam": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", @@ -980,14 +962,20 @@ "dev": true }, "node_modules/@types/sinon": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.2.tgz", - "integrity": "sha512-BHn8Bpkapj8Wdfxvh2jWIUoaYB/9/XhsL0oOvBfRagJtKlSl9NWPcFOz2lRukI9szwGxFtYZCTejJSqsGDbdmw==", + "version": "10.0.15", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.15.tgz", + "integrity": "sha512-3lrFNQG0Kr2LDzvjyjB6AMJk4ge+8iYhQfdnSwIwlG88FUOV43kPcQqDZkDa/h3WSZy6i8Fr0BSjfQtB1B3xuQ==", "dev": true, "dependencies": { - "@sinonjs/fake-timers": "^7.1.0" + "@types/sinonjs__fake-timers": "*" } }, + "node_modules/@types/sinonjs__fake-timers": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", + "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", + "dev": true + }, "node_modules/@types/tunnel": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.3.tgz", @@ -1002,23 +990,22 @@ "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.0.0.tgz", - "integrity": "sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.1.0.tgz", + "integrity": "sha512-qg7Bm5TyP/I7iilGyp6DRqqkt8na00lI6HbjWZObgk3FFSzH5ypRwAHXJhJkwiRtTcfn+xYQIMOR5kJgpo6upw==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.5.0", - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/type-utils": "6.0.0", - "@typescript-eslint/utils": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/type-utils": "6.1.0", + "@typescript-eslint/utils": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", "natural-compare": "^1.4.0", "natural-compare-lite": "^1.4.0", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "engines": { @@ -1039,15 +1026,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.0.0.tgz", - "integrity": "sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.1.0.tgz", + "integrity": "sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4" }, "engines": { @@ -1067,13 +1054,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.0.0.tgz", - "integrity": "sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.1.0.tgz", + "integrity": "sha512-AxjgxDn27hgPpe2rQe19k0tXw84YCOsjDJ2r61cIebq1t+AIxbgiXKvD4999Wk49GVaAcdJ/d49FYel+Pp3jjw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0" + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1084,13 +1071,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.0.0.tgz", - "integrity": "sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.1.0.tgz", + "integrity": "sha512-kFXBx6QWS1ZZ5Ni89TyT1X9Ag6RXVIVhqDs0vZE/jUeWlBv/ixq2diua6G7ece6+fXw3TvNRxP77/5mOMusx2w==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/utils": "6.0.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/utils": "6.1.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1111,9 +1098,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.0.0.tgz", - "integrity": "sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.1.0.tgz", + "integrity": "sha512-+Gfd5NHCpDoHDOaU/yIF3WWRI2PcBRKKpP91ZcVbL0t5tQpqYWBs3z/GGhvU+EV1D0262g9XCnyqQh19prU0JQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1124,17 +1111,17 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.0.0.tgz", - "integrity": "sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.1.0.tgz", + "integrity": "sha512-nUKAPWOaP/tQjU1IQw9sOPCDavs/iU5iYLiY/6u7gxS7oKQoi4aUxXS1nrrVGTyBBaGesjkcwwHkbkiD5eBvcg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "engines": { @@ -1151,19 +1138,18 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.0.0.tgz", - "integrity": "sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.1.0.tgz", + "integrity": "sha512-wp652EogZlKmQoMS5hAvWqRKplXvkuOnNzZSE0PVvsKjpexd/XznRVHAtrfHFYmqaJz0DFkjlDsGYC9OXw+OhQ==", "dev": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.3.0", - "@types/json-schema": "^7.0.11", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/typescript-estree": "6.0.0", - "eslint-scope": "^5.1.1", - "semver": "^7.5.0" + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "semver": "^7.5.4" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1177,12 +1163,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.0.0.tgz", - "integrity": "sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.1.0.tgz", + "integrity": "sha512-yQeh+EXhquh119Eis4k0kYhj9vmFzNpbhM3LftWQVwqVjipCkwHBQOZutcYW+JVkjtTG9k8nrZU1UoNedPDd1A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", + "@typescript-eslint/types": "6.1.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1314,12 +1300,12 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/aria-query": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", - "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "dev": true, "dependencies": { - "deep-equal": "^2.0.5" + "dequal": "^2.0.3" } }, "node_modules/array-find-index": { @@ -2256,6 +2242,15 @@ "version": "2.3.1", "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -2461,9 +2456,9 @@ } }, "node_modules/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -2491,7 +2486,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -2503,7 +2497,6 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -2676,15 +2669,15 @@ } }, "node_modules/eslint-plugin-github": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.8.0.tgz", - "integrity": "sha512-1qu1qcyac4FfZmT9KNPr5250DwWzwp6uy6xAqHD2boE4OquUpeTni05yPn1b6y6vUYm/q8+npTdyYiRSqvg+BQ==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.9.0.tgz", + "integrity": "sha512-c4jnJXJzHy8lzdYjOXlXcY7jX4b2ciGh+ugZM5b6vs6q2+m+6BrNl20u5WxloJvH6Q8CbZ0+Lnh7lDJxUd3WkQ==", "dev": true, "dependencies": { "@github/browserslist-config": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", - "aria-query": "^5.1.3", + "aria-query": "^5.3.0", "eslint-config-prettier": ">=8.0.0", "eslint-plugin-escompat": "^3.3.3", "eslint-plugin-eslint-comments": "^3.2.0", @@ -3755,12 +3748,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -4748,9 +4735,9 @@ } }, "node_modules/nock": { - "version": "13.3.1", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.1.tgz", - "integrity": "sha512-vHnopocZuI93p2ccivFyGuUfzjq2fxNyNurp7816mlT5V5HF4SzXu8lvLrVzBbNqzs+ODooZ6OksuSUNM7Njkw==", + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.2.tgz", + "integrity": "sha512-CwbljitiWJhF1gL83NbanhoKs1l23TDlRioNraPTZrzZIEooPemrHRj5m0FZCPkB1ecdYCSWWGcHysJgX/ngnQ==", "dev": true, "dependencies": { "debug": "^4.1.0", diff --git a/package.json b/package.json index 28d58caf21..2cbac8788d 100644 --- a/package.json +++ b/package.json @@ -58,18 +58,18 @@ "@types/js-yaml": "^4.0.5", "@types/node": "16.11.22", "@types/semver": "^7.5.0", - "@types/sinon": "^10.0.2", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@types/sinon": "^10.0.15", + "@typescript-eslint/eslint-plugin": "^6.1.0", + "@typescript-eslint/parser": "^6.1.0", "ava": "^5.3.1", - "eslint": "^8.44.0", + "eslint": "^8.45.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^4.8.0", + "eslint-plugin-github": "^4.9.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.5", - "nock": "^13.3.1", + "nock": "^13.3.2", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^15.2.0", "typescript": "^5.1.6" From e266801e21b8b911929eb77e4c8493192846b843 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 20:17:37 +0000 Subject: [PATCH 16/21] Update checked-in dependencies --- node_modules/.package-lock.json | 177 +- node_modules/@sinonjs/commons/CHANGES.md | 57 - node_modules/@sinonjs/commons/LICENSE | 29 - node_modules/@sinonjs/commons/README.md | 16 - .../@sinonjs/commons/lib/called-in-order.js | 57 - .../commons/lib/called-in-order.test.js | 121 -- .../@sinonjs/commons/lib/class-name.js | 27 - .../@sinonjs/commons/lib/class-name.test.js | 37 - .../@sinonjs/commons/lib/deprecated.js | 58 - .../@sinonjs/commons/lib/deprecated.test.js | 100 - node_modules/@sinonjs/commons/lib/every.js | 27 - .../@sinonjs/commons/lib/every.test.js | 41 - .../@sinonjs/commons/lib/function-name.js | 29 - .../commons/lib/function-name.test.js | 76 - node_modules/@sinonjs/commons/lib/global.js | 22 - .../@sinonjs/commons/lib/global.test.js | 16 - node_modules/@sinonjs/commons/lib/index.js | 14 - .../@sinonjs/commons/lib/index.test.js | 29 - .../commons/lib/order-by-first-call.js | 36 - .../commons/lib/order-by-first-call.test.js | 52 - .../@sinonjs/commons/lib/prototypes/README.md | 43 - .../@sinonjs/commons/lib/prototypes/array.js | 5 - .../commons/lib/prototypes/copy-prototype.js | 21 - .../commons/lib/prototypes/function.js | 5 - .../@sinonjs/commons/lib/prototypes/index.js | 10 - .../commons/lib/prototypes/index.test.js | 51 - .../@sinonjs/commons/lib/prototypes/map.js | 5 - .../@sinonjs/commons/lib/prototypes/object.js | 5 - .../@sinonjs/commons/lib/prototypes/set.js | 5 - .../@sinonjs/commons/lib/prototypes/string.js | 5 - node_modules/@sinonjs/commons/lib/type-of.js | 13 - .../@sinonjs/commons/lib/type-of.test.js | 51 - .../@sinonjs/commons/lib/value-to-string.js | 17 - .../commons/lib/value-to-string.test.js | 20 - node_modules/@sinonjs/commons/package.json | 67 - .../commons/types/called-in-order.d.ts | 36 - .../@sinonjs/commons/types/class-name.d.ts | 8 - .../@sinonjs/commons/types/deprecated.d.ts | 3 - .../@sinonjs/commons/types/every.d.ts | 2 - .../@sinonjs/commons/types/function-name.d.ts | 2 - .../@sinonjs/commons/types/global.d.ts | 7 - .../@sinonjs/commons/types/index.d.ts | 17 - .../commons/types/order-by-first-call.d.ts | 26 - .../commons/types/prototypes/array.d.ts | 2 - .../types/prototypes/copy-prototype.d.ts | 2 - .../commons/types/prototypes/function.d.ts | 2 - .../commons/types/prototypes/index.d.ts | 7 - .../commons/types/prototypes/map.d.ts | 2 - .../commons/types/prototypes/object.d.ts | 2 - .../commons/types/prototypes/set.d.ts | 2 - .../commons/types/prototypes/string.d.ts | 2 - .../@sinonjs/commons/types/type-of.d.ts | 2 - .../commons/types/value-to-string.d.ts | 8 - .../@sinonjs/fake-timers/CHANGELOG.md | 422 ---- node_modules/@sinonjs/fake-timers/LICENSE | 11 - node_modules/@sinonjs/fake-timers/README.md | 366 ---- .../@sinonjs/fake-timers/package.json | 84 - .../fake-timers/src/fake-timers-src.js | 1409 ------------- .../fake-timers/types/fake-timers-src.d.ts | 187 -- node_modules/@types/sinon/README.md | 4 +- node_modules/@types/sinon/index.d.ts | 150 +- node_modules/@types/sinon/package.json | 23 +- .../@types/sinonjs__fake-timers/LICENSE | 21 + .../@types/sinonjs__fake-timers/README.md | 16 + .../@types/sinonjs__fake-timers/index.d.ts | 392 ++++ .../@types/sinonjs__fake-timers/package.json | 45 + .../eslint-plugin/dist/rules/comma-dangle.js | 4 +- .../dist/rules/comma-dangle.js.map | 2 +- .../dist/rules/no-floating-promises.js | 122 +- .../dist/rules/no-floating-promises.js.map | 2 +- .../dist/rules/no-restricted-imports.js | 115 +- .../dist/rules/no-restricted-imports.js.map | 2 +- .../rules/no-unnecessary-type-constraint.js | 17 +- .../no-unnecessary-type-constraint.js.map | 2 +- .../dist/rules/parameter-properties.js | 1 - .../dist/rules/parameter-properties.js.map | 2 +- .../dist/util/collectUnusedVariables.js | 6 +- .../dist/util/collectUnusedVariables.js.map | 2 +- .../eslint-plugin/docs/rules/camelcase.md | 2 +- .../rules/explicit-member-accessibility.md | 2 +- .../docs/rules/no-floating-promises.md | 2 +- .../eslint-plugin/package.json | 27 +- .../eslint-plugin/rules.d.ts | 44 + .../@typescript-eslint/parser/package.json | 12 +- .../scope-manager/package.json | 10 +- .../type-utils/package.json | 10 +- .../types/_ts4.3/dist/generated/ast-spec.d.ts | 1819 ----------------- .../types/_ts4.3/dist/index.d.ts | 5 - .../types/_ts4.3/dist/lib.d.ts | 3 - .../types/_ts4.3/dist/parser-options.d.ts | 39 - .../types/_ts4.3/dist/ts-estree.d.ts | 14 - .../types/dist/parser-options.d.ts | 1 + .../types/dist/parser-options.d.ts.map | 2 +- .../@typescript-eslint/types/package.json | 4 +- .../create-program/createProjectProgram.d.ts | 3 +- .../create-program/createProjectService.d.ts | 4 + .../_ts4.3/dist/create-program/shared.d.ts | 2 +- .../create-program/useProvidedPrograms.d.ts | 7 +- .../parseSettings/createParseSettings.d.ts | 1 + .../_ts4.3/dist/parseSettings/index.d.ts | 5 + .../_ts4.3/dist/parser-options.d.ts | 10 +- .../dist/useProgramFromProjectService.d.ts | 5 + .../dist/clear-caches.d.ts.map | 2 +- .../typescript-estree/dist/clear-caches.js | 1 + .../dist/clear-caches.js.map | 2 +- .../create-program/createProjectProgram.d.ts | 3 +- .../createProjectProgram.d.ts.map | 2 +- .../create-program/createProjectProgram.js | 6 +- .../createProjectProgram.js.map | 2 +- .../create-program/createProjectService.d.ts | 4 + .../createProjectService.d.ts.map | 1 + .../create-program/createProjectService.js | 45 + .../createProjectService.js.map | 1 + .../dist/create-program/shared.d.ts | 2 +- .../dist/create-program/shared.d.ts.map | 2 +- .../dist/create-program/shared.js | 6 +- .../dist/create-program/shared.js.map | 2 +- .../create-program/useProvidedPrograms.d.ts | 7 +- .../useProvidedPrograms.d.ts.map | 2 +- .../create-program/useProvidedPrograms.js | 8 +- .../create-program/useProvidedPrograms.js.map | 2 +- .../parseSettings/createParseSettings.d.ts | 1 + .../createParseSettings.d.ts.map | 2 +- .../dist/parseSettings/createParseSettings.js | 18 +- .../parseSettings/createParseSettings.js.map | 2 +- .../dist/parseSettings/index.d.ts | 5 + .../dist/parseSettings/index.d.ts.map | 2 +- .../dist/parser-options.d.ts | 10 +- .../dist/parser-options.d.ts.map | 2 +- .../typescript-estree/dist/parser.d.ts.map | 2 +- .../typescript-estree/dist/parser.js | 38 +- .../typescript-estree/dist/parser.js.map | 2 +- .../dist/useProgramFromProjectService.d.ts | 5 + .../useProgramFromProjectService.d.ts.map | 1 + .../dist/useProgramFromProjectService.js | 31 + .../dist/useProgramFromProjectService.js.map | 1 + .../typescript-estree/package.json | 10 +- .../utils/_ts4.3/dist/index.d.ts | 3 +- .../utils/_ts4.3/dist/ts-eslint/Rule.d.ts | 2 +- .../utils/_ts4.3/dist/ts-utils/index.d.ts | 2 + .../utils/_ts4.3/dist/ts-utils/isArray.d.ts | 2 + .../utils/dist/eslint-utils/deepMerge.js | 2 +- .../utils/dist/eslint-utils/deepMerge.js.map | 2 +- .../@typescript-eslint/utils/dist/index.d.ts | 3 +- .../utils/dist/index.d.ts.map | 2 +- .../@typescript-eslint/utils/dist/index.js | 4 +- .../utils/dist/index.js.map | 2 +- .../utils/dist/ts-eslint/Rule.d.ts | 2 +- .../utils/dist/ts-eslint/Rule.d.ts.map | 2 +- .../utils/dist/ts-utils/index.d.ts | 2 + .../utils/dist/ts-utils/index.d.ts.map | 1 + .../utils/dist/ts-utils/index.js | 18 + .../utils/dist/ts-utils/index.js.map | 1 + .../utils/dist/ts-utils/isArray.d.ts | 2 + .../utils/dist/ts-utils/isArray.d.ts.map | 1 + .../utils/dist/ts-utils/isArray.js | 9 + .../utils/dist/ts-utils/isArray.js.map | 1 + .../@typescript-eslint/utils/package.json | 21 +- .../visitor-keys/package.json | 6 +- node_modules/aria-query/CHANGELOG.md | 258 +++ node_modules/aria-query/README.md | 4 +- node_modules/aria-query/lib/ariaPropsMap.js | 6 + node_modules/aria-query/lib/elementRoleMap.js | 19 +- .../lib/etc/roles/abstract/commandRole.js | 7 +- .../lib/etc/roles/abstract/roletypeRole.js | 5 - .../lib/etc/roles/ariaLiteralRoles.js | 3 +- .../lib/etc/roles/dpub/docBacklinkRole.js | 2 +- .../lib/etc/roles/literal/bannerRole.js | 2 +- .../lib/etc/roles/literal/blockquoteRole.js | 7 +- .../lib/etc/roles/literal/buttonRole.js | 31 - .../lib/etc/roles/literal/captionRole.js | 7 +- .../lib/etc/roles/literal/cellRole.js | 2 +- .../lib/etc/roles/literal/codeRole.js | 7 +- .../lib/etc/roles/literal/columnheaderRole.js | 22 +- .../lib/etc/roles/literal/comboboxRole.js | 13 +- .../etc/roles/literal/complementaryRole.js | 20 + .../lib/etc/roles/literal/contentinfoRole.js | 2 +- .../lib/etc/roles/literal/deletionRole.js | 7 +- .../lib/etc/roles/literal/documentRole.js | 2 +- .../lib/etc/roles/literal/emphasisRole.js | 7 +- .../lib/etc/roles/literal/genericRole.js | 89 +- .../lib/etc/roles/literal/gridRole.js | 11 +- .../lib/etc/roles/literal/gridcellRole.js | 5 +- .../lib/etc/roles/literal/groupRole.js | 5 + .../lib/etc/roles/literal/insertionRole.js | 7 +- .../lib/etc/roles/literal/linkRole.js | 10 +- .../lib/etc/roles/literal/listboxRole.js | 12 +- .../lib/etc/roles/literal/listitemRole.js | 2 +- .../lib/etc/roles/literal/markRole.js | 32 + .../lib/etc/roles/literal/menuitemRole.js | 5 - .../lib/etc/roles/literal/meterRole.js | 7 +- .../lib/etc/roles/literal/paragraphRole.js | 7 +- .../lib/etc/roles/literal/presentationRole.js | 11 +- .../lib/etc/roles/literal/regionRole.js | 5 - .../lib/etc/roles/literal/searchboxRole.js | 1 + .../lib/etc/roles/literal/strongRole.js | 7 +- .../lib/etc/roles/literal/subscriptRole.js | 7 +- .../lib/etc/roles/literal/superscriptRole.js | 7 +- .../lib/etc/roles/literal/textboxRole.js | 5 + .../lib/etc/roles/literal/timeRole.js | 7 +- node_modules/aria-query/lib/roleElementMap.js | 25 +- node_modules/aria-query/package.json | 6 +- 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 + .../LICENSE => dequal/license} | 43 +- 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/eslint-plugin-github/README.md | 58 +- .../eslint-plugin-github/lib/configs/react.js | 7 +- .../eslint-plugin-github/lib/index.js | 5 +- .../lib/rules/a11y-no-title-attribute.js | 66 + ...-no-visually-hidden-interactive-element.js | 83 + .../rules/a11y-role-supports-aria-props.js | 61 + .../lib/rules/a11y-svg-has-accessible-name.js | 41 + .../lib/rules/role-supports-aria-props.js | 101 - .../lib/utils/get-element-type.js | 30 +- .../lib/utils/get-role.js | 108 + .../eslint-plugin-github/package.json | 6 +- node_modules/eslint/README.md | 2 +- node_modules/eslint/lib/eslint/flat-eslint.js | 1 - .../eslint/lib/linter/report-translator.js | 20 +- node_modules/eslint/lib/rules/indent.js | 2 +- .../eslint/lib/rules/no-useless-escape.js | 6 +- .../rules/padding-line-between-statements.js | 46 +- .../eslint/lib/rules/utils/ast-utils.js | 12 +- node_modules/eslint/lib/unsupported-api.js | 4 +- node_modules/eslint/package.json | 5 +- node_modules/grapheme-splitter/README.md | 111 - node_modules/grapheme-splitter/index.d.ts | 24 - node_modules/grapheme-splitter/index.js | 1743 ---------------- node_modules/grapheme-splitter/package.json | 34 - .../tests/GraphemeBreakTest.txt | 850 -------- .../tests/grapheme_splitter_tests.js | 83 - node_modules/nock/README.md | 5 +- node_modules/nock/lib/intercept.js | 14 +- node_modules/nock/package.json | 10 +- 242 files changed, 2635 insertions(+), 9293 deletions(-) delete mode 100644 node_modules/@sinonjs/commons/CHANGES.md delete mode 100644 node_modules/@sinonjs/commons/LICENSE delete mode 100644 node_modules/@sinonjs/commons/README.md delete mode 100644 node_modules/@sinonjs/commons/lib/called-in-order.js delete mode 100644 node_modules/@sinonjs/commons/lib/called-in-order.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/class-name.js delete mode 100644 node_modules/@sinonjs/commons/lib/class-name.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/deprecated.js delete mode 100644 node_modules/@sinonjs/commons/lib/deprecated.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/every.js delete mode 100644 node_modules/@sinonjs/commons/lib/every.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/function-name.js delete mode 100644 node_modules/@sinonjs/commons/lib/function-name.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/global.js delete mode 100644 node_modules/@sinonjs/commons/lib/global.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/index.js delete mode 100644 node_modules/@sinonjs/commons/lib/index.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/order-by-first-call.js delete mode 100644 node_modules/@sinonjs/commons/lib/order-by-first-call.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/README.md delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/array.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/function.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/index.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/index.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/map.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/object.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/set.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/string.js delete mode 100644 node_modules/@sinonjs/commons/lib/type-of.js delete mode 100644 node_modules/@sinonjs/commons/lib/type-of.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/value-to-string.js delete mode 100644 node_modules/@sinonjs/commons/lib/value-to-string.test.js delete mode 100644 node_modules/@sinonjs/commons/package.json delete mode 100644 node_modules/@sinonjs/commons/types/called-in-order.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/class-name.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/deprecated.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/every.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/function-name.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/global.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/index.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/order-by-first-call.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/array.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/copy-prototype.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/function.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/index.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/map.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/object.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/set.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/string.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/type-of.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/value-to-string.d.ts delete mode 100644 node_modules/@sinonjs/fake-timers/CHANGELOG.md delete mode 100644 node_modules/@sinonjs/fake-timers/LICENSE delete mode 100644 node_modules/@sinonjs/fake-timers/README.md delete mode 100644 node_modules/@sinonjs/fake-timers/package.json delete mode 100644 node_modules/@sinonjs/fake-timers/src/fake-timers-src.js delete mode 100644 node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts create mode 100755 node_modules/@types/sinonjs__fake-timers/LICENSE create mode 100755 node_modules/@types/sinonjs__fake-timers/README.md create mode 100755 node_modules/@types/sinonjs__fake-timers/index.d.ts create mode 100755 node_modules/@types/sinonjs__fake-timers/package.json create mode 100644 node_modules/@typescript-eslint/eslint-plugin/rules.d.ts delete mode 100644 node_modules/@typescript-eslint/types/_ts4.3/dist/generated/ast-spec.d.ts delete mode 100644 node_modules/@typescript-eslint/types/_ts4.3/dist/index.d.ts delete mode 100644 node_modules/@typescript-eslint/types/_ts4.3/dist/lib.d.ts delete mode 100644 node_modules/@typescript-eslint/types/_ts4.3/dist/parser-options.d.ts delete mode 100644 node_modules/@typescript-eslint/types/_ts4.3/dist/ts-estree.d.ts create mode 100644 node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts create mode 100644 node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts.map create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js create mode 100644 node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map create mode 100644 node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/index.d.ts create mode 100644 node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/isArray.d.ts create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts.map create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/index.js create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/index.js.map create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts.map create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js create mode 100644 node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js.map create mode 100644 node_modules/aria-query/CHANGELOG.md create mode 100644 node_modules/aria-query/lib/etc/roles/literal/markRole.js create mode 100644 node_modules/dequal/dist/index.js create mode 100644 node_modules/dequal/dist/index.min.js create mode 100644 node_modules/dequal/dist/index.mjs create mode 100644 node_modules/dequal/index.d.ts rename node_modules/{grapheme-splitter/LICENSE => dequal/license} (86%) create mode 100644 node_modules/dequal/lite/index.d.ts create mode 100644 node_modules/dequal/lite/index.js create mode 100644 node_modules/dequal/lite/index.min.js create mode 100644 node_modules/dequal/lite/index.mjs create mode 100644 node_modules/dequal/package.json create mode 100644 node_modules/dequal/readme.md create mode 100644 node_modules/eslint-plugin-github/lib/rules/a11y-no-title-attribute.js create mode 100644 node_modules/eslint-plugin-github/lib/rules/a11y-no-visually-hidden-interactive-element.js create mode 100644 node_modules/eslint-plugin-github/lib/rules/a11y-role-supports-aria-props.js create mode 100644 node_modules/eslint-plugin-github/lib/rules/a11y-svg-has-accessible-name.js delete mode 100644 node_modules/eslint-plugin-github/lib/rules/role-supports-aria-props.js create mode 100644 node_modules/eslint-plugin-github/lib/utils/get-role.js delete mode 100644 node_modules/grapheme-splitter/README.md delete mode 100644 node_modules/grapheme-splitter/index.d.ts delete mode 100644 node_modules/grapheme-splitter/index.js delete mode 100644 node_modules/grapheme-splitter/package.json delete mode 100644 node_modules/grapheme-splitter/tests/GraphemeBreakTest.txt delete mode 100644 node_modules/grapheme-splitter/tests/grapheme_splitter_tests.js diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index ab6d5e64db..c0850ea844 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -808,24 +808,6 @@ "resolved": "https://registry.npmjs.org/@schemastore/package/-/package-0.0.8.tgz", "integrity": "sha512-1jMrmFLUZBeQ7zdxe3ez1LSLYrUH4eY3gAPisW1rbNZ62zoYy8sudo9fXSS182s8f7p6TRy7wD6ybZvz9SUT1Q==" }, - "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz", - "integrity": "sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^1.7.0" - } - }, "node_modules/@sinonjs/samsam": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", @@ -924,14 +906,20 @@ "dev": true }, "node_modules/@types/sinon": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.2.tgz", - "integrity": "sha512-BHn8Bpkapj8Wdfxvh2jWIUoaYB/9/XhsL0oOvBfRagJtKlSl9NWPcFOz2lRukI9szwGxFtYZCTejJSqsGDbdmw==", + "version": "10.0.15", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.15.tgz", + "integrity": "sha512-3lrFNQG0Kr2LDzvjyjB6AMJk4ge+8iYhQfdnSwIwlG88FUOV43kPcQqDZkDa/h3WSZy6i8Fr0BSjfQtB1B3xuQ==", "dev": true, "dependencies": { - "@sinonjs/fake-timers": "^7.1.0" + "@types/sinonjs__fake-timers": "*" } }, + "node_modules/@types/sinonjs__fake-timers": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", + "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", + "dev": true + }, "node_modules/@types/tunnel": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.3.tgz", @@ -946,23 +934,22 @@ "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.0.0.tgz", - "integrity": "sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.1.0.tgz", + "integrity": "sha512-qg7Bm5TyP/I7iilGyp6DRqqkt8na00lI6HbjWZObgk3FFSzH5ypRwAHXJhJkwiRtTcfn+xYQIMOR5kJgpo6upw==", "dev": true, "dependencies": { - "@eslint-community/regexpp": "^4.5.0", - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/type-utils": "6.0.0", - "@typescript-eslint/utils": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/type-utils": "6.1.0", + "@typescript-eslint/utils": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", "natural-compare": "^1.4.0", "natural-compare-lite": "^1.4.0", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "engines": { @@ -983,15 +970,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.0.0.tgz", - "integrity": "sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.1.0.tgz", + "integrity": "sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4" }, "engines": { @@ -1011,13 +998,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.0.0.tgz", - "integrity": "sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.1.0.tgz", + "integrity": "sha512-AxjgxDn27hgPpe2rQe19k0tXw84YCOsjDJ2r61cIebq1t+AIxbgiXKvD4999Wk49GVaAcdJ/d49FYel+Pp3jjw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0" + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1028,13 +1015,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.0.0.tgz", - "integrity": "sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.1.0.tgz", + "integrity": "sha512-kFXBx6QWS1ZZ5Ni89TyT1X9Ag6RXVIVhqDs0vZE/jUeWlBv/ixq2diua6G7ece6+fXw3TvNRxP77/5mOMusx2w==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/utils": "6.0.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/utils": "6.1.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1055,9 +1042,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.0.0.tgz", - "integrity": "sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.1.0.tgz", + "integrity": "sha512-+Gfd5NHCpDoHDOaU/yIF3WWRI2PcBRKKpP91ZcVbL0t5tQpqYWBs3z/GGhvU+EV1D0262g9XCnyqQh19prU0JQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1068,17 +1055,17 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.0.0.tgz", - "integrity": "sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.1.0.tgz", + "integrity": "sha512-nUKAPWOaP/tQjU1IQw9sOPCDavs/iU5iYLiY/6u7gxS7oKQoi4aUxXS1nrrVGTyBBaGesjkcwwHkbkiD5eBvcg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "engines": { @@ -1095,19 +1082,18 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.0.0.tgz", - "integrity": "sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.1.0.tgz", + "integrity": "sha512-wp652EogZlKmQoMS5hAvWqRKplXvkuOnNzZSE0PVvsKjpexd/XznRVHAtrfHFYmqaJz0DFkjlDsGYC9OXw+OhQ==", "dev": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.3.0", - "@types/json-schema": "^7.0.11", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/typescript-estree": "6.0.0", - "eslint-scope": "^5.1.1", - "semver": "^7.5.0" + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "semver": "^7.5.4" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1121,12 +1107,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.0.0.tgz", - "integrity": "sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.1.0.tgz", + "integrity": "sha512-yQeh+EXhquh119Eis4k0kYhj9vmFzNpbhM3LftWQVwqVjipCkwHBQOZutcYW+JVkjtTG9k8nrZU1UoNedPDd1A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.0.0", + "@typescript-eslint/types": "6.1.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1258,12 +1244,12 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/aria-query": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", - "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "dev": true, "dependencies": { - "deep-equal": "^2.0.5" + "dequal": "^2.0.3" } }, "node_modules/array-find-index": { @@ -2200,6 +2186,15 @@ "version": "2.3.1", "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/diff": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", @@ -2405,9 +2400,9 @@ } }, "node_modules/eslint": { - "version": "8.44.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.44.0.tgz", - "integrity": "sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A==", + "version": "8.45.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.45.0.tgz", + "integrity": "sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -2435,7 +2430,6 @@ "globals": "^13.19.0", "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", @@ -2447,7 +2441,6 @@ "natural-compare": "^1.4.0", "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -2620,15 +2613,15 @@ } }, "node_modules/eslint-plugin-github": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.8.0.tgz", - "integrity": "sha512-1qu1qcyac4FfZmT9KNPr5250DwWzwp6uy6xAqHD2boE4OquUpeTni05yPn1b6y6vUYm/q8+npTdyYiRSqvg+BQ==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.9.0.tgz", + "integrity": "sha512-c4jnJXJzHy8lzdYjOXlXcY7jX4b2ciGh+ugZM5b6vs6q2+m+6BrNl20u5WxloJvH6Q8CbZ0+Lnh7lDJxUd3WkQ==", "dev": true, "dependencies": { "@github/browserslist-config": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", - "aria-query": "^5.1.3", + "aria-query": "^5.3.0", "eslint-config-prettier": ">=8.0.0", "eslint-plugin-escompat": "^3.3.3", "eslint-plugin-eslint-comments": "^3.2.0", @@ -3699,12 +3692,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -4692,9 +4679,9 @@ } }, "node_modules/nock": { - "version": "13.3.1", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.1.tgz", - "integrity": "sha512-vHnopocZuI93p2ccivFyGuUfzjq2fxNyNurp7816mlT5V5HF4SzXu8lvLrVzBbNqzs+ODooZ6OksuSUNM7Njkw==", + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.2.tgz", + "integrity": "sha512-CwbljitiWJhF1gL83NbanhoKs1l23TDlRioNraPTZrzZIEooPemrHRj5m0FZCPkB1ecdYCSWWGcHysJgX/ngnQ==", "dev": true, "dependencies": { "debug": "^4.1.0", diff --git a/node_modules/@sinonjs/commons/CHANGES.md b/node_modules/@sinonjs/commons/CHANGES.md deleted file mode 100644 index 9d306954d8..0000000000 --- a/node_modules/@sinonjs/commons/CHANGES.md +++ /dev/null @@ -1,57 +0,0 @@ -# Changes - -## 1.8.3 - -- [`6af2d0c`](https://github.com/sinonjs/commons/commit/6af2d0cf33e9fd1e4aaef5308fd16a9cd78a5782) - Bump y18n from 4.0.0 to 4.0.1 (dependabot[bot]) - > - > Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - > - [Release notes](https://github.com/yargs/y18n/releases) - > - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - > - [Commits](https://github.com/yargs/y18n/commits) - > - > Signed-off-by: dependabot[bot] - -_Released on 2021-04-08._ - -## 1.8.2 - -- [`6b7a796`](https://github.com/sinonjs/commons/commit/6b7a796ffc088b43dc283cc4477a7d641720dc96) - Add .d.ts files to package (Morgan Roderick) - > - > In order to improve the experience of TypeScript users, we are compiling - > `.d.ts` files from the JSDoc and distributing them with the package - > - -_Released on 2021-01-13._ - -## 1.8.1 - -- [`07b9e7a`](https://github.com/sinonjs/commons/commit/07b9e7a1d784771273a9a58d74945bbc7319b5d4) - Optimize npm package size (Uladzimir Havenchyk) - -_Released on 2020-07-17._ - -## 1.8.0 - -- [`4282205`](https://github.com/sinonjs/commons/commit/4282205343a4dcde2a35ccf2a8c2094300dad369) - Emit deprecationg warnings in node, and keep console info in browsers (mshaaban0) - -_Released on 2020-05-20._ - -## 1.7.2 - -- [`76ad9c1`](https://github.com/sinonjs/commons/commit/76ad9c16bad29f72420ed55bdf45b65d076108c8) - Fix generators causing exceptions in function-name (Sebastian Mayr) - -_Released on 2020-04-08._ - -## 1.7.1 - -- [`0486d25`](https://github.com/sinonjs/commons/commit/0486d250ecec9b5f9aa2210357767e413f4162d3) - Upgrade eslint-config-sinon, add eslint-plugin-jsdoc (Morgan Roderick) - > - > This adds linting of jsdoc - > - -_Released on 2020-02-19._ diff --git a/node_modules/@sinonjs/commons/LICENSE b/node_modules/@sinonjs/commons/LICENSE deleted file mode 100644 index 5a77f0a2e6..0000000000 --- a/node_modules/@sinonjs/commons/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2018, Sinon.JS -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sinonjs/commons/README.md b/node_modules/@sinonjs/commons/README.md deleted file mode 100644 index 9c420ba5d3..0000000000 --- a/node_modules/@sinonjs/commons/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# commons - -[![CircleCI](https://circleci.com/gh/sinonjs/commons.svg?style=svg)](https://circleci.com/gh/sinonjs/commons) -[![codecov](https://codecov.io/gh/sinonjs/commons/branch/master/graph/badge.svg)](https://codecov.io/gh/sinonjs/commons) -Contributor Covenant - -Simple functions shared among the sinon end user libraries - -## Rules - -- Follows the [Sinon.JS compatibility](https://github.com/sinonjs/sinon/blob/master/CONTRIBUTING.md#compatibility) -- 100% test coverage -- Code formatted using [Prettier](https://prettier.io) -- No side effects welcome! (only pure functions) -- No platform specific functions -- One export per file (any bundler can do tree shaking) diff --git a/node_modules/@sinonjs/commons/lib/called-in-order.js b/node_modules/@sinonjs/commons/lib/called-in-order.js deleted file mode 100644 index 4edb67fa5e..0000000000 --- a/node_modules/@sinonjs/commons/lib/called-in-order.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; - -var every = require("./prototypes/array").every; - -/** - * @private - */ -function hasCallsLeft(callMap, spy) { - if (callMap[spy.id] === undefined) { - callMap[spy.id] = 0; - } - - return callMap[spy.id] < spy.callCount; -} - -/** - * @private - */ -function checkAdjacentCalls(callMap, spy, index, spies) { - var calledBeforeNext = true; - - if (index !== spies.length - 1) { - calledBeforeNext = spy.calledBefore(spies[index + 1]); - } - - if (hasCallsLeft(callMap, spy) && calledBeforeNext) { - callMap[spy.id] += 1; - return true; - } - - return false; -} - -/** - * A Sinon proxy object (fake, spy, stub) - * - * @typedef {object} SinonProxy - * @property {Function} calledBefore - A method that determines if this proxy was called before another one - * @property {string} id - Some id - * @property {number} callCount - Number of times this proxy has been called - */ - -/** - * Returns true when the spies have been called in the order they were supplied in - * - * @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments - * @returns {boolean} true when spies are called in order, false otherwise - */ -function calledInOrder(spies) { - var callMap = {}; - // eslint-disable-next-line no-underscore-dangle - var _spies = arguments.length > 1 ? arguments : spies; - - return every(_spies, checkAdjacentCalls.bind(null, callMap)); -} - -module.exports = calledInOrder; diff --git a/node_modules/@sinonjs/commons/lib/called-in-order.test.js b/node_modules/@sinonjs/commons/lib/called-in-order.test.js deleted file mode 100644 index 00d8b8bc6a..0000000000 --- a/node_modules/@sinonjs/commons/lib/called-in-order.test.js +++ /dev/null @@ -1,121 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var calledInOrder = require("./called-in-order"); -var sinon = require("@sinonjs/referee-sinon").sinon; - -var testObject1 = { - someFunction: function() { - return; - } -}; -var testObject2 = { - otherFunction: function() { - return; - } -}; -var testObject3 = { - thirdFunction: function() { - return; - } -}; - -function testMethod() { - testObject1.someFunction(); - testObject2.otherFunction(); - testObject2.otherFunction(); - testObject2.otherFunction(); - testObject3.thirdFunction(); -} - -describe("calledInOrder", function() { - beforeEach(function() { - sinon.stub(testObject1, "someFunction"); - sinon.stub(testObject2, "otherFunction"); - sinon.stub(testObject3, "thirdFunction"); - testMethod(); - }); - afterEach(function() { - testObject1.someFunction.restore(); - testObject2.otherFunction.restore(); - testObject3.thirdFunction.restore(); - }); - - describe("given single array argument", function() { - describe("when stubs were called in expected order", function() { - it("returns true", function() { - assert.isTrue( - calledInOrder([ - testObject1.someFunction, - testObject2.otherFunction - ]) - ); - assert.isTrue( - calledInOrder([ - testObject1.someFunction, - testObject2.otherFunction, - testObject2.otherFunction, - testObject3.thirdFunction - ]) - ); - }); - }); - - describe("when stubs were called in unexpected order", function() { - it("returns false", function() { - assert.isFalse( - calledInOrder([ - testObject2.otherFunction, - testObject1.someFunction - ]) - ); - assert.isFalse( - calledInOrder([ - testObject2.otherFunction, - testObject1.someFunction, - testObject1.someFunction, - testObject3.thirdFunction - ]) - ); - }); - }); - }); - - describe("given multiple arguments", function() { - describe("when stubs were called in expected order", function() { - it("returns true", function() { - assert.isTrue( - calledInOrder( - testObject1.someFunction, - testObject2.otherFunction - ) - ); - assert.isTrue( - calledInOrder( - testObject1.someFunction, - testObject2.otherFunction, - testObject3.thirdFunction - ) - ); - }); - }); - - describe("when stubs were called in unexpected order", function() { - it("returns false", function() { - assert.isFalse( - calledInOrder( - testObject2.otherFunction, - testObject1.someFunction - ) - ); - assert.isFalse( - calledInOrder( - testObject2.otherFunction, - testObject1.someFunction, - testObject3.thirdFunction - ) - ); - }); - }); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/class-name.js b/node_modules/@sinonjs/commons/lib/class-name.js deleted file mode 100644 index bcd26baeaa..0000000000 --- a/node_modules/@sinonjs/commons/lib/class-name.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -var functionName = require("./function-name"); - -/** - * Returns a display name for a value from a constructor - * - * @param {object} value A value to examine - * @returns {(string|null)} A string or null - */ -function className(value) { - return ( - (value.constructor && value.constructor.name) || - // The next branch is for IE11 support only: - // Because the name property is not set on the prototype - // of the Function object, we finally try to grab the - // name from its definition. This will never be reached - // in node, so we are not able to test this properly. - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name - (typeof value.constructor === "function" && - /* istanbul ignore next */ - functionName(value.constructor)) || - null - ); -} - -module.exports = className; diff --git a/node_modules/@sinonjs/commons/lib/class-name.test.js b/node_modules/@sinonjs/commons/lib/class-name.test.js deleted file mode 100644 index d091506a50..0000000000 --- a/node_modules/@sinonjs/commons/lib/class-name.test.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; -/* eslint-disable no-empty-function */ - -var assert = require("@sinonjs/referee").assert; -var className = require("./class-name"); - -describe("className", function() { - it("returns the class name of an instance", function() { - // Because eslint-config-sinon disables es6, we can't - // use a class definition here - // https://github.com/sinonjs/eslint-config-sinon/blob/master/index.js - // var instance = new (class TestClass {})(); - var instance = new (function TestClass() {})(); - var name = className(instance); - assert.equals(name, "TestClass"); - }); - - it("returns 'Object' for {}", function() { - var name = className({}); - assert.equals(name, "Object"); - }); - - it("returns null for an object that has no prototype", function() { - var obj = Object.create(null); - var name = className(obj); - assert.equals(name, null); - }); - - it("returns null for an object whose prototype was mangled", function() { - // This is what Node v6 and v7 do for objects returned by querystring.parse() - function MangledObject() {} - MangledObject.prototype = Object.create(null); - var obj = new MangledObject(); - var name = className(obj); - assert.equals(name, null); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/deprecated.js b/node_modules/@sinonjs/commons/lib/deprecated.js deleted file mode 100644 index ad68cc930d..0000000000 --- a/node_modules/@sinonjs/commons/lib/deprecated.js +++ /dev/null @@ -1,58 +0,0 @@ -/* eslint-disable no-console */ -"use strict"; - -/** - * Returns a function that will invoke the supplied function and print a - * deprecation warning to the console each time it is called. - * - * @param {Function} func - * @param {string} msg - * @returns {Function} - */ -exports.wrap = function(func, msg) { - var wrapped = function() { - exports.printWarning(msg); - return func.apply(this, arguments); - }; - if (func.prototype) { - wrapped.prototype = func.prototype; - } - return wrapped; -}; - -/** - * Returns a string which can be supplied to `wrap()` to notify the user that a - * particular part of the sinon API has been deprecated. - * - * @param {string} packageName - * @param {string} funcName - * @returns {string} - */ -exports.defaultMsg = function(packageName, funcName) { - return ( - packageName + - "." + - funcName + - " is deprecated and will be removed from the public API in a future version of " + - packageName + - "." - ); -}; - -/** - * Prints a warning on the console, when it exists - * - * @param {string} msg - * @returns {undefined} - */ -exports.printWarning = function(msg) { - /* istanbul ignore next */ - if (typeof process === "object" && process.emitWarning) { - // Emit Warnings in Node - process.emitWarning(msg); - } else if (console.info) { - console.info(msg); - } else { - console.log(msg); - } -}; diff --git a/node_modules/@sinonjs/commons/lib/deprecated.test.js b/node_modules/@sinonjs/commons/lib/deprecated.test.js deleted file mode 100644 index 903434590a..0000000000 --- a/node_modules/@sinonjs/commons/lib/deprecated.test.js +++ /dev/null @@ -1,100 +0,0 @@ -/* eslint-disable no-console */ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var sinon = require("@sinonjs/referee-sinon").sinon; - -var deprecated = require("./deprecated"); - -var msg = "test"; - -describe("deprecated", function() { - describe("defaultMsg", function() { - it("should return a string", function() { - assert.equals( - deprecated.defaultMsg("sinon", "someFunc"), - "sinon.someFunc is deprecated and will be removed from the public API in a future version of sinon." - ); - }); - }); - - describe("printWarning", function() { - beforeEach(function() { - sinon.replace(process, "emitWarning", sinon.fake()); - }); - - afterEach(sinon.restore); - - describe("when `process.emitWarning` is defined", function() { - it("should call process.emitWarning with a msg", function() { - deprecated.printWarning(msg); - assert.calledOnceWith(process.emitWarning, msg); - }); - }); - - describe("when `process.emitWarning` is undefined", function() { - beforeEach(function() { - sinon.replace(console, "info", sinon.fake()); - sinon.replace(console, "log", sinon.fake()); - process.emitWarning = undefined; - }); - - afterEach(sinon.restore); - - describe("when `console.info` is defined", function() { - it("should call `console.info` with a message", function() { - deprecated.printWarning(msg); - assert.calledOnceWith(console.info, msg); - }); - }); - - describe("when `console.info` is undefined", function() { - it("should call `console.log` with a message", function() { - console.info = undefined; - deprecated.printWarning(msg); - assert.calledOnceWith(console.log, msg); - }); - }); - }); - }); - - describe("wrap", function() { - var method = sinon.fake(); - var wrapped; - - beforeEach(function() { - wrapped = deprecated.wrap(method, msg); - }); - - it("should return a wrapper function", function() { - assert.match(wrapped, sinon.match.func); - }); - - it("should assign the prototype of the passed method", function() { - assert.equals(method.prototype, wrapped.prototype); - }); - - context("when the passed method has falsy prototype", function() { - it("should not be assigned to the wrapped method", function() { - method.prototype = null; - wrapped = deprecated.wrap(method, msg); - assert.match(wrapped.prototype, sinon.match.object); - }); - }); - - context("when invoking the wrapped function", function() { - before(function() { - sinon.replace(deprecated, "printWarning", sinon.fake()); - wrapped({}); - }); - - it("should call `printWarning` before invoking", function() { - assert.calledOnceWith(deprecated.printWarning, msg); - }); - - it("should invoke the passed method with the given arguments", function() { - assert.calledOnceWith(method, {}); - }); - }); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/every.js b/node_modules/@sinonjs/commons/lib/every.js deleted file mode 100644 index 08274b4d9d..0000000000 --- a/node_modules/@sinonjs/commons/lib/every.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -/** - * Returns true when fn returns true for all members of obj. - * This is an every implementation that works for all iterables - * - * @param {object} obj - * @param {Function} fn - * @returns {boolean} - */ -module.exports = function every(obj, fn) { - var pass = true; - - try { - // eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods - obj.forEach(function() { - if (!fn.apply(this, arguments)) { - // Throwing an error is the only way to break `forEach` - throw new Error(); - } - }); - } catch (e) { - pass = false; - } - - return pass; -}; diff --git a/node_modules/@sinonjs/commons/lib/every.test.js b/node_modules/@sinonjs/commons/lib/every.test.js deleted file mode 100644 index f893d43d18..0000000000 --- a/node_modules/@sinonjs/commons/lib/every.test.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var sinon = require("@sinonjs/referee-sinon").sinon; -var every = require("./every"); - -describe("util/core/every", function() { - it("returns true when the callback function returns true for every element in an iterable", function() { - var obj = [true, true, true, true]; - var allTrue = every(obj, function(val) { - return val; - }); - - assert(allTrue); - }); - - it("returns false when the callback function returns false for any element in an iterable", function() { - var obj = [true, true, true, false]; - var result = every(obj, function(val) { - return val; - }); - - assert.isFalse(result); - }); - - it("calls the given callback once for each item in an iterable until it returns false", function() { - var iterableOne = [true, true, true, true]; - var iterableTwo = [true, true, false, true]; - var callback = sinon.spy(function(val) { - return val; - }); - - every(iterableOne, callback); - assert.equals(callback.callCount, 4); - - callback.resetHistory(); - - every(iterableTwo, callback); - assert.equals(callback.callCount, 3); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/function-name.js b/node_modules/@sinonjs/commons/lib/function-name.js deleted file mode 100644 index 199b04e0d1..0000000000 --- a/node_modules/@sinonjs/commons/lib/function-name.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; - -/** - * Returns a display name for a function - * - * @param {Function} func - * @returns {string} - */ -module.exports = function functionName(func) { - if (!func) { - return ""; - } - - try { - return ( - func.displayName || - func.name || - // Use function decomposition as a last resort to get function - // name. Does not rely on function decomposition to work - if it - // doesn't debugging will be slightly less informative - // (i.e. toString will say 'spy' rather than 'myFunc'). - (String(func).match(/function ([^\s(]+)/) || [])[1] - ); - } catch (e) { - // Stringify may fail and we might get an exception, as a last-last - // resort fall back to empty string. - return ""; - } -}; diff --git a/node_modules/@sinonjs/commons/lib/function-name.test.js b/node_modules/@sinonjs/commons/lib/function-name.test.js deleted file mode 100644 index 6dda3a42cf..0000000000 --- a/node_modules/@sinonjs/commons/lib/function-name.test.js +++ /dev/null @@ -1,76 +0,0 @@ -"use strict"; - -var jsc = require("jsverify"); -var refute = require("@sinonjs/referee-sinon").refute; - -var functionName = require("./function-name"); - -describe("function-name", function() { - it("should return empty string if func is falsy", function() { - jsc.assertForall("falsy", function(fn) { - return functionName(fn) === ""; - }); - }); - - it("should use displayName by default", function() { - jsc.assertForall("nestring", function(displayName) { - var fn = { displayName: displayName }; - - return functionName(fn) === fn.displayName; - }); - }); - - it("should use name if displayName is not available", function() { - jsc.assertForall("nestring", function(name) { - var fn = { name: name }; - - return functionName(fn) === fn.name; - }); - }); - - it("should fallback to string parsing", function() { - jsc.assertForall("nat", function(naturalNumber) { - var name = "fn" + naturalNumber; - var fn = { - toString: function() { - return "\nfunction " + name; - } - }; - - return functionName(fn) === name; - }); - }); - - it("should not fail when a name cannot be found", function() { - refute.exception(function() { - var fn = { - toString: function() { - return "\nfunction ("; - } - }; - - functionName(fn); - }); - }); - - it("should not fail when toString is undefined", function() { - refute.exception(function() { - functionName(Object.create(null)); - }); - }); - - it("should not fail when toString throws", function() { - refute.exception(function() { - var fn; - try { - // eslint-disable-next-line no-eval - fn = eval("(function*() {})")().constructor; - } catch (e) { - // env doesn't support generators - return; - } - - functionName(fn); - }); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/global.js b/node_modules/@sinonjs/commons/lib/global.js deleted file mode 100644 index 51715a27c8..0000000000 --- a/node_modules/@sinonjs/commons/lib/global.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; - -/** - * A reference to the global object - * - * @type {object} globalObject - */ -var globalObject; - -/* istanbul ignore else */ -if (typeof global !== "undefined") { - // Node - globalObject = global; -} else if (typeof window !== "undefined") { - // Browser - globalObject = window; -} else { - // WebWorker - globalObject = self; -} - -module.exports = globalObject; diff --git a/node_modules/@sinonjs/commons/lib/global.test.js b/node_modules/@sinonjs/commons/lib/global.test.js deleted file mode 100644 index e49b3da174..0000000000 --- a/node_modules/@sinonjs/commons/lib/global.test.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var globalObject = require("./global"); - -describe("global", function() { - before(function() { - if (typeof global === "undefined") { - this.skip(); - } - }); - - it("is same as global", function() { - assert.same(globalObject, global); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/index.js b/node_modules/@sinonjs/commons/lib/index.js deleted file mode 100644 index 54048572a5..0000000000 --- a/node_modules/@sinonjs/commons/lib/index.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; - -module.exports = { - global: require("./global"), - calledInOrder: require("./called-in-order"), - className: require("./class-name"), - deprecated: require("./deprecated"), - every: require("./every"), - functionName: require("./function-name"), - orderByFirstCall: require("./order-by-first-call"), - prototypes: require("./prototypes"), - typeOf: require("./type-of"), - valueToString: require("./value-to-string") -}; diff --git a/node_modules/@sinonjs/commons/lib/index.test.js b/node_modules/@sinonjs/commons/lib/index.test.js deleted file mode 100644 index cac58a03e2..0000000000 --- a/node_modules/@sinonjs/commons/lib/index.test.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var index = require("./index"); - -var expectedMethods = [ - "calledInOrder", - "className", - "every", - "functionName", - "orderByFirstCall", - "typeOf", - "valueToString" -]; -var expectedObjectProperties = ["deprecated", "prototypes"]; - -describe("package", function() { - expectedMethods.forEach(function(name) { - it("should export a method named " + name, function() { - assert.isFunction(index[name]); - }); - }); - - expectedObjectProperties.forEach(function(name) { - it("should export an object property named " + name, function() { - assert.isObject(index[name]); - }); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/order-by-first-call.js b/node_modules/@sinonjs/commons/lib/order-by-first-call.js deleted file mode 100644 index c3d47edfeb..0000000000 --- a/node_modules/@sinonjs/commons/lib/order-by-first-call.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -var sort = require("./prototypes/array").sort; -var slice = require("./prototypes/array").slice; - -/** - * @private - */ -function comparator(a, b) { - // uuid, won't ever be equal - var aCall = a.getCall(0); - var bCall = b.getCall(0); - var aId = (aCall && aCall.callId) || -1; - var bId = (bCall && bCall.callId) || -1; - - return aId < bId ? -1 : 1; -} - -/** - * A Sinon proxy object (fake, spy, stub) - * - * @typedef {object} SinonProxy - * @property {Function} getCall - A method that can return the first call - */ - -/** - * Sorts an array of SinonProxy instances (fake, spy, stub) by their first call - * - * @param {SinonProxy[] | SinonProxy} spies - * @returns {SinonProxy[]} - */ -function orderByFirstCall(spies) { - return sort(slice(spies), comparator); -} - -module.exports = orderByFirstCall; diff --git a/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js b/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js deleted file mode 100644 index 485ad431f2..0000000000 --- a/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var knuthShuffle = require("knuth-shuffle").knuthShuffle; -var sinon = require("@sinonjs/referee-sinon").sinon; -var orderByFirstCall = require("./order-by-first-call"); - -describe("orderByFirstCall", function() { - it("should order an Array of spies by the callId of the first call, ascending", function() { - // create an array of spies - var spies = [ - sinon.spy(), - sinon.spy(), - sinon.spy(), - sinon.spy(), - sinon.spy(), - sinon.spy() - ]; - - // call all the spies - spies.forEach(function(spy) { - spy(); - }); - - // add a few uncalled spies - spies.push(sinon.spy()); - spies.push(sinon.spy()); - - // randomise the order of the spies - knuthShuffle(spies); - - var sortedSpies = orderByFirstCall(spies); - - assert.equals(sortedSpies.length, spies.length); - - var orderedByFirstCall = sortedSpies.every(function(spy, index) { - if (index + 1 === sortedSpies.length) { - return true; - } - var nextSpy = sortedSpies[index + 1]; - - // uncalled spies should be ordered first - if (!spy.called) { - return true; - } - - return spy.calledImmediatelyBefore(nextSpy); - }); - - assert.isTrue(orderedByFirstCall); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/README.md b/node_modules/@sinonjs/commons/lib/prototypes/README.md deleted file mode 100644 index aff3d914dc..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# Prototypes - -The functions in this folder are to be use for keeping cached references to the built-in prototypes, so that people can't inadvertently break the library by making mistakes in userland. - -See https://github.com/sinonjs/sinon/pull/1523 - -## Without cached references - -```js -// in userland, the library user needs to replace the filter method on -// Array.prototype -var array = [1, 2, 3]; -sinon.replace(array, "filter", sinon.fake.returns(2)); - -// in a sinon module, the library author needs to use the filter method -var someArray = ["a", "b", 42, "c"]; -var answer = filter(someArray, function(v) { - return v === 42; -}); - -console.log(answer); -// => 2 -``` - -## With cached references - -```js -// in userland, the library user needs to replace the filter method on -// Array.prototype -var array = [1, 2, 3]; -sinon.replace(array, "filter", sinon.fake.returns(2)); - -// in a sinon module, the library author needs to use the filter method -// get a reference to the original Array.prototype.filter -var filter = require("@sinonjs/commons").prototypes.array.filter; -var someArray = ["a", "b", 42, "c"]; -var answer = filter(someArray, function(v) { - return v === 42; -}); - -console.log(answer); -// => 42 -``` diff --git a/node_modules/@sinonjs/commons/lib/prototypes/array.js b/node_modules/@sinonjs/commons/lib/prototypes/array.js deleted file mode 100644 index 0e332b5daa..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/array.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(Array.prototype); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js b/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js deleted file mode 100644 index 0560a00114..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; - -var call = Function.call; - -module.exports = function copyPrototypeMethods(prototype) { - // eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods - return Object.getOwnPropertyNames(prototype).reduce(function(result, name) { - // ignore size because it throws from Map - if ( - name !== "size" && - name !== "caller" && - name !== "callee" && - name !== "arguments" && - typeof prototype[name] === "function" - ) { - result[name] = call.bind(prototype[name]); - } - - return result; - }, Object.create(null)); -}; diff --git a/node_modules/@sinonjs/commons/lib/prototypes/function.js b/node_modules/@sinonjs/commons/lib/prototypes/function.js deleted file mode 100644 index 28d0cb3f04..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/function.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(Function.prototype); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/index.js b/node_modules/@sinonjs/commons/lib/prototypes/index.js deleted file mode 100644 index 6ca7f84133..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -module.exports = { - array: require("./array"), - function: require("./function"), - map: require("./map"), - object: require("./object"), - set: require("./set"), - string: require("./string") -}; diff --git a/node_modules/@sinonjs/commons/lib/prototypes/index.test.js b/node_modules/@sinonjs/commons/lib/prototypes/index.test.js deleted file mode 100644 index 926f4f1b33..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/index.test.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; - -var arrayProto = require("./index").array; -var functionProto = require("./index").function; -var mapProto = require("./index").map; -var objectProto = require("./index").object; -var setProto = require("./index").set; -var stringProto = require("./index").string; - -describe("prototypes", function() { - describe(".array", function() { - verifyProperties(arrayProto, Array); - }); - describe(".function", function() { - verifyProperties(functionProto, Function); - }); - describe(".map", function() { - verifyProperties(mapProto, Map); - }); - describe(".object", function() { - verifyProperties(objectProto, Object); - }); - describe(".set", function() { - verifyProperties(setProto, Set); - }); - describe(".string", function() { - verifyProperties(stringProto, String); - }); -}); - -function verifyProperties(p, origin) { - it("should have all the methods of the origin prototype", function() { - var methodNames = Object.getOwnPropertyNames(origin.prototype).filter( - function(name) { - return ( - name !== "size" && - name !== "caller" && - name !== "callee" && - name !== "arguments" && - typeof origin.prototype[name] === "function" - ); - } - ); - - methodNames.forEach(function(name) { - assert.isTrue(Object.prototype.hasOwnProperty.call(p, name), name); - }); - }); -} diff --git a/node_modules/@sinonjs/commons/lib/prototypes/map.js b/node_modules/@sinonjs/commons/lib/prototypes/map.js deleted file mode 100644 index 793d08b9d3..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/map.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(Map.prototype); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/object.js b/node_modules/@sinonjs/commons/lib/prototypes/object.js deleted file mode 100644 index 5b18b567c8..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/object.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(Object.prototype); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/set.js b/node_modules/@sinonjs/commons/lib/prototypes/set.js deleted file mode 100644 index b5ade92485..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/set.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(Set.prototype); diff --git a/node_modules/@sinonjs/commons/lib/prototypes/string.js b/node_modules/@sinonjs/commons/lib/prototypes/string.js deleted file mode 100644 index edc905e4b1..0000000000 --- a/node_modules/@sinonjs/commons/lib/prototypes/string.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -var copyPrototype = require("./copy-prototype"); - -module.exports = copyPrototype(String.prototype); diff --git a/node_modules/@sinonjs/commons/lib/type-of.js b/node_modules/@sinonjs/commons/lib/type-of.js deleted file mode 100644 index 97a0bb9cb9..0000000000 --- a/node_modules/@sinonjs/commons/lib/type-of.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var type = require("type-detect"); - -/** - * Returns the lower-case result of running type from type-detect on the value - * - * @param {*} value - * @returns {string} - */ -module.exports = function typeOf(value) { - return type(value).toLowerCase(); -}; diff --git a/node_modules/@sinonjs/commons/lib/type-of.test.js b/node_modules/@sinonjs/commons/lib/type-of.test.js deleted file mode 100644 index 5fcfc745ce..0000000000 --- a/node_modules/@sinonjs/commons/lib/type-of.test.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var typeOf = require("./type-of"); - -describe("typeOf", function() { - it("returns boolean", function() { - assert.equals(typeOf(false), "boolean"); - }); - - it("returns string", function() { - assert.equals(typeOf("Sinon.JS"), "string"); - }); - - it("returns number", function() { - assert.equals(typeOf(123), "number"); - }); - - it("returns object", function() { - assert.equals(typeOf({}), "object"); - }); - - it("returns function", function() { - assert.equals( - typeOf(function() { - return undefined; - }), - "function" - ); - }); - - it("returns undefined", function() { - assert.equals(typeOf(undefined), "undefined"); - }); - - it("returns null", function() { - assert.equals(typeOf(null), "null"); - }); - - it("returns array", function() { - assert.equals(typeOf([]), "array"); - }); - - it("returns regexp", function() { - assert.equals(typeOf(/.*/), "regexp"); - }); - - it("returns date", function() { - assert.equals(typeOf(new Date()), "date"); - }); -}); diff --git a/node_modules/@sinonjs/commons/lib/value-to-string.js b/node_modules/@sinonjs/commons/lib/value-to-string.js deleted file mode 100644 index fb14782be5..0000000000 --- a/node_modules/@sinonjs/commons/lib/value-to-string.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; - -/** - * Returns a string representation of the value - * - * @param {*} value - * @returns {string} - */ -function valueToString(value) { - if (value && value.toString) { - // eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods - return value.toString(); - } - return String(value); -} - -module.exports = valueToString; diff --git a/node_modules/@sinonjs/commons/lib/value-to-string.test.js b/node_modules/@sinonjs/commons/lib/value-to-string.test.js deleted file mode 100644 index 5cae5017fb..0000000000 --- a/node_modules/@sinonjs/commons/lib/value-to-string.test.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; - -var assert = require("@sinonjs/referee-sinon").assert; -var valueToString = require("./value-to-string"); - -describe("util/core/valueToString", function() { - it("returns string representation of an object", function() { - var obj = {}; - - assert.equals(valueToString(obj), obj.toString()); - }); - - it("returns 'null' for literal null'", function() { - assert.equals(valueToString(null), "null"); - }); - - it("returns 'undefined' for literal undefined", function() { - assert.equals(valueToString(undefined), "undefined"); - }); -}); diff --git a/node_modules/@sinonjs/commons/package.json b/node_modules/@sinonjs/commons/package.json deleted file mode 100644 index f0e6c14bc5..0000000000 --- a/node_modules/@sinonjs/commons/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "@sinonjs/commons", - "version": "1.8.3", - "description": "Simple functions shared among the sinon end user libraries", - "main": "lib/index.js", - "types": "./types/index.d.ts", - "scripts": { - "build": "rm -rf types && tsc", - "lint": "eslint .", - "precommit": "lint-staged", - "test": "mocha --recursive -R dot \"lib/**/*.test.js\"", - "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100", - "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test", - "prepublishOnly": "npm run build", - "prettier:check": "prettier --check '**/*.{js,css,md}'", - "prettier:write": "prettier --write '**/*.{js,css,md}'", - "preversion": "npm run test-check-coverage", - "version": "changes --commits --footer", - "postversion": "git push --follow-tags && npm publish" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/sinonjs/commons.git" - }, - "files": [ - "lib", - "types" - ], - "author": "", - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/sinonjs/commons/issues" - }, - "homepage": "https://github.com/sinonjs/commons#readme", - "lint-staged": { - "*.{js,css,md}": "prettier --check", - "*.js": "eslint" - }, - "devDependencies": { - "@sinonjs/eslint-plugin-no-prototype-methods": "^0.1.0", - "@sinonjs/referee-sinon": "7.0.2", - "@studio/changes": "^2.0.0", - "eslint": "^6.1.0", - "eslint-config-prettier": "^6.3.0", - "eslint-config-sinon": "^4.0.0", - "eslint-plugin-ie11": "^1.0.0", - "eslint-plugin-jsdoc": "^22.1.0", - "eslint-plugin-mocha": "^6.1.1", - "eslint-plugin-prettier": "^3.0.0", - "husky": "4.2.3", - "jsverify": "0.8.4", - "knuth-shuffle": "^1.0.8", - "lint-staged": "10.1.1", - "mocha": "7.1.0", - "nyc": "15.0.0", - "prettier": "^1.14.3", - "typescript": "^4.1.3" - }, - "dependencies": { - "type-detect": "4.0.8" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - } -} diff --git a/node_modules/@sinonjs/commons/types/called-in-order.d.ts b/node_modules/@sinonjs/commons/types/called-in-order.d.ts deleted file mode 100644 index 1a4508be95..0000000000 --- a/node_modules/@sinonjs/commons/types/called-in-order.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -export = calledInOrder; -/** - * A Sinon proxy object (fake, spy, stub) - * - * @typedef {object} SinonProxy - * @property {Function} calledBefore - A method that determines if this proxy was called before another one - * @property {string} id - Some id - * @property {number} callCount - Number of times this proxy has been called - */ -/** - * Returns true when the spies have been called in the order they were supplied in - * - * @param {SinonProxy[] | SinonProxy} spies An array of proxies, or several proxies as arguments - * @returns {boolean} true when spies are called in order, false otherwise - */ -declare function calledInOrder(spies: SinonProxy[] | SinonProxy, ...args: any[]): boolean; -declare namespace calledInOrder { - export { SinonProxy }; -} -/** - * A Sinon proxy object (fake, spy, stub) - */ -type SinonProxy = { - /** - * - A method that determines if this proxy was called before another one - */ - calledBefore: Function; - /** - * - Some id - */ - id: string; - /** - * - Number of times this proxy has been called - */ - callCount: number; -}; diff --git a/node_modules/@sinonjs/commons/types/class-name.d.ts b/node_modules/@sinonjs/commons/types/class-name.d.ts deleted file mode 100644 index df3687b9b2..0000000000 --- a/node_modules/@sinonjs/commons/types/class-name.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export = className; -/** - * Returns a display name for a value from a constructor - * - * @param {object} value A value to examine - * @returns {(string|null)} A string or null - */ -declare function className(value: object): (string | null); diff --git a/node_modules/@sinonjs/commons/types/deprecated.d.ts b/node_modules/@sinonjs/commons/types/deprecated.d.ts deleted file mode 100644 index 81a35bf836..0000000000 --- a/node_modules/@sinonjs/commons/types/deprecated.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function wrap(func: Function, msg: string): Function; -export function defaultMsg(packageName: string, funcName: string): string; -export function printWarning(msg: string): undefined; diff --git a/node_modules/@sinonjs/commons/types/every.d.ts b/node_modules/@sinonjs/commons/types/every.d.ts deleted file mode 100644 index bcfa64e017..0000000000 --- a/node_modules/@sinonjs/commons/types/every.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _exports(obj: object, fn: Function): boolean; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/function-name.d.ts b/node_modules/@sinonjs/commons/types/function-name.d.ts deleted file mode 100644 index f27d519a9f..0000000000 --- a/node_modules/@sinonjs/commons/types/function-name.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _exports(func: Function): string; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/global.d.ts b/node_modules/@sinonjs/commons/types/global.d.ts deleted file mode 100644 index 0f54a635dc..0000000000 --- a/node_modules/@sinonjs/commons/types/global.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export = globalObject; -/** - * A reference to the global object - * - * @type {object} globalObject - */ -declare var globalObject: object; diff --git a/node_modules/@sinonjs/commons/types/index.d.ts b/node_modules/@sinonjs/commons/types/index.d.ts deleted file mode 100644 index 7d675b1819..0000000000 --- a/node_modules/@sinonjs/commons/types/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export const global: any; -export const calledInOrder: typeof import("./called-in-order"); -export const className: typeof import("./class-name"); -export const deprecated: typeof import("./deprecated"); -export const every: (obj: any, fn: Function) => boolean; -export const functionName: (func: Function) => string; -export const orderByFirstCall: typeof import("./order-by-first-call"); -export const prototypes: { - array: any; - function: any; - map: any; - object: any; - set: any; - string: any; -}; -export const typeOf: (value: any) => string; -export const valueToString: typeof import("./value-to-string"); diff --git a/node_modules/@sinonjs/commons/types/order-by-first-call.d.ts b/node_modules/@sinonjs/commons/types/order-by-first-call.d.ts deleted file mode 100644 index a9a6037d0d..0000000000 --- a/node_modules/@sinonjs/commons/types/order-by-first-call.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export = orderByFirstCall; -/** - * A Sinon proxy object (fake, spy, stub) - * - * @typedef {object} SinonProxy - * @property {Function} getCall - A method that can return the first call - */ -/** - * Sorts an array of SinonProxy instances (fake, spy, stub) by their first call - * - * @param {SinonProxy[] | SinonProxy} spies - * @returns {SinonProxy[]} - */ -declare function orderByFirstCall(spies: SinonProxy[] | SinonProxy): SinonProxy[]; -declare namespace orderByFirstCall { - export { SinonProxy }; -} -/** - * A Sinon proxy object (fake, spy, stub) - */ -type SinonProxy = { - /** - * - A method that can return the first call - */ - getCall: Function; -}; diff --git a/node_modules/@sinonjs/commons/types/prototypes/array.d.ts b/node_modules/@sinonjs/commons/types/prototypes/array.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/array.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/copy-prototype.d.ts b/node_modules/@sinonjs/commons/types/prototypes/copy-prototype.d.ts deleted file mode 100644 index 1479b93cf9..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/copy-prototype.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _exports(prototype: any): any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/function.d.ts b/node_modules/@sinonjs/commons/types/prototypes/function.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/function.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/index.d.ts b/node_modules/@sinonjs/commons/types/prototypes/index.d.ts deleted file mode 100644 index 0026d6c2f5..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare const array: any; -declare const _function: any; -export { _function as function }; -export declare const map: any; -export declare const object: any; -export declare const set: any; -export declare const string: any; diff --git a/node_modules/@sinonjs/commons/types/prototypes/map.d.ts b/node_modules/@sinonjs/commons/types/prototypes/map.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/map.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/object.d.ts b/node_modules/@sinonjs/commons/types/prototypes/object.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/object.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/set.d.ts b/node_modules/@sinonjs/commons/types/prototypes/set.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/set.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/prototypes/string.d.ts b/node_modules/@sinonjs/commons/types/prototypes/string.d.ts deleted file mode 100644 index 1cce635071..0000000000 --- a/node_modules/@sinonjs/commons/types/prototypes/string.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _exports: any; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/type-of.d.ts b/node_modules/@sinonjs/commons/types/type-of.d.ts deleted file mode 100644 index fc72887c0e..0000000000 --- a/node_modules/@sinonjs/commons/types/type-of.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _exports(value: any): string; -export = _exports; diff --git a/node_modules/@sinonjs/commons/types/value-to-string.d.ts b/node_modules/@sinonjs/commons/types/value-to-string.d.ts deleted file mode 100644 index 19b086cd28..0000000000 --- a/node_modules/@sinonjs/commons/types/value-to-string.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export = valueToString; -/** - * Returns a string representation of the value - * - * @param {*} value - * @returns {string} - */ -declare function valueToString(value: any): string; diff --git a/node_modules/@sinonjs/fake-timers/CHANGELOG.md b/node_modules/@sinonjs/fake-timers/CHANGELOG.md deleted file mode 100644 index d7d53d4f7e..0000000000 --- a/node_modules/@sinonjs/fake-timers/CHANGELOG.md +++ /dev/null @@ -1,422 +0,0 @@ - -7.1.2 / 2021-05-28 -================== - - * Fix #382 by making config fields optional (#383) - * Fix #347 : Support util.promisify - -7.1.1 / 2021-05-27 -================== - - * Fix JSDoc for createClock - -7.1.0 / 2021-05-20 -================== - - * Remove Safari from Sauce Lab (ref #380) - * Bump hosted-git-info from 2.6.0 to 2.8.9 - * Bump handlebars from 4.7.6 to 4.7.7 - * Bump lodash from 4.17.19 to 4.17.21 - * Add in latest Safari and evergreen Edge - * Drop IE11 and Safari 9 - * chore: add type tests (#373) - * remove constructor types - * use globalThis to avoid conflicts - * Update yargs-parser - * Update mkdirp - * Upgrade jsdom - * Upgrade mochify to latest - * Upgrade Mocha to latest - * Bump y18n from 4.0.0 to 4.0.1 - * make config optional - * add a bunch more types - -7.0.5 / 2021-04-11 -================== - - * Fix up some clock types in JSDoc (becomes `.d.ts`) (#370) - * Fix refresh arguments forwarding (#369) - -7.0.4 / 2021-04-08 -================== - - * Fix usage with TypeScript - -7.0.3 / 2021-03-02 -================== - - * Removing the use of eval in Node.js (#331) - * Drop Node 8 - * Add docs about typings (#357) - -7.0.2 / 2021-01-18 -================== - - * Make config options optional in TypeScript defs (#354) - -7.0.1 / 2021-01-14 -================== - - * Update README section about browser use - -7.0.0 / 2021-01-12 -================== - - * Remove bundle from package. If you're loading `fake-timers` via - script tag, you'll now have to provide your own bundled version - * Add .d.ts files to package - * Revert "Add stack trace to code recursively scheduling timers" (#338) - * Remove unnecessary durations and use globals - * Support timeout.refresh in node environments - * Fix #319: Error message changed to TypeError - * Fix #319: The use of 'eval' has been removed - * Fix #304: clearTimeout clears setInterval and clearInterval clears setTimeout - * Remove config.target (#318) - - -6.0.1 / 2020-03-24 -================== - - * Support util.promisify in Node (#223) - -6.0.0 / 2020-02-04 -================== - - * Rename project to `@sinonjs/fake-timers` - -5.1.2 / 2019-12-19 -================== - - * Use global from `@sinonjs/commons` - * Fix setSystemTime affects hrtime if its called multiple times. - * Test coverage: use nyc - -5.1.1 / 2019-10-21 -================== - - * Fix global ReferenceError (#273) - -5.1.0 / 2019-10-14 -================== - - * Upgrade lolex with async versions of most calls - -5.0.1 / 2019-10-10 -================== - - * Upgrade eslint, add prettier - * Use `--no-detect-globals` to bundle and test lolex (#270) - -5.0.0 / 2019-10-07 -================== - - * Avoid installing setImmediate in unsupported environments - * fix #246: non-constructor Date() should return a string - -4.2.0 / 2019-08-04 -================== - - * Fix support for replacing the JSDOM performance field - -4.1.0 / 2019-06-04 -================== - - * Fix crash on Bash version 3 (macOS) - * Support hrtime.bigint() - * fix: count microtasks in countTimers - * Return empty arrays for performance.getEntries, other relevant methods - -4.0.1 / 2019-04-17 -================== - - * Remove sinon: added by mistake - -4.0.0 / 2019-04-17 -================== - - * Drop support for IE9 and IE10: link to supported browsers in README - * No more ExperimentalWarnings in Node environment for queueMicrotask() if it's not used in user's code - -3.1.0 / 2019-02-11 -================== - - * default timeout set to 50ms - * first implementation of requestIdleCallback and cancelIdleCallback - * fixed accidentally performance.now() -> x.now() replacement - * added queueMicrotask - -3.0.0 / 2018-10-08 -================== - - * Add countTimers method - * Disallow negative ticks (breaking API change!) - * Avoid exposing hrNow - * Fix #207 - round-off errors in `hrtime` - * Truncate sub-nanosecond values for `hrtime` - * Truncate sub-millisceond values for `Date.now()` - -v2.7.5 / 2018-09-19 -================== - - * fix: handle floating point in hrtime (#210) - * fix: reset high resolution timer on clock.reset (#209) - * Add an error when creating a clock with no Date object (#205) - -v2.7.4 / 2018-09-05 -================== - - * performance.mark related fixes for failing Safari, IE 10 and IE 11 tests - -v2.7.3 / 2018-09-05 -================== - - * Fix for #200: TypeError on performance.mark - -v2.7.2 / 2018-09-04 -================== - - * fix(setInterval): parse `timeout` arg to integer (#202) - * Upgrade insecure dependencies with npm audit fix - -v2.7.1 / 2018-07-06 -================== - * Fix performance replacement on iOS 9.3 - -v2.7.0 / 2018-05-25 -================== - - * reset clock to start - * check Performance exists before touching it - -v2.6.0 / 2018-05-16 -================== - - * Fix `reset` and document it publicly Clear microtick jobs and set now to 0 in reset (#179) - * Access Date on `_global` (#178) - -v2.5.0 / 2018-05-13 -================== - - * feat: respect loopLimit in runMicrotasks (#172) - * assign performance as a property, not as a function - -v2.4.2 / 2018-05-11 -=================== - * Upgrade Mochify to v5.6 (#162) fixed #170 - * Access `Performance` via `_global` (#168) - -v2.4.1 / 2018-05-08 -================== - - * fix: handle negative infinity timeout (#165) - -v2.4.0 / 2018-05-08 -================== - - * Add `withGlobal` export - * expose runMicrotasks - * Fix that performance.mark is undefined after timer install - -v2.3.2 / 2018-01-29 -================== - -* Add files section to package.json to avoid unnecessary package bloat #154 -* Add missing functions in default `toFake` #150 - -v2.3.1 / 2017-11-22 -================== - - * bugfix for a setTimeout() or setSystemTime() within a nextTick() call. (#145) - -v2.3.0 / 2017-11-08 -================== - - * Stops leak of (request|cancel)AnimationFrame into global scope. (#143) - * return timers on uninstall - -v2.2.0 / 2017-11-07 -================== - - * Add support for requestAnimationFrame - * fix negative timeout bug - -v2.1.3 / 2017-10-03 -================== - - * add module entry point (#133) - -v2.1.2 / 2017-07-25 -================== - - * - does not fake process.nextTick by default - added .idea folder to .gitignore - fixed documentation - added clock teardowns in tests - * overflowing the timer correctly (issue #67) - -v2.1.1 / 2017-07-19 -================== - - * support passing parameters in nextTick (fixes #122) - -v2.1.0 / 2017-07-18 -================== - - * Throw error on incorrect install use (#112) - * Add support for process.nextTick - * lolex can now attach itself to the system timers and automatically ad… (#102) - * update hrtime when an interval ticks - -v2.0.0 / 2017-07-13 -================== - - * New install() signature - * Add support for performance.now (#106) - * Fix issue with tick(): setSystemClock then throw - * Update old dependencies - * Added support to automatically increment time (#85) - * Changed internal uninstall method signature - -v1.6.0 / 2017-02-25 -=================== - - * Use common Sinon.JS eslint config - * Allow install to be called with date object - * Remove wrapper function - * Fixed typo in clock.runAll error - -v1.5.2 / 2016-11-10 -=================== - - * Upgrade mocha to latest - * Only overwrite globals when running in IE - -1.5.1 / 2016-07-26 -================== - - * Fix setInterval() behavior with string times - * Incorporate test from PR #65 - * Fix issue #59: context object required 'process' - * fixed a case where runAll was called and there are no timers (#70) - * Correct the clear{Interval|Timeout|Immediate} error message when calling `set*` for a different type of timer. - * Lots of minor changes to tooling and the build process - -v1.5.0 / 2016-05-18 -=================== - - * 1.5.0 - * Check for existence of `process` before using it - * Run to last existing timer - * Add runAll method to run timers until empty - * Turn off Sauce Labs tests for pull requests - * Add tests demonstrating that a fake Date could be created with one argument as a String since this string is in a format recognized by the Date.parse() method. - * Run test-cloud on Travis - * Add process.hrtime() - * Add bithound badge to Readme.md - * Make Travis also run tests in node 4.2 - * Update jslint, referee, sinon, browserify, mocha, mochify - * Rename src/lolex.js to src/lolex-src.js to avoid bithound ignoring it - * Add .bithoundrc - -v1.4.0 / 2015-12-11 -=================== - - * 1.4.0 - * Remove BASH syntax in lint script - * correct test descriptions to match the tests - * correct parseTime() error message so it matches behavior - * don't run test-cloud as part of npm test - * doc: full API reference - * doc: update 'Running tests' section - * doc: update 'Faking the native timers' section - * doc: remove requestAnimationFrame - * Implement clock.next() - * Run lint in CI - * Fix jslint errors - -v1.3.2 / 2015-09-22 -=================== - - * 1.3.2 - * Fix for breaking shimmed setImmediate - -v1.3.1 / 2015-08-20 -=================== - - * Remove error whos reason is no longer accurate - -v1.3.0 / 2015-08-19 -=================== - - * 1.3.0 - * Throw exception on wrong use of clearXYZ() - * Fix for Sinon.JS issue #808 :add setSystemTime() function - * Fix for Sinon.JS issue #766: clearTimeout() no longer clears Immediate/Interval and vice versa - * Update Readme.md to point to LICENSE file - * Fix error in readme about running tests - * Fix for warning about SPDX license format on npm install - -v1.2.2 / 2015-07-22 -=================== - - * 1.2.2 - * Fixing lint mistake - * Update travis to use node@0.12 - * Fix complaint about missing fake setImmediate - * Use license in package.json - -v1.2.1 / 2015-01-06 -=================== - - * New build - * Dodge JSLint... - * Up version - * Proper fix for writable globals in IE - * Make timers writable in old IEs - -v1.2.0 / 2014-12-12 -=================== - - * 1.2.0 - * Fix Sinon.JS issue 624 - * Lint the test files also - * Add .jslintrc - * Delay setImmediate if it is during tick call - * Add test case - * Test behaviour of hasOwnProperty beforehand - * Compare now() with delta - * Use undefined for defined predicate - * Put setImmediate in toFake list - * Capture clock instance for uninstall - * Restore commented out tests - * Add JSLint verification to test - * Configure Travis to run tests in node 0.10.x - * Add .editorconfig - * Fail when faking Date but not setTimeout/setInterval - -v1.1.10 / 2014-11-14 -==================== - - * 1.1.0 Fixes setImmediate problems - * Rely on `timer` initialization to null - * Timer assembly occurs at addTimer callsites - * Sort immediate timers before non-immediate - * Add createdAt to timers - * Sort timers by multiple criteria, not just callAt - * Refactor firstTimerInRange - * Rename `timeouts` property to `timers` - * addTimer is options-driven - -v1.0.0 / 2014-11-12 -=================== - - * Add built file for browsers - * Fix URL - * Don't run tests that require global.__proto__ on IE 9 and IE 10 - * Add "bundle" script to create standalone UMD bundle with browserify - * Float with new test framework versions - * Remove redundant module prefix - * Let Browserify set "global" for us - * Change test framework from Buster to Mocha and Mochify - * Make timer functions independent on `this` - * Change APIs according to Readme - * Change clock-creating interface - * Change Github paths - * Basically working extraction from Sinon.JS diff --git a/node_modules/@sinonjs/fake-timers/LICENSE b/node_modules/@sinonjs/fake-timers/LICENSE deleted file mode 100644 index eb84755e17..0000000000 --- a/node_modules/@sinonjs/fake-timers/LICENSE +++ /dev/null @@ -1,11 +0,0 @@ -Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/node_modules/@sinonjs/fake-timers/README.md b/node_modules/@sinonjs/fake-timers/README.md deleted file mode 100644 index 81ca7b47af..0000000000 --- a/node_modules/@sinonjs/fake-timers/README.md +++ /dev/null @@ -1,366 +0,0 @@ -# `@sinonjs/fake-timers` - -[![CircleCI](https://circleci.com/gh/sinonjs/fake-timers.svg?style=svg)](https://circleci.com/gh/sinonjs/fake-timers) -[![codecov](https://codecov.io/gh/sinonjs/fake-timers/branch/master/graph/badge.svg)](https://codecov.io/gh/sinonjs/fake-timers) -Contributor Covenant - -JavaScript implementation of the timer APIs; `setTimeout`, `clearTimeout`, `setImmediate`, `clearImmediate`, `setInterval`, `clearInterval`, `requestAnimationFrame`, `cancelAnimationFrame`, `requestIdleCallback`, and `cancelIdleCallback`, along with a clock instance that controls the flow of time. FakeTimers also provides a `Date` implementation that gets its time from the clock. - -In addition in browser environment `@sinonjs/fake-timers` provides a `performance` implementation that gets its time from the clock. In Node environments FakeTimers provides a `nextTick` implementation that is synchronized with the clock - and a `process.hrtime` shim that works with the clock. - -`@sinonjs/fake-timers` can be used to simulate passing time in automated tests and other -situations where you want the scheduling semantics, but don't want to actually -wait. - -`@sinonjs/fake-timers` is extracted from [Sinon.JS](https://github.com/sinonjs/sinon.js) and targets the [same runtimes](https://sinonjs.org/releases/latest/#supported-runtimes). - -## Help us get our TypeScript definitions production ready! - -In version 7 we introduced TypeScript definitions that are generated from our JSDoc. This makes importing types from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/sinonjs__fake-timers/index.d.ts) superfluous, but we have just gotten started and we need your work for this to be up to the same quality. Until that happens typings from DefinitelyTyped still can be used: - -```sh -npm install -D @types/sinonjs__fake-timers -``` - -Add this to tsconfig.json - -``` -{ - "compilerOptions": { - ... - "paths": { - ... - "@sinonjs/fake-timers": ["node_modules/@types/sinonjs__fake-timers"] - } - } -} -``` - -## Installation - -`@sinonjs/fake-timers` can be used in both Node and browser environments. Installation is as easy as - -```sh -npm install @sinonjs/fake-timers -``` - -If you want to use `@sinonjs/fake-timers` in a browser you can either build your own bundle or use [Skypack](https://www.skypack.dev). - -## Usage - -To use `@sinonjs/fake-timers`, create a new clock, schedule events on it using the timer -functions and pass time using the `tick` method. - -```js -// In the browser distribution, a global `FakeTimers` is already available -var FakeTimers = require("@sinonjs/fake-timers"); -var clock = FakeTimers.createClock(); - -clock.setTimeout(function () { - console.log( - "The poblano is a mild chili pepper originating in the state of Puebla, Mexico." - ); -}, 15); - -// ... - -clock.tick(15); -``` - -Upon executing the last line, an interesting fact about the -[Poblano](https://en.wikipedia.org/wiki/Poblano) will be printed synchronously to -the screen. If you want to simulate asynchronous behavior, you have to use your -imagination when calling the various functions. - -The `next`, `runAll`, `runToFrame`, and `runToLast` methods are available to advance the clock. See the -API Reference for more details. - -### Faking the native timers - -When using `@sinonjs/fake-timers` to test timers, you will most likely want to replace the native -timers such that calling `setTimeout` actually schedules a callback with your -clock instance, not the browser's internals. - -Calling `install` with no arguments achieves this. You can call `uninstall` -later to restore things as they were again. - -```js -// In the browser distribution, a global `FakeTimers` is already available -var FakeTimers = require("@sinonjs/fake-timers"); - -var clock = FakeTimers.install(); -// Equivalent to -// var clock = FakeTimers.install(typeof global !== "undefined" ? global : window); - -setTimeout(fn, 15); // Schedules with clock.setTimeout - -clock.uninstall(); -// setTimeout is restored to the native implementation -``` - -To hijack timers in another context pass it to the `install` method. - -```js -var FakeTimers = require("@sinonjs/fake-timers"); -var context = { - setTimeout: setTimeout, // By default context.setTimeout uses the global setTimeout -}; -var clock = FakeTimers.withGlobal(context).install(); - -context.setTimeout(fn, 15); // Schedules with clock.setTimeout - -clock.uninstall(); -// context.setTimeout is restored to the original implementation -``` - -Usually you want to install the timers onto the global object, so call `install` -without arguments. - -#### Automatically incrementing mocked time - -FakeTimers supports the possibility to attach the faked timers to any change -in the real system time. This means that there is no need to `tick()` the -clock in a situation where you won't know **when** to call `tick()`. - -Please note that this is achieved using the original setImmediate() API at a certain -configurable interval `config.advanceTimeDelta` (default: 20ms). Meaning time would -be incremented every 20ms, not in real time. - -An example would be: - -```js -var FakeTimers = require("@sinonjs/fake-timers"); -var clock = FakeTimers.install({ - shouldAdvanceTime: true, - advanceTimeDelta: 40, -}); - -setTimeout(() => { - console.log("this just timed out"); //executed after 40ms -}, 30); - -setImmediate(() => { - console.log("not so immediate"); //executed after 40ms -}); - -setTimeout(() => { - console.log("this timed out after"); //executed after 80ms - clock.uninstall(); -}, 50); -``` - -## API Reference - -### `var clock = FakeTimers.createClock([now[, loopLimit]])` - -Creates a clock. The default -[epoch](https://en.wikipedia.org/wiki/Epoch_%28reference_date%29) is `0`. - -The `now` argument may be a number (in milliseconds) or a Date object. - -The `loopLimit` argument sets the maximum number of timers that will be run when calling `runAll()` before assuming that we have an infinite loop and throwing an error. The default is `1000`. - -### `var clock = FakeTimers.install([config])` - -Installs FakeTimers using the specified config (otherwise with epoch `0` on the global scope). The following configuration options are available - -| Parameter | Type | Default | Description | -| -------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `config.now` | Number/Date | 0 | installs FakeTimers with the specified unix epoch | -| `config.toFake` | String[] | ["setTimeout", "clearTimeout", "setImmediate", "clearImmediate","setInterval", "clearInterval", "Date", "requestAnimationFrame", "cancelAnimationFrame", "requestIdleCallback", "cancelIdleCallback", "hrtime"] | an array with explicit function names to hijack. _When not set, FakeTimers will automatically fake all methods **except** `nextTick`_ e.g., `FakeTimers.install({ toFake: ["setTimeout","nextTick"]})` will fake only `setTimeout` and `nextTick` | -| `config.loopLimit` | Number | 1000 | the maximum number of timers that will be run when calling runAll() | -| `config.shouldAdvanceTime` | Boolean | false | tells FakeTimers to increment mocked time automatically based on the real system time shift (e.g. the mocked time will be incremented by 20ms for every 20ms change in the real system time) | -| `config.advanceTimeDelta` | Number | 20 | relevant only when using with `shouldAdvanceTime: true`. increment mocked time by `advanceTimeDelta` ms every `advanceTimeDelta` ms change in the real system time. | - -### `var id = clock.setTimeout(callback, timeout)` - -Schedules the callback to be fired once `timeout` milliseconds have ticked by. - -In Node.js `setTimeout` returns a timer object. FakeTimers will do the same, however -its `ref()` and `unref()` methods have no effect. - -In browsers a timer ID is returned. - -### `clock.clearTimeout(id)` - -Clears the timer given the ID or timer object, as long as it was created using -`setTimeout`. - -### `var id = clock.setInterval(callback, timeout)` - -Schedules the callback to be fired every time `timeout` milliseconds have ticked -by. - -In Node.js `setInterval` returns a timer object. FakeTimers will do the same, however -its `ref()` and `unref()` methods have no effect. - -In browsers a timer ID is returned. - -### `clock.clearInterval(id)` - -Clears the timer given the ID or timer object, as long as it was created using -`setInterval`. - -### `var id = clock.setImmediate(callback)` - -Schedules the callback to be fired once `0` milliseconds have ticked by. Note -that you'll still have to call `clock.tick()` for the callback to fire. If -called during a tick the callback won't fire until `1` millisecond has ticked -by. - -In Node.js `setImmediate` returns a timer object. FakeTimers will do the same, -however its `ref()` and `unref()` methods have no effect. - -In browsers a timer ID is returned. - -### `clock.clearImmediate(id)` - -Clears the timer given the ID or timer object, as long as it was created using -`setImmediate`. - -### `clock.requestAnimationFrame(callback)` - -Schedules the callback to be fired on the next animation frame, which runs every -16 ticks. Returns an `id` which can be used to cancel the callback. This is -available in both browser & node environments. - -### `clock.cancelAnimationFrame(id)` - -Cancels the callback scheduled by the provided id. - -### `clock.requestIdleCallback(callback[, timeout])` - -Queued the callback to be fired during idle periods to perform background and low priority work on the main event loop. Callbacks which have a timeout option will be fired no later than time in milliseconds. Returns an `id` which can be used to cancel the callback. - -### `clock.cancelIdleCallback(id)` - -Cancels the callback scheduled by the provided id. - -### `clock.countTimers()` - -Returns the number of waiting timers. This can be used to assert that a test -finishes without leaking any timers. - -### `clock.hrtime(prevTime?)` - -Only available in Node.js, mimicks process.hrtime(). - -### `clock.nextTick(callback)` - -Only available in Node.js, mimics `process.nextTick` to enable completely synchronous testing flows. - -### `clock.performance.now()` - -Only available in browser environments, mimicks performance.now(). - -### `clock.tick(time)` / `await clock.tickAsync(time)` - -Advance the clock, firing callbacks if necessary. `time` may be the number of -milliseconds to advance the clock by or a human-readable string. Valid string -formats are `"08"` for eight seconds, `"01:00"` for one minute and `"02:34:10"` -for two hours, 34 minutes and ten seconds. - -The `tickAsync()` will also break the event loop, allowing any scheduled promise -callbacks to execute _before_ running the timers. - -### `clock.next()` / `await clock.nextAsync()` - -Advances the clock to the the moment of the first scheduled timer, firing it. - -The `nextAsync()` will also break the event loop, allowing any scheduled promise -callbacks to execute _before_ running the timers. - -### `clock.reset()` - -Removes all timers and ticks without firing them, and sets `now` to `config.now` -that was provided to `FakeTimers.install` or to `0` if `config.now` was not provided. -Useful to reset the state of the clock without having to `uninstall` and `install` it. - -### `clock.runAll()` / `await clock.runAllAsync()` - -This runs all pending timers until there are none remaining. If new timers are added while it is executing they will be run as well. - -This makes it easier to run asynchronous tests to completion without worrying about the number of timers they use, or the delays in those timers. - -It runs a maximum of `loopLimit` times after which it assumes there is an infinite loop of timers and throws an error. - -The `runAllAsync()` will also break the event loop, allowing any scheduled promise -callbacks to execute _before_ running the timers. - -### `clock.runMicrotasks()` - -This runs all pending microtasks scheduled with `nextTick` but none of the timers and is mostly useful for libraries using FakeTimers underneath and for running `nextTick` items without any timers. - -### `clock.runToFrame()` - -Advances the clock to the next frame, firing all scheduled animation frame callbacks, -if any, for that frame as well as any other timers scheduled along the way. - -### `clock.runToLast()` / `await clock.runToLastAsync()` - -This takes note of the last scheduled timer when it is run, and advances the -clock to that time firing callbacks as necessary. - -If new timers are added while it is executing they will be run only if they -would occur before this time. - -This is useful when you want to run a test to completion, but the test recursively -sets timers that would cause `runAll` to trigger an infinite loop warning. - -The `runToLastAsync()` will also break the event loop, allowing any scheduled promise -callbacks to execute _before_ running the timers. - -### `clock.setSystemTime([now])` - -This simulates a user changing the system clock while your program is running. -It affects the current time but it does not in itself cause e.g. timers to fire; -they will fire exactly as they would have done without the call to -setSystemTime(). - -### `clock.uninstall()` - -Restores the original methods of the native timers or the methods on the object -that was passed to `FakeTimers.withGlobal` - -### `Date` - -Implements the `Date` object but using the clock to provide the correct time. - -### `Performance` - -Implements the `now` method of the [`Performance`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/now) object but using the clock to provide the correct time. Only available in environments that support the Performance object (browsers mostly). - -### `FakeTimers.withGlobal` - -In order to support creating clocks based on separate or sandboxed environments (such as JSDOM), FakeTimers exports a factory method which takes single argument `global`, which it inspects to figure out what to mock and what features to support. When invoking this function with a global, you will get back an object with `timers`, `createClock` and `install` - same as the regular FakeTimers exports only based on the passed in global instead of the global environment. - -## Running tests - -FakeTimers has a comprehensive test suite. If you're thinking of contributing bug -fixes or suggesting new features, you need to make sure you have not broken any -tests. You are also expected to add tests for any new behavior. - -### On node: - -```sh -npm test -``` - -Or, if you prefer more verbose output: - -``` -$(npm bin)/mocha ./test/fake-timers-test.js -``` - -### In the browser - -[Mochify](https://github.com/mantoni/mochify.js) is used to run the tests in -PhantomJS. Make sure you have `phantomjs` installed. Then: - -```sh -npm test-headless -``` - -## License - -BSD 3-clause "New" or "Revised" License (see LICENSE file) diff --git a/node_modules/@sinonjs/fake-timers/package.json b/node_modules/@sinonjs/fake-timers/package.json deleted file mode 100644 index 9a46180188..0000000000 --- a/node_modules/@sinonjs/fake-timers/package.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "name": "@sinonjs/fake-timers", - "description": "Fake JavaScript timers", - "version": "7.1.2", - "homepage": "https://github.com/sinonjs/fake-timers", - "author": "Christian Johansen", - "repository": { - "type": "git", - "url": "https://github.com/sinonjs/fake-timers.git" - }, - "bugs": { - "mail": "christian@cjohansen.no", - "url": "https://github.com/sinonjs/fake-timers/issues" - }, - "license": "BSD-3-Clause", - "scripts": { - "build": "rm -rf types && tsc", - "lint": "eslint .", - "test-node": "mocha test/ integration-test/ -R dot --check-leaks", - "test-headless": "mochify --no-detect-globals --timeout=10000", - "test-check-coverage": "npm run test-coverage && nyc check-coverage", - "test-cloud": "mochify --wd --no-detect-globals --timeout=10000", - "test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node", - "test-types": "tsd && tsc --noEmit test/check-types.ts", - "test": "npm run test-node && npm run test-headless", - "prettier:check": "prettier --check '**/*.{js,css,md,ts}'", - "prettier:write": "prettier --write '**/*.{js,css,md,ts}'", - "prepublishOnly": "npm run build", - "preversion": "./scripts/preversion.sh", - "version": "./scripts/version.sh", - "postversion": "./scripts/postversion.sh" - }, - "lint-staged": { - "*.{js,css,md}": "prettier --check", - "*.js": "eslint" - }, - "files": [ - "src/", - "types" - ], - "devDependencies": { - "@sinonjs/referee-sinon": "6.0.1", - "eslint": "6.8.0", - "eslint-config-prettier": "6.10.0", - "eslint-config-sinon": "3.0.1", - "eslint-plugin-ie11": "1.0.0", - "eslint-plugin-mocha": "6.2.2", - "eslint-plugin-prettier": "3.1.1", - "husky": "4.2.1", - "jsdom": "16.5.2", - "lint-staged": "10.0.7", - "mocha": "8.3.2", - "mochify": "7.0.0", - "nyc": "14.1.1", - "prettier": "2.2.1", - "tsd": "0.14.0", - "typescript": "4.1.3" - }, - "main": "./src/fake-timers-src.js", - "types": "./types/fake-timers-src.d.ts", - "dependencies": { - "@sinonjs/commons": "^1.7.0" - }, - "husky": { - "hooks": { - "pre-commit": "npm run lint" - } - }, - "nyc": { - "branches": 85, - "lines": 92, - "functions": 92, - "statements": 92, - "exclude": [ - "**/*-test.js", - "coverage/**", - "types/**", - "fake-timers.js" - ] - }, - "tsd": { - "directory": "test" - } -} diff --git a/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js b/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js deleted file mode 100644 index 4257e91a12..0000000000 --- a/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +++ /dev/null @@ -1,1409 +0,0 @@ -"use strict"; - -var globalObject = require("@sinonjs/commons").global; - -/** - * @typedef {object} Clock - * @property {number} now - * @property {any} timeouts - * @property {typeof globalThis.Date} Date - * @property {number} loopLimit - * @property {(func: Function, timeout: number) => number} requestIdleCallback - * @property {(timerId: number) => void} cancelIdleCallback - * @property {setTimeout} setTimeout - * @property {clearTimeout} clearTimeout - * @property {(func: Function, ...args: any[]) => void} nextTick - * @property {queueMicrotask} queueMicrotask - * @property {setInterval} setInterval - * @property {clearInterval} clearInterval - * @property {(func: (...args: any[]) => void, ...args: any[]) => NodeTimer} setImmediate - * @property {(timerId: NodeTimer) => void} clearImmediate - * @property {() => number} countTimers - * @property {(func: (timer: number) => void) => number} requestAnimationFrame - * @property {(timerId: number) => void} cancelAnimationFrame - * @property {() => void} runMicrotasks - * @property {(tickValue: string | number) => number} tick - * @property {(tickValue: string | number) => Promise} tickAsync - * @property {() => number} next - * @property {() => Promise} nextAsync - * @property {() => number} runAll - * @property {() => number} runToFrame - * @property {() => Promise} runAllAsync - * @property {() => number} runToLast - * @property {() => Promise} runToLastAsync - * @property {() => void} reset - * @property {(systemTime: number | Date) => void} setSystemTime - * @property {({now(): number})} performance - * @property {(prev: any) => number[]} hrTime - * @property {() => void} uninstall Uninstall the clock. - * @property {any} methods - */ - -/** - * Configuration object for the `install` method. - * - * @typedef {object} Config - * @property {number|Date} [now] a number (in milliseconds) or a Date object (default epoch) - * @property {string[]} [toFake] names of the methods that should be faked. - * @property {number} [loopLimit] the maximum number of timers that will be run when calling runAll() - * @property {boolean} [shouldAdvanceTime] tells FakeTimers to increment mocked time automatically (default false) - * @property {number} [advanceTimeDelta] increment mocked time every <> ms (default: 20ms) - */ - -/** - * @typedef {object} NodeTimer - * @property {() => boolean} hasRef - * @property {() => any} ref - * @property {() => any} unref - */ - -/* eslint-disable complexity */ - -/** - * Mocks available features in the specified global namespace. - * - * @param {*} _global Namespace to mock (e.g. `window`) - */ -function withGlobal(_global) { - var userAgent = _global.navigator && _global.navigator.userAgent; - var isRunningInIE = userAgent && userAgent.indexOf("MSIE ") > -1; - var maxTimeout = Math.pow(2, 31) - 1; //see https://heycam.github.io/webidl/#abstract-opdef-converttoint - var NOOP = function () { - return undefined; - }; - var NOOP_ARRAY = function () { - return []; - }; - var timeoutResult = _global.setTimeout(NOOP, 0); - var addTimerReturnsObject = typeof timeoutResult === "object"; - var hrtimePresent = - _global.process && typeof _global.process.hrtime === "function"; - var hrtimeBigintPresent = - hrtimePresent && typeof _global.process.hrtime.bigint === "function"; - var nextTickPresent = - _global.process && typeof _global.process.nextTick === "function"; - var utilPromisify = _global.process && require("util").promisify; - var performancePresent = - _global.performance && typeof _global.performance.now === "function"; - var hasPerformancePrototype = - _global.Performance && - (typeof _global.Performance).match(/^(function|object)$/); - var queueMicrotaskPresent = _global.hasOwnProperty("queueMicrotask"); - var requestAnimationFramePresent = - _global.requestAnimationFrame && - typeof _global.requestAnimationFrame === "function"; - var cancelAnimationFramePresent = - _global.cancelAnimationFrame && - typeof _global.cancelAnimationFrame === "function"; - var requestIdleCallbackPresent = - _global.requestIdleCallback && - typeof _global.requestIdleCallback === "function"; - var cancelIdleCallbackPresent = - _global.cancelIdleCallback && - typeof _global.cancelIdleCallback === "function"; - var setImmediatePresent = - _global.setImmediate && typeof _global.setImmediate === "function"; - - // Make properties writable in IE, as per - // https://www.adequatelygood.com/Replacing-setTimeout-Globally.html - /* eslint-disable no-self-assign */ - if (isRunningInIE) { - _global.setTimeout = _global.setTimeout; - _global.clearTimeout = _global.clearTimeout; - _global.setInterval = _global.setInterval; - _global.clearInterval = _global.clearInterval; - _global.Date = _global.Date; - } - - // setImmediate is not a standard function - // avoid adding the prop to the window object if not present - if (setImmediatePresent) { - _global.setImmediate = _global.setImmediate; - _global.clearImmediate = _global.clearImmediate; - } - /* eslint-enable no-self-assign */ - - _global.clearTimeout(timeoutResult); - - var NativeDate = _global.Date; - var uniqueTimerId = 1; - - function isNumberFinite(num) { - if (Number.isFinite) { - return Number.isFinite(num); - } - - return isFinite(num); - } - - /** - * Parse strings like "01:10:00" (meaning 1 hour, 10 minutes, 0 seconds) into - * number of milliseconds. This is used to support human-readable strings passed - * to clock.tick() - */ - function parseTime(str) { - if (!str) { - return 0; - } - - var strings = str.split(":"); - var l = strings.length; - var i = l; - var ms = 0; - var parsed; - - if (l > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) { - throw new Error( - "tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits" - ); - } - - while (i--) { - parsed = parseInt(strings[i], 10); - - if (parsed >= 60) { - throw new Error("Invalid time " + str); - } - - ms += parsed * Math.pow(60, l - i - 1); - } - - return ms * 1000; - } - - /** - * Get the decimal part of the millisecond value as nanoseconds - * - * @param {number} msFloat the number of milliseconds - * @returns {number} an integer number of nanoseconds in the range [0,1e6) - * - * Example: nanoRemainer(123.456789) -> 456789 - */ - function nanoRemainder(msFloat) { - var modulo = 1e6; - var remainder = (msFloat * 1e6) % modulo; - var positiveRemainder = remainder < 0 ? remainder + modulo : remainder; - - return Math.floor(positiveRemainder); - } - - /** - * Used to grok the `now` parameter to createClock. - * @param {Date|number} epoch the system time - */ - function getEpoch(epoch) { - if (!epoch) { - return 0; - } - if (typeof epoch.getTime === "function") { - return epoch.getTime(); - } - if (typeof epoch === "number") { - return epoch; - } - throw new TypeError("now should be milliseconds since UNIX epoch"); - } - - function inRange(from, to, timer) { - return timer && timer.callAt >= from && timer.callAt <= to; - } - - function mirrorDateProperties(target, source) { - var prop; - for (prop in source) { - if (source.hasOwnProperty(prop)) { - target[prop] = source[prop]; - } - } - - // set special now implementation - if (source.now) { - target.now = function now() { - return target.clock.now; - }; - } else { - delete target.now; - } - - // set special toSource implementation - if (source.toSource) { - target.toSource = function toSource() { - return source.toSource(); - }; - } else { - delete target.toSource; - } - - // set special toString implementation - target.toString = function toString() { - return source.toString(); - }; - - target.prototype = source.prototype; - target.parse = source.parse; - target.UTC = source.UTC; - target.prototype.toUTCString = source.prototype.toUTCString; - - return target; - } - - function createDate() { - function ClockDate(year, month, date, hour, minute, second, ms) { - // the Date constructor called as a function, ref Ecma-262 Edition 5.1, section 15.9.2. - // This remains so in the 10th edition of 2019 as well. - if (!(this instanceof ClockDate)) { - return new NativeDate(ClockDate.clock.now).toString(); - } - - // if Date is called as a constructor with 'new' keyword - // Defensive and verbose to avoid potential harm in passing - // explicit undefined when user does not pass argument - switch (arguments.length) { - case 0: - return new NativeDate(ClockDate.clock.now); - case 1: - return new NativeDate(year); - case 2: - return new NativeDate(year, month); - case 3: - return new NativeDate(year, month, date); - case 4: - return new NativeDate(year, month, date, hour); - case 5: - return new NativeDate(year, month, date, hour, minute); - case 6: - return new NativeDate( - year, - month, - date, - hour, - minute, - second - ); - default: - return new NativeDate( - year, - month, - date, - hour, - minute, - second, - ms - ); - } - } - - return mirrorDateProperties(ClockDate, NativeDate); - } - - function enqueueJob(clock, job) { - // enqueues a microtick-deferred task - ecma262/#sec-enqueuejob - if (!clock.jobs) { - clock.jobs = []; - } - clock.jobs.push(job); - } - - function runJobs(clock) { - // runs all microtick-deferred tasks - ecma262/#sec-runjobs - if (!clock.jobs) { - return; - } - for (var i = 0; i < clock.jobs.length; i++) { - var job = clock.jobs[i]; - job.func.apply(null, job.args); - if (clock.loopLimit && i > clock.loopLimit) { - throw new Error( - "Aborting after running " + - clock.loopLimit + - " timers, assuming an infinite loop!" - ); - } - } - clock.jobs = []; - } - - function addTimer(clock, timer) { - if (timer.func === undefined) { - throw new Error("Callback must be provided to timer calls"); - } - - if (addTimerReturnsObject) { - // Node.js environment - if (typeof timer.func !== "function") { - throw new TypeError( - "[ERR_INVALID_CALLBACK]: Callback must be a function. Received " + - timer.func + - " of type " + - typeof timer.func - ); - } - } - - timer.type = timer.immediate ? "Immediate" : "Timeout"; - - if (timer.hasOwnProperty("delay")) { - if (typeof timer.delay !== "number") { - timer.delay = parseInt(timer.delay, 10); - } - - if (!isNumberFinite(timer.delay)) { - timer.delay = 0; - } - timer.delay = timer.delay > maxTimeout ? 1 : timer.delay; - timer.delay = Math.max(0, timer.delay); - } - - if (timer.hasOwnProperty("interval")) { - timer.type = "Interval"; - timer.interval = timer.interval > maxTimeout ? 1 : timer.interval; - } - - if (timer.hasOwnProperty("animation")) { - timer.type = "AnimationFrame"; - timer.animation = true; - } - - if (!clock.timers) { - clock.timers = {}; - } - - timer.id = uniqueTimerId++; - timer.createdAt = clock.now; - timer.callAt = - clock.now + (parseInt(timer.delay) || (clock.duringTick ? 1 : 0)); - - clock.timers[timer.id] = timer; - - if (addTimerReturnsObject) { - var res = { - id: timer.id, - ref: function () { - return res; - }, - unref: function () { - return res; - }, - refresh: function () { - clearTimeout(timer.id); - var args = [timer.func, timer.delay].concat(timer.args); - return setTimeout.apply(null, args); - }, - }; - return res; - } - - return timer.id; - } - - /* eslint consistent-return: "off" */ - function compareTimers(a, b) { - // Sort first by absolute timing - if (a.callAt < b.callAt) { - return -1; - } - if (a.callAt > b.callAt) { - return 1; - } - - // Sort next by immediate, immediate timers take precedence - if (a.immediate && !b.immediate) { - return -1; - } - if (!a.immediate && b.immediate) { - return 1; - } - - // Sort next by creation time, earlier-created timers take precedence - if (a.createdAt < b.createdAt) { - return -1; - } - if (a.createdAt > b.createdAt) { - return 1; - } - - // Sort next by id, lower-id timers take precedence - if (a.id < b.id) { - return -1; - } - if (a.id > b.id) { - return 1; - } - - // As timer ids are unique, no fallback `0` is necessary - } - - function firstTimerInRange(clock, from, to) { - var timers = clock.timers; - var timer = null; - var id, isInRange; - - for (id in timers) { - if (timers.hasOwnProperty(id)) { - isInRange = inRange(from, to, timers[id]); - - if ( - isInRange && - (!timer || compareTimers(timer, timers[id]) === 1) - ) { - timer = timers[id]; - } - } - } - - return timer; - } - - function firstTimer(clock) { - var timers = clock.timers; - var timer = null; - var id; - - for (id in timers) { - if (timers.hasOwnProperty(id)) { - if (!timer || compareTimers(timer, timers[id]) === 1) { - timer = timers[id]; - } - } - } - - return timer; - } - - function lastTimer(clock) { - var timers = clock.timers; - var timer = null; - var id; - - for (id in timers) { - if (timers.hasOwnProperty(id)) { - if (!timer || compareTimers(timer, timers[id]) === -1) { - timer = timers[id]; - } - } - } - - return timer; - } - - function callTimer(clock, timer) { - if (typeof timer.interval === "number") { - clock.timers[timer.id].callAt += timer.interval; - } else { - delete clock.timers[timer.id]; - } - - if (typeof timer.func === "function") { - timer.func.apply(null, timer.args); - } else { - /* eslint no-eval: "off" */ - var eval2 = eval; - (function () { - eval2(timer.func); - })(); - } - } - - function clearTimer(clock, timerId, ttype) { - if (!timerId) { - // null appears to be allowed in most browsers, and appears to be - // relied upon by some libraries, like Bootstrap carousel - return; - } - - if (!clock.timers) { - clock.timers = {}; - } - - // in Node, timerId is an object with .ref()/.unref(), and - // its .id field is the actual timer id. - var id = typeof timerId === "object" ? timerId.id : timerId; - - if (clock.timers.hasOwnProperty(id)) { - // check that the ID matches a timer of the correct type - var timer = clock.timers[id]; - if ( - timer.type === ttype || - (timer.type === "Timeout" && ttype === "Interval") || - (timer.type === "Interval" && ttype === "Timeout") - ) { - delete clock.timers[id]; - } else { - var clear = - ttype === "AnimationFrame" - ? "cancelAnimationFrame" - : "clear" + ttype; - var schedule = - timer.type === "AnimationFrame" - ? "requestAnimationFrame" - : "set" + timer.type; - throw new Error( - "Cannot clear timer: timer created with " + - schedule + - "() but cleared with " + - clear + - "()" - ); - } - } - } - - function uninstall(clock, config) { - var method, i, l; - var installedHrTime = "_hrtime"; - var installedNextTick = "_nextTick"; - - for (i = 0, l = clock.methods.length; i < l; i++) { - method = clock.methods[i]; - if (method === "hrtime" && _global.process) { - _global.process.hrtime = clock[installedHrTime]; - } else if (method === "nextTick" && _global.process) { - _global.process.nextTick = clock[installedNextTick]; - } else if (method === "performance") { - var originalPerfDescriptor = Object.getOwnPropertyDescriptor( - clock, - "_" + method - ); - if ( - originalPerfDescriptor && - originalPerfDescriptor.get && - !originalPerfDescriptor.set - ) { - Object.defineProperty( - _global, - method, - originalPerfDescriptor - ); - } else if (originalPerfDescriptor.configurable) { - _global[method] = clock["_" + method]; - } - } else { - if (_global[method] && _global[method].hadOwnProperty) { - _global[method] = clock["_" + method]; - if ( - method === "clearInterval" && - config.shouldAdvanceTime === true - ) { - _global[method](clock.attachedInterval); - } - } else { - try { - delete _global[method]; - } catch (ignore) { - /* eslint no-empty: "off" */ - } - } - } - } - - // Prevent multiple executions which will completely remove these props - clock.methods = []; - - // return pending timers, to enable checking what timers remained on uninstall - if (!clock.timers) { - return []; - } - return Object.keys(clock.timers).map(function mapper(key) { - return clock.timers[key]; - }); - } - - function hijackMethod(target, method, clock) { - clock[method].hadOwnProperty = Object.prototype.hasOwnProperty.call( - target, - method - ); - clock["_" + method] = target[method]; - - if (method === "Date") { - var date = mirrorDateProperties(clock[method], target[method]); - target[method] = date; - } else if (method === "performance") { - var originalPerfDescriptor = Object.getOwnPropertyDescriptor( - target, - method - ); - // JSDOM has a read only performance field so we have to save/copy it differently - if ( - originalPerfDescriptor && - originalPerfDescriptor.get && - !originalPerfDescriptor.set - ) { - Object.defineProperty( - clock, - "_" + method, - originalPerfDescriptor - ); - - var perfDescriptor = Object.getOwnPropertyDescriptor( - clock, - method - ); - Object.defineProperty(target, method, perfDescriptor); - } else { - target[method] = clock[method]; - } - } else { - target[method] = function () { - return clock[method].apply(clock, arguments); - }; - - Object.defineProperties( - target[method], - Object.getOwnPropertyDescriptors(clock[method]) - ); - } - - target[method].clock = clock; - } - - function doIntervalTick(clock, advanceTimeDelta) { - clock.tick(advanceTimeDelta); - } - - /** - * @typedef {object} Timers - * @property {setTimeout} setTimeout - * @property {clearTimeout} clearTimeout - * @property {setInterval} setInterval - * @property {clearInterval} clearInterval - * @property {typeof globalThis.Date} Date - * @property {((fn: (...args: any[]) => void, ...args: any[]) => NodeTimer)=} setImmediate - * @property {((id: NodeTimer) => void)=} clearImmediate - * @property {((time?: [number, number]) => [number, number])=} hrtime - * @property {((fn: Function, ...args: any[]) => void)=} nextTick - * @property {({now(): number})=} performance - * @property {((fn: (timer: number) => void) => number)=} requestAnimationFrame - * @property {boolean=} queueMicrotask - * @property {((id: number) => void)=} cancelAnimationFrame - * @property {((fn: (deadline: any) => void, options?: any) => number)=} requestIdleCallback - * @property {((id: number) => void)=} cancelIdleCallback - */ - - /** @type {Timers} */ - var timers = { - setTimeout: _global.setTimeout, - clearTimeout: _global.clearTimeout, - setInterval: _global.setInterval, - clearInterval: _global.clearInterval, - Date: _global.Date, - }; - - if (setImmediatePresent) { - timers.setImmediate = _global.setImmediate; - timers.clearImmediate = _global.clearImmediate; - } - - if (hrtimePresent) { - timers.hrtime = _global.process.hrtime; - } - - if (nextTickPresent) { - timers.nextTick = _global.process.nextTick; - } - - if (performancePresent) { - timers.performance = _global.performance; - } - - if (requestAnimationFramePresent) { - timers.requestAnimationFrame = _global.requestAnimationFrame; - } - - if (queueMicrotaskPresent) { - timers.queueMicrotask = true; - } - - if (cancelAnimationFramePresent) { - timers.cancelAnimationFrame = _global.cancelAnimationFrame; - } - - if (requestIdleCallbackPresent) { - timers.requestIdleCallback = _global.requestIdleCallback; - } - - if (cancelIdleCallbackPresent) { - timers.cancelIdleCallback = _global.cancelIdleCallback; - } - - var originalSetTimeout = _global.setImmediate || _global.setTimeout; - - /** - * @param {Date|number} [start] the system time - non-integer values are floored - * @param {number} [loopLimit] maximum number of timers that will be run when calling runAll() - * @returns {Clock} - */ - function createClock(start, loopLimit) { - // eslint-disable-next-line no-param-reassign - start = Math.floor(getEpoch(start)); - // eslint-disable-next-line no-param-reassign - loopLimit = loopLimit || 1000; - var nanos = 0; - var adjustedSystemTime = [0, 0]; // [millis, nanoremainder] - - if (NativeDate === undefined) { - throw new Error( - "The global scope doesn't have a `Date` object" + - " (see https://github.com/sinonjs/sinon/issues/1852#issuecomment-419622780)" - ); - } - - var clock = { - now: start, - timeouts: {}, - Date: createDate(), - loopLimit: loopLimit, - }; - - clock.Date.clock = clock; - - function getTimeToNextFrame() { - return 16 - ((clock.now - start) % 16); - } - - function hrtime(prev) { - var millisSinceStart = clock.now - adjustedSystemTime[0] - start; - var secsSinceStart = Math.floor(millisSinceStart / 1000); - var remainderInNanos = - (millisSinceStart - secsSinceStart * 1e3) * 1e6 + - nanos - - adjustedSystemTime[1]; - - if (Array.isArray(prev)) { - if (prev[1] > 1e9) { - throw new TypeError( - "Number of nanoseconds can't exceed a billion" - ); - } - - var oldSecs = prev[0]; - var nanoDiff = remainderInNanos - prev[1]; - var secDiff = secsSinceStart - oldSecs; - - if (nanoDiff < 0) { - nanoDiff += 1e9; - secDiff -= 1; - } - - return [secDiff, nanoDiff]; - } - return [secsSinceStart, remainderInNanos]; - } - - if (hrtimeBigintPresent) { - hrtime.bigint = function () { - var parts = hrtime(); - return BigInt(parts[0]) * BigInt(1e9) + BigInt(parts[1]); // eslint-disable-line - }; - } - - clock.requestIdleCallback = function requestIdleCallback( - func, - timeout - ) { - var timeToNextIdlePeriod = 0; - - if (clock.countTimers() > 0) { - timeToNextIdlePeriod = 50; // const for now - } - - var result = addTimer(clock, { - func: func, - args: Array.prototype.slice.call(arguments, 2), - delay: - typeof timeout === "undefined" - ? timeToNextIdlePeriod - : Math.min(timeout, timeToNextIdlePeriod), - }); - - return result.id || result; - }; - - clock.cancelIdleCallback = function cancelIdleCallback(timerId) { - return clearTimer(clock, timerId, "Timeout"); - }; - - clock.setTimeout = function setTimeout(func, timeout) { - return addTimer(clock, { - func: func, - args: Array.prototype.slice.call(arguments, 2), - delay: timeout, - }); - }; - if (typeof _global.Promise !== "undefined" && utilPromisify) { - clock.setTimeout[ - utilPromisify.custom - ] = function promisifiedSetTimeout(timeout, arg) { - return new _global.Promise(function setTimeoutExecutor( - resolve - ) { - addTimer(clock, { - func: resolve, - args: [arg], - delay: timeout, - }); - }); - }; - } - - clock.clearTimeout = function clearTimeout(timerId) { - return clearTimer(clock, timerId, "Timeout"); - }; - - clock.nextTick = function nextTick(func) { - return enqueueJob(clock, { - func: func, - args: Array.prototype.slice.call(arguments, 1), - }); - }; - - clock.queueMicrotask = function queueMicrotask(func) { - return clock.nextTick(func); // explicitly drop additional arguments - }; - - clock.setInterval = function setInterval(func, timeout) { - // eslint-disable-next-line no-param-reassign - timeout = parseInt(timeout, 10); - return addTimer(clock, { - func: func, - args: Array.prototype.slice.call(arguments, 2), - delay: timeout, - interval: timeout, - }); - }; - - clock.clearInterval = function clearInterval(timerId) { - return clearTimer(clock, timerId, "Interval"); - }; - - if (setImmediatePresent) { - clock.setImmediate = function setImmediate(func) { - return addTimer(clock, { - func: func, - args: Array.prototype.slice.call(arguments, 1), - immediate: true, - }); - }; - - if (typeof _global.Promise !== "undefined" && utilPromisify) { - clock.setImmediate[ - utilPromisify.custom - ] = function promisifiedSetImmediate(arg) { - return new _global.Promise(function setImmediateExecutor( - resolve - ) { - addTimer(clock, { - func: resolve, - args: [arg], - immediate: true, - }); - }); - }; - } - - clock.clearImmediate = function clearImmediate(timerId) { - return clearTimer(clock, timerId, "Immediate"); - }; - } - - clock.countTimers = function countTimers() { - return ( - Object.keys(clock.timers || {}).length + - (clock.jobs || []).length - ); - }; - - clock.requestAnimationFrame = function requestAnimationFrame(func) { - var result = addTimer(clock, { - func: func, - delay: getTimeToNextFrame(), - args: [clock.now + getTimeToNextFrame()], - animation: true, - }); - - return result.id || result; - }; - - clock.cancelAnimationFrame = function cancelAnimationFrame(timerId) { - return clearTimer(clock, timerId, "AnimationFrame"); - }; - - clock.runMicrotasks = function runMicrotasks() { - runJobs(clock); - }; - - function doTick(tickValue, isAsync, resolve, reject) { - var msFloat = - typeof tickValue === "number" - ? tickValue - : parseTime(tickValue); - var ms = Math.floor(msFloat); - var remainder = nanoRemainder(msFloat); - var nanosTotal = nanos + remainder; - var tickTo = clock.now + ms; - - if (msFloat < 0) { - throw new TypeError("Negative ticks are not supported"); - } - - // adjust for positive overflow - if (nanosTotal >= 1e6) { - tickTo += 1; - nanosTotal -= 1e6; - } - - nanos = nanosTotal; - var tickFrom = clock.now; - var previous = clock.now; - var timer, - firstException, - oldNow, - nextPromiseTick, - compensationCheck, - postTimerCall; - - clock.duringTick = true; - - // perform microtasks - oldNow = clock.now; - runJobs(clock); - if (oldNow !== clock.now) { - // compensate for any setSystemTime() call during microtask callback - tickFrom += clock.now - oldNow; - tickTo += clock.now - oldNow; - } - - function doTickInner() { - // perform each timer in the requested range - timer = firstTimerInRange(clock, tickFrom, tickTo); - // eslint-disable-next-line no-unmodified-loop-condition - while (timer && tickFrom <= tickTo) { - if (clock.timers[timer.id]) { - tickFrom = timer.callAt; - clock.now = timer.callAt; - oldNow = clock.now; - try { - runJobs(clock); - callTimer(clock, timer); - } catch (e) { - firstException = firstException || e; - } - - if (isAsync) { - // finish up after native setImmediate callback to allow - // all native es6 promises to process their callbacks after - // each timer fires. - originalSetTimeout(nextPromiseTick); - return; - } - - compensationCheck(); - } - - postTimerCall(); - } - - // perform process.nextTick()s again - oldNow = clock.now; - runJobs(clock); - if (oldNow !== clock.now) { - // compensate for any setSystemTime() call during process.nextTick() callback - tickFrom += clock.now - oldNow; - tickTo += clock.now - oldNow; - } - clock.duringTick = false; - - // corner case: during runJobs new timers were scheduled which could be in the range [clock.now, tickTo] - timer = firstTimerInRange(clock, tickFrom, tickTo); - if (timer) { - try { - clock.tick(tickTo - clock.now); // do it all again - for the remainder of the requested range - } catch (e) { - firstException = firstException || e; - } - } else { - // no timers remaining in the requested range: move the clock all the way to the end - clock.now = tickTo; - - // update nanos - nanos = nanosTotal; - } - if (firstException) { - throw firstException; - } - - if (isAsync) { - resolve(clock.now); - } else { - return clock.now; - } - } - - nextPromiseTick = - isAsync && - function () { - try { - compensationCheck(); - postTimerCall(); - doTickInner(); - } catch (e) { - reject(e); - } - }; - - compensationCheck = function () { - // compensate for any setSystemTime() call during timer callback - if (oldNow !== clock.now) { - tickFrom += clock.now - oldNow; - tickTo += clock.now - oldNow; - previous += clock.now - oldNow; - } - }; - - postTimerCall = function () { - timer = firstTimerInRange(clock, previous, tickTo); - previous = tickFrom; - }; - - return doTickInner(); - } - - /** - * @param {tickValue} {string|number} number of milliseconds or a human-readable value like "01:11:15" - */ - clock.tick = function tick(tickValue) { - return doTick(tickValue, false); - }; - - if (typeof _global.Promise !== "undefined") { - clock.tickAsync = function tickAsync(ms) { - return new _global.Promise(function (resolve, reject) { - originalSetTimeout(function () { - try { - doTick(ms, true, resolve, reject); - } catch (e) { - reject(e); - } - }); - }); - }; - } - - clock.next = function next() { - runJobs(clock); - var timer = firstTimer(clock); - if (!timer) { - return clock.now; - } - - clock.duringTick = true; - try { - clock.now = timer.callAt; - callTimer(clock, timer); - runJobs(clock); - return clock.now; - } finally { - clock.duringTick = false; - } - }; - - if (typeof _global.Promise !== "undefined") { - clock.nextAsync = function nextAsync() { - return new _global.Promise(function (resolve, reject) { - originalSetTimeout(function () { - try { - var timer = firstTimer(clock); - if (!timer) { - resolve(clock.now); - return; - } - - var err; - clock.duringTick = true; - clock.now = timer.callAt; - try { - callTimer(clock, timer); - } catch (e) { - err = e; - } - clock.duringTick = false; - - originalSetTimeout(function () { - if (err) { - reject(err); - } else { - resolve(clock.now); - } - }); - } catch (e) { - reject(e); - } - }); - }); - }; - } - - clock.runAll = function runAll() { - var numTimers, i; - runJobs(clock); - for (i = 0; i < clock.loopLimit; i++) { - if (!clock.timers) { - return clock.now; - } - - numTimers = Object.keys(clock.timers).length; - if (numTimers === 0) { - return clock.now; - } - - clock.next(); - } - - throw new Error( - "Aborting after running " + - clock.loopLimit + - " timers, assuming an infinite loop!" - ); - }; - - clock.runToFrame = function runToFrame() { - return clock.tick(getTimeToNextFrame()); - }; - - if (typeof _global.Promise !== "undefined") { - clock.runAllAsync = function runAllAsync() { - return new _global.Promise(function (resolve, reject) { - var i = 0; - function doRun() { - originalSetTimeout(function () { - try { - var numTimers; - if (i < clock.loopLimit) { - if (!clock.timers) { - resolve(clock.now); - return; - } - - numTimers = Object.keys(clock.timers) - .length; - if (numTimers === 0) { - resolve(clock.now); - return; - } - - clock.next(); - - i++; - - doRun(); - return; - } - - reject( - new Error( - "Aborting after running " + - clock.loopLimit + - " timers, assuming an infinite loop!" - ) - ); - } catch (e) { - reject(e); - } - }); - } - doRun(); - }); - }; - } - - clock.runToLast = function runToLast() { - var timer = lastTimer(clock); - if (!timer) { - runJobs(clock); - return clock.now; - } - - return clock.tick(timer.callAt - clock.now); - }; - - if (typeof _global.Promise !== "undefined") { - clock.runToLastAsync = function runToLastAsync() { - return new _global.Promise(function (resolve, reject) { - originalSetTimeout(function () { - try { - var timer = lastTimer(clock); - if (!timer) { - resolve(clock.now); - } - - resolve(clock.tickAsync(timer.callAt)); - } catch (e) { - reject(e); - } - }); - }); - }; - } - - clock.reset = function reset() { - nanos = 0; - clock.timers = {}; - clock.jobs = []; - clock.now = start; - }; - - clock.setSystemTime = function setSystemTime(systemTime) { - // determine time difference - var newNow = getEpoch(systemTime); - var difference = newNow - clock.now; - var id, timer; - - adjustedSystemTime[0] = adjustedSystemTime[0] + difference; - adjustedSystemTime[1] = adjustedSystemTime[1] + nanos; - // update 'system clock' - clock.now = newNow; - nanos = 0; - - // update timers and intervals to keep them stable - for (id in clock.timers) { - if (clock.timers.hasOwnProperty(id)) { - timer = clock.timers[id]; - timer.createdAt += difference; - timer.callAt += difference; - } - } - }; - - if (performancePresent) { - clock.performance = Object.create(null); - - if (hasPerformancePrototype) { - var proto = _global.Performance.prototype; - - Object.getOwnPropertyNames(proto).forEach(function (name) { - if (name.indexOf("getEntries") === 0) { - // match expected return type for getEntries functions - clock.performance[name] = NOOP_ARRAY; - } else { - clock.performance[name] = NOOP; - } - }); - } - - clock.performance.now = function FakeTimersNow() { - var hrt = hrtime(); - var millis = hrt[0] * 1000 + hrt[1] / 1e6; - return millis; - }; - } - - if (hrtimePresent) { - clock.hrtime = hrtime; - } - - return clock; - } - - /* eslint-disable complexity */ - - /** - * @param {Config=} [config] Optional config - * @returns {Clock} - */ - function install(config) { - if ( - arguments.length > 1 || - config instanceof Date || - Array.isArray(config) || - typeof config === "number" - ) { - throw new TypeError( - "FakeTimers.install called with " + - String(config) + - " install requires an object parameter" - ); - } - - // eslint-disable-next-line no-param-reassign - config = typeof config !== "undefined" ? config : {}; - config.shouldAdvanceTime = config.shouldAdvanceTime || false; - config.advanceTimeDelta = config.advanceTimeDelta || 20; - - if (config.target) { - throw new TypeError( - "config.target is no longer supported. Use `withGlobal(target)` instead." - ); - } - - var i, l; - var clock = createClock(config.now, config.loopLimit); - - clock.uninstall = function () { - return uninstall(clock, config); - }; - - clock.methods = config.toFake || []; - - if (clock.methods.length === 0) { - // do not fake nextTick by default - GitHub#126 - clock.methods = Object.keys(timers).filter(function (key) { - return key !== "nextTick" && key !== "queueMicrotask"; - }); - } - - for (i = 0, l = clock.methods.length; i < l; i++) { - if (clock.methods[i] === "hrtime") { - if ( - _global.process && - typeof _global.process.hrtime === "function" - ) { - hijackMethod(_global.process, clock.methods[i], clock); - } - } else if (clock.methods[i] === "nextTick") { - if ( - _global.process && - typeof _global.process.nextTick === "function" - ) { - hijackMethod(_global.process, clock.methods[i], clock); - } - } else { - if ( - clock.methods[i] === "setInterval" && - config.shouldAdvanceTime === true - ) { - var intervalTick = doIntervalTick.bind( - null, - clock, - config.advanceTimeDelta - ); - var intervalId = _global[clock.methods[i]]( - intervalTick, - config.advanceTimeDelta - ); - clock.attachedInterval = intervalId; - } - hijackMethod(_global, clock.methods[i], clock); - } - } - - return clock; - } - - /* eslint-enable complexity */ - - return { - timers: timers, - createClock: createClock, - install: install, - withGlobal: withGlobal, - }; -} - -/* eslint-enable complexity */ - -var defaultImplementation = withGlobal(globalObject); - -exports.timers = defaultImplementation.timers; -exports.createClock = defaultImplementation.createClock; -exports.install = defaultImplementation.install; -exports.withGlobal = withGlobal; diff --git a/node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts b/node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts deleted file mode 100644 index 688b234778..0000000000 --- a/node_modules/@sinonjs/fake-timers/types/fake-timers-src.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -export type Clock = { - now: number; - timeouts: any; - Date: typeof globalThis.Date; - loopLimit: number; - requestIdleCallback: (func: Function, timeout: number) => number; - cancelIdleCallback: (timerId: number) => void; - setTimeout: typeof setTimeout; - clearTimeout: typeof clearTimeout; - nextTick: (func: Function, ...args: any[]) => void; - queueMicrotask: typeof queueMicrotask; - setInterval: typeof setInterval; - clearInterval: typeof clearInterval; - setImmediate: (func: (...args: any[]) => void, ...args: any[]) => NodeTimer; - clearImmediate: (timerId: NodeTimer) => void; - countTimers: () => number; - requestAnimationFrame: (func: (timer: number) => void) => number; - cancelAnimationFrame: (timerId: number) => void; - runMicrotasks: () => void; - tick: (tickValue: string | number) => number; - tickAsync: (tickValue: string | number) => Promise; - next: () => number; - nextAsync: () => Promise; - runAll: () => number; - runToFrame: () => number; - runAllAsync: () => Promise; - runToLast: () => number; - runToLastAsync: () => Promise; - reset: () => void; - setSystemTime: (systemTime: number | Date) => void; - performance: ({ - now(): number; - }); - hrTime: (prev: any) => number[]; - /** - * Uninstall the clock. - */ - uninstall: () => void; - methods: any; -}; -/** - * Configuration object for the `install` method. - */ -export type Config = { - /** - * a number (in milliseconds) or a Date object (default epoch) - */ - now?: number | Date; - /** - * names of the methods that should be faked. - */ - toFake?: string[]; - /** - * the maximum number of timers that will be run when calling runAll() - */ - loopLimit?: number; - /** - * tells FakeTimers to increment mocked time automatically (default false) - */ - shouldAdvanceTime?: boolean; - /** - * increment mocked time every <> ms (default: 20ms) - */ - advanceTimeDelta?: number; -}; -export type NodeTimer = { - hasRef: () => boolean; - ref: () => any; - unref: () => any; -}; -export namespace timers { - const setTimeout_1: typeof globalThis.setTimeout; - export { setTimeout_1 as setTimeout }; - const clearTimeout_1: typeof globalThis.clearTimeout; - export { clearTimeout_1 as clearTimeout }; - const setInterval_1: typeof globalThis.setInterval; - export { setInterval_1 as setInterval }; - const clearInterval_1: typeof globalThis.clearInterval; - export { clearInterval_1 as clearInterval }; - const Date_1: typeof globalThis.Date; - export { Date_1 as Date }; - export const setImmediate: (fn: (...args: any[]) => void, ...args: any[]) => NodeTimer; - export const clearImmediate: (id: NodeTimer) => void; - export const hrtime: (time?: [number, number]) => [number, number]; - export const nextTick: (fn: Function, ...args: any[]) => void; - export const performance: ({ - now(): number; - }) | undefined; - export const requestAnimationFrame: (fn: (timer: number) => void) => number; - const queueMicrotask_1: boolean | undefined; - export { queueMicrotask_1 as queueMicrotask }; - export const cancelAnimationFrame: (id: number) => void; - export const requestIdleCallback: (fn: (deadline: any) => void, options?: any) => number; - export const cancelIdleCallback: (id: number) => void; -} -/** - * @param {Date|number} [start] the system time - non-integer values are floored - * @param {number} [loopLimit] maximum number of timers that will be run when calling runAll() - * @returns {Clock} - */ -export function createClock(start?: Date | number, loopLimit?: number): Clock; -/** - * @param {Config=} [config] Optional config - * @returns {Clock} - */ -export function install(config?: Config | undefined, ...args: any[]): Clock; -/** - * @typedef {object} Clock - * @property {number} now - * @property {any} timeouts - * @property {typeof globalThis.Date} Date - * @property {number} loopLimit - * @property {(func: Function, timeout: number) => number} requestIdleCallback - * @property {(timerId: number) => void} cancelIdleCallback - * @property {setTimeout} setTimeout - * @property {clearTimeout} clearTimeout - * @property {(func: Function, ...args: any[]) => void} nextTick - * @property {queueMicrotask} queueMicrotask - * @property {setInterval} setInterval - * @property {clearInterval} clearInterval - * @property {(func: (...args: any[]) => void, ...args: any[]) => NodeTimer} setImmediate - * @property {(timerId: NodeTimer) => void} clearImmediate - * @property {() => number} countTimers - * @property {(func: (timer: number) => void) => number} requestAnimationFrame - * @property {(timerId: number) => void} cancelAnimationFrame - * @property {() => void} runMicrotasks - * @property {(tickValue: string | number) => number} tick - * @property {(tickValue: string | number) => Promise} tickAsync - * @property {() => number} next - * @property {() => Promise} nextAsync - * @property {() => number} runAll - * @property {() => number} runToFrame - * @property {() => Promise} runAllAsync - * @property {() => number} runToLast - * @property {() => Promise} runToLastAsync - * @property {() => void} reset - * @property {(systemTime: number | Date) => void} setSystemTime - * @property {({now(): number})} performance - * @property {(prev: any) => number[]} hrTime - * @property {() => void} uninstall Uninstall the clock. - * @property {any} methods - */ -/** - * Configuration object for the `install` method. - * - * @typedef {object} Config - * @property {number|Date} [now] a number (in milliseconds) or a Date object (default epoch) - * @property {string[]} [toFake] names of the methods that should be faked. - * @property {number} [loopLimit] the maximum number of timers that will be run when calling runAll() - * @property {boolean} [shouldAdvanceTime] tells FakeTimers to increment mocked time automatically (default false) - * @property {number} [advanceTimeDelta] increment mocked time every <> ms (default: 20ms) - */ -/** - * @typedef {object} NodeTimer - * @property {() => boolean} hasRef - * @property {() => any} ref - * @property {() => any} unref - */ -/** - * Mocks available features in the specified global namespace. - * - * @param {*} _global Namespace to mock (e.g. `window`) - */ -export function withGlobal(_global: any): { - timers: { - setTimeout: typeof setTimeout; - clearTimeout: typeof clearTimeout; - setInterval: typeof setInterval; - clearInterval: typeof clearInterval; - Date: typeof globalThis.Date; - setImmediate?: (fn: (...args: any[]) => void, ...args: any[]) => NodeTimer; - clearImmediate?: (id: NodeTimer) => void; - hrtime?: (time?: [number, number]) => [number, number]; - nextTick?: (fn: Function, ...args: any[]) => void; - performance?: ({ - now(): number; - }) | undefined; - requestAnimationFrame?: (fn: (timer: number) => void) => number; - queueMicrotask?: boolean | undefined; - cancelAnimationFrame?: (id: number) => void; - requestIdleCallback?: (fn: (deadline: any) => void, options?: any) => number; - cancelIdleCallback?: (id: number) => void; - }; - createClock: (start?: Date | number, loopLimit?: number) => Clock; - install: (config?: Config | undefined, ...args: any[]) => Clock; - withGlobal: typeof withGlobal; -}; diff --git a/node_modules/@types/sinon/README.md b/node_modules/@types/sinon/README.md index 4efd350399..a66de51140 100755 --- a/node_modules/@types/sinon/README.md +++ b/node_modules/@types/sinon/README.md @@ -8,9 +8,9 @@ This package contains type definitions for Sinon (https://sinonjs.org). Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon. ### Additional Details - * Last updated: Wed, 02 Jun 2021 06:01:28 GMT + * Last updated: Sun, 14 May 2023 04:32:51 GMT * Dependencies: [@types/sinonjs__fake-timers](https://npmjs.com/package/@types/sinonjs__fake-timers) * Global values: `sinon` # Credits -These definitions were written by [William Sears](https://github.com/mrbigdog2u), [Lukas Spieß](https://github.com/lumaxis), [Nico Jansen](https://github.com/nicojs), [James Garbutt](https://github.com/43081j), [Josh Goldberg](https://github.com/joshuakgoldberg), [Greg Jednaszewski](https://github.com/gjednaszewski), [John Wood](https://github.com/johnjesse), [Alec Flett](https://github.com/alecf), and [Simon Schick](https://github.com/SimonSchick). +These definitions were written by [William Sears](https://github.com/mrbigdog2u), [Nico Jansen](https://github.com/nicojs), [James Garbutt](https://github.com/43081j), [Greg Jednaszewski](https://github.com/gjednaszewski), [John Wood](https://github.com/johnjesse), [Alec Flett](https://github.com/alecf), [Simon Schick](https://github.com/SimonSchick), and [Mathias Schreck](https://github.com/lo1tuma). diff --git a/node_modules/@types/sinon/index.d.ts b/node_modules/@types/sinon/index.d.ts index aca182a329..af919c4d13 100755 --- a/node_modules/@types/sinon/index.d.ts +++ b/node_modules/@types/sinon/index.d.ts @@ -1,17 +1,16 @@ // Type definitions for Sinon 10.0 // Project: https://sinonjs.org // Definitions by: William Sears -// Lukas Spieß // Nico Jansen // James Garbutt -// Josh Goldberg // Greg Jednaszewski // John Wood // Alec Flett // Simon Schick +// Mathias Schreck // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as FakeTimers from "@sinonjs/fake-timers"; +import * as FakeTimers from '@sinonjs/fake-timers'; // sinon uses DOM dependencies which are absent in browser-less environment like node.js // to avoid compiler errors this monkey patch is used @@ -20,11 +19,19 @@ interface Event {} // tslint:disable-line no-empty-interface interface Document {} // tslint:disable-line no-empty-interface declare namespace Sinon { - type MatchArguments = { - [K in keyof T]: SinonMatcher | (T[K] extends object ? MatchArguments : never) | T[K]; + type MatchPartialArguments = { + [K in keyof T]?: SinonMatcher | (T[K] extends object ? MatchPartialArguments : T[K]); }; + // TODO: Alias for backward compatibility, remove on next major release + type DeepPartialOrMatcher = MatchPartialArguments; - interface SinonSpyCallApi { + type MatchExactArguments = { + [K in keyof T]: SinonMatcher | (T[K] extends object ? MatchExactArguments : T[K]); + }; + // TODO: Alias for backward compatibility, remove on next major release + type MatchArguments = MatchExactArguments; + + interface SinonSpyCallApi { // Properties /** * Array of received arguments. @@ -44,11 +51,11 @@ declare namespace Sinon { * so a call that received the provided arguments (in the same spots) and possibly others as well will return true. * @param args */ - calledWith(...args: Partial>): boolean; + calledWith(...args: MatchPartialArguments): boolean; /** * Returns true if spy was called at least once with the provided arguments and no others. */ - calledWithExactly(...args: MatchArguments): boolean; + calledWithExactly(...args: MatchExactArguments): boolean; /** * Returns true if spy/stub was called the new operator. * Beware that this is inferred based on the value of the this object and the spy function’s prototype, @@ -59,25 +66,25 @@ declare namespace Sinon { * Returns true if spy was called at exactly once with the provided arguments. * @param args */ - calledOnceWith(...args: MatchArguments): boolean; - calledOnceWithExactly(...args: MatchArguments): boolean; + calledOnceWith(...args: MatchPartialArguments): boolean; + calledOnceWithExactly(...args: MatchExactArguments): boolean; /** * Returns true if spy was called with matching arguments (and possibly others). * This behaves the same as spy.calledWith(sinon.match(arg1), sinon.match(arg2), ...). * @param args */ - calledWithMatch(...args: TArgs): boolean; + calledWithMatch(...args: MatchPartialArguments): boolean; /** * Returns true if call did not receive provided arguments. * @param args */ - notCalledWith(...args: MatchArguments): boolean; + notCalledWith(...args: MatchExactArguments): boolean; /** * Returns true if call did not receive matching arguments. * This behaves the same as spyCall.notCalledWith(sinon.match(arg1), sinon.match(arg2), ...). * @param args */ - notCalledWithMatch(...args: TArgs): boolean; + notCalledWithMatch(...args: MatchPartialArguments): boolean; /** * Returns true if spy returned the provided value at least once. * Uses deep comparison for objects and arrays. Use spy.returned(sinon.match.same(obj)) for strict comparison (see matchers). @@ -101,30 +108,30 @@ declare namespace Sinon { * Useful if a function is called with more than one callback, and simply calling the first callback is not desired. * @param pos */ - callArg(pos: number): void; - callArgOn(pos: number, obj: any, ...args: any[]): void; + callArg(pos: number): unknown[]; + callArgOn(pos: number, obj: any, ...args: any[]): unknown[]; /** * Like callArg, but with arguments. */ - callArgWith(pos: number, ...args: any[]): void; - callArgOnWith(pos: number, obj: any, ...args: any[]): void; + callArgWith(pos: number, ...args: any[]): unknown[]; + callArgOnWith(pos: number, obj: any, ...args: any[]): unknown[]; /** * Invoke callbacks passed to the stub with the given arguments. * If the stub was never called with a function argument, yield throws an error. * Returns an Array with all callbacks return values in the order they were called, if no error is thrown. * Also aliased as invokeCallback. */ - yield(...args: any[]): void; - yieldOn(obj: any, ...args: any[]): void; + yield(...args: any[]): unknown[]; + yieldOn(obj: any, ...args: any[]): unknown[]; /** * Invokes callbacks passed as a property of an object to the stub. * Like yield, yieldTo grabs the first matching argument, finds the callback and calls it with the (optional) arguments. */ - yieldTo(property: string, ...args: any[]): void; - yieldToOn(property: string, obj: any, ...args: any[]): void; + yieldTo(property: string, ...args: any[]): unknown[]; + yieldToOn(property: string, obj: any, ...args: any[]): unknown[]; } - interface SinonSpyCall + interface SinonSpyCall extends SinonSpyCallApi { /** * The call’s this value. @@ -167,10 +174,10 @@ declare namespace Sinon { calledAfter(call: SinonSpyCall): boolean; } - interface SinonSpy + interface SinonSpy extends Pick< SinonSpyCallApi, - Exclude, "args"> + Exclude, 'args'> > { // Properties /** @@ -266,7 +273,7 @@ declare namespace Sinon { * This is useful to be more expressive in your assertions, where you can access the spy with the same call. * @param args Expected args */ - withArgs(...args: MatchArguments): SinonSpy; + withArgs(...args: MatchPartialArguments): SinonSpy; /** * Returns true if the spy was always called with @param obj as this. * @param obj @@ -275,12 +282,12 @@ declare namespace Sinon { /** * Returns true if spy was always called with the provided arguments (and possibly others). */ - alwaysCalledWith(...args: MatchArguments): boolean; + alwaysCalledWith(...args: MatchExactArguments): boolean; /** * Returns true if spy was always called with the exact provided arguments. * @param args */ - alwaysCalledWithExactly(...args: MatchArguments): boolean; + alwaysCalledWithExactly(...args: MatchExactArguments): boolean; /** * Returns true if spy was always called with matching arguments (and possibly others). * This behaves the same as spy.alwaysCalledWith(sinon.match(arg1), sinon.match(arg2), ...). @@ -291,7 +298,7 @@ declare namespace Sinon { * Returns true if the spy/stub was never called with the provided arguments. * @param args */ - neverCalledWith(...args: MatchArguments): boolean; + neverCalledWith(...args: MatchExactArguments): boolean; /** * Returns true if the spy/stub was never called with matching arguments. * This behaves the same as spy.neverCalledWith(sinon.match(arg1), sinon.match(arg2), ...). @@ -329,7 +336,7 @@ declare namespace Sinon { /** * Returns the nth call. * Accessing individual calls helps with more detailed behavior verification when the spy is called more than once. - * @param n Zero based index of the spy call. + * @param n Zero-based index of the spy call. */ getCall(n: number): SinonSpyCall; /** @@ -383,7 +390,7 @@ declare namespace Sinon { ? SinonSpy : SinonSpy; - (obj: T, method: K, types: Array<"get" | "set">): PropertyDescriptor & { + (obj: T, method: K, types: Array<'get' | 'set'>): PropertyDescriptor & { get: SinonSpy<[], T[K]>; set: SinonSpy<[T[K]], void>; }; @@ -397,7 +404,8 @@ declare namespace Sinon { ? SinonSpy : T; - interface SinonStub extends SinonSpy { + interface SinonStub + extends SinonSpy { /** * Resets the stub’s behaviour to the default behaviour * You can reset behaviour of all stubs using sinon.resetBehavior() @@ -566,7 +574,7 @@ declare namespace Sinon { * Defines the behavior of the stub on the @param n call. Useful for testing sequential interactions. * There are methods onFirstCall, onSecondCall,onThirdCall to make stub definitions read more naturally. * onCall can be combined with all of the behavior defining methods in this section. In particular, it can be used together with withArgs. - * @param n + * @param n Zero-based index of the spy call. */ onCall(n: number): SinonStub; /** @@ -651,7 +659,7 @@ declare namespace Sinon { * It is also useful to create a stub that can act differently in response to different arguments. * @param args */ - withArgs(...args: MatchArguments): SinonStub; + withArgs(...args: MatchPartialArguments): SinonStub; } interface SinonStubStatic { @@ -660,7 +668,7 @@ declare namespace Sinon { /** * Creates an anonymous stub function */ - (): SinonStub; + (): SinonStub; /* tslint:enable:no-unnecessary-generics */ @@ -783,12 +791,6 @@ declare namespace Sinon { restore(): void; }; - interface SinonFakeTimersConfig { - now: number | Date; - toFake: string[]; - shouldAdvanceTime: boolean; - } - interface SinonFakeUploadProgress { eventListeners: { progress: any[]; @@ -1117,20 +1119,20 @@ declare namespace Sinon { */ calledWith( spyOrSpyCall: SinonSpy | SinonSpyCall, - ...args: Partial> + ...args: MatchPartialArguments ): void; /** * Passes if spy was always called with the provided arguments. * @param spy * @param args */ - alwaysCalledWith(spy: SinonSpy, ...args: Partial>): void; + alwaysCalledWith(spy: SinonSpy, ...args: MatchPartialArguments): void; /** * Passes if spy was never called with the provided arguments. * @param spy * @param args */ - neverCalledWith(spy: SinonSpy, ...args: Partial>): void; + neverCalledWith(spy: SinonSpy, ...args: MatchPartialArguments): void; /** * Passes if spy was called with the provided arguments and no others. * It’s possible to assert on a dedicated spy call: sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);. @@ -1139,7 +1141,7 @@ declare namespace Sinon { */ calledWithExactly( spyOrSpyCall: SinonSpy | SinonSpyCall, - ...args: MatchArguments + ...args: MatchExactArguments ): void; /** * Passes if spy was called at exactly once with the provided arguments and no others. @@ -1148,18 +1150,21 @@ declare namespace Sinon { */ calledOnceWithExactly( spyOrSpyCall: SinonSpy | SinonSpyCall, - ...args: MatchArguments + ...args: MatchExactArguments ): void; /** * Passes if spy was always called with the provided arguments and no others. */ - alwaysCalledWithExactly(spy: SinonSpy, ...args: MatchArguments): void; + alwaysCalledWithExactly(spy: SinonSpy, ...args: MatchExactArguments): void; /** * Passes if spy was called with matching arguments. * This behaves the same way as sinon.assert.calledWith(spy, sinon.match(arg1), sinon.match(arg2), ...). * It's possible to assert on a dedicated spy call: sinon.assert.calledWithMatch(spy.secondCall, arg1, arg2, ...);. */ - calledWithMatch(spyOrSpyCall: SinonSpy | SinonSpyCall, ...args: TArgs): void; + calledWithMatch( + spyOrSpyCall: SinonSpy | SinonSpyCall, + ...args: MatchPartialArguments + ): void; /** * Passes if spy was called once with matching arguments. * This behaves the same way as calling both sinon.assert.calledOnce(spy) and @@ -1173,14 +1178,14 @@ declare namespace Sinon { * Passes if spy was always called with matching arguments. * This behaves the same way as sinon.assert.alwaysCalledWith(spy, sinon.match(arg1), sinon.match(arg2), ...). */ - alwaysCalledWithMatch(spy: SinonSpy, ...args: TArgs): void; + alwaysCalledWithMatch(spy: SinonSpy, ...args: MatchPartialArguments): void; /** * Passes if spy was never called with matching arguments. * This behaves the same way as sinon.assert.neverCalledWith(spy, sinon.match(arg1), sinon.match(arg2), ...). * @param spy * @param args */ - neverCalledWithMatch(spy: SinonSpy, ...args: TArgs): void; + neverCalledWithMatch(spy: SinonSpy, ...args: MatchPartialArguments): void; /** * Passes if spy was called with the new operator. * It’s possible to assert on a dedicated spy call: sinon.assert.calledWithNew(spy.secondCall, arg1, arg2, ...);. @@ -1444,7 +1449,7 @@ declare namespace Sinon { * If set to true, the sandbox will have a clock property. * You can optionally pass in a configuration object that follows the specification for fake timers, such as { toFake: ["setTimeout", "setInterval"] }. */ - useFakeTimers: boolean | Partial; + useFakeTimers: boolean | Partial; /** * If true, server and requests properties are added to the sandbox. Can also be an object to use for fake server. * The default one is sinon.fakeServer, but if you’re using jQuery 1.3.x or some other library that does not set the XHR’s onreadystatechange handler, @@ -1465,7 +1470,7 @@ declare namespace Sinon { * * @template TType Object type being stubbed. */ - type SinonStubbedInstance = { + type SinonStubbedInstance = TType & { [P in keyof TType]: SinonStubbedMember; }; @@ -1480,43 +1485,54 @@ declare namespace Sinon { /** * Creates a basic fake, with no behavior */ - (): SinonSpy; + (): SinonSpy; /** * Wraps an existing Function to record all interactions, while leaving it up to the func to provide the behavior. * This is useful when complex behavior not covered by the sinon.fake.* methods is required or when wrapping an existing function or method. */ - (fn: Function): SinonSpy; + (fn: (...args: TArgs) => TReturnValue): SinonSpy< + TArgs, + TReturnValue + >; /** * Creates a fake that returns the val argument * @param val Returned value */ - returns(val: any): SinonSpy; + returns( + val: TReturnValue, + ): SinonSpy; /** * Creates a fake that throws an Error with the provided value as the message property. * If an Error is passed as the val argument, then that will be the thrown value. If any other value is passed, then that will be used for the message property of the thrown Error. * @param val Returned value or throw value if an Error */ - throws(val: Error | string): SinonSpy; + throws( + val: Error | string, + ): SinonSpy; /** * Creates a fake that returns a resolved Promise for the passed value. * @param val Resolved promise */ - resolves(val: any): SinonSpy; + resolves( + val: TReturnValue extends PromiseLike ? TResolveValue : any, + ): SinonSpy; /** * Creates a fake that returns a rejected Promise for the passed value. * If an Error is passed as the value argument, then that will be the value of the promise. * If any other value is passed, then that will be used for the message property of the Error returned by the promise. * @param val Rejected promise */ - rejects(val: any): SinonSpy; + rejects(val: any): SinonSpy; /** * fake expects the last argument to be a callback and will invoke it with the given arguments. */ - yields(...args: any[]): SinonSpy; + yields(...args: any[]): SinonSpy; /** * fake expects the last argument to be a callback and will invoke it asynchronously with the given arguments. */ - yieldsAsync(...args: any[]): SinonSpy; + yieldsAsync( + ...args: any[] + ): SinonSpy; } interface SinonSandbox { @@ -1561,7 +1577,7 @@ declare namespace Sinon { * You would have to call either clock.next(), clock.tick(), clock.runAll() or clock.runToLast() (see example below). Please refer to the lolex documentation for more information. * @param config */ - useFakeTimers(config?: number | Date | Partial): SinonFakeTimers; + useFakeTimers(config?: number | Date | Partial): SinonFakeTimers; /** * Causes Sinon to replace the native XMLHttpRequest object in browsers that support it with a custom implementation which does not send actual requests. * In browsers that support ActiveXObject, this constructor is replaced, and fake objects are returned for XMLHTTP progIds. @@ -1612,7 +1628,7 @@ declare namespace Sinon { * replacement can be any value, including spies, stubs and fakes. * This method only works on non-accessor properties, for replacing accessors, use sandbox.replaceGetter() and sandbox.replaceSetter(). */ - replace(obj: T, prop: TKey, replacement: T[TKey]): T[TKey]; + replace(obj: T, prop: TKey, replacement: R): R; /** * Replaces getter for property on object with replacement argument. Attempts to replace an already replaced getter cause an exception. * replacement must be a Function, and can be instances of spies, stubs and fakes. @@ -1653,6 +1669,14 @@ declare namespace Sinon { ): SinonStubbedInstance; } + type SinonPromise = Promise & { + status: 'pending' | 'resolved' | 'rejected'; + resolve(val: unknown): Promise; + reject(reason: unknown): Promise; + resolvedValue?: T; + rejectedValue?: unknown; + }; + interface SinonApi { expectation: SinonExpectationStatic; @@ -1687,6 +1711,10 @@ declare namespace Sinon { * on a format of your choosing, such as "{ id: 42 }" */ setFormatter: (customFormatter: (...args: any[]) => string) => void; + + promise( + executor?: (resolve: (value: T) => void, reject: (reason?: unknown) => void) => void, + ): SinonPromise; } type SinonStatic = SinonSandbox & SinonApi; diff --git a/node_modules/@types/sinon/package.json b/node_modules/@types/sinon/package.json index aa69c53c69..c01954f185 100755 --- a/node_modules/@types/sinon/package.json +++ b/node_modules/@types/sinon/package.json @@ -1,6 +1,6 @@ { "name": "@types/sinon", - "version": "10.0.2", + "version": "10.0.15", "description": "TypeScript definitions for Sinon", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinon", "license": "MIT", @@ -10,11 +10,6 @@ "url": "https://github.com/mrbigdog2u", "githubUsername": "mrbigdog2u" }, - { - "name": "Lukas Spieß", - "url": "https://github.com/lumaxis", - "githubUsername": "lumaxis" - }, { "name": "Nico Jansen", "url": "https://github.com/nicojs", @@ -25,11 +20,6 @@ "url": "https://github.com/43081j", "githubUsername": "43081j" }, - { - "name": "Josh Goldberg", - "url": "https://github.com/joshuakgoldberg", - "githubUsername": "joshuakgoldberg" - }, { "name": "Greg Jednaszewski", "url": "https://github.com/gjednaszewski", @@ -49,6 +39,11 @@ "name": "Simon Schick", "url": "https://github.com/SimonSchick", "githubUsername": "SimonSchick" + }, + { + "name": "Mathias Schreck", + "url": "https://github.com/lo1tuma", + "githubUsername": "lo1tuma" } ], "main": "", @@ -60,8 +55,8 @@ }, "scripts": {}, "dependencies": { - "@sinonjs/fake-timers": "^7.1.0" + "@types/sinonjs__fake-timers": "*" }, - "typesPublisherContentHash": "d9f02a4574f6f32057808563b4551e558075d0c93c5739b604521c743c4bb712", - "typeScriptVersion": "3.6" + "typesPublisherContentHash": "c87e5ef382887bbdb8c25d070fd87c515977fd4e28b3d8cf4293c673f5e33f2e", + "typeScriptVersion": "4.3" } \ No newline at end of file diff --git a/node_modules/@types/sinonjs__fake-timers/LICENSE b/node_modules/@types/sinonjs__fake-timers/LICENSE new file mode 100755 index 0000000000..9e841e7a26 --- /dev/null +++ b/node_modules/@types/sinonjs__fake-timers/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + 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/@types/sinonjs__fake-timers/README.md b/node_modules/@types/sinonjs__fake-timers/README.md new file mode 100755 index 0000000000..7c74680bbc --- /dev/null +++ b/node_modules/@types/sinonjs__fake-timers/README.md @@ -0,0 +1,16 @@ +# Installation +> `npm install --save @types/sinonjs__fake-timers` + +# Summary +This package contains type definitions for @sinonjs/fake-timers (https://github.com/sinonjs/fake-timers). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinonjs__fake-timers. + +### Additional Details + * Last updated: Wed, 23 Mar 2022 18:01:46 GMT + * Dependencies: none + * Global values: none + +# Credits +These definitions were written by [Wim Looman](https://github.com/Nemo157), [Rogier Schouten](https://github.com/rogierschouten), [Yishai Zehavi](https://github.com/zyishai), [Remco Haszing](https://github.com/remcohaszing), and [Jaden Simon](https://github.com/JadenSimon). diff --git a/node_modules/@types/sinonjs__fake-timers/index.d.ts b/node_modules/@types/sinonjs__fake-timers/index.d.ts new file mode 100755 index 0000000000..d4aa25b9b1 --- /dev/null +++ b/node_modules/@types/sinonjs__fake-timers/index.d.ts @@ -0,0 +1,392 @@ +// Type definitions for @sinonjs/fake-timers 8.1 +// Project: https://github.com/sinonjs/fake-timers +// Definitions by: Wim Looman +// Rogier Schouten +// Yishai Zehavi +// Remco Haszing +// Jaden Simon +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/** + * Names of clock methods that may be faked by install. + */ +export type FakeMethod = + | 'setTimeout' + | 'clearTimeout' + | 'setImmediate' + | 'clearImmediate' + | 'setInterval' + | 'clearInterval' + | 'Date' + | 'nextTick' + | 'hrtime' + | 'requestAnimationFrame' + | 'cancelAnimationFrame' + | 'requestIdleCallback' + | 'cancelIdleCallback' + | 'performance' + | 'queueMicrotask'; + +/** + * Global methods available to every clock and also as standalone methods (inside `timers` global object). + */ +export interface GlobalTimers { + /** + * Schedules a callback to be fired once timeout milliseconds have ticked by. + * + * @param callback Callback to be fired. + * @param timeout How many ticks to wait to run the callback. + * @param args Any extra arguments to pass to the callback. + * @returns Time identifier for cancellation. + */ + setTimeout: (callback: (...args: any[]) => void, timeout: number, ...args: any[]) => TTimerId; + + /** + * Clears a timer, as long as it was created using setTimeout. + * + * @param id Timer ID or object. + */ + clearTimeout: (id: TTimerId) => void; + + /** + * Schedules a callback to be fired every time timeout milliseconds have ticked by. + * + * @param callback Callback to be fired. + * @param timeout How many ticks to wait between callbacks. + * @param args Any extra arguments to pass to the callback. + * @returns Time identifier for cancellation. + */ + setInterval: (callback: (...args: any[]) => void, timeout: number, ...args: any[]) => TTimerId; + + /** + * Clears a timer, as long as it was created using setInterval. + * + * @param id Timer ID or object. + */ + clearInterval: (id: TTimerId) => void; + + /** + * Schedules the callback to be fired once 0 milliseconds have ticked by. + * + * @param callback Callback to be fired. + * @param args Any extra arguments to pass to the callback. + * @remarks You'll still have to call clock.tick() for the callback to fire. + * @remarks If called during a tick the callback won't fire until 1 millisecond has ticked by. + */ + setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => TTimerId; + + /** + * Clears a timer, as long as it was created using setImmediate. + * + * @param id Timer ID or object. + */ + clearImmediate: (id: TTimerId) => void; + + /** + * Implements the Date object but using this clock to provide the correct time. + */ + Date: typeof Date; +} + +/** + * Timer object used in node. + */ +export interface NodeTimer { + /** + * Stub method call. Does nothing. + */ + ref(): NodeTimer; + + /** + * Stub method call. Does nothing. + */ + unref(): NodeTimer; + + /** + * Refreshes the timer. + */ + refresh(): NodeTimer; +} + +/** + * Timer identifier for clock scheduling. + */ +export type TimerId = number | NodeTimer; + +/** + * Controls the flow of time. + */ +export interface FakeClock extends GlobalTimers { + /** + * Current clock time. + */ + now: number; + + /** + * Mimics performance.now(). + */ + performance: { + now: () => number; + }; + + /** + * Don't know what this prop is for, but it was included in the clocks that `createClock` or + * `install` return (it is never used in the code, for now). + */ + timeouts: {}; + + /** + * Maximum number of timers that will be run when calling runAll(). + */ + loopLimit: number; + + /** + * Schedule callback to run in the next animation frame. + * + * @param callback Callback to be fired. + * @returns Request id. + */ + requestAnimationFrame: (callback: (time: number) => void) => TTimerId; + + /** + * Cancel animation frame request. + * + * @param id The id returned from requestAnimationFrame method. + */ + cancelAnimationFrame: (id: TTimerId) => void; + + /** + * Queues the callback to be fired during idle periods to perform background and low priority work on the main event loop. + * + * @param callback Callback to be fired. + * @param timeout The maximum number of ticks before the callback must be fired. + * @remarks Callbacks which have a timeout option will be fired no later than time in milliseconds. + */ + requestIdleCallback: (callback: () => void, timeout?: number) => TTimerId; + + /** + * Clears a timer, as long as it was created using requestIdleCallback. + * + * @param id Timer ID or object. + */ + cancelIdleCallback: (id: TTimerId) => void; + + /** + * Get the number of waiting timers. + * + * @returns number of waiting timers. + */ + countTimers: () => number; + + /** + * Advances the clock to the the moment of the first scheduled timer, firing it. + * @returns Fake milliseconds since the unix epoch. + */ + next: () => number; + + /** + * Advances the clock to the the moment of the first scheduled timer, firing it. + * + * Also breaks the event loop, allowing any scheduled promise callbacks to execute _before_ running the timers. + * @returns Fake milliseconds since the unix epoch. + */ + nextAsync: () => Promise; + + /** + * Advance the clock, firing callbacks if necessary. + * + * @param time How many ticks to advance by. + * @returns Fake milliseconds since the unix epoch. + */ + tick: (time: number | string) => number; + + /** + * Advance the clock, firing callbacks if necessary. + * + * Also breaks the event loop, allowing any scheduled promise callbacks to execute _before_ running the timers. + * + * @param time How many ticks to advance by. + * @returns Fake milliseconds since the unix epoch. + */ + tickAsync: (time: number | string) => Promise; + + /** + * Removes all timers and tick without firing them and restore now to its original value. + */ + reset: () => void; + + /** + * Runs all pending timers until there are none remaining. + * + * @remarks If new timers are added while it is executing they will be run as well. + * @returns Fake milliseconds since the unix epoch. + */ + runAll: () => number; + + /** + * Runs all pending timers until there are none remaining. + * + * Also breaks the event loop, allowing any scheduled promise callbacks to execute _before_ running the timers. + * + * @remarks If new timers are added while it is executing they will be run as well. + * @returns Fake milliseconds since the unix epoch. + */ + runAllAsync: () => Promise; + + /** + * Advanced the clock to the next animation frame while firing all scheduled callbacks. + * @returns Fake milliseconds since the unix epoch. + */ + runToFrame: () => number; + + /** + * Takes note of the last scheduled timer when it is run, and advances the clock to + * that time firing callbacks as necessary. + * @returns Fake milliseconds since the unix epoch. + */ + runToLast: () => number; + + /** + * Takes note of the last scheduled timer when it is run, and advances the clock to + * that time firing callbacks as necessary. + * + * Also breaks the event loop, allowing any scheduled promise callbacks to execute _before_ running the timers. + * @returns Fake milliseconds since the unix epoch. + */ + runToLastAsync: () => Promise; + + /** + * Simulates a user changing the system clock. + * + * @param now New system time. + * @remarks This affects the current time but it does not in itself cause timers to fire. + */ + setSystemTime: (now?: number | Date) => void; +} + +/** + * Fake clock for a browser environment. + */ +export type BrowserClock = FakeClock; + +/** + * Fake clock for a Node environment. + */ +export type NodeClock = FakeClock & { + /** + * Mimics process.hrtime(). + * + * @param prevTime Previous system time to calculate time elapsed. + * @returns High resolution real time as [seconds, nanoseconds]. + */ + hrtime(prevTime?: [number, number]): [number, number]; + + /** + * Mimics process.nextTick() explicitly dropping additional arguments. + */ + queueMicrotask: (callback: () => void) => void; + + /** + * Simulates process.nextTick(). + */ + nextTick: (callback: (...args: any[]) => void, ...args: any[]) => void; + + /** + * Run all pending microtasks scheduled with nextTick. + */ + runMicrotasks: () => void; +}; + +/** + * Clock object created by @sinonjs/fake-timers. + */ +export type Clock = BrowserClock | NodeClock; + +/** + * Additional methods that installed clock have. + */ +export interface InstalledMethods { + /** + * Restores the original methods on the context that was passed to FakeTimers.install, + * or the native timers if no context was given. + */ + uninstall: () => void; + + methods: FakeMethod[]; +} + +/** + * Clock object created by calling `install();`. + */ +export type InstalledClock = Clock & InstalledMethods; + +/** + * Creates a clock. + * + * @param now Current time for the clock. + * @param loopLimit Maximum number of timers that will be run when calling runAll() + * before assuming that we have an infinite loop and throwing an error + * (by default, 1000). + * @remarks The default epoch is 0. + */ +export function createClock(now?: number | Date, loopLimit?: number): Clock; + +export interface FakeTimerInstallOpts { + /** + * Installs fake timers with the specified unix epoch (default: 0) + */ + now?: number | Date | undefined; + + /** + * An array with names of global methods and APIs to fake. By default, `@sinonjs/fake-timers` does not replace `nextTick()` and `queueMicrotask()`. + * For instance, `FakeTimers.install({ toFake: ['setTimeout', 'nextTick'] })` will fake only `setTimeout()` and `nextTick()` + */ + toFake?: FakeMethod[] | undefined; + + /** + * The maximum number of timers that will be run when calling runAll() (default: 1000) + */ + loopLimit?: number | undefined; + + /** + * Tells @sinonjs/fake-timers to increment mocked time automatically based on the real system time shift (e.g. the mocked time will be incremented by + * 20ms for every 20ms change in the real system time) (default: false) + */ + shouldAdvanceTime?: boolean | undefined; + + /** + * Relevant only when using with shouldAdvanceTime: true. increment mocked time by advanceTimeDelta ms every advanceTimeDelta ms change + * in the real system time (default: 20) + */ + advanceTimeDelta?: number | undefined; + + /** + * Tells FakeTimers to clear 'native' (i.e. not fake) timers by delegating to their respective handlers. These are not cleared by + * default, leading to potentially unexpected behavior if timers existed prior to installing FakeTimers. (default: false) + */ + shouldClearNativeTimers?: boolean | undefined; +} + +/** + * Creates a clock and installs it globally. + * + * @param [opts] Options for the fake timer. + */ +export function install(opts?: FakeTimerInstallOpts): InstalledClock; + +export interface FakeTimerWithContext { + timers: GlobalTimers; + createClock: (now?: number | Date, loopLimit?: number) => Clock; + install: (opts?: FakeTimerInstallOpts) => InstalledClock; + withGlobal: (global: object) => FakeTimerWithContext; +} + +/** + * Apply new context to fake timers. + * + * @param global New context to apply like `window` (in browsers) or `global` (in node). + */ +export function withGlobal(global: object): FakeTimerWithContext; + +export const timers: GlobalTimers; diff --git a/node_modules/@types/sinonjs__fake-timers/package.json b/node_modules/@types/sinonjs__fake-timers/package.json new file mode 100755 index 0000000000..8049c7b2c3 --- /dev/null +++ b/node_modules/@types/sinonjs__fake-timers/package.json @@ -0,0 +1,45 @@ +{ + "name": "@types/sinonjs__fake-timers", + "version": "8.1.2", + "description": "TypeScript definitions for @sinonjs/fake-timers", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sinonjs__fake-timers", + "license": "MIT", + "contributors": [ + { + "name": "Wim Looman", + "url": "https://github.com/Nemo157", + "githubUsername": "Nemo157" + }, + { + "name": "Rogier Schouten", + "url": "https://github.com/rogierschouten", + "githubUsername": "rogierschouten" + }, + { + "name": "Yishai Zehavi", + "url": "https://github.com/zyishai", + "githubUsername": "zyishai" + }, + { + "name": "Remco Haszing", + "url": "https://github.com/remcohaszing", + "githubUsername": "remcohaszing" + }, + { + "name": "Jaden Simon", + "url": "https://github.com/JadenSimon", + "githubUsername": "JadenSimon" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/sinonjs__fake-timers" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "452fe64e05b9936a8b0868109cdd45c3e241020b1658d8cf534cb04b6cae7c4e", + "typeScriptVersion": "3.9" +} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js index ab24ce501a..1bfe78ae91 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js @@ -107,7 +107,9 @@ exports.default = util.createRule({ 'always-multiline': forceCommaIfMultiline, 'only-multiline': allowCommaIfMultiline, never: forbidComma, - ignore: undefined, + // https://github.com/typescript-eslint/typescript-eslint/issues/7220 + // eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-empty-function + ignore: () => { }, }; function last(nodes) { return nodes[nodes.length - 1] ?? null; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map index e8d979ae4b..5b4035d396 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map @@ -1 +1 @@ -{"version":3,"file":"comma-dangle.js","sourceRoot":"","sources":["../../src/rules/comma-dangle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAChC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAUnD,MAAM,mBAAmB,GAAG;IAC1B,kBAAkB;IAClB,QAAQ;IACR,OAAO;IACP,gBAAgB;CACjB,CAAC;AAEF,MAAM,oBAAoB,GAAG,OAAO,CAAC;AAErC,SAAS,gBAAgB,CAAC,OAAe;IACvC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,OAAO;YACjB,MAAM,EAAE,OAAO;SAChB,CAAC;KACH;IACD,OAAO;QACL,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,oBAAoB;QAC5C,QAAQ,EAAE,OAAO,CAAC,QAAQ,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C;QAED,SAAS,qBAAqB,CAAC,IAAmB;YAChD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;gBACrB,UAAU,CAAC,IAAI,CAAC,CAAC;aAClB;iBAAM;gBACL,WAAW,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC;QAED,OAAO;YACL,GAAG,KAAK;YACR,iBAAiB,EAAE,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC;YACrD,0BAA0B,EAAE,SAAS,CAAC,iBAAiB,CAAC,QAAQ,CAAC;YACjE,WAAW,EAAE,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC;SACjD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"comma-dangle.js","sourceRoot":"","sources":["../../src/rules/comma-dangle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAChC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,cAAc,CAAC,CAAC;AAUnD,MAAM,mBAAmB,GAAG;IAC1B,kBAAkB;IAClB,QAAQ;IACR,OAAO;IACP,gBAAgB;CACjB,CAAC;AAEF,MAAM,oBAAoB,GAAG,OAAO,CAAC;AAErC,SAAS,gBAAgB,CAAC,OAAe;IACvC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;QAC/B,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,OAAO;YACjB,MAAM,EAAE,OAAO;SAChB,CAAC;KACH;IACD,OAAO;QACL,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,oBAAoB;QAC5C,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,oBAAoB;QAClD,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,oBAAoB;KAC/C,CAAC;AACJ,CAAC;AAED,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,I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ACL,WAAW,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC;QAED,OAAO;YACL,GAAG,KAAK;YACR,iBAAiB,EAAE,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC;YACrD,0BAA0B,EAAE,SAAS,CAAC,iBAAiB,CAAC,QAAQ,CAAC;YACjE,WAAW,EAAE,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC;SACjD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js index 5e197b064d..d68af20e97 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js @@ -28,6 +28,10 @@ const tsutils = __importStar(require("ts-api-utils")); const ts = __importStar(require("typescript")); const util = __importStar(require("../util")); const util_1 = require("../util"); +const messageBase = 'Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler.'; +const messageBaseVoid = 'Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler' + + ' or be explicitly marked as ignored with the `void` operator.'; +const messageRejectionHandler = 'A rejection handler that is not a function will be ignored.'; exports.default = util.createRule({ name: 'no-floating-promises', meta: { @@ -38,11 +42,12 @@ exports.default = util.createRule({ }, hasSuggestions: true, messages: { - floating: 'Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler.', + floating: messageBase, floatingFixAwait: 'Add await operator.', - floatingVoid: 'Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler' + - ' or be explicitly marked as ignored with the `void` operator.', + floatingVoid: messageBaseVoid, floatingFixVoid: 'Add void operator to ignore.', + floatingUselessRejectionHandler: messageBase + ' ' + messageRejectionHandler, + floatingUselessRejectionHandlerVoid: messageBaseVoid + ' ' + messageRejectionHandler, }, schema: [ { @@ -53,7 +58,7 @@ exports.default = util.createRule({ type: 'boolean', }, ignoreIIFE: { - description: 'Whether to ignore async IIFEs (Immediately Invocated Function Expressions).', + description: 'Whether to ignore async IIFEs (Immediately Invoked Function Expressions).', type: 'boolean', }, }, @@ -80,11 +85,14 @@ exports.default = util.createRule({ if (expression.type === utils_1.AST_NODE_TYPES.ChainExpression) { expression = expression.expression; } - if (isUnhandledPromise(checker, expression)) { + const { isUnhandled, nonFunctionHandler } = isUnhandledPromise(checker, expression); + if (isUnhandled) { if (options.ignoreVoid) { context.report({ node, - messageId: 'floatingVoid', + messageId: nonFunctionHandler + ? 'floatingUselessRejectionHandlerVoid' + : 'floatingVoid', suggest: [ { messageId: 'floatingFixVoid', @@ -107,7 +115,9 @@ exports.default = util.createRule({ else { context.report({ node, - messageId: 'floating', + messageId: nonFunctionHandler + ? 'floatingUselessRejectionHandler' + : 'floating', suggest: [ { messageId: 'floatingFixAwait', @@ -150,13 +160,21 @@ exports.default = util.createRule({ utils_1.AST_NODE_TYPES.ArrowFunctionExpression || node.expression.callee.type === utils_1.AST_NODE_TYPES.FunctionExpression)); } + function isValidRejectionHandler(rejectionHandler) { + return (services.program + .getTypeChecker() + .getTypeAtLocation(services.esTreeNodeToTSNodeMap.get(rejectionHandler)) + .getCallSignatures().length > 0); + } function isUnhandledPromise(checker, node) { // First, check expressions whose resulting types may not be promise-like if (node.type === utils_1.AST_NODE_TYPES.SequenceExpression) { // Any child in a comma expression could return a potentially unhandled // promise, so we check them all regardless of whether the final returned // value is promise-like. - return node.expressions.some(item => isUnhandledPromise(checker, item)); + return (node.expressions + .map(item => isUnhandledPromise(checker, item)) + .find(result => result.isUnhandled) ?? { isUnhandled: false }); } if (!options.ignoreVoid && node.type === utils_1.AST_NODE_TYPES.UnaryExpression && @@ -167,20 +185,48 @@ exports.default = util.createRule({ } // Check the type. At this point it can't be unhandled if it isn't a promise if (!isPromiseLike(checker, services.esTreeNodeToTSNodeMap.get(node))) { - return false; + return { isUnhandled: false }; } if (node.type === utils_1.AST_NODE_TYPES.CallExpression) { - // If the outer expression is a call, it must be either a `.then()` or - // `.catch()` that handles the promise. - return (!isPromiseCatchCallWithHandler(node) && - !isPromiseThenCallWithRejectionHandler(node) && - !isPromiseFinallyCallWithHandler(node)); + // If the outer expression is a call, a `.catch()` or `.then()` with + // rejection handler handles the promise. + const catchRejectionHandler = getRejectionHandlerFromCatchCall(node); + if (catchRejectionHandler) { + if (isValidRejectionHandler(catchRejectionHandler)) { + return { isUnhandled: false }; + } + else { + return { isUnhandled: true, nonFunctionHandler: true }; + } + } + const thenRejectionHandler = getRejectionHandlerFromThenCall(node); + if (thenRejectionHandler) { + if (isValidRejectionHandler(thenRejectionHandler)) { + return { isUnhandled: false }; + } + else { + return { isUnhandled: true, nonFunctionHandler: true }; + } + } + // `x.finally()` is transparent to resolution of the promise, so check `x`. + // ("object" in this context is the `x` in `x.finally()`) + const promiseFinallyObject = getObjectFromFinallyCall(node); + if (promiseFinallyObject) { + return isUnhandledPromise(checker, promiseFinallyObject); + } + // All other cases are unhandled. + return { isUnhandled: true }; } else if (node.type === utils_1.AST_NODE_TYPES.ConditionalExpression) { // We must be getting the promise-like value from one of the branches of the // ternary. Check them directly. - return (isUnhandledPromise(checker, node.alternate) || - isUnhandledPromise(checker, node.consequent)); + const alternateResult = isUnhandledPromise(checker, node.alternate); + if (alternateResult.isUnhandled) { + return alternateResult; + } + else { + return isUnhandledPromise(checker, node.consequent); + } } else if (node.type === utils_1.AST_NODE_TYPES.MemberExpression || node.type === utils_1.AST_NODE_TYPES.Identifier || @@ -188,16 +234,21 @@ exports.default = util.createRule({ // If it is just a property access chain or a `new` call (e.g. `foo.bar` or // `new Promise()`), the promise is not handled because it doesn't have the // necessary then/catch call at the end of the chain. - return true; + return { isUnhandled: true }; } else if (node.type === utils_1.AST_NODE_TYPES.LogicalExpression) { - return (isUnhandledPromise(checker, node.left) || - isUnhandledPromise(checker, node.right)); + const leftResult = isUnhandledPromise(checker, node.left); + if (leftResult.isUnhandled) { + return leftResult; + } + else { + return isUnhandledPromise(checker, node.right); + } } // We conservatively return false for all other types of expressions because // we don't want to accidentally fail if the promise is handled internally but // we just can't tell. - return false; + return { isUnhandled: false }; } }, }); @@ -238,22 +289,33 @@ function isFunctionParam(checker, param, node) { } return false; } -function isPromiseCatchCallWithHandler(expression) { - return (expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && +function getRejectionHandlerFromCatchCall(expression) { + if (expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && expression.callee.property.type === utils_1.AST_NODE_TYPES.Identifier && expression.callee.property.name === 'catch' && - expression.arguments.length >= 1); + expression.arguments.length >= 1) { + return expression.arguments[0]; + } + else { + return undefined; + } } -function isPromiseThenCallWithRejectionHandler(expression) { - return (expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && +function getRejectionHandlerFromThenCall(expression) { + if (expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && expression.callee.property.type === utils_1.AST_NODE_TYPES.Identifier && expression.callee.property.name === 'then' && - expression.arguments.length >= 2); + expression.arguments.length >= 2) { + return expression.arguments[1]; + } + else { + return undefined; + } } -function isPromiseFinallyCallWithHandler(expression) { - return (expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && +function getObjectFromFinallyCall(expression) { + return expression.callee.type === utils_1.AST_NODE_TYPES.MemberExpression && expression.callee.property.type === utils_1.AST_NODE_TYPES.Identifier && - expression.callee.property.name === 'finally' && - expression.arguments.length >= 1); + expression.callee.property.name === 'finally' + ? expression.callee.object + : undefined; } //# sourceMappingURL=no-floating-promises.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map index 5154766a22..2d3d260a7e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map @@ -1 +1 @@ -{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,8CAAgC;AAChC,kCAA6C;AAe7C,kBAAe,IAAI,CAAC,UAAU,CAAqB;IACjD,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,QAAQ,EACN,4GAA4G;YAC9G,gBAAgB,EAAE,qBAAqB;YACvC,YAAY,EACV,wGAAwG;gBACxG,+DAA+D;YACjE,eAAe,EAAE,8BAA8B;SAChD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,WAAW,EAAE,uCAAuC;wBACpD,IAAI,EAAE,SAAS;qBAChB;oBACD,UAAU,EAAE;wBACV,WAAW,EACT,6EAA6E;wBAC/E,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,IAAI,EAAE,SAAS;KAChB;IACD,cAAc,EAAE;QACd;YACE,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,KAAK;SAClB;KACF;IAED,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,OAAO;YACL,mBAAmB,CAAC,IAAI;gBACtB,IAAI,OAAO,CAAC,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;oBAC3C,OAAO;iBACR;gBAED,IAAI,UAAU,GAAG,IAAI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,CACL,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM;QAC1C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CACjC,CAAC;AACJ,CAAC;AAED,SAAS,+BAA+B,CACtC,UAAmC;IAEnC,OAAO,CACL,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;QAC7C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CACjC,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,8CAAgC;AAChC,kCAA6C;AAiB7C,MAAM,WAAW,GACf,4GAA4G,CAAC;AAE/G,MAAM,eAAe,GACnB,wGAAwG;IACxG,+DAA+D,CAAC;AAElE,MAAM,uBAAuB,GAC3B,6DAA6D,CAAC;AAEhE,kBAAe,IAAI,CAAC,UAAU,CAAqB;IACjD,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,QAAQ,EAAE,WAAW;YACrB,gBAAgB,EAAE,qBAAqB;YACvC,YAAY,EAAE,eAAe;Y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AC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM;QAC1C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,EAChC;QACA,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAChC;SAAM;QACL,OAAO,SAAS,CAAC;KAClB;AACH,CAAC;AAED,SAAS,wBAAwB,CAC/B,UAAmC;IAEnC,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;QAC7C,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM;QAC1B,CAAC,CAAC,SAAS,CAAC;AAChB,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 d77393f2e4..8f794bd987 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 @@ -7,6 +7,24 @@ const ignore_1 = __importDefault(require("ignore")); const util_1 = require("../util"); const getESLintCoreRule_1 = require("../util/getESLintCoreRule"); const baseRule = (0, getESLintCoreRule_1.getESLintCoreRule)('no-restricted-imports'); +// In some versions of eslint, the base rule has a completely incompatible schema +// This helper function is to safely try to get parts of the schema. If it's not +// possible, we'll fallback to less strict checks. +const tryAccess = (getter, fallback) => { + try { + return getter(); + } + catch { + return fallback; + } +}; +const baseSchema = baseRule.meta.schema; +const allowTypeImportsOptionSchema = { + allowTypeImports: { + type: 'boolean', + description: 'Disallow value imports, but allow type-only imports.', + }, +}; const arrayOfStringsOrObjects = { type: 'array', items: { @@ -14,25 +32,14 @@ const arrayOfStringsOrObjects = { { type: 'string' }, { type: 'object', + additionalProperties: false, properties: { - name: { type: 'string' }, - message: { - type: 'string', - minLength: 1, - }, - importNames: { - type: 'array', - items: { - type: 'string', - }, - }, - allowTypeImports: { - type: 'boolean', - description: 'Disallow value imports, but allow type-only imports.', - }, + ...tryAccess(() => baseSchema.anyOf[1].items[0].properties.paths.items.anyOf[1] + .properties, undefined), + ...allowTypeImportsOptionSchema, }, - additionalProperties: false, - required: ['name'], + required: tryAccess(() => baseSchema.anyOf[1].items[0].properties.paths.items.anyOf[1] + .required, undefined), }, ], }, @@ -51,42 +58,38 @@ const arrayOfStringsOrObjectPatterns = { type: 'array', items: { type: 'object', + additionalProperties: false, properties: { - importNames: { - type: 'array', - items: { - type: 'string', - }, - minItems: 1, - uniqueItems: true, - }, - group: { - type: 'array', - items: { - type: 'string', - }, - minItems: 1, - uniqueItems: true, - }, - message: { - type: 'string', - minLength: 1, - }, - caseSensitive: { - type: 'boolean', - }, - allowTypeImports: { - type: 'boolean', - description: 'Disallow value imports, but allow type-only imports.', - }, + ...tryAccess(() => baseSchema.anyOf[1].items[0].properties.patterns.anyOf[1].items + .properties, undefined), + ...allowTypeImportsOptionSchema, }, - additionalProperties: false, - required: ['group'], + required: tryAccess(() => baseSchema.anyOf[1].items[0].properties.patterns.anyOf[1].items + .required, []), }, uniqueItems: true, }, ], }; +const schema = { + anyOf: [ + arrayOfStringsOrObjects, + { + type: 'array', + items: [ + { + type: 'object', + properties: { + paths: arrayOfStringsOrObjects, + patterns: arrayOfStringsOrObjectPatterns, + }, + additionalProperties: false, + }, + ], + additionalItems: false, + }, + ], +}; function isObjectOfPaths(obj) { return Object.prototype.hasOwnProperty.call(obj, 'paths'); } @@ -127,25 +130,7 @@ exports.default = (0, util_1.createRule)({ }, messages: baseRule.meta.messages, fixable: baseRule.meta.fixable, - schema: { - anyOf: [ - arrayOfStringsOrObjects, - { - type: 'array', - items: [ - { - type: 'object', - properties: { - paths: arrayOfStringsOrObjects, - patterns: arrayOfStringsOrObjectPatterns, - }, - additionalProperties: false, - }, - ], - additionalItems: false, - }, - ], - }, + schema, }, defaultOptions: [], create(context) { 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 229058432c..796711bff6 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":";;;;;AAOA,oDAA4B;AAM5B,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,uBAAuB,CAAC,CAAC;AAK5D,MAAM,uBAAuB,GAAgB;IAC3C,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClB;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxB,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,CAAC;qBACb;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;yBACf;qBACF;oBACD,gBAAgB,EAAE;wBAChB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,sDAAsD;qBACpE;iBACF;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;KACF;IACD,WAAW,EAAE,IAAI;CAClB,CAAC;AACF,MAAM,8B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pB,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE;oBAC9B,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;wBACA,OAAO,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;qBACtC;iBACF;qBAAM;oBACL,OAAO,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;iBACtC;YACH,CAAC;YACD,gCAAgC,CAC9B,IAEC;gBAED,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE;oBAC9B,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;wBACA,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;qBAC3C;iBACF;qBAAM;oBACL,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;iBAC3C;YACH,CAAC;YACD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB;SACjD,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":";;;;;AAWA,oDAA4B;AAM5B,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;QACF,OAAO,MAAM,EAAE,CAAC;KACjB;IAAC,MAAM;QACN,OAAO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C;gBAED,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE;oBAC9B,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;wBACA,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;qBAC3C;iBACF;qBAAM;oBACL,OAAO,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;iBAC3C;YACH,CAAC;YACD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB;SACjD,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-constraint.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js index cec0879be7..77a63cd66b 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js @@ -24,6 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); +const path_1 = require("path"); +const ts = __importStar(require("typescript")); const util = __importStar(require("../util")); exports.default = util.createRule({ name: 'no-unnecessary-type-constraint', @@ -49,12 +51,23 @@ exports.default = util.createRule({ [utils_1.AST_NODE_TYPES.TSAnyKeyword, 'any'], [utils_1.AST_NODE_TYPES.TSUnknownKeyword, 'unknown'], ]); - const inJsx = context.getFilename().toLowerCase().endsWith('tsx'); + function checkRequiresGenericDeclarationDisambiguation(filename) { + const pathExt = (0, path_1.extname)(filename).toLocaleLowerCase(); + switch (pathExt) { + case ts.Extension.Cts: + case ts.Extension.Mts: + case ts.Extension.Tsx: + return true; + default: + return false; + } + } + const requiresGenericDeclarationDisambiguation = checkRequiresGenericDeclarationDisambiguation(context.getFilename()); const source = context.getSourceCode(); const checkNode = (node, inArrowFunction) => { const constraint = unnecessaryConstraints.get(node.constraint.type); function shouldAddTrailingComma() { - if (!inArrowFunction || !inJsx) { + if (!inArrowFunction || !requiresGenericDeclarationDisambiguation) { return false; } // Only () => {} would need trailing comma diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map index fcfb18d68c..490d1381ae 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAUhC,kBAAe,IAAI,CAAC,UAAU,CAAC;IAC7B,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,qBAAqB,EACnB,+FAA+F;YACjG,2BAA2B,EACzB,qDAAqD;SACxD;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,iFAAiF;QACjF,sFAAsF;QACtF,yFAAyF;QACzF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,CAAC,sBAAc,CAAC,YAAY,EAAE,KAAK,CAAC;YACpC,CAAC,sBAAc,CAAC,gBAAgB,EAAE,SAAS,CAAC;SAC7C,CAAC,CAAC;QAEH,MAAM,KAAK,G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O;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+BAA+B;AAC/B,+CAAiC;AAEjC,8CAAgC;AAUhC,kBAAe,IAAI,CAAC,UAAU,CAAC;IAC7B,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,mDAAmD;YAChE,WAAW,EAAE,aAAa;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,qBAAqB,EACnB,+FAA+F;YACjG,2BAA2B,EACzB,qDAAqD;SACxD;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,iFAAiF;QACjF,sFAAsF;QACtF,yFAAyF;QACzF,MAAM,sBAAsB,GAAG,IAAI,GAAG,CAAC;YACrC,CAAC,sBAAc,CAAC,YAAY,EAAE,KAAK,CAAC;YACpC,CAAC,sBAAc,CAAC,gBAAgB,EAAE,SAAS,CAAC;SAC7C,CAAC,CAAC;QAEH,SAAS,6CAA6C,CACpD,QAAgB;YAEhB,MAAM,OAAO,GAAG,IAAA,cAAO,EAAC,QAAQ,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACtD,QAAQ,OAAO,EAAE;gBACf,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;gBACtB,K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;yBACF;qBACF;oBACD,SAAS,EAAE,uBAAuB;oBAClC,IAAI;iBACL,CAAC,CAAC;aACJ;QACH,CAAC,CAAC;QAEF,OAAO;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,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/parameter-properties.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js index c6e3d1f3c8..e1567ea141 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js @@ -59,7 +59,6 @@ exports.default = util.createRule({ items: { $ref: '#/items/0/$defs/modifier', }, - minItems: 1, }, prefer: { type: 'string', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map index a77eb9f45d..5ae9399768 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map @@ -1 +1 @@ -{"version":3,"file":"parameter-properties.js","sourceRoot":"","sources":["../../src/rules/parameter-properties.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAsBhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,gEAAgE;SACnE;QACD,QAAQ,EAAE;YACR,mBAAmB,EACjB,gEAAgE;YAClE,uBA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C1D;iBACF;YACH,CAAC;YAED,sCAAsC,CACpC,IAA+B;gBAE/B,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;oBACzC,IAAI,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;wBAChD,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,oBAAoB,GAAG,SAAS,CAAC;qBACjE;iBACF;gBAED,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE;oBACnD,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBACrD,SAAS,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB;wBACjE,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI;4BAC5B,sBAAc,CAAC,gBAAgB;wBACjC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI;4BACnC,sBAAc,CAAC,cAAc;wBAC/B,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;4BACrC,sBAAc,CAAC,UAAU;wBAC3B,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC7D;wBACA,MAAM;qBACP;oBAED,cAAc,CACZ,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAChC,CAAC,qBAAqB,GAAG,SAAS,CAAC,UAAU,CAAC;iBAChD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"parameter-properties.js","sourceRoot":"","sources":["../../src/rules/parameter-properties.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAsBhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,sBAAsB;IAC5B,IAAI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O,CAAC,CAAC,EACtC;wBACA,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,aAAa,GAAG,OAAO,CAAC;qBAC1D;iBACF;YACH,CAAC;YAED,sCAAsC,CACpC,IAA+B;gBAE/B,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;oBACzC,IAAI,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;wBAChD,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,oBAAoB,GAAG,SAAS,CAAC;qBACjE;iBACF;gBAED,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE;oBACnD,IACE,SAAS,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;wBACrD,SAAS,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,oBAAoB;wBACjE,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI;4BAC5B,sBAAc,CAAC,gBAAgB;wBACjC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI;4BACnC,sBAAc,CAAC,cAAc;wBAC/B,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;4BACrC,sBAAc,CAAC,UAAU;wBAC3B,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAC7D;wBACA,MAAM;qBACP;oBAED,cAAc,CACZ,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAChC,CAAC,qBAAqB,GAAG,SAAS,CAAC,UAAU,CAAC;iBAChD;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/util/collectUnusedVariables.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js index 19f3add7f3..44fc05f682 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js @@ -309,8 +309,7 @@ function isMergableExported(variable) { * @returns True if the variable is exported, false if not. */ function isExported(variable) { - const definition = variable.defs[0]; - if (definition) { + return variable.defs.some(definition => { let node = definition.node; if (node.type === utils_1.AST_NODE_TYPES.VariableDeclarator) { node = node.parent; @@ -319,8 +318,7 @@ function isExported(variable) { return false; } return node.parent.type.indexOf('Export') === 0; - } - return false; + }); } /** * Determines if the variable is used. 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 e3ca49219f..08ff762813 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":";;;;;;;;;;;;;;;AAAA,oEAI0C;AAE1C,oDAKkC;AAElC,MAAM,iBAGJ,SAAQ,uBAAO;IAOf,kEAAkE;IAElE,YAAoB,OAAoD;QACtE,KAAK,CAAC;YACJ,iCAAiC,EAAE,IAAI;SACxC,CAAC,CAAC;QANI,kDAA2C;QAiMpD,oBAAoB;QAEpB,kBAAkB;QAClB,0EAA0E;QAEhE,qBAAgB,GAAG,IAAI,CAAC,UAAU,CAAC;QAEnC,oBAAe,GAAG,IAAI,CAAC,UAAU,CAAC;QAElC,wBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC;QAEzC,uBAAkB,GAAG,IAAI,CAAC,aAAa,CAAC;QAgExC,qBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC;QAEpC,aAAQ,GAAG,IAAI,CAAC,WAAW,CAAC;QAE5B,+BAA0B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AAG,EAAE,eAAe,CAAC,CAAC,CACzD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,4BAA4B;AAE5B;;;;;;GAMG;AACH,SAAS,sBAAsB,CAI7B,OAA8D;IAE9D,OAAO,iBAAiB,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;AAC3D,CAAC;AAEQ,wDAAsB"} \ No newline at end of file +{"version":3,"file":"collectUnusedVariables.js","sourceRoot":"","sources":["../../src/util/collectUnusedVariables.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oEAI0C;AAE1C,oDAKkC;AAElC,MAAM,iBAGJ,SAAQ,uBAAO;IAOf,kEAAkE;IAElE,YAAoB,OAAoD;QACtE,KAAK,CAAC;YACJ,iCAAiC,EAAE,IAAI;SACxC,CAAC,CAAC;QANI,kDAA2C;QAiMpD,oBAAoB;QAEpB,kBAAkB;QAClB,0EAA0E;QAEhE,qBAAgB,GAAG,IAAI,CAAC,UAAU,CAAC;QAEnC,oBAAe,GAAG,IAAI,CAAC,UAAU,CAAC;QAElC,wBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC;QAEzC,uBAAkB,GAAG,IAAI,CAAC,aAAa,CAAC;QAgExC,qBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC;QAEpC,aAAQ,GAAG,IAAI,CAAC,WAAW,CAAC;QAE5B,+BAA0B,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAE7D,sBAAiB,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAEpD,oCAA+B,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAElE,sBAAiB,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAEpD,kCAA6B,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAWhE,mBAAc,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAQjD,sBAAiB,GAAG,IAAI,CAAC,0BAA0B,CAAC;QAnS5D,uBAAA,IAAI,mCAAiB,mBAAW,CAAC,UAAU,CACzC,OAAO,CA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sBAAsB,CAAC,QAAQ,CAAC,CAAC;IACvD,MAAM,oBAAoB,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,CAAC;IAEpD,MAAM,aAAa,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,CAAC;IAE1C,MAAM,eAAe,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACxD,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,GAAG,CAAC,CAAC;IAE9C,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,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,CACzD,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,4BAA4B;AAE5B;;;;;;GAMG;AACH,SAAS,sBAAsB,CAI7B,OAA8D;IAE9D,OAAO,iBAAiB,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;AAC3D,CAAC;AAEQ,wDAAsB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md index 1b3c0e8931..aae38de928 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md @@ -5,6 +5,6 @@ This rule has been deprecated in favour of the [`naming-convention`](./naming-co ::: diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md index 87d7d23b03..51fa852358 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md @@ -7,7 +7,7 @@ description: 'Require explicit accessibility modifiers on class properties and m > See **https://typescript-eslint.io/rules/explicit-member-accessibility** for documentation. TypeScript allows placing explicit `public`, `protected`, and `private` accessibility modifiers in front of class members. -The modifiers exist solely in the type system and just server to describe who is allowed to access those members. +The modifiers exist solely in the type system and just serve to describe who is allowed to access those members. Leaving off accessibility modifiers makes for less code to read and write. Members are `public` by default. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md index 289e42f903..246a50be09 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md @@ -83,7 +83,7 @@ With this option set to `true`, and if you are using `no-void`, you should turn ### `ignoreIIFE` -This allows you to skip checking of async IIFEs (Immediately Invocated function Expressions). +This allows you to skip checking of async IIFEs (Immediately Invoked function Expressions). Examples of **correct** code for this rule with `{ ignoreIIFE: true }`: diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 29dda64fa0..05c3d783d5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,11 +1,12 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "6.0.0", + "version": "6.1.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", "docs", "index.d.ts", + "rules.d.ts", "package.json", "README.md", "LICENSE" @@ -55,18 +56,17 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@eslint-community/regexpp": "^4.5.0", - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/type-utils": "6.0.0", - "@typescript-eslint/utils": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/type-utils": "6.1.0", + "@typescript-eslint/utils": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", "natural-compare": "^1.4.0", "natural-compare-lite": "^1.4.0", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "devDependencies": { @@ -74,14 +74,15 @@ "@types/marked": "*", "@types/natural-compare": "*", "@types/prettier": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "6.0.0", - "@typescript-eslint/rule-tester": "6.0.0", - "chalk": "^5.0.1", + "@typescript-eslint/rule-schema-to-typescript-types": "6.1.0", + "@typescript-eslint/rule-tester": "6.1.0", + "ajv": "^6.12.6", + "chalk": "^5.3.0", "cross-fetch": "*", "jest-specific-snapshot": "*", "json-schema": "*", "markdown-table": "^3.0.3", - "marked": "^4.3.0", + "marked": "^5.1.1", "prettier": "*", "title-case": "^3.0.3", "typescript": "*" @@ -99,5 +100,5 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts b/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts new file mode 100644 index 0000000000..9a5272d205 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts @@ -0,0 +1,44 @@ +/* +We purposely don't generate types for our plugin because TL;DR: +1) there's no real reason that anyone should do a typed import of our rules, +2) it would require us to change our code so there aren't as many inferred types + +This type declaration exists as a hacky way to add a type to the export for our +internal packages that require it. + +*** Long reason *** + +When you turn on declaration files, TS requires all types to be "fully resolvable" +without changes to the code. +All of our lint rules `export default createRule(...)`, which means they all +implicitly reference the `TSESLint.Rule` type for the export. + +TS wants to transpile each rule file to this `.d.ts` file: + +```ts +import type { TSESLint } from '@typescript-eslint/utils'; +declare const _default: TSESLint.RuleModule; +export default _default; +``` + +Because we don't import `TSESLint` in most files, it means that TS would have to +insert a new import during the declaration emit to make this work. +However TS wants to avoid adding new imports to the file because a new module +could have type side-effects (like global augmentation) which could cause weird +type side-effects in the decl file that wouldn't exist in source TS file. + +So TS errors on most of our rules with the following error: +``` +The inferred type of 'default' cannot be named without a reference to +'../../../../node_modules/@typescript-eslint/utils/src/ts-eslint/Rule'. +This is likely not portable. A type annotation is necessary. ts(2742) +``` +*/ + +import type { RuleModule } from '@typescript-eslint/utils/ts-eslint'; + +export interface TypeScriptESLintRules { + [ruleName: string]: RuleModule; +} +declare const rules: TypeScriptESLintRules; +export = rules; diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index 3c5e39318b..89642b1944 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": "6.0.0", + "version": "6.1.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -51,10 +51,10 @@ "eslint": "^7.0.0 || ^8.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "6.0.0", - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/scope-manager": "6.1.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4" }, "devDependencies": { @@ -77,5 +77,5 @@ ] } }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/scope-manager/package.json index fb81610898..5a121aa31f 100644 --- a/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "6.0.0", + "version": "6.1.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -44,12 +44,12 @@ "typecheck": "nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0" + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/typescript-estree": "6.0.0", + "@typescript-eslint/typescript-estree": "6.1.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", @@ -69,5 +69,5 @@ ] } }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 9dc4999e35..2000f4e7f1 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": "6.0.0", + "version": "6.1.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -45,13 +45,13 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "6.0.0", - "@typescript-eslint/utils": "6.0.0", + "@typescript-eslint/typescript-estree": "6.1.0", + "@typescript-eslint/utils": "6.1.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, "devDependencies": { - "@typescript-eslint/parser": "6.0.0", + "@typescript-eslint/parser": "6.1.0", "ajv": "^8.12.0", "typescript": "*" }, @@ -74,5 +74,5 @@ ] } }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/types/_ts4.3/dist/generated/ast-spec.d.ts b/node_modules/@typescript-eslint/types/_ts4.3/dist/generated/ast-spec.d.ts deleted file mode 100644 index a9c6fcf304..0000000000 --- a/node_modules/@typescript-eslint/types/_ts4.3/dist/generated/ast-spec.d.ts +++ /dev/null @@ -1,1819 +0,0 @@ -/********************************************** - * DO NOT MODIFY THIS FILE MANUALLY * - * * - * THIS FILE HAS BEEN COPIED FROM ast-spec. * - * ANY CHANGES WILL BE LOST ON THE NEXT BUILD * - * * - * MAKE CHANGES TO ast-spec AND THEN RUN * - * yarn build * - **********************************************/ -import type { SyntaxKind } from 'typescript'; -export declare type Accessibility = 'private' | 'protected' | 'public'; -export declare type AccessorProperty = AccessorPropertyComputedName | AccessorPropertyNonComputedName; -export declare interface AccessorPropertyComputedName extends PropertyDefinitionComputedNameBase { - type: AST_NODE_TYPES.AccessorProperty; -} -export declare interface AccessorPropertyNonComputedName extends PropertyDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.AccessorProperty; -} -export declare interface ArrayExpression extends BaseNode { - type: AST_NODE_TYPES.ArrayExpression; - /** - * an element will be `null` in the case of a sparse array: `[1, ,3]` - */ - elements: (Expression | SpreadElement | null)[]; -} -export declare interface ArrayPattern extends BaseNode { - type: AST_NODE_TYPES.ArrayPattern; - elements: (DestructuringPattern | null)[]; - typeAnnotation: TSTypeAnnotation | undefined; - optional: boolean; - decorators: Decorator[]; -} -export declare interface ArrowFunctionExpression extends BaseNode { - type: AST_NODE_TYPES.ArrowFunctionExpression; - generator: boolean; - id: null; - params: Parameter[]; - body: BlockStatement | Expression; - async: boolean; - expression: boolean; - returnType: TSTypeAnnotation | undefined; - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface AssignmentExpression extends BaseNode { - type: AST_NODE_TYPES.AssignmentExpression; - operator: ValueOf; - left: Expression; - right: Expression; -} -export declare interface AssignmentOperatorToText { - [SyntaxKind.EqualsToken]: '='; - [SyntaxKind.PlusEqualsToken]: '+='; - [SyntaxKind.MinusEqualsToken]: '-='; - [SyntaxKind.AsteriskEqualsToken]: '*='; - [SyntaxKind.AsteriskAsteriskEqualsToken]: '**='; - [SyntaxKind.SlashEqualsToken]: '/='; - [SyntaxKind.PercentEqualsToken]: '%='; - [SyntaxKind.LessThanLessThanEqualsToken]: '<<='; - [SyntaxKind.GreaterThanGreaterThanEqualsToken]: '>>='; - [SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken]: '>>>='; - [SyntaxKind.AmpersandEqualsToken]: '&='; - [SyntaxKind.BarEqualsToken]: '|='; - [SyntaxKind.BarBarEqualsToken]: '||='; - [SyntaxKind.AmpersandAmpersandEqualsToken]: '&&='; - [SyntaxKind.QuestionQuestionEqualsToken]: '??='; - [SyntaxKind.CaretEqualsToken]: '^='; -} -export declare interface AssignmentPattern extends BaseNode { - type: AST_NODE_TYPES.AssignmentPattern; - left: BindingName; - right: Expression; - typeAnnotation: TSTypeAnnotation | undefined; - optional: boolean; - decorators: Decorator[]; -} -export declare enum AST_NODE_TYPES { - AccessorProperty = "AccessorProperty", - ArrayExpression = "ArrayExpression", - ArrayPattern = "ArrayPattern", - ArrowFunctionExpression = "ArrowFunctionExpression", - AssignmentExpression = "AssignmentExpression", - AssignmentPattern = "AssignmentPattern", - AwaitExpression = "AwaitExpression", - BinaryExpression = "BinaryExpression", - BlockStatement = "BlockStatement", - BreakStatement = "BreakStatement", - CallExpression = "CallExpression", - CatchClause = "CatchClause", - ChainExpression = "ChainExpression", - ClassBody = "ClassBody", - ClassDeclaration = "ClassDeclaration", - ClassExpression = "ClassExpression", - ConditionalExpression = "ConditionalExpression", - ContinueStatement = "ContinueStatement", - DebuggerStatement = "DebuggerStatement", - Decorator = "Decorator", - DoWhileStatement = "DoWhileStatement", - EmptyStatement = "EmptyStatement", - ExportAllDeclaration = "ExportAllDeclaration", - ExportDefaultDeclaration = "ExportDefaultDeclaration", - ExportNamedDeclaration = "ExportNamedDeclaration", - ExportSpecifier = "ExportSpecifier", - ExpressionStatement = "ExpressionStatement", - ForInStatement = "ForInStatement", - ForOfStatement = "ForOfStatement", - ForStatement = "ForStatement", - FunctionDeclaration = "FunctionDeclaration", - FunctionExpression = "FunctionExpression", - Identifier = "Identifier", - IfStatement = "IfStatement", - ImportAttribute = "ImportAttribute", - ImportDeclaration = "ImportDeclaration", - ImportDefaultSpecifier = "ImportDefaultSpecifier", - ImportExpression = "ImportExpression", - ImportNamespaceSpecifier = "ImportNamespaceSpecifier", - ImportSpecifier = "ImportSpecifier", - JSXAttribute = "JSXAttribute", - JSXClosingElement = "JSXClosingElement", - JSXClosingFragment = "JSXClosingFragment", - JSXElement = "JSXElement", - JSXEmptyExpression = "JSXEmptyExpression", - JSXExpressionContainer = "JSXExpressionContainer", - JSXFragment = "JSXFragment", - JSXIdentifier = "JSXIdentifier", - JSXMemberExpression = "JSXMemberExpression", - JSXNamespacedName = "JSXNamespacedName", - JSXOpeningElement = "JSXOpeningElement", - JSXOpeningFragment = "JSXOpeningFragment", - JSXSpreadAttribute = "JSXSpreadAttribute", - JSXSpreadChild = "JSXSpreadChild", - JSXText = "JSXText", - LabeledStatement = "LabeledStatement", - Literal = "Literal", - LogicalExpression = "LogicalExpression", - MemberExpression = "MemberExpression", - MetaProperty = "MetaProperty", - MethodDefinition = "MethodDefinition", - NewExpression = "NewExpression", - ObjectExpression = "ObjectExpression", - ObjectPattern = "ObjectPattern", - PrivateIdentifier = "PrivateIdentifier", - Program = "Program", - Property = "Property", - PropertyDefinition = "PropertyDefinition", - RestElement = "RestElement", - ReturnStatement = "ReturnStatement", - SequenceExpression = "SequenceExpression", - SpreadElement = "SpreadElement", - StaticBlock = "StaticBlock", - Super = "Super", - SwitchCase = "SwitchCase", - SwitchStatement = "SwitchStatement", - TaggedTemplateExpression = "TaggedTemplateExpression", - TemplateElement = "TemplateElement", - TemplateLiteral = "TemplateLiteral", - ThisExpression = "ThisExpression", - ThrowStatement = "ThrowStatement", - TryStatement = "TryStatement", - UnaryExpression = "UnaryExpression", - UpdateExpression = "UpdateExpression", - VariableDeclaration = "VariableDeclaration", - VariableDeclarator = "VariableDeclarator", - WhileStatement = "WhileStatement", - WithStatement = "WithStatement", - YieldExpression = "YieldExpression", - /** - * TS-prefixed nodes - */ - TSAbstractAccessorProperty = "TSAbstractAccessorProperty", - TSAbstractKeyword = "TSAbstractKeyword", - TSAbstractMethodDefinition = "TSAbstractMethodDefinition", - TSAbstractPropertyDefinition = "TSAbstractPropertyDefinition", - TSAnyKeyword = "TSAnyKeyword", - TSArrayType = "TSArrayType", - TSAsExpression = "TSAsExpression", - TSAsyncKeyword = "TSAsyncKeyword", - TSBigIntKeyword = "TSBigIntKeyword", - TSBooleanKeyword = "TSBooleanKeyword", - TSCallSignatureDeclaration = "TSCallSignatureDeclaration", - TSClassImplements = "TSClassImplements", - TSConditionalType = "TSConditionalType", - TSConstructorType = "TSConstructorType", - TSConstructSignatureDeclaration = "TSConstructSignatureDeclaration", - TSDeclareFunction = "TSDeclareFunction", - TSDeclareKeyword = "TSDeclareKeyword", - TSEmptyBodyFunctionExpression = "TSEmptyBodyFunctionExpression", - TSEnumDeclaration = "TSEnumDeclaration", - TSEnumMember = "TSEnumMember", - TSExportAssignment = "TSExportAssignment", - TSExportKeyword = "TSExportKeyword", - TSExternalModuleReference = "TSExternalModuleReference", - TSFunctionType = "TSFunctionType", - TSInstantiationExpression = "TSInstantiationExpression", - TSImportEqualsDeclaration = "TSImportEqualsDeclaration", - TSImportType = "TSImportType", - TSIndexedAccessType = "TSIndexedAccessType", - TSIndexSignature = "TSIndexSignature", - TSInferType = "TSInferType", - TSInterfaceBody = "TSInterfaceBody", - TSInterfaceDeclaration = "TSInterfaceDeclaration", - TSInterfaceHeritage = "TSInterfaceHeritage", - TSIntersectionType = "TSIntersectionType", - TSIntrinsicKeyword = "TSIntrinsicKeyword", - TSLiteralType = "TSLiteralType", - TSMappedType = "TSMappedType", - TSMethodSignature = "TSMethodSignature", - TSModuleBlock = "TSModuleBlock", - TSModuleDeclaration = "TSModuleDeclaration", - TSNamedTupleMember = "TSNamedTupleMember", - TSNamespaceExportDeclaration = "TSNamespaceExportDeclaration", - TSNeverKeyword = "TSNeverKeyword", - TSNonNullExpression = "TSNonNullExpression", - TSNullKeyword = "TSNullKeyword", - TSNumberKeyword = "TSNumberKeyword", - TSObjectKeyword = "TSObjectKeyword", - TSOptionalType = "TSOptionalType", - TSParameterProperty = "TSParameterProperty", - TSPrivateKeyword = "TSPrivateKeyword", - TSPropertySignature = "TSPropertySignature", - TSProtectedKeyword = "TSProtectedKeyword", - TSPublicKeyword = "TSPublicKeyword", - TSQualifiedName = "TSQualifiedName", - TSReadonlyKeyword = "TSReadonlyKeyword", - TSRestType = "TSRestType", - TSSatisfiesExpression = "TSSatisfiesExpression", - TSStaticKeyword = "TSStaticKeyword", - TSStringKeyword = "TSStringKeyword", - TSSymbolKeyword = "TSSymbolKeyword", - TSTemplateLiteralType = "TSTemplateLiteralType", - TSThisType = "TSThisType", - TSTupleType = "TSTupleType", - TSTypeAliasDeclaration = "TSTypeAliasDeclaration", - TSTypeAnnotation = "TSTypeAnnotation", - TSTypeAssertion = "TSTypeAssertion", - TSTypeLiteral = "TSTypeLiteral", - TSTypeOperator = "TSTypeOperator", - TSTypeParameter = "TSTypeParameter", - TSTypeParameterDeclaration = "TSTypeParameterDeclaration", - TSTypeParameterInstantiation = "TSTypeParameterInstantiation", - TSTypePredicate = "TSTypePredicate", - TSTypeQuery = "TSTypeQuery", - TSTypeReference = "TSTypeReference", - TSUndefinedKeyword = "TSUndefinedKeyword", - TSUnionType = "TSUnionType", - TSUnknownKeyword = "TSUnknownKeyword", - TSVoidKeyword = "TSVoidKeyword" -} -export declare enum AST_TOKEN_TYPES { - Boolean = "Boolean", - Identifier = "Identifier", - JSXIdentifier = "JSXIdentifier", - JSXText = "JSXText", - Keyword = "Keyword", - Null = "Null", - Numeric = "Numeric", - Punctuator = "Punctuator", - RegularExpression = "RegularExpression", - String = "String", - Template = "Template", - Block = "Block", - Line = "Line" -} -export declare interface AwaitExpression extends BaseNode { - type: AST_NODE_TYPES.AwaitExpression; - argument: Expression; -} -export declare interface BaseNode extends NodeOrTokenData { - type: AST_NODE_TYPES; -} -declare interface BaseToken extends NodeOrTokenData { - type: AST_TOKEN_TYPES; - value: string; -} -export declare interface BigIntLiteral extends LiteralBase { - value: bigint | null; - bigint: string; -} -export declare interface BinaryExpression extends BaseNode { - type: AST_NODE_TYPES.BinaryExpression; - operator: ValueOf; - left: Expression | PrivateIdentifier; - right: Expression; -} -export declare interface BinaryOperatorToText { - [SyntaxKind.InstanceOfKeyword]: 'instanceof'; - [SyntaxKind.InKeyword]: 'in'; - [SyntaxKind.AsteriskAsteriskToken]: '**'; - [SyntaxKind.AsteriskToken]: '*'; - [SyntaxKind.SlashToken]: '/'; - [SyntaxKind.PercentToken]: '%'; - [SyntaxKind.PlusToken]: '+'; - [SyntaxKind.MinusToken]: '-'; - [SyntaxKind.AmpersandToken]: '&'; - [SyntaxKind.BarToken]: '|'; - [SyntaxKind.CaretToken]: '^'; - [SyntaxKind.LessThanLessThanToken]: '<<'; - [SyntaxKind.GreaterThanGreaterThanToken]: '>>'; - [SyntaxKind.GreaterThanGreaterThanGreaterThanToken]: '>>>'; - [SyntaxKind.AmpersandAmpersandToken]: '&&'; - [SyntaxKind.BarBarToken]: '||'; - [SyntaxKind.LessThanToken]: '<'; - [SyntaxKind.LessThanEqualsToken]: '<='; - [SyntaxKind.GreaterThanToken]: '>'; - [SyntaxKind.GreaterThanEqualsToken]: '>='; - [SyntaxKind.EqualsEqualsToken]: '=='; - [SyntaxKind.EqualsEqualsEqualsToken]: '==='; - [SyntaxKind.ExclamationEqualsEqualsToken]: '!=='; - [SyntaxKind.ExclamationEqualsToken]: '!='; -} -export declare type BindingName = BindingPattern | Identifier; -export declare type BindingPattern = ArrayPattern | ObjectPattern; -export declare interface BlockComment extends BaseToken { - type: AST_TOKEN_TYPES.Block; -} -export declare interface BlockStatement extends BaseNode { - type: AST_NODE_TYPES.BlockStatement; - body: Statement[]; -} -export declare interface BooleanLiteral extends LiteralBase { - value: boolean; - raw: 'false' | 'true'; -} -export declare interface BooleanToken extends BaseToken { - type: AST_TOKEN_TYPES.Boolean; -} -export declare interface BreakStatement extends BaseNode { - type: AST_NODE_TYPES.BreakStatement; - label: Identifier | null; -} -export declare interface CallExpression extends BaseNode { - type: AST_NODE_TYPES.CallExpression; - callee: LeftHandSideExpression; - arguments: CallExpressionArgument[]; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; - optional: boolean; -} -export declare type CallExpressionArgument = Expression | SpreadElement; -export declare interface CatchClause extends BaseNode { - type: AST_NODE_TYPES.CatchClause; - param: BindingName | null; - body: BlockStatement; -} -export declare type ChainElement = CallExpression | MemberExpression | TSNonNullExpression; -export declare interface ChainExpression extends BaseNode { - type: AST_NODE_TYPES.ChainExpression; - expression: ChainElement; -} -declare interface ClassBase extends BaseNode { - /** - * Whether the class is an abstract class. - * ``` - * abstract class Foo {...} - * ``` - */ - abstract: boolean; - /** - * The class body. - */ - body: ClassBody; - /** - * Whether the class has been `declare`d: - * ``` - * declare class Foo {...} - * ``` - */ - declare: boolean; - /** - * The decorators declared for the class. - * ``` - * @deco - * class Foo {...} - * ``` - */ - decorators: Decorator[]; - /** - * The class's name. - * - For a `ClassExpression` this may be `null` if the name is omitted. - * - For a `ClassDeclaration` this may be `null` if and only if the parent is - * an `ExportDefaultDeclaration`. - */ - id: Identifier | null; - /** - * The implemented interfaces for the class. - */ - implements: TSClassImplements[]; - /** - * The super class this class extends. - */ - superClass: LeftHandSideExpression | null; - /** - * The generic type parameters passed to the superClass. - */ - superTypeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `superTypeArguments`} instead. */ - superTypeParameters: TSTypeParameterInstantiation | undefined; - /** - * The generic type parameters declared for the class. - */ - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface ClassBody extends BaseNode { - type: AST_NODE_TYPES.ClassBody; - body: ClassElement[]; -} -export declare type ClassDeclaration = ClassDeclarationWithName | ClassDeclarationWithOptionalName; -declare interface ClassDeclarationBase extends ClassBase { - type: AST_NODE_TYPES.ClassDeclaration; -} -export declare interface ClassDeclarationWithName extends ClassDeclarationBase { - id: Identifier; -} -export declare interface ClassDeclarationWithOptionalName extends ClassDeclarationBase { - id: Identifier | null; -} -export declare type ClassElement = AccessorProperty | MethodDefinition | PropertyDefinition | StaticBlock | TSAbstractAccessorProperty | TSAbstractMethodDefinition | TSAbstractPropertyDefinition | TSIndexSignature; -export declare interface ClassExpression extends ClassBase { - type: AST_NODE_TYPES.ClassExpression; - abstract: false; - declare: false; - decorators: [ - ]; -} -declare interface ClassMethodDefinitionNonComputedNameBase extends MethodDefinitionBase { - key: ClassPropertyNameNonComputed; - computed: false; -} -declare interface ClassPropertyDefinitionNonComputedNameBase extends PropertyDefinitionBase { - key: ClassPropertyNameNonComputed; - computed: false; -} -export declare type ClassPropertyNameNonComputed = PrivateIdentifier | PropertyNameNonComputed; -export declare type Comment = BlockComment | LineComment; -export declare interface ConditionalExpression extends BaseNode { - type: AST_NODE_TYPES.ConditionalExpression; - test: Expression; - consequent: Expression; - alternate: Expression; -} -export declare interface ContinueStatement extends BaseNode { - type: AST_NODE_TYPES.ContinueStatement; - label: Identifier | null; -} -export declare interface DebuggerStatement extends BaseNode { - type: AST_NODE_TYPES.DebuggerStatement; -} -export declare type DeclarationStatement = ClassDeclaration | ClassExpression | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | FunctionDeclaration | TSDeclareFunction | TSEnumDeclaration | TSImportEqualsDeclaration | TSInterfaceDeclaration | TSModuleDeclaration | TSNamespaceExportDeclaration | TSTypeAliasDeclaration; -export declare interface Decorator extends BaseNode { - type: AST_NODE_TYPES.Decorator; - expression: LeftHandSideExpression; -} -export declare type DefaultExportDeclarations = ClassDeclarationWithOptionalName | Expression | FunctionDeclarationWithName | FunctionDeclarationWithOptionalName | TSDeclareFunction | TSEnumDeclaration | TSInterfaceDeclaration | TSModuleDeclaration | TSTypeAliasDeclaration | VariableDeclaration; -export declare type DestructuringPattern = ArrayPattern | AssignmentPattern | Identifier | MemberExpression | ObjectPattern | RestElement; -export declare interface DoWhileStatement extends BaseNode { - type: AST_NODE_TYPES.DoWhileStatement; - test: Expression; - body: Statement; -} -export declare interface EmptyStatement extends BaseNode { - type: AST_NODE_TYPES.EmptyStatement; -} -export declare type EntityName = Identifier | ThisExpression | TSQualifiedName; -export declare interface ExportAllDeclaration extends BaseNode { - type: AST_NODE_TYPES.ExportAllDeclaration; - /** - * The assertions declared for the export. - * ``` - * export * from 'mod' assert { type: 'json' }; - * ``` - */ - assertions: ImportAttribute[]; - /** - * The name for the exported items. `null` if no name is assigned. - */ - exported: Identifier | null; - /** - * The kind of the export. - */ - exportKind: ExportKind; - /** - * The source module being exported from. - */ - source: StringLiteral; -} -declare type ExportAndImportKind = 'type' | 'value'; -export declare type ExportDeclaration = DefaultExportDeclarations | NamedExportDeclarations; -export declare interface ExportDefaultDeclaration extends BaseNode { - type: AST_NODE_TYPES.ExportDefaultDeclaration; - /** - * The declaration being exported. - */ - declaration: DefaultExportDeclarations; - /** - * The kind of the export. - */ - exportKind: ExportKind; -} -declare type ExportKind = ExportAndImportKind; -export declare type ExportNamedDeclaration = ExportNamedDeclarationWithoutSourceWithMultiple | ExportNamedDeclarationWithoutSourceWithSingle | ExportNamedDeclarationWithSource; -declare interface ExportNamedDeclarationBase extends BaseNode { - type: AST_NODE_TYPES.ExportNamedDeclaration; - /** - * The assertions declared for the export. - * ``` - * export { foo } from 'mod' assert { type: 'json' }; - * ``` - * This will be an empty array if `source` is `null` - */ - assertions: ImportAttribute[]; - /** - * The exported declaration. - * ``` - * export const x = 1; - * ``` - * This will be `null` if `source` is not `null`, or if there are `specifiers` - */ - declaration: NamedExportDeclarations | null; - /** - * The kind of the export. - */ - exportKind: ExportKind; - /** - * The source module being exported from. - */ - source: StringLiteral | null; - /** - * The specifiers being exported. - * ``` - * export { a, b }; - * ``` - * This will be an empty array if `declaration` is not `null` - */ - specifiers: ExportSpecifier[]; -} -export declare interface ExportNamedDeclarationWithoutSourceWithMultiple extends ExportNamedDeclarationBase { - assertions: ImportAttribute[]; - declaration: null; - source: null; - specifiers: ExportSpecifier[]; -} -export declare interface ExportNamedDeclarationWithoutSourceWithSingle extends ExportNamedDeclarationBase { - assertions: ImportAttribute[]; - declaration: NamedExportDeclarations; - source: null; - specifiers: ExportSpecifier[]; -} -export declare interface ExportNamedDeclarationWithSource extends ExportNamedDeclarationBase { - assertions: ImportAttribute[]; - declaration: null; - source: StringLiteral; - specifiers: ExportSpecifier[]; -} -export declare interface ExportSpecifier extends BaseNode { - type: AST_NODE_TYPES.ExportSpecifier; - local: Identifier; - exported: Identifier; - exportKind: ExportKind; -} -export declare type Expression = ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | CallExpression | ChainExpression | ClassExpression | ConditionalExpression | FunctionExpression | Identifier | ImportExpression | JSXElement | JSXFragment | LiteralExpression | LogicalExpression | MemberExpression | MetaProperty | NewExpression | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | TemplateLiteral | ThisExpression | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | UnaryExpression | UpdateExpression | YieldExpression; -export declare interface ExpressionStatement extends BaseNode { - type: AST_NODE_TYPES.ExpressionStatement; - expression: Expression; - directive: string | undefined; -} -export declare type ForInitialiser = Expression | VariableDeclaration; -export declare interface ForInStatement extends BaseNode { - type: AST_NODE_TYPES.ForInStatement; - left: ForInitialiser; - right: Expression; - body: Statement; -} -export declare interface ForOfStatement extends BaseNode { - type: AST_NODE_TYPES.ForOfStatement; - left: ForInitialiser; - right: Expression; - body: Statement; - await: boolean; -} -export declare interface ForStatement extends BaseNode { - type: AST_NODE_TYPES.ForStatement; - init: Expression | ForInitialiser | null; - test: Expression | null; - update: Expression | null; - body: Statement; -} -declare interface FunctionBase extends BaseNode { - /** - * Whether the function is async: - * ``` - * async function foo(...) {...} - * const x = async function (...) {...} - * const x = async (...) => {...} - * ``` - */ - async: boolean; - /** - * The body of the function. - * - For an `ArrowFunctionExpression` this may be an `Expression` or `BlockStatement`. - * - For a `FunctionDeclaration` or `FunctionExpression` this is always a `BlockStatement. - * - For a `TSDeclareFunction` this is always `undefined`. - * - For a `TSEmptyBodyFunctionExpression` this is always `null`. - */ - body: BlockStatement | Expression | null | undefined; - /** - * This is only `true` if and only if the node is a `TSDeclareFunction` and it has `declare`: - * ``` - * declare function foo(...) {...} - * ``` - */ - declare: boolean; - /** - * This is only ever `true` if and only the node is an `ArrowFunctionExpression` and the body - * is an expression: - * ``` - * (() => 1) - * ``` - */ - expression: boolean; - /** - * Whether the function is a generator function: - * ``` - * function *foo(...) {...} - * const x = function *(...) {...} - * ``` - * This is always `false` for arrow functions as they cannot be generators. - */ - generator: boolean; - /** - * The function's name. - * - For an `ArrowFunctionExpression` this is always `null`. - * - For a `FunctionExpression` this may be `null` if the name is omitted. - * - For a `FunctionDeclaration` or `TSDeclareFunction` this may be `null` if - * and only if the parent is an `ExportDefaultDeclaration`. - */ - id: Identifier | null; - /** - * The list of parameters declared for the function. - */ - params: Parameter[]; - /** - * The return type annotation for the function. - */ - returnType: TSTypeAnnotation | undefined; - /** - * The generic type parameter declaration for the function. - */ - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare type FunctionDeclaration = FunctionDeclarationWithName | FunctionDeclarationWithOptionalName; -declare interface FunctionDeclarationBase extends FunctionBase { - type: AST_NODE_TYPES.FunctionDeclaration; - body: BlockStatement; - declare: false; - expression: false; -} -export declare interface FunctionDeclarationWithName extends FunctionDeclarationBase { - id: Identifier; -} -export declare interface FunctionDeclarationWithOptionalName extends FunctionDeclarationBase { - id: Identifier | null; -} -export declare interface FunctionExpression extends FunctionBase { - type: AST_NODE_TYPES.FunctionExpression; - body: BlockStatement; - expression: false; -} -export declare type FunctionLike = ArrowFunctionExpression | FunctionDeclaration | FunctionExpression | TSDeclareFunction | TSEmptyBodyFunctionExpression; -export declare interface Identifier extends BaseNode { - type: AST_NODE_TYPES.Identifier; - name: string; - typeAnnotation: TSTypeAnnotation | undefined; - optional: boolean; - decorators: Decorator[]; -} -export declare interface IdentifierToken extends BaseToken { - type: AST_TOKEN_TYPES.Identifier; -} -export declare interface IfStatement extends BaseNode { - type: AST_NODE_TYPES.IfStatement; - test: Expression; - consequent: Statement; - alternate: Statement | null; -} -export declare interface ImportAttribute extends BaseNode { - type: AST_NODE_TYPES.ImportAttribute; - key: Identifier | Literal; - value: Literal; -} -export declare type ImportClause = ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier; -export declare interface ImportDeclaration extends BaseNode { - type: AST_NODE_TYPES.ImportDeclaration; - /** - * The assertions declared for the export. - * ``` - * import * from 'mod' assert { type: 'json' }; - * ``` - */ - assertions: ImportAttribute[]; - /** - * The kind of the import. - */ - importKind: ImportKind; - /** - * The source module being imported from. - */ - source: StringLiteral; - /** - * The specifiers being imported. - * If this is an empty array then either there are no specifiers: - * ``` - * import {} from 'mod'; - * ``` - * Or it is a side-effect import: - * ``` - * import 'mod'; - * ``` - */ - specifiers: ImportClause[]; -} -export declare interface ImportDefaultSpecifier extends BaseNode { - type: AST_NODE_TYPES.ImportDefaultSpecifier; - local: Identifier; -} -export declare interface ImportExpression extends BaseNode { - type: AST_NODE_TYPES.ImportExpression; - source: Expression; - attributes: Expression | null; -} -declare type ImportKind = ExportAndImportKind; -export declare interface ImportNamespaceSpecifier extends BaseNode { - type: AST_NODE_TYPES.ImportNamespaceSpecifier; - local: Identifier; -} -export declare interface ImportSpecifier extends BaseNode { - type: AST_NODE_TYPES.ImportSpecifier; - local: Identifier; - imported: Identifier; - importKind: ImportKind; -} -export declare type IterationStatement = DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | WhileStatement; -export declare interface JSXAttribute extends BaseNode { - type: AST_NODE_TYPES.JSXAttribute; - name: JSXIdentifier | JSXNamespacedName; - value: JSXExpression | Literal | null; -} -export declare type JSXChild = JSXElement | JSXExpression | JSXFragment | JSXText; -export declare interface JSXClosingElement extends BaseNode { - type: AST_NODE_TYPES.JSXClosingElement; - name: JSXTagNameExpression; -} -export declare interface JSXClosingFragment extends BaseNode { - type: AST_NODE_TYPES.JSXClosingFragment; -} -export declare interface JSXElement extends BaseNode { - type: AST_NODE_TYPES.JSXElement; - openingElement: JSXOpeningElement; - closingElement: JSXClosingElement | null; - children: JSXChild[]; -} -export declare interface JSXEmptyExpression extends BaseNode { - type: AST_NODE_TYPES.JSXEmptyExpression; -} -export declare type JSXExpression = JSXExpressionContainer | JSXSpreadChild; -export declare interface JSXExpressionContainer extends BaseNode { - type: AST_NODE_TYPES.JSXExpressionContainer; - expression: Expression | JSXEmptyExpression; -} -export declare interface JSXFragment extends BaseNode { - type: AST_NODE_TYPES.JSXFragment; - openingFragment: JSXOpeningFragment; - closingFragment: JSXClosingFragment; - children: JSXChild[]; -} -export declare interface JSXIdentifier extends BaseNode { - type: AST_NODE_TYPES.JSXIdentifier; - name: string; -} -export declare interface JSXIdentifierToken extends BaseToken { - type: AST_TOKEN_TYPES.JSXIdentifier; -} -export declare interface JSXMemberExpression extends BaseNode { - type: AST_NODE_TYPES.JSXMemberExpression; - object: JSXTagNameExpression; - property: JSXIdentifier; -} -export declare interface JSXNamespacedName extends BaseNode { - type: AST_NODE_TYPES.JSXNamespacedName; - namespace: JSXIdentifier; - name: JSXIdentifier; -} -export declare interface JSXOpeningElement extends BaseNode { - type: AST_NODE_TYPES.JSXOpeningElement; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; - selfClosing: boolean; - name: JSXTagNameExpression; - attributes: (JSXAttribute | JSXSpreadAttribute)[]; -} -export declare interface JSXOpeningFragment extends BaseNode { - type: AST_NODE_TYPES.JSXOpeningFragment; -} -export declare interface JSXSpreadAttribute extends BaseNode { - type: AST_NODE_TYPES.JSXSpreadAttribute; - argument: Expression; -} -export declare interface JSXSpreadChild extends BaseNode { - type: AST_NODE_TYPES.JSXSpreadChild; - expression: Expression | JSXEmptyExpression; -} -export declare type JSXTagNameExpression = JSXIdentifier | JSXMemberExpression | JSXNamespacedName; -export declare interface JSXText extends BaseNode { - type: AST_NODE_TYPES.JSXText; - value: string; - raw: string; -} -export declare interface JSXTextToken extends BaseToken { - type: AST_TOKEN_TYPES.JSXText; -} -export declare interface KeywordToken extends BaseToken { - type: AST_TOKEN_TYPES.Keyword; -} -export declare interface LabeledStatement extends BaseNode { - type: AST_NODE_TYPES.LabeledStatement; - label: Identifier; - body: Statement; -} -export declare type LeftHandSideExpression = ArrayExpression | ArrayPattern | ArrowFunctionExpression | CallExpression | ClassExpression | FunctionExpression | Identifier | JSXElement | JSXFragment | LiteralExpression | MemberExpression | MetaProperty | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSNonNullExpression | TSTypeAssertion; -export declare interface LineComment extends BaseToken { - type: AST_TOKEN_TYPES.Line; -} -export declare type Literal = BigIntLiteral | BooleanLiteral | NullLiteral | NumberLiteral | RegExpLiteral | StringLiteral; -declare interface LiteralBase extends BaseNode { - type: AST_NODE_TYPES.Literal; - raw: string; - value: RegExp | bigint | boolean | number | string | null; -} -export declare type LiteralExpression = Literal | TemplateLiteral; -export declare interface LogicalExpression extends BaseNode { - type: AST_NODE_TYPES.LogicalExpression; - operator: '??' | '&&' | '||'; - left: Expression; - right: Expression; -} -export declare type MemberExpression = MemberExpressionComputedName | MemberExpressionNonComputedName; -declare interface MemberExpressionBase extends BaseNode { - object: Expression; - property: Expression | Identifier | PrivateIdentifier; - computed: boolean; - optional: boolean; -} -export declare interface MemberExpressionComputedName extends MemberExpressionBase { - type: AST_NODE_TYPES.MemberExpression; - property: Expression; - computed: true; -} -export declare interface MemberExpressionNonComputedName extends MemberExpressionBase { - type: AST_NODE_TYPES.MemberExpression; - property: Identifier | PrivateIdentifier; - computed: false; -} -export declare interface MetaProperty extends BaseNode { - type: AST_NODE_TYPES.MetaProperty; - meta: Identifier; - property: Identifier; -} -export declare type MethodDefinition = MethodDefinitionComputedName | MethodDefinitionNonComputedName; -/** this should not be directly used - instead use MethodDefinitionComputedNameBase or MethodDefinitionNonComputedNameBase */ -declare interface MethodDefinitionBase extends BaseNode { - key: PropertyName; - value: FunctionExpression | TSEmptyBodyFunctionExpression; - computed: boolean; - static: boolean; - kind: 'constructor' | 'get' | 'method' | 'set'; - optional: boolean; - decorators: Decorator[]; - accessibility: Accessibility | undefined; - override: boolean; -} -export declare interface MethodDefinitionComputedName extends MethodDefinitionComputedNameBase { - type: AST_NODE_TYPES.MethodDefinition; -} -declare interface MethodDefinitionComputedNameBase extends MethodDefinitionBase { - key: PropertyNameComputed; - computed: true; -} -export declare interface MethodDefinitionNonComputedName extends ClassMethodDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.MethodDefinition; -} -declare interface MethodDefinitionNonComputedNameBase extends MethodDefinitionBase { - key: PropertyNameNonComputed; - computed: false; -} -export declare type NamedExportDeclarations = ClassDeclarationWithName | ClassDeclarationWithOptionalName | FunctionDeclarationWithName | FunctionDeclarationWithOptionalName | TSDeclareFunction | TSEnumDeclaration | TSImportEqualsDeclaration | TSInterfaceDeclaration | TSModuleDeclaration | TSTypeAliasDeclaration | VariableDeclaration; -export declare interface NewExpression extends BaseNode { - type: AST_NODE_TYPES.NewExpression; - callee: LeftHandSideExpression; - arguments: CallExpressionArgument[]; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; -} -export declare type Node = AccessorProperty | ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BlockStatement | BreakStatement | CallExpression | CatchClause | ChainExpression | ClassBody | ClassDeclaration | ClassExpression | ConditionalExpression | ContinueStatement | DebuggerStatement | Decorator | DoWhileStatement | EmptyStatement | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportSpecifier | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LabeledStatement | Literal | LogicalExpression | MemberExpression | MetaProperty | MethodDefinition | NewExpression | ObjectExpression | ObjectPattern | PrivateIdentifier | Program | Property | PropertyDefinition | RestElement | ReturnStatement | SequenceExpression | SpreadElement | StaticBlock | Super | SwitchCase | SwitchStatement | TaggedTemplateExpression | TemplateElement | TemplateLiteral | ThisExpression | ThrowStatement | TryStatement | TSAbstractAccessorProperty | TSAbstractKeyword | TSAbstractMethodDefinition | TSAbstractPropertyDefinition | TSAnyKeyword | TSArrayType | TSAsExpression | TSAsyncKeyword | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSClassImplements | TSConditionalType | TSConstructorType | TSConstructSignatureDeclaration | TSDeclareFunction | TSDeclareKeyword | TSEmptyBodyFunctionExpression | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExportKeyword | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexedAccessType | TSIndexSignature | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSInterfaceHeritage | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSPrivateKeyword | TSPropertySignature | TSProtectedKeyword | TSPublicKeyword | TSQualifiedName | TSReadonlyKeyword | TSRestType | TSSatisfiesExpression | TSStaticKeyword | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; -export declare interface NodeOrTokenData { - /** - * The source location information of the node. - * - * The loc property is defined as nullable by ESTree, but ESLint requires this property. - * - * @see {SourceLocation} - */ - loc: SourceLocation; - /** - * @see {Range} - */ - range: Range; - type: string; -} -export declare interface NullLiteral extends LiteralBase { - value: null; - raw: 'null'; -} -export declare interface NullToken extends BaseToken { - type: AST_TOKEN_TYPES.Null; -} -export declare interface NumberLiteral extends LiteralBase { - value: number; -} -export declare interface NumericToken extends BaseToken { - type: AST_TOKEN_TYPES.Numeric; -} -export declare interface ObjectExpression extends BaseNode { - type: AST_NODE_TYPES.ObjectExpression; - properties: ObjectLiteralElement[]; -} -export declare type ObjectLiteralElement = Property | SpreadElement; -export declare type ObjectLiteralElementLike = ObjectLiteralElement; -export declare interface ObjectPattern extends BaseNode { - type: AST_NODE_TYPES.ObjectPattern; - properties: (Property | RestElement)[]; - typeAnnotation: TSTypeAnnotation | undefined; - optional: boolean; - decorators: Decorator[]; -} -export declare type OptionalRangeAndLoc = Pick> & { - range?: Range; - loc?: SourceLocation; -}; -export declare type Parameter = ArrayPattern | AssignmentPattern | Identifier | ObjectPattern | RestElement | TSParameterProperty; -export declare interface Position { - /** - * Line number (1-indexed) - */ - line: number; - /** - * Column number on the line (0-indexed) - */ - column: number; -} -export declare type PrimaryExpression = ArrayExpression | ArrayPattern | ClassExpression | FunctionExpression | Identifier | JSXElement | JSXFragment | JSXOpeningElement | LiteralExpression | MetaProperty | ObjectExpression | ObjectPattern | Super | TemplateLiteral | ThisExpression | TSNullKeyword; -export declare interface PrivateIdentifier extends BaseNode { - type: AST_NODE_TYPES.PrivateIdentifier; - name: string; -} -export declare interface Program extends NodeOrTokenData { - type: AST_NODE_TYPES.Program; - body: ProgramStatement[]; - sourceType: 'module' | 'script'; - comments: Comment[] | undefined; - tokens: Token[] | undefined; -} -export declare type ProgramStatement = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | Statement | TSImportEqualsDeclaration | TSNamespaceExportDeclaration; -export declare type Property = PropertyComputedName | PropertyNonComputedName; -declare interface PropertyBase extends BaseNode { - type: AST_NODE_TYPES.Property; - key: PropertyName; - value: AssignmentPattern | BindingName | Expression | TSEmptyBodyFunctionExpression; - computed: boolean; - method: boolean; - shorthand: boolean; - optional: boolean; - kind: 'get' | 'init' | 'set'; -} -export declare interface PropertyComputedName extends PropertyBase { - key: PropertyNameComputed; - computed: true; -} -export declare type PropertyDefinition = PropertyDefinitionComputedName | PropertyDefinitionNonComputedName; -declare interface PropertyDefinitionBase extends BaseNode { - key: PropertyName; - value: Expression | null; - computed: boolean; - static: boolean; - declare: boolean; - readonly: boolean; - decorators: Decorator[]; - accessibility: Accessibility | undefined; - optional: boolean; - definite: boolean; - typeAnnotation: TSTypeAnnotation | undefined; - override: boolean; -} -export declare interface PropertyDefinitionComputedName extends PropertyDefinitionComputedNameBase { - type: AST_NODE_TYPES.PropertyDefinition; -} -declare interface PropertyDefinitionComputedNameBase extends PropertyDefinitionBase { - key: PropertyNameComputed; - computed: true; -} -export declare interface PropertyDefinitionNonComputedName extends ClassPropertyDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.PropertyDefinition; -} -declare interface PropertyDefinitionNonComputedNameBase extends PropertyDefinitionBase { - key: PropertyNameNonComputed; - computed: false; -} -export declare type PropertyName = ClassPropertyNameNonComputed | PropertyNameComputed | PropertyNameNonComputed; -export declare type PropertyNameComputed = Expression; -export declare type PropertyNameNonComputed = Identifier | NumberLiteral | StringLiteral; -export declare interface PropertyNonComputedName extends PropertyBase { - key: PropertyNameNonComputed; - computed: false; -} -export declare interface PunctuatorToken extends BaseToken { - type: AST_TOKEN_TYPES.Punctuator; - value: ValueOf; -} -export declare interface PunctuatorTokenToText extends AssignmentOperatorToText { - [SyntaxKind.OpenBraceToken]: '{'; - [SyntaxKind.CloseBraceToken]: '}'; - [SyntaxKind.OpenParenToken]: '('; - [SyntaxKind.CloseParenToken]: ')'; - [SyntaxKind.OpenBracketToken]: '['; - [SyntaxKind.CloseBracketToken]: ']'; - [SyntaxKind.DotToken]: '.'; - [SyntaxKind.DotDotDotToken]: '...'; - [SyntaxKind.SemicolonToken]: ';'; - [SyntaxKind.CommaToken]: ','; - [SyntaxKind.QuestionDotToken]: '?.'; - [SyntaxKind.LessThanToken]: '<'; - [SyntaxKind.LessThanSlashToken]: ''; - [SyntaxKind.LessThanEqualsToken]: '<='; - [SyntaxKind.GreaterThanEqualsToken]: '>='; - [SyntaxKind.EqualsEqualsToken]: '=='; - [SyntaxKind.ExclamationEqualsToken]: '!='; - [SyntaxKind.EqualsEqualsEqualsToken]: '==='; - [SyntaxKind.ExclamationEqualsEqualsToken]: '!=='; - [SyntaxKind.EqualsGreaterThanToken]: '=>'; - [SyntaxKind.PlusToken]: '+'; - [SyntaxKind.MinusToken]: '-'; - [SyntaxKind.AsteriskToken]: '*'; - [SyntaxKind.AsteriskAsteriskToken]: '**'; - [SyntaxKind.SlashToken]: '/'; - [SyntaxKind.PercentToken]: '%'; - [SyntaxKind.PlusPlusToken]: '++'; - [SyntaxKind.MinusMinusToken]: '--'; - [SyntaxKind.LessThanLessThanToken]: '<<'; - [SyntaxKind.GreaterThanGreaterThanToken]: '>>'; - [SyntaxKind.GreaterThanGreaterThanGreaterThanToken]: '>>>'; - [SyntaxKind.AmpersandToken]: '&'; - [SyntaxKind.BarToken]: '|'; - [SyntaxKind.CaretToken]: '^'; - [SyntaxKind.ExclamationToken]: '!'; - [SyntaxKind.TildeToken]: '~'; - [SyntaxKind.AmpersandAmpersandToken]: '&&'; - [SyntaxKind.BarBarToken]: '||'; - [SyntaxKind.QuestionToken]: '?'; - [SyntaxKind.ColonToken]: ':'; - [SyntaxKind.AtToken]: '@'; - [SyntaxKind.QuestionQuestionToken]: '??'; - [SyntaxKind.BacktickToken]: '`'; - [SyntaxKind.HashToken]: '#'; -} -/** - * An array of two numbers. - * Both numbers are a 0-based index which is the position in the array of source code characters. - * The first is the start position of the node, the second is the end position of the node. - */ -export declare type Range = [ - number, - number -]; -export declare interface RegExpLiteral extends LiteralBase { - value: RegExp | null; - regex: { - pattern: string; - flags: string; - }; -} -export declare interface RegularExpressionToken extends BaseToken { - type: AST_TOKEN_TYPES.RegularExpression; - regex: { - pattern: string; - flags: string; - }; -} -export declare interface RestElement extends BaseNode { - type: AST_NODE_TYPES.RestElement; - argument: DestructuringPattern; - typeAnnotation: TSTypeAnnotation | undefined; - optional: boolean; - value: AssignmentPattern | undefined; - decorators: Decorator[]; -} -export declare interface ReturnStatement extends BaseNode { - type: AST_NODE_TYPES.ReturnStatement; - argument: Expression | null; -} -export declare interface SequenceExpression extends BaseNode { - type: AST_NODE_TYPES.SequenceExpression; - expressions: Expression[]; -} -export declare interface SourceLocation { - /** - * The position of the first character of the parsed source region - */ - start: Position; - /** - * The position of the first character after the parsed source region - */ - end: Position; -} -export declare interface SpreadElement extends BaseNode { - type: AST_NODE_TYPES.SpreadElement; - argument: Expression; -} -export declare type Statement = BlockStatement | BreakStatement | ClassDeclarationWithName | ContinueStatement | DebuggerStatement | DoWhileStatement | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | FunctionDeclarationWithName | IfStatement | ImportDeclaration | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | TSDeclareFunction | TSEnumDeclaration | TSExportAssignment | TSImportEqualsDeclaration | TSInterfaceDeclaration | TSModuleDeclaration | TSNamespaceExportDeclaration | TSTypeAliasDeclaration | VariableDeclaration | WhileStatement | WithStatement; -export declare interface StaticBlock extends BaseNode { - type: AST_NODE_TYPES.StaticBlock; - body: Statement[]; -} -export declare interface StringLiteral extends LiteralBase { - value: string; -} -export declare interface StringToken extends BaseToken { - type: AST_TOKEN_TYPES.String; -} -export declare interface Super extends BaseNode { - type: AST_NODE_TYPES.Super; -} -export declare interface SwitchCase extends BaseNode { - type: AST_NODE_TYPES.SwitchCase; - test: Expression | null; - consequent: Statement[]; -} -export declare interface SwitchStatement extends BaseNode { - type: AST_NODE_TYPES.SwitchStatement; - discriminant: Expression; - cases: SwitchCase[]; -} -export declare interface TaggedTemplateExpression extends BaseNode { - type: AST_NODE_TYPES.TaggedTemplateExpression; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; - tag: LeftHandSideExpression; - quasi: TemplateLiteral; -} -export declare interface TemplateElement extends BaseNode { - type: AST_NODE_TYPES.TemplateElement; - value: { - raw: string; - cooked: string; - }; - tail: boolean; -} -export declare interface TemplateLiteral extends BaseNode { - type: AST_NODE_TYPES.TemplateLiteral; - quasis: TemplateElement[]; - expressions: Expression[]; -} -export declare interface TemplateToken extends BaseToken { - type: AST_TOKEN_TYPES.Template; -} -export declare interface ThisExpression extends BaseNode { - type: AST_NODE_TYPES.ThisExpression; -} -export declare interface ThrowStatement extends BaseNode { - type: AST_NODE_TYPES.ThrowStatement; - argument: Statement | TSAsExpression | null; -} -export declare type Token = BooleanToken | Comment | IdentifierToken | JSXIdentifierToken | JSXTextToken | KeywordToken | NullToken | NumericToken | PunctuatorToken | RegularExpressionToken | StringToken | TemplateToken; -export declare interface TryStatement extends BaseNode { - type: AST_NODE_TYPES.TryStatement; - block: BlockStatement; - handler: CatchClause | null; - finalizer: BlockStatement | null; -} -export declare type TSAbstractAccessorProperty = TSAbstractAccessorPropertyComputedName | TSAbstractAccessorPropertyNonComputedName; -export declare interface TSAbstractAccessorPropertyComputedName extends PropertyDefinitionComputedNameBase { - type: AST_NODE_TYPES.TSAbstractAccessorProperty; - value: null; -} -export declare interface TSAbstractAccessorPropertyNonComputedName extends PropertyDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.TSAbstractAccessorProperty; - value: null; -} -export declare interface TSAbstractKeyword extends BaseNode { - type: AST_NODE_TYPES.TSAbstractKeyword; -} -export declare type TSAbstractMethodDefinition = TSAbstractMethodDefinitionComputedName | TSAbstractMethodDefinitionNonComputedName; -export declare interface TSAbstractMethodDefinitionComputedName extends MethodDefinitionComputedNameBase { - type: AST_NODE_TYPES.TSAbstractMethodDefinition; -} -export declare interface TSAbstractMethodDefinitionNonComputedName extends MethodDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.TSAbstractMethodDefinition; -} -export declare type TSAbstractPropertyDefinition = TSAbstractPropertyDefinitionComputedName | TSAbstractPropertyDefinitionNonComputedName; -export declare interface TSAbstractPropertyDefinitionComputedName extends PropertyDefinitionComputedNameBase { - type: AST_NODE_TYPES.TSAbstractPropertyDefinition; - value: null; -} -export declare interface TSAbstractPropertyDefinitionNonComputedName extends PropertyDefinitionNonComputedNameBase { - type: AST_NODE_TYPES.TSAbstractPropertyDefinition; - value: null; -} -export declare interface TSAnyKeyword extends BaseNode { - type: AST_NODE_TYPES.TSAnyKeyword; -} -export declare interface TSArrayType extends BaseNode { - type: AST_NODE_TYPES.TSArrayType; - elementType: TypeNode; -} -export declare interface TSAsExpression extends BaseNode { - type: AST_NODE_TYPES.TSAsExpression; - expression: Expression; - typeAnnotation: TypeNode; -} -export declare interface TSAsyncKeyword extends BaseNode { - type: AST_NODE_TYPES.TSAsyncKeyword; -} -export declare interface TSBigIntKeyword extends BaseNode { - type: AST_NODE_TYPES.TSBigIntKeyword; -} -export declare interface TSBooleanKeyword extends BaseNode { - type: AST_NODE_TYPES.TSBooleanKeyword; -} -export declare interface TSCallSignatureDeclaration extends TSFunctionSignatureBase { - type: AST_NODE_TYPES.TSCallSignatureDeclaration; -} -export declare interface TSClassImplements extends TSHeritageBase { - type: AST_NODE_TYPES.TSClassImplements; -} -export declare interface TSConditionalType extends BaseNode { - type: AST_NODE_TYPES.TSConditionalType; - checkType: TypeNode; - extendsType: TypeNode; - trueType: TypeNode; - falseType: TypeNode; -} -export declare interface TSConstructorType extends TSFunctionSignatureBase { - type: AST_NODE_TYPES.TSConstructorType; - abstract: boolean; -} -export declare interface TSConstructSignatureDeclaration extends TSFunctionSignatureBase { - type: AST_NODE_TYPES.TSConstructSignatureDeclaration; -} -export declare interface TSDeclareFunction extends FunctionBase { - type: AST_NODE_TYPES.TSDeclareFunction; - body: BlockStatement | undefined; - declare: boolean; - expression: false; -} -export declare interface TSDeclareKeyword extends BaseNode { - type: AST_NODE_TYPES.TSDeclareKeyword; -} -export declare interface TSEmptyBodyFunctionExpression extends FunctionBase { - type: AST_NODE_TYPES.TSEmptyBodyFunctionExpression; - body: null; - id: null; -} -export declare interface TSEnumDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSEnumDeclaration; - /** - * Whether this is a `const` enum. - * ``` - * const enum Foo {...} - * ``` - */ - const: boolean; - /** - * Whether this is a `declare`d enum. - * ``` - * declare enum Foo {...} - * ``` - */ - declare: boolean; - /** - * The enum name. - */ - id: Identifier; - /** - * The enum members. - */ - members: TSEnumMember[]; -} -export declare type TSEnumMember = TSEnumMemberComputedName | TSEnumMemberNonComputedName; -declare interface TSEnumMemberBase extends BaseNode { - type: AST_NODE_TYPES.TSEnumMember; - id: PropertyNameComputed | PropertyNameNonComputed; - initializer: Expression | undefined; - computed: boolean; -} -/** - * this should only really happen in semantically invalid code (errors 1164 and 2452) - * - * VALID: - * enum Foo { ['a'] } - * - * INVALID: - * const x = 'a'; - * enum Foo { [x] } - * enum Bar { ['a' + 'b'] } - */ -export declare interface TSEnumMemberComputedName extends TSEnumMemberBase { - id: PropertyNameComputed; - computed: true; -} -export declare interface TSEnumMemberNonComputedName extends TSEnumMemberBase { - id: PropertyNameNonComputed; - computed: false; -} -export declare interface TSExportAssignment extends BaseNode { - type: AST_NODE_TYPES.TSExportAssignment; - expression: Expression; -} -export declare interface TSExportKeyword extends BaseNode { - type: AST_NODE_TYPES.TSExportKeyword; -} -export declare interface TSExternalModuleReference extends BaseNode { - type: AST_NODE_TYPES.TSExternalModuleReference; - expression: Expression; -} -declare interface TSFunctionSignatureBase extends BaseNode { - params: Parameter[]; - returnType: TSTypeAnnotation | undefined; - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface TSFunctionType extends TSFunctionSignatureBase { - type: AST_NODE_TYPES.TSFunctionType; -} -declare interface TSHeritageBase extends BaseNode { - expression: Expression; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; -} -export declare interface TSImportEqualsDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSImportEqualsDeclaration; - /** - * The locally imported name - */ - id: Identifier; - /** - * The value being aliased. - * ``` - * import F1 = A; - * import F2 = A.B.C; - * import F3 = require('mod'); - * ``` - */ - moduleReference: EntityName | TSExternalModuleReference; - importKind: ImportKind; -} -export declare interface TSImportType extends BaseNode { - type: AST_NODE_TYPES.TSImportType; - argument: TypeNode; - qualifier: EntityName | null; - typeArguments: TSTypeParameterInstantiation | null; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | null; -} -export declare interface TSIndexedAccessType extends BaseNode { - type: AST_NODE_TYPES.TSIndexedAccessType; - objectType: TypeNode; - indexType: TypeNode; -} -export declare interface TSIndexSignature extends BaseNode { - type: AST_NODE_TYPES.TSIndexSignature; - parameters: Parameter[]; - typeAnnotation: TSTypeAnnotation | undefined; - readonly: boolean; - accessibility: Accessibility | undefined; - static: boolean; -} -export declare interface TSInferType extends BaseNode { - type: AST_NODE_TYPES.TSInferType; - typeParameter: TSTypeParameter; -} -export declare interface TSInstantiationExpression extends BaseNode { - type: AST_NODE_TYPES.TSInstantiationExpression; - expression: Expression; - typeArguments: TSTypeParameterInstantiation; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters?: TSTypeParameterInstantiation; -} -export declare interface TSInterfaceBody extends BaseNode { - type: AST_NODE_TYPES.TSInterfaceBody; - body: TypeElement[]; -} -export declare interface TSInterfaceDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSInterfaceDeclaration; - /** - * The body of the interface - */ - body: TSInterfaceBody; - /** - * Whether the interface was `declare`d, `undefined` otherwise - */ - declare: boolean; - /** - * The types this interface `extends` - */ - extends: TSInterfaceHeritage[]; - /** - * The name of this interface - */ - id: Identifier; - /** - * The generic type parameters declared for the interface. - */ - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface TSInterfaceHeritage extends TSHeritageBase { - type: AST_NODE_TYPES.TSInterfaceHeritage; -} -export declare interface TSIntersectionType extends BaseNode { - type: AST_NODE_TYPES.TSIntersectionType; - types: TypeNode[]; -} -export declare interface TSIntrinsicKeyword extends BaseNode { - type: AST_NODE_TYPES.TSIntrinsicKeyword; -} -export declare interface TSLiteralType extends BaseNode { - type: AST_NODE_TYPES.TSLiteralType; - literal: LiteralExpression | UnaryExpression | UpdateExpression; -} -export declare interface TSMappedType extends BaseNode { - type: AST_NODE_TYPES.TSMappedType; - typeParameter: TSTypeParameter; - readonly: boolean | '-' | '+' | undefined; - optional: boolean | '-' | '+' | undefined; - typeAnnotation: TypeNode | undefined; - nameType: TypeNode | null; -} -export declare type TSMethodSignature = TSMethodSignatureComputedName | TSMethodSignatureNonComputedName; -declare interface TSMethodSignatureBase extends BaseNode { - type: AST_NODE_TYPES.TSMethodSignature; - accessibility: Accessibility | undefined; - computed: boolean; - key: PropertyName; - kind: 'get' | 'method' | 'set'; - optional: boolean; - params: Parameter[]; - readonly: boolean; - returnType: TSTypeAnnotation | undefined; - static: boolean; - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface TSMethodSignatureComputedName extends TSMethodSignatureBase { - key: PropertyNameComputed; - computed: true; -} -export declare interface TSMethodSignatureNonComputedName extends TSMethodSignatureBase { - key: PropertyNameNonComputed; - computed: false; -} -export declare interface TSModuleBlock extends BaseNode { - type: AST_NODE_TYPES.TSModuleBlock; - body: ProgramStatement[]; -} -export declare type TSModuleDeclaration = TSModuleDeclarationGlobal | TSModuleDeclarationModule | TSModuleDeclarationNamespace; -declare interface TSModuleDeclarationBase extends BaseNode { - type: AST_NODE_TYPES.TSModuleDeclaration; - /** - * The name of the module - * ``` - * namespace A {} - * namespace A.B.C {} - * module 'a' {} - * ``` - */ - id: Identifier | Literal | TSQualifiedName; - /** - * The body of the module. - * This can only be `undefined` for the code `declare module 'mod';` - * This will be a `TSModuleDeclaration` if the name is "nested" (`Foo.Bar`). - */ - body?: TSModuleBlock; - /** - * Whether this is a global declaration - * ``` - * declare global {} - * ``` - */ - global: boolean; - /** - * Whether the module is `declare`d - * ``` - * declare namespace F {} - * ``` - */ - declare: boolean; - /** - * The keyword used to define this module declaration - * ``` - * namespace Foo {} - * ^^^^^^^^^ - * - * module 'foo' {} - * ^^^^^^ - * - * declare global {} - * ^^^^^^ - * ``` - */ - kind: TSModuleDeclarationKind; -} -export declare interface TSModuleDeclarationGlobal extends TSModuleDeclarationBase { - kind: 'global'; - body: TSModuleBlock; - id: Identifier; -} -export declare type TSModuleDeclarationKind = 'global' | 'module' | 'namespace'; -export declare type TSModuleDeclarationModule = TSModuleDeclarationModuleWithIdentifierId | TSModuleDeclarationModuleWithStringId; -declare interface TSModuleDeclarationModuleBase extends TSModuleDeclarationBase { - kind: 'module'; -} -export declare interface TSModuleDeclarationModuleWithIdentifierId extends TSModuleDeclarationModuleBase { - kind: 'module'; - id: Identifier; - body: TSModuleBlock; -} -export declare type TSModuleDeclarationModuleWithStringId = TSModuleDeclarationModuleWithStringIdDeclared | TSModuleDeclarationModuleWithStringIdNotDeclared; -export declare interface TSModuleDeclarationModuleWithStringIdDeclared extends TSModuleDeclarationModuleBase { - kind: 'module'; - id: StringLiteral; - declare: true; - body?: TSModuleBlock; -} -export declare interface TSModuleDeclarationModuleWithStringIdNotDeclared extends TSModuleDeclarationModuleBase { - kind: 'module'; - id: StringLiteral; - declare: false; - body: TSModuleBlock; -} -export declare interface TSModuleDeclarationNamespace extends TSModuleDeclarationBase { - kind: 'namespace'; - id: Identifier | TSQualifiedName; - body: TSModuleBlock; -} -export declare interface TSNamedTupleMember extends BaseNode { - type: AST_NODE_TYPES.TSNamedTupleMember; - elementType: TypeNode; - label: Identifier; - optional: boolean; -} -export declare interface TSNamespaceExportDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSNamespaceExportDeclaration; - /** - * The name the global variable being exported to - */ - id: Identifier; -} -export declare interface TSNeverKeyword extends BaseNode { - type: AST_NODE_TYPES.TSNeverKeyword; -} -export declare interface TSNonNullExpression extends BaseNode { - type: AST_NODE_TYPES.TSNonNullExpression; - expression: Expression; -} -export declare interface TSNullKeyword extends BaseNode { - type: AST_NODE_TYPES.TSNullKeyword; -} -export declare interface TSNumberKeyword extends BaseNode { - type: AST_NODE_TYPES.TSNumberKeyword; -} -export declare interface TSObjectKeyword extends BaseNode { - type: AST_NODE_TYPES.TSObjectKeyword; -} -export declare interface TSOptionalType extends BaseNode { - type: AST_NODE_TYPES.TSOptionalType; - typeAnnotation: TypeNode; -} -export declare interface TSParameterProperty extends BaseNode { - type: AST_NODE_TYPES.TSParameterProperty; - accessibility: Accessibility | undefined; - readonly: boolean; - static: boolean; - override: boolean; - parameter: AssignmentPattern | BindingName | RestElement; - decorators: Decorator[]; -} -export declare interface TSPrivateKeyword extends BaseNode { - type: AST_NODE_TYPES.TSPrivateKeyword; -} -export declare type TSPropertySignature = TSPropertySignatureComputedName | TSPropertySignatureNonComputedName; -declare interface TSPropertySignatureBase extends BaseNode { - type: AST_NODE_TYPES.TSPropertySignature; - key: PropertyName; - optional: boolean; - computed: boolean; - typeAnnotation: TSTypeAnnotation | undefined; - readonly: boolean; - static: boolean; - accessibility: Accessibility | undefined; -} -export declare interface TSPropertySignatureComputedName extends TSPropertySignatureBase { - key: PropertyNameComputed; - computed: true; -} -export declare interface TSPropertySignatureNonComputedName extends TSPropertySignatureBase { - key: PropertyNameNonComputed; - computed: false; -} -export declare interface TSProtectedKeyword extends BaseNode { - type: AST_NODE_TYPES.TSProtectedKeyword; -} -export declare interface TSPublicKeyword extends BaseNode { - type: AST_NODE_TYPES.TSPublicKeyword; -} -export declare interface TSQualifiedName extends BaseNode { - type: AST_NODE_TYPES.TSQualifiedName; - left: EntityName; - right: Identifier; -} -export declare interface TSReadonlyKeyword extends BaseNode { - type: AST_NODE_TYPES.TSReadonlyKeyword; -} -export declare interface TSRestType extends BaseNode { - type: AST_NODE_TYPES.TSRestType; - typeAnnotation: TypeNode; -} -export declare interface TSSatisfiesExpression extends BaseNode { - type: AST_NODE_TYPES.TSSatisfiesExpression; - expression: Expression; - typeAnnotation: TypeNode; -} -export declare interface TSStaticKeyword extends BaseNode { - type: AST_NODE_TYPES.TSStaticKeyword; -} -export declare interface TSStringKeyword extends BaseNode { - type: AST_NODE_TYPES.TSStringKeyword; -} -export declare interface TSSymbolKeyword extends BaseNode { - type: AST_NODE_TYPES.TSSymbolKeyword; -} -export declare interface TSTemplateLiteralType extends BaseNode { - type: AST_NODE_TYPES.TSTemplateLiteralType; - quasis: TemplateElement[]; - types: TypeNode[]; -} -export declare interface TSThisType extends BaseNode { - type: AST_NODE_TYPES.TSThisType; -} -export declare interface TSTupleType extends BaseNode { - type: AST_NODE_TYPES.TSTupleType; - elementTypes: TypeNode[]; -} -export declare interface TSTypeAliasDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSTypeAliasDeclaration; - /** - * Whether the type was `declare`d. - * ``` - * declare type T = 1; - * ``` - */ - declare: boolean; - /** - * The name of the type. - */ - id: Identifier; - /** - * The "value" (type) of the declaration - */ - typeAnnotation: TypeNode; - /** - * The generic type parameters declared for the type. - */ - typeParameters: TSTypeParameterDeclaration | undefined; -} -export declare interface TSTypeAnnotation extends BaseNode { - type: AST_NODE_TYPES.TSTypeAnnotation; - typeAnnotation: TypeNode; -} -export declare interface TSTypeAssertion extends BaseNode { - type: AST_NODE_TYPES.TSTypeAssertion; - typeAnnotation: TypeNode; - expression: Expression; -} -export declare interface TSTypeLiteral extends BaseNode { - type: AST_NODE_TYPES.TSTypeLiteral; - members: TypeElement[]; -} -export declare interface TSTypeOperator extends BaseNode { - type: AST_NODE_TYPES.TSTypeOperator; - operator: 'keyof' | 'readonly' | 'unique'; - typeAnnotation: TypeNode | undefined; -} -export declare interface TSTypeParameter extends BaseNode { - type: AST_NODE_TYPES.TSTypeParameter; - name: Identifier; - constraint: TypeNode | undefined; - default: TypeNode | undefined; - in: boolean; - out: boolean; - const: boolean; -} -export declare interface TSTypeParameterDeclaration extends BaseNode { - type: AST_NODE_TYPES.TSTypeParameterDeclaration; - params: TSTypeParameter[]; -} -export declare interface TSTypeParameterInstantiation extends BaseNode { - type: AST_NODE_TYPES.TSTypeParameterInstantiation; - params: TypeNode[]; -} -export declare interface TSTypePredicate extends BaseNode { - type: AST_NODE_TYPES.TSTypePredicate; - asserts: boolean; - parameterName: Identifier | TSThisType; - typeAnnotation: TSTypeAnnotation | null; -} -export declare interface TSTypeQuery extends BaseNode { - type: AST_NODE_TYPES.TSTypeQuery; - exprName: EntityName | TSImportType; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; -} -export declare interface TSTypeReference extends BaseNode { - type: AST_NODE_TYPES.TSTypeReference; - typeArguments: TSTypeParameterInstantiation | undefined; - /** @deprecated Use {@link `typeArguments`} instead. */ - typeParameters: TSTypeParameterInstantiation | undefined; - typeName: EntityName; -} -export declare type TSUnaryExpression = AwaitExpression | LeftHandSideExpression | UnaryExpression | UpdateExpression; -export declare interface TSUndefinedKeyword extends BaseNode { - type: AST_NODE_TYPES.TSUndefinedKeyword; -} -export declare interface TSUnionType extends BaseNode { - type: AST_NODE_TYPES.TSUnionType; - types: TypeNode[]; -} -export declare interface TSUnknownKeyword extends BaseNode { - type: AST_NODE_TYPES.TSUnknownKeyword; -} -export declare interface TSVoidKeyword extends BaseNode { - type: AST_NODE_TYPES.TSVoidKeyword; -} -export declare type TypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSIndexSignature | TSMethodSignature | TSPropertySignature; -export declare type TypeNode = TSAbstractKeyword | TSAnyKeyword | TSArrayType | TSAsyncKeyword | TSBigIntKeyword | TSBooleanKeyword | TSConditionalType | TSConstructorType | TSDeclareKeyword | TSExportKeyword | TSFunctionType | TSImportType | TSIndexedAccessType | TSInferType | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSNamedTupleMember | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSPrivateKeyword | TSProtectedKeyword | TSPublicKeyword | TSQualifiedName | TSReadonlyKeyword | TSRestType | TSStaticKeyword | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSTypeLiteral | TSTypeOperator | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword; -export declare interface UnaryExpression extends UnaryExpressionBase { - type: AST_NODE_TYPES.UnaryExpression; - operator: '-' | '!' | '+' | '~' | 'delete' | 'typeof' | 'void'; -} -declare interface UnaryExpressionBase extends BaseNode { - operator: string; - prefix: boolean; - argument: LeftHandSideExpression | Literal | UnaryExpression; -} -export declare interface UpdateExpression extends UnaryExpressionBase { - type: AST_NODE_TYPES.UpdateExpression; - operator: '--' | '++'; -} -declare type ValueOf = T[keyof T]; -export declare interface VariableDeclaration extends BaseNode { - type: AST_NODE_TYPES.VariableDeclaration; - /** - * The variables declared by this declaration. - * Note that there may be 0 declarations (i.e. `const;`). - * ``` - * let x; - * let y, z; - * ``` - */ - declarations: VariableDeclarator[]; - /** - * Whether the declaration is `declare`d - * ``` - * declare const x = 1; - * ``` - */ - declare: boolean; - /** - * The keyword used to declare the variable(s) - * ``` - * const x = 1; - * let y = 2; - * var z = 3; - * ``` - */ - kind: 'const' | 'let' | 'var'; -} -export declare interface VariableDeclarator extends BaseNode { - type: AST_NODE_TYPES.VariableDeclarator; - id: BindingName; - init: Expression | null; - definite: boolean; -} -export declare interface WhileStatement extends BaseNode { - type: AST_NODE_TYPES.WhileStatement; - test: Expression; - body: Statement; -} -export declare interface WithStatement extends BaseNode { - type: AST_NODE_TYPES.WithStatement; - object: Expression; - body: Statement; -} -export declare interface YieldExpression extends BaseNode { - type: AST_NODE_TYPES.YieldExpression; - delegate: boolean; - argument: Expression | undefined; -} -export {}; -//# sourceMappingURL=ast-spec.d.ts.map diff --git a/node_modules/@typescript-eslint/types/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/types/_ts4.3/dist/index.d.ts deleted file mode 100644 index 7459fa5eec..0000000000 --- a/node_modules/@typescript-eslint/types/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export { AST_NODE_TYPES, AST_TOKEN_TYPES } from './generated/ast-spec'; -export * from './lib'; -export * from './parser-options'; -export * from './ts-estree'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/types/_ts4.3/dist/lib.d.ts b/node_modules/@typescript-eslint/types/_ts4.3/dist/lib.d.ts deleted file mode 100644 index d3c4d3d8cd..0000000000 --- a/node_modules/@typescript-eslint/types/_ts4.3/dist/lib.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -type Lib = 'decorators.legacy' | 'decorators' | 'dom.iterable' | 'dom' | 'es5' | 'es6' | 'es7' | 'es2015.collection' | 'es2015.core' | 'es2015.generator' | 'es2015.iterable' | 'es2015.promise' | 'es2015.proxy' | 'es2015.reflect' | 'es2015.symbol.wellknown' | 'es2015.symbol' | 'es2015' | 'es2016.array.include' | 'es2016.full' | 'es2016' | 'es2017.full' | 'es2017.intl' | 'es2017.object' | 'es2017.sharedmemory' | 'es2017.string' | 'es2017.typedarrays' | 'es2017' | 'es2018.asyncgenerator' | 'es2018.asynciterable' | 'es2018.full' | 'es2018.intl' | 'es2018.promise' | 'es2018.regexp' | 'es2018' | 'es2019.array' | 'es2019.full' | 'es2019.intl' | 'es2019.object' | 'es2019.string' | 'es2019.symbol' | 'es2019' | 'es2020.bigint' | 'es2020.date' | 'es2020.full' | 'es2020.intl' | 'es2020.number' | 'es2020.promise' | 'es2020.sharedmemory' | 'es2020.string' | 'es2020.symbol.wellknown' | 'es2020' | 'es2021.full' | 'es2021.intl' | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' | 'es2021' | 'es2022.array' | 'es2022.error' | 'es2022.full' | 'es2022.intl' | 'es2022.object' | 'es2022.regexp' | 'es2022.sharedmemory' | 'es2022.string' | 'es2022' | 'es2023.array' | 'es2023.full' | 'es2023' | 'esnext.array' | 'esnext.asynciterable' | 'esnext.bigint' | 'esnext.full' | 'esnext.intl' | 'esnext.promise' | 'esnext.string' | 'esnext.symbol' | 'esnext.weakref' | 'esnext' | 'lib' | 'scripthost' | 'webworker.importscripts' | 'webworker.iterable' | 'webworker'; -export { Lib }; -//# sourceMappingURL=lib.d.ts.map diff --git a/node_modules/@typescript-eslint/types/_ts4.3/dist/parser-options.d.ts b/node_modules/@typescript-eslint/types/_ts4.3/dist/parser-options.d.ts deleted file mode 100644 index b5b81b37fa..0000000000 --- a/node_modules/@typescript-eslint/types/_ts4.3/dist/parser-options.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { Program } from 'typescript'; -import type { Lib } from './lib'; -type DebugLevel = ('eslint' | 'typescript-eslint' | 'typescript')[] | boolean; -type CacheDurationSeconds = number | 'Infinity'; -type EcmaVersion = 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022; -type SourceType = 'module' | 'script'; -interface ParserOptions { - ecmaFeatures?: { - globalReturn?: boolean; - jsx?: boolean; - }; - ecmaVersion?: EcmaVersion | 'latest'; - jsxPragma?: string | null; - jsxFragmentName?: string | null; - lib?: Lib[]; - emitDecoratorMetadata?: boolean; - comment?: boolean; - debugLevel?: DebugLevel; - errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; - errorOnUnknownASTType?: boolean; - EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean; - extraFileExtensions?: string[]; - filePath?: string; - loc?: boolean; - program?: Program | null; - project?: string[] | string | true | null; - projectFolderIgnoreList?: (RegExp | string)[]; - range?: boolean; - sourceType?: SourceType; - tokens?: boolean; - tsconfigRootDir?: string; - warnOnUnsupportedTypeScriptVersion?: boolean; - cacheLifetime?: { - glob?: CacheDurationSeconds; - }; - [additionalProperties: string]: unknown; -} -export { CacheDurationSeconds, DebugLevel, EcmaVersion, ParserOptions, SourceType, }; -//# sourceMappingURL=parser-options.d.ts.map diff --git a/node_modules/@typescript-eslint/types/_ts4.3/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/types/_ts4.3/dist/ts-estree.d.ts deleted file mode 100644 index 73a80f4ef9..0000000000 --- a/node_modules/@typescript-eslint/types/_ts4.3/dist/ts-estree.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import type * as TSESTree from './generated/ast-spec'; -declare module './generated/ast-spec' { - interface BaseNode { - parent: TSESTree.Node; - } - interface Program { - /** - * @remarks This never-used property exists only as a convenience for code that tries to access node parents repeatedly. - */ - parent?: never; - } -} -export * as TSESTree from './generated/ast-spec'; -//# sourceMappingURL=ts-estree.d.ts.map diff --git a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts index 5c03ad6df7..54b5829c09 100644 --- a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts @@ -18,6 +18,7 @@ interface ParserOptions { debugLevel?: DebugLevel; errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; errorOnUnknownASTType?: boolean; + EXPERIMENTAL_useProjectService?: boolean; EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean; extraFileExtensions?: string[]; filePath?: string; diff --git a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map index a8d06bde5c..a33c332128 100644 --- a/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +++ b/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,CAAC,QAAQ,GAAG,mBAAmB,GAAG,YAAY,CAAC,EAAE,GAAG,OAAO,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;A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,EACL,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,aAAa,EACb,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,KAAK,UAAU,GAAG,CAAC,QAAQ,GAAG,mBAAmB,GAAG,YAAY,CAAC,EAAE,GAAG,OAAO,CAAC;AAC9E,KAAK,oBAAoB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEhD,KAAK,WAAW,GACZ,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAET,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEtC,UAAU,aAAa;IACrB,YAAY,CAAC,EAAE;QACb,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,GAAG,CAAC,EAAE,OAAO,CAAC;KACf,CAAC;IACF,WAAW,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IAGrC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAGZ,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAGhC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,2CAA2C,CAAC,EAAE,OAAO,CAAC;IACtD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,gDAAgD,CAAC,EAAE,OAAO,CAAC;IAC3D,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1C,uBAAuB,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAC7C,aAAa,CAAC,EAAE;QACd,IAAI,CAAC,EAAE,oBAAoB,CAAC;KAC7B,CAAC;IAEF,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC;AAED,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,GACX,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json index 1c07280d7d..4aae59be79 100644 --- a/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "6.0.0", + "version": "6.1.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", @@ -86,5 +86,5 @@ ] } }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts index 50660152cf..e223dfecb8 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts @@ -1,9 +1,10 @@ +import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndDefiniteProgram } from './shared'; /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program */ -declare function createProjectProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +declare function createProjectProgram(parseSettings: ParseSettings, programsForProjects: readonly ts.Program[]): ASTAndDefiniteProgram | undefined; export { createProjectProgram }; //# sourceMappingURL=createProjectProgram.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts new file mode 100644 index 0000000000..e0137373c0 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts @@ -0,0 +1,4 @@ +import type * as ts from 'typescript/lib/tsserverlibrary'; +export type TypeScriptProjectService = ts.server.ProjectService; +export declare function createProjectService(): TypeScriptProjectService; +//# sourceMappingURL=createProjectService.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts index fef19d014a..c9eeee25b6 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts @@ -21,7 +21,7 @@ type CanonicalPath = 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, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; /** * Hash content for compare content. * @param content hashed contend diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts index d7d44f8fef..e118ba7dae 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts @@ -1,7 +1,10 @@ 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 interface ProvidedProgramsSettings { + filePath: string; + tsconfigRootDir: string; +} +declare function useProvidedPrograms(programInstances: Iterable, { filePath, tsconfigRootDir }: ProvidedProgramsSettings): ASTAndDefiniteProgram | undefined; /** * Utility offered by parser to help consumers construct their own program instance. * diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts index e34b168ea0..b1f9af3f36 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts @@ -3,4 +3,5 @@ import type { TSESTreeOptions } from '../parser-options'; import type { MutableParseSettings } from './index'; export declare function createParseSettings(code: ts.SourceFile | string, options?: Partial): MutableParseSettings; export declare function clearTSConfigMatchCache(): void; +export declare function clearTSServerProjectService(): void; //# sourceMappingURL=createParseSettings.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts index e17226155e..89ba140d74 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts @@ -1,4 +1,5 @@ import type * as ts from 'typescript'; +import type * as tsserverlibrary from 'typescript/lib/tsserverlibrary'; import type { CanonicalPath } from '../create-program/shared'; import type { TSESTree } from '../ts-estree'; import type { CacheLike } from './ExpiringCache'; @@ -45,6 +46,10 @@ export interface MutableParseSettings { * Whether to error if an unknown AST node type is encountered. */ errorOnUnknownASTType: boolean; + /** + * Experimental: TypeScript server to power program creation. + */ + EXPERIMENTAL_projectService: tsserverlibrary.server.ProjectService | undefined; /** * Whether TS should use the source files for referenced projects instead of the compiled .d.ts files. * diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts index 044a47f34a..30d2c35eb1 100644 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts @@ -68,6 +68,14 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { * Causes the parser to error if the TypeScript compiler returns any unexpected syntax/semantic errors. */ errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; + /** + * ***EXPERIMENTAL FLAG*** - Use this at your own risk. + * + * Whether to create a shared TypeScript server to power program creation. + * + * @see https://github.com/typescript-eslint/typescript-eslint/issues/6575 + */ + EXPERIMENTAL_useProjectService?: boolean; /** * ***EXPERIMENTAL FLAG*** - Use this at your own risk. * @@ -76,7 +84,7 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { * * This flag REQUIRES at least TS v3.9, otherwise it does nothing. * - * See: https://github.com/typescript-eslint/typescript-eslint/issues/2094 + * @see https://github.com/typescript-eslint/typescript-eslint/issues/2094 */ EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean; /** diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts new file mode 100644 index 0000000000..08f2f5c97a --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts @@ -0,0 +1,5 @@ +import type { server } from 'typescript/lib/tsserverlibrary'; +import type { ASTAndDefiniteProgram } from './create-program/shared'; +import type { MutableParseSettings } from './parseSettings'; +export declare function useProgramFromProjectService(projectService: server.ProjectService, parseSettings: Readonly): ASTAndDefiniteProgram | undefined; +//# sourceMappingURL=useProgramFromProjectService.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map index dbfae70aa2..c43288b96c 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"clear-caches.d.ts","sourceRoot":"","sources":["../src/clear-caches.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAKlC;AAGD,eAAO,MAAM,iBAAiB,oBAAc,CAAC"} \ No newline at end of file +{"version":3,"file":"clear-caches.d.ts","sourceRoot":"","sources":["../src/clear-caches.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAMlC;AAGD,eAAO,MAAM,iBAAiB,oBAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js index 5ad7a1d789..2be4651b58 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js @@ -16,6 +16,7 @@ function clearCaches() { (0, parser_1.clearProgramCache)(); (0, getWatchProgramsForProjects_1.clearWatchCaches)(); (0, createParseSettings_1.clearTSConfigMatchCache)(); + (0, createParseSettings_1.clearTSServerProjectService)(); (0, resolveProjectList_1.clearGlobCache)(); } exports.clearCaches = clearCaches; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map index 951ca84152..9655cb7b13 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map @@ -1 +1 @@ -{"version":3,"file":"clear-caches.js","sourceRoot":"","sources":["../src/clear-caches.ts"],"names":[],"mappings":";;;AAAA,8FAAgF;AAChF,qCAA0E;AAC1E,6EAA8E;AAC9E,2EAAoE;AAEpE;;;;;;GAMG;AACH,SAAgB,WAAW;IACzB,IAAA,0BAAyB,GAAE,CAAC;IAC5B,IAAA,8CAAgB,GAAE,CAAC;IACnB,IAAA,6CAAuB,GAAE,CAAC;IAC1B,IAAA,mCAAc,GAAE,CAAC;AACnB,CAAC;AALD,kCAKC;AAED,mCAAmC;AACtB,QAAA,iBAAiB,GAAG,WAAW,CAAC"} \ No newline at end of file +{"version":3,"file":"clear-caches.js","sourceRoot":"","sources":["../src/clear-caches.ts"],"names":[],"mappings":";;;AAAA,8FAAgF;AAChF,qCAA0E;AAC1E,6EAG6C;AAC7C,2EAAoE;AAEpE;;;;;;GAMG;AACH,SAAgB,WAAW;IACzB,IAAA,0BAAyB,GAAE,CAAC;IAC5B,IAAA,8CAAgB,GAAE,CAAC;IACnB,IAAA,6CAAuB,GAAE,CAAC;IAC1B,IAAA,iDAA2B,GAAE,CAAC;IAC9B,IAAA,mCAAc,GAAE,CAAC;AACnB,CAAC;AAND,kCAMC;AAED,mCAAmC;AACtB,QAAA,iBAAiB,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts index 586032397f..024d0642e2 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts @@ -1,9 +1,10 @@ +import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; import type { ASTAndDefiniteProgram } from './shared'; /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program */ -declare function createProjectProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +declare function createProjectProgram(parseSettings: ParseSettings, programsForProjects: readonly ts.Program[]): ASTAndDefiniteProgram | undefined; export { createProjectProgram }; //# sourceMappingURL=createProjectProgram.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map index df2dafba32..9676a64ded 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +++ b/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":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAgBtD;;;GAGG;AACH,iBAAS,oBAAoB,CAC3B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CA+EnC;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAgBtD;;;GAGG;AACH,iBAAS,oBAAoB,CAC3B,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,GAAG,SAAS,CA8EnC;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js index 6817f2ae86..62b0c0bfc7 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js @@ -32,7 +32,6 @@ const path_1 = __importDefault(require("path")); const ts = __importStar(require("typescript")); const node_utils_1 = require("../node-utils"); const describeFilePath_1 = require("./describeFilePath"); -const getWatchProgramsForProjects_1 = require("./getWatchProgramsForProjects"); const shared_1 = require("./shared"); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram'); const DEFAULT_EXTRA_FILE_EXTENSIONS = [ @@ -49,10 +48,9 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = [ * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program */ -function createProjectProgram(parseSettings) { +function createProjectProgram(parseSettings, programsForProjects) { log('Creating project program for: %s', parseSettings.filePath); - const programsForProjects = (0, getWatchProgramsForProjects_1.getWatchProgramsForProjects)(parseSettings); - const astAndProgram = (0, node_utils_1.firstDefined)(programsForProjects, currentProgram => (0, shared_1.getAstFromProgram)(currentProgram, parseSettings)); + const astAndProgram = (0, node_utils_1.firstDefined)(programsForProjects, currentProgram => (0, shared_1.getAstFromProgram)(currentProgram, parseSettings.filePath)); // The file was either matched within the tsconfig, or we allow creating a default program // eslint-disable-next-line deprecation/deprecation -- will be cleaned up with the next major if (astAndProgram || parseSettings.DEPRECATED__createDefaultProgram) { diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map index 8c896e4367..8f8bcd6e80 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +++ b/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,gDAAwB;AACxB,+CAAiC;AAEjC,8CAA6C;AAE7C,yDAAsD;AACtD,+EAA4E;AAE5E,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E,MAAM,6BAA6B,GAAG;IACpC,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,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,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;CACI,CAAC;AAEvB;;;GAGG;AACH,SAAS,oBAAoB,CAC3B,aAA4B;IAE5B,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,mBAAmB,GAAG,IAAA,yDAA2B,EAAC,aAAa,CAAC,CAAC;IACvE,MAAM,aAAa,GAAG,IAAA,yBAAY,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b,8CAA8C,cAAc,uHAAuH,CACpL,CAAC;SACH;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC3D,IAAI,CAAC,6BAA6B,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE;QAC1D,MAAM,cAAc,GAAG,iCAAiC,aAAa,qBAAqB,CAAC;QAC3F,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE;YAClC,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE;gBAChD,UAAU,CAAC,IAAI,CACb,GAAG,cAAc,8EAA8E,CAChG,CAAC;gBACF,iBAAiB,GAAG,IAAI,CAAC;aAC1B;SACF;aAAM;YACL,UAAU,CAAC,IAAI,CACb,GAAG,cAAc,wEAAwE,CAC1F,CAAC;YACF,iBAAiB,GAAG,IAAI,CAAC;SAC1B;KACF;IAED,IAAI,CAAC,iBAAiB,EAAE;QACtB,MAAM,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,GAC9C,aAAa,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;YACjC,CAAC,CAAC,CAAC,wBAAwB,EAAE,eAAe,CAAC;YAC7C,CAAC,CAAC,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;QAC5D,UAAU,CAAC,IAAI,CACb,YAAY,mBAAmB,6BAA6B,EAC5D,mEAAmE,EACnE,YAAY,mBAAmB,uBAAuB,EACtD,8FAA8F,EAC9F,oOAAoO,CACrO,CAAC;KACH;IAED,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAEQ,oDAAoB"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,g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KACF;IAED,IAAI,CAAC,iBAAiB,EAAE;QACtB,MAAM,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,GAC9C,aAAa,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;YACjC,CAAC,CAAC,CAAC,wBAAwB,EAAE,eAAe,CAAC;YAC7C,CAAC,CAAC,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;QAC5D,UAAU,CAAC,IAAI,CACb,YAAY,mBAAmB,6BAA6B,EAC5D,mEAAmE,EACnE,YAAY,mBAAmB,uBAAuB,EACtD,8FAA8F,EAC9F,oOAAoO,CACrO,CAAC;KACH;IAED,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAEQ,oDAAoB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts new file mode 100644 index 0000000000..4576d6d10c --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts @@ -0,0 +1,4 @@ +import type * as ts from 'typescript/lib/tsserverlibrary'; +export type TypeScriptProjectService = ts.server.ProjectService; +export declare function createProjectService(): TypeScriptProjectService; +//# sourceMappingURL=createProjectService.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map new file mode 100644 index 0000000000..597cb61f6b --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAQ1D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,wBAAgB,oBAAoB,IAAI,wBAAwB,CAoC/D"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js new file mode 100644 index 0000000000..46240fe17a --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js @@ -0,0 +1,45 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createProjectService = void 0; +const doNothing = () => { }; +const createStubFileWatcher = () => ({ + close: doNothing, +}); +function createProjectService() { + // We import this lazily to avoid its cost for users who don't use the service + const tsserver = require('typescript/lib/tsserverlibrary'); + // TODO: see getWatchProgramsForProjects + // We don't watch the disk, we just refer to these when ESLint calls us + // there's a whole separate update pass in maybeInvalidateProgram at the bottom of getWatchProgramsForProjects + // (this "goes nuclear on TypeScript") + const system = { + ...tsserver.sys, + clearImmediate, + clearTimeout, + setImmediate, + setTimeout, + watchDirectory: createStubFileWatcher, + watchFile: createStubFileWatcher, + }; + return new tsserver.server.ProjectService({ + host: system, + cancellationToken: { isCancellationRequested: () => false }, + useSingleInferredProject: false, + useInferredProjectPerProjectRoot: false, + logger: { + close: doNothing, + endGroup: doNothing, + getLogFileName: () => undefined, + hasLevel: () => false, + info: doNothing, + loggingEnabled: () => false, + msg: doNothing, + perftrc: doNothing, + startGroup: doNothing, + }, + session: undefined, + }); +} +exports.createProjectService = createProjectService; +/* eslint-enable @typescript-eslint/no-empty-function */ +//# sourceMappingURL=createProjectService.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map new file mode 100644 index 0000000000..a1b06940e9 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map @@ -0,0 +1 @@ +{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;AAGA,MAAM,SAAS,GAAG,GAAS,EAAE,GAAE,CAAC,CAAC;AAEjC,MAAM,qBAAqB,GAAG,GAAmB,EAAE,CAAC,CAAC;IACnD,KAAK,EAAE,SAAS;CACjB,CAAC,CAAC;AAIH,SAAgB,oBAAoB;IAClC,8EAA8E;IAC9E,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;QACd,YAAY;QACZ,YAAY;QACZ,UAAU;QACV,cAAc,EAAE,qBAAqB;QACrC,SAAS,EAAE,qBAAqB;KACjC,CAAC;IAEF,OAAO,IAAI,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC;QACxC,IAAI,EAAE,MAAM;QACZ,iBAAiB,EAAE,EAAE,uBAAuB,EAAE,GAAY,EAAE,CAAC,KAAK,EAAE;QACpE,wBAAwB,EAAE,KAAK;QAC/B,gCAAgC,EAAE,KAAK;QACvC,MAAM,EAAE;YACN,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,SAAS;YACnB,cAAc,EAAE,GAAG,EAAE,CAAC,SAAS;YAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK;YACrB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE,GAAG,EAAE,CAAC,KAAK;YAC3B,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,SAAS;SACtB;QACD,OAAO,EAAE,SAAS;KACnB,CAAC,CAAC;AACL,CAAC;AApCD,oDAoCC;AACD,wDAAwD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts index 70878333d2..d49a59a273 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts @@ -21,7 +21,7 @@ type CanonicalPath = 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, parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; +declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; /** * Hash content for compare content. * @param content hashed contend diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map index 2b22b0988d..60fe8efa73 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +++ b/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":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,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,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AASnD,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,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM3C;AAED,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,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,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AASnD,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,CAM3C;AAED,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index c8504b0f70..8ef5a6bce1 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -94,10 +94,10 @@ function getExtension(fileName) { } return (DEFINITION_EXTENSIONS.find(definitionExt => fileName.endsWith(definitionExt)) ?? path_1.default.extname(fileName)); } -function getAstFromProgram(currentProgram, parseSettings) { - const ast = currentProgram.getSourceFile(parseSettings.filePath); +function getAstFromProgram(currentProgram, filePath) { + const ast = currentProgram.getSourceFile(filePath); // working around https://github.com/typescript-eslint/typescript-eslint/issues/1573 - const expectedExt = getExtension(parseSettings.filePath); + const expectedExt = getExtension(filePath); const returnedExt = getExtension(ast?.fileName); if (expectedExt !== returnedExt) { return undefined; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 58a07f7107..58dec415d3 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AAExB,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI;IAEZ;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAuGA,sDAAqB;AArGvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE;QAC9C,OAAO;YACL,GAAG,wBAAwB;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,CAAC;KACH;IAED,OAAO,wBAAwB,CAAC;AAClC,CAAC;AAmFC,sFAAqC;AA9EvC,8EAA8E;AAC9E,MAAM,yBAAyB,GAC7B,EAAE,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAC,IAAI,CAAC;AACjE,MAAM,iBAAiB,GAAG,yBAAyB;IACjD,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ;IACxC,CAAC,CAAC,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ,CAAC,WAAW,E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C,QAAQ,CAAC,CAAC;IAEjE,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACzD,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE;QAC/B,OAAO,SAAS,CAAC;KAClB;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AA0BC,8CAAiB;AAxBnB;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE;QACtB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;KACnC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAUC,gCAAU"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AAExB,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI;IAEZ;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAuGA,sDAAqB;AArGvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,IAAI,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE;QAC9C,OAAO;YACL,GAAG,wBAAwB;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,CAAC;KACH;IAED,OAAO,wBAAwB,CAAC;AAClC,CAAC;AA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CAAC,QAAQ,EAAE;QACb,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,cAAI,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;QAC/B,OAAO,SAAS,CAAC;KAClB;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AA0BC,8CAAiB;AAxBnB;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE;QACtB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;KACnC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAUC,gCAAU"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts index 76435e30c9..61161389c5 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts @@ -1,7 +1,10 @@ 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 interface ProvidedProgramsSettings { + filePath: string; + tsconfigRootDir: string; +} +declare function useProvidedPrograms(programInstances: Iterable, { filePath, tsconfigRootDir }: ProvidedProgramsSettings): ASTAndDefiniteProgram | undefined; /** * Utility offered by parser to help consumers construct their own program instance. * diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index ff3f0fe7e0..6a2bfcc97c 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/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":"AAGA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CA+BnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CA4BZ;AAUD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,wBAAwB,GACtD,qBAAqB,GAAG,SAAS,CA4BnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CA4BZ;AAUD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index 5b291e948f..f5a7c877f8 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -33,18 +33,18 @@ const path = __importStar(require("path")); const ts = __importStar(require("typescript")); const shared_1 = require("./shared"); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:useProvidedProgram'); -function useProvidedPrograms(programInstances, parseSettings) { - log('Retrieving ast for %s from provided program instance(s)', parseSettings.filePath); +function useProvidedPrograms(programInstances, { filePath, tsconfigRootDir }) { + log('Retrieving ast for %s from provided program instance(s)', filePath); let astAndProgram; for (const programInstance of programInstances) { - astAndProgram = (0, shared_1.getAstFromProgram)(programInstance, parseSettings); + astAndProgram = (0, shared_1.getAstFromProgram)(programInstance, filePath); // Stop at the first applicable program instance if (astAndProgram) { break; } } if (!astAndProgram) { - const relativeFilePath = path.relative(parseSettings.tsconfigRootDir || process.cwd(), parseSettings.filePath); + const relativeFilePath = path.relative(tsconfigRootDir || process.cwd(), filePath); const errorLines = [ '"parserOptions.programs" has been provided for @typescript-eslint/parser.', `The file was not found in any of the provided program instance(s): ${relativeFilePath}`, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 48919a3315..d09a7fcfad 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAC7B,+CAAiC;AAIjC,qCAAoE;AAEpE,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;QAC9C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,CAAC;QAClE,gDAAgD;QAChD,IAAI,aAAa,EAAE;YACjB,MAAM;SACP;KACF;IAED,IAAI,CAAC,aAAa,EAAE;QAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,IAAI,OAAO,CAAC,GAAG,EAAE,EAC9C,aAAa,CAAC,QAAQ,CACvB,CAAC;QACF,MAAM,UAAU,GAAG;YACjB,2EAA2E;YAC3E,sEAAsE,gBAAgB,EAAE;SACzF,CAAC;QAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;KACxC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AC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC;AAU6B,kEAA2B;AARzD,SAAS,iBAAiB,CAAC,WAA4B;IACrD,OAAO,EAAE,CAAC,iBAAiB,CAAC,WAAW,EAAE;QACvC,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5B,mBAAmB,EAAE,OAAO,CAAC,GAAG;QAChC,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;KACvB,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAC7B,+CAAiC;AAGjC,qCAAoE;AAEpE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAO5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,EAAE,QAAQ,EAAE,eAAe,EAA4B;IAEvD,GAAG,CAAC,yDAAyD,EAAE,QAAQ,CAAC,CAAC;IAEzE,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE;QAC9C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;QAC7D,gDAAgD;QAChD,IAAI,aAAa,EAAE;YACjB,MAAM;SACP;KACF;IAED,IAAI,CAAC,aAAa,EAAE;QAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,eAAe,IAAI,OAAO,CAAC,GAAG,EAAE,EAChC,QAAQ,CACT,CAAC;QACF,MAAM,UAAU,GAAG;YACjB,2EAA2E;YAC3E,sEAAsE,gBAAgB,EAAE;SACzF,CAAC;QAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;KACxC;IAED,aAAa,CAAC,OAA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CAAC,CAAC;AAClE,CAAC;AAU6B,kEAA2B;AARzD,SAAS,iBAAiB,CAAC,WAA4B;IACrD,OAAO,EAAE,CAAC,iBAAiB,CAAC,WAAW,EAAE;QACvC,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5B,mBAAmB,EAAE,OAAO,CAAC,GAAG;QAChC,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;KACvB,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts index ab7f915fca..7311d5d4df 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts @@ -3,4 +3,5 @@ import type { TSESTreeOptions } from '../parser-options'; import type { MutableParseSettings } from './index'; export declare function createParseSettings(code: ts.SourceFile | string, options?: Partial): MutableParseSettings; export declare function clearTSConfigMatchCache(): void; +export declare function clearTSServerProjectService(): void; //# sourceMappingURL=createParseSettings.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map index 8035b831f4..f361d2c917 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.d.ts","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAWpD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,OAAO,GAAE,OAAO,CAAC,eAAe,CAAM,GACrC,oBAAoB,CAyGtB;AAED,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"} \ No newline at end of file +{"version":3,"file":"createParseSettings.d.ts","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,OAAO,GAAE,OAAO,CAAC,eAAe,CAAM,GACrC,oBAAoB,CAgHtB;AAED,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C;AAED,wBAAgB,2BAA2B,IAAI,IAAI,CAElD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 92f41a4c0e..f4cb4e3799 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -3,8 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.clearTSConfigMatchCache = exports.createParseSettings = void 0; +exports.clearTSServerProjectService = exports.clearTSConfigMatchCache = exports.createParseSettings = void 0; const debug_1 = __importDefault(require("debug")); +const createProjectService_1 = require("../create-program/createProjectService"); const shared_1 = require("../create-program/shared"); const source_files_1 = require("../source-files"); const ExpiringCache_1 = require("./ExpiringCache"); @@ -14,6 +15,7 @@ const resolveProjectList_1 = require("./resolveProjectList"); const warnAboutTSVersion_1 = require("./warnAboutTSVersion"); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings'); let TSCONFIG_MATCH_CACHE; +let TSSERVER_PROJECT_SERVICE = null; function createParseSettings(code, options = {}) { const codeFullText = enforceCodeString(code); const singleRun = (0, inferSingleRun_1.inferSingleRun)(options); @@ -36,6 +38,12 @@ function createParseSettings(code, options = {}) { : new Set(), errorOnTypeScriptSyntacticAndSemanticIssues: false, errorOnUnknownASTType: options.errorOnUnknownASTType === true, + EXPERIMENTAL_projectService: (options.EXPERIMENTAL_useProjectService === true && + process.env.TYPESCRIPT_ESLINT_EXPERIMENTAL_TSSERVER !== 'false') || + (process.env.TYPESCRIPT_ESLINT_EXPERIMENTAL_TSSERVER === 'true' && + options.EXPERIMENTAL_useProjectService !== false) + ? (TSSERVER_PROJECT_SERVICE ??= (0, createProjectService_1.createProjectService)()) + : undefined, EXPERIMENTAL_useSourceOfProjectReferenceRedirect: options.EXPERIMENTAL_useSourceOfProjectReferenceRedirect === true, extraFileExtensions: Array.isArray(options.extraFileExtensions) && options.extraFileExtensions.every(ext => typeof ext === 'string') @@ -85,8 +93,8 @@ function createParseSettings(code, options = {}) { } log('parserOptions.programs was provided, so parserOptions.project will be ignored.'); } - // Providing a program overrides project resolution - if (!parseSettings.programs) { + // Providing a program or project service overrides project resolution + if (!parseSettings.programs && !parseSettings.EXPERIMENTAL_projectService) { parseSettings.projects = (0, resolveProjectList_1.resolveProjectList)({ cacheLifetime: options.cacheLifetime, project: (0, getProjectConfigFiles_1.getProjectConfigFiles)(parseSettings, options.project), @@ -103,6 +111,10 @@ function clearTSConfigMatchCache() { TSCONFIG_MATCH_CACHE?.clear(); } exports.clearTSConfigMatchCache = clearTSConfigMatchCache; +function clearTSServerProjectService() { + TSSERVER_PROJECT_SERVICE = null; +} +exports.clearTSServerProjectService = clearTSServerProjectService; /** * Ensures source code is a string. */ diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index e3d6d28ad9..e6b8c04d19 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/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":";;;;;;AAAA,kDAA0B;AAG1B,qDAA8D;AAE9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAEhE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAE/D,SAAgB,mBAAmB,CACjC,IAA4B,EAC5B,UAAoC,EAAE;IAEtC,MAAM,YAAY,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,IAAA,+BAAc,EAAC,OAAO,CAAC,CAAC;IAC1C,MAAM,eAAe,GACnB,OAAO,OAAO,CAAC,eAAe,KAAK,QAAQ;QACzC,CAAC,CAAC,OAAO,CAAC,eAAe;QACzB,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IACpB,MAAM,aAAa,GAAyB;QAC1C,eAAe,EAAE,OAAO,CAAC,eAAe,KAAK,IAAI;QACjD,IAAI;QACJ,YAAY;QACZ,OAAO,EAAE,OAAO,CAAC,OAAO,KAAK,IAAI;QACjC,QAAQ,EAAE,EAAE;QACZ,gCAAgC;QAC9B,6FAA6F;QAC7F,OAAO,CAAC,gCAAgC,KAAK,IAAI;QACnD,UAAU,EACR,OAAO,CAAC,UAAU,KAAK,IAAI;YACzB,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,mBAAmB,CAA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FAAgF,CACjF,CAAC;KACH;IAED,mDAAmD;IACnD,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE;QAC3B,aAAa,CAAC,QAAQ,GAAG,IAAA,uCAAkB,EAAC;YAC1C,aAAa,EAAE,OAAO,CAAC,aAAa;YACpC,OAAO,EAAE,IAAA,6CAAqB,EAAC,aAAa,EAAE,OAAO,CAAC,OAAO,CAAC;YAC9D,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;YACxD,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,eAAe,EAAE,eAAe;SACjC,CAAC,CAAC;KACJ;IAED,IAAA,uCAAkB,EAAC,aAAa,CAAC,CAAC;IAElC,OAAO,aAAa,CAAC;AACvB,CAAC;AA5GD,kDA4GC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAFD,0DAEC;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;YAC1B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACnB,CAAC;AAED;;;;;;;GAOG;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":";;;;;;AAAA,kDAA0B;AAI1B,iFAA8E;AAC9E,qDAA8D;AAE9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAEhE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA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Aa,EAAE,OAAO,CAAC,aAAa;YACpC,OAAO,EAAE,IAAA,6CAAqB,EAAC,aAAa,EAAE,OAAO,CAAC,OAAO,CAAC;YAC9D,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;YACxD,SAAS,EAAE,aAAa,CAAC,SAAS;YAClC,eAAe,EAAE,eAAe;SACjC,CAAC,CAAC;KACJ;IAED,IAAA,uCAAkB,EAAC,aAAa,CAAC,CAAC;IAElC,OAAO,aAAa,CAAC;AACvB,CAAC;AAnHD,kDAmHC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAFD,0DAEC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAFD,kEAEC;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;YAC1B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACnB,CAAC;AAED;;;;;;;GAOG;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/typescript-estree/dist/parseSettings/index.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts index 8e58f9f357..4be4c1db94 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts @@ -1,4 +1,5 @@ import type * as ts from 'typescript'; +import type * as tsserverlibrary from 'typescript/lib/tsserverlibrary'; import type { CanonicalPath } from '../create-program/shared'; import type { TSESTree } from '../ts-estree'; import type { CacheLike } from './ExpiringCache'; @@ -45,6 +46,10 @@ export interface MutableParseSettings { * Whether to error if an unknown AST node type is encountered. */ errorOnUnknownASTType: boolean; + /** + * Experimental: TypeScript server to power program creation. + */ + EXPERIMENTAL_projectService: tsserverlibrary.server.ProjectService | undefined; /** * Whether TS should use the source files for referenced projects instead of the compiled .d.ts files. * diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map index 3049e2d068..3deae6b589 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parseSettings/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,WAAW,GAAG,QAAQ,GAAG,mBAAmB,GAAG,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,CAAC;IAE7B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;IAE7B;;;;OAIG;IACH,gCAAgC,EAAE,OAAO,CAAC;IAE1C;;OAEG;IACH,UAAU,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC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AAS,aAAa,EAAE,CAAC;IAEnC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,kCAAkC,EAAE,OAAO,CAAC;IAE5C;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,kBAAkB,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE9C;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts index f70b5721b2..994065d439 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts @@ -68,6 +68,14 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { * Causes the parser to error if the TypeScript compiler returns any unexpected syntax/semantic errors. */ errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; + /** + * ***EXPERIMENTAL FLAG*** - Use this at your own risk. + * + * Whether to create a shared TypeScript server to power program creation. + * + * @see https://github.com/typescript-eslint/typescript-eslint/issues/6575 + */ + EXPERIMENTAL_useProjectService?: boolean; /** * ***EXPERIMENTAL FLAG*** - Use this at your own risk. * @@ -76,7 +84,7 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { * * This flag REQUIRES at least TS v3.9, otherwise it does nothing. * - * See: https://github.com/typescript-eslint/typescript-eslint/issues/2094 + * @see https://github.com/typescript-eslint/typescript-eslint/issues/2094 */ EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean; /** diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map index 94cfb89d52..aa9ee04802 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/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,EACV,oBAAoB,EACpB,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAM/E,UAAU,YAAY;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAOd,QAAQ,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,CAAC;IAE/C;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAC9C;AAED,UAAU,+BAAgC,SAAQ,YAAY;IAC5D;;OAEG;IACH,2CAA2C,CAAC,EAAE,OAAO,CAAC;IAEtD;;;;;;;;;OASG;IACH,gDAAgD,CAAC,EAAE,OAAO,CAAC;IAE3D;;;OAGG;IACH,mBAAmB,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AC,MAAM,GAAG,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CACvE;AACD,MAAM,WAAW,iCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IACpB,mBAAmB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC;IACpE,iBAAiB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,CAAC;CACrD;AACD,MAAM,WAAW,oCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,MAAM,cAAc,GACtB,oCAAoC,GACpC,iCAAiC,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,EACV,oBAAoB,EACpB,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAM/E,UAAU,YAAY;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAOd,QAAQ,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,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G,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B,CAC1C,IAAI,SAAS,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI;IAE1C,GAAG,CAAC,QAAQ,SAAS,IAAI,EAAE,GAAG,EAAE,QAAQ,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACtE,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,GAAG,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CACvE;AACD,MAAM,WAAW,iCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;IACpB,mBAAmB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC;IACpE,iBAAiB,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,IAAI,CAAC;CACrD;AACD,MAAM,WAAW,oCACf,SAAQ,sBAAsB;IAC9B,OAAO,EAAE,IAAI,CAAC;CACf;AACD,MAAM,MAAM,cAAc,GACtB,oCAAoC,GACpC,iCAAiC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map index 048a89fb18..8dd598fbf3 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +++ b/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":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBtC,OAAO,KAAK,EAC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AAK,EACV,cAAc,EAEd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAW5C,iBAAS,iBAAiB,IAAI,IAAI,CAEjC;AA0DD,UAAU,WAAW;CAAG;AACxB,KAAK,GAAG,CAAC,CAAC,SAAS,eAAe,IAAI,QAAQ,CAAC,OAAO,GACpD,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,IAAI,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAA;CAAE,GAAG,WAAW,CAAC,GAC5E,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAA;CAAE,GAAG,WAAW,CAAC,CAAC;AAE1E,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,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,CAAC,GACV,GAAG,CAAC,CAAC,CAAC,CAGR;AA4CD,iBAAS,kCAAkC,IAAI,IAAI,CAElD;AAED,iBAAS,wBAAwB,CAAC,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3E,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,OAAO,EAAE,CAAC,GACT,8BAA8B,CAAC,CAAC,CAAC,CAkHnC;AAED,OAAO,EACL,GAAG,EACH,KAAK,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,iBAAiB,EACjB,kCAAkC,GACnC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser.js b/node_modules/@typescript-eslint/typescript-estree/dist/parser.js index 8a422eca38..c69b8ac623 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parser.js @@ -11,10 +11,12 @@ const createDefaultProgram_1 = require("./create-program/createDefaultProgram"); const createIsolatedProgram_1 = require("./create-program/createIsolatedProgram"); const createProjectProgram_1 = require("./create-program/createProjectProgram"); const createSourceFile_1 = require("./create-program/createSourceFile"); +const getWatchProgramsForProjects_1 = require("./create-program/getWatchProgramsForProjects"); const useProvidedPrograms_1 = require("./create-program/useProvidedPrograms"); const createParserServices_1 = require("./createParserServices"); const createParseSettings_1 = require("./parseSettings/createParseSettings"); const semantic_or_syntactic_errors_1 = require("./semantic-or-syntactic-errors"); +const useProgramFromProjectService_1 = require("./useProgramFromProjectService"); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser'); /** * Cache existing programs for the single run use-case. @@ -32,30 +34,36 @@ exports.clearProgramCache = clearProgramCache; * @returns Returns a source file and program corresponding to the linted code */ function getProgramAndAST(parseSettings, hasFullTypeInformation) { + if (parseSettings.EXPERIMENTAL_projectService) { + const fromProjectService = (0, useProgramFromProjectService_1.useProgramFromProjectService)(parseSettings.EXPERIMENTAL_projectService, parseSettings); + if (fromProjectService) { + return fromProjectService; + } + } if (parseSettings.programs) { const fromProvidedPrograms = (0, useProvidedPrograms_1.useProvidedPrograms)(parseSettings.programs, parseSettings); if (fromProvidedPrograms) { return fromProvidedPrograms; } } - if (hasFullTypeInformation) { - const fromProjectProgram = (0, createProjectProgram_1.createProjectProgram)(parseSettings); - if (fromProjectProgram) { - return fromProjectProgram; - } + // no need to waste time creating a program as the caller didn't want parser services + // so we can save time and just create a lonesome source file + if (!hasFullTypeInformation) { + return (0, createSourceFile_1.createNoProgram)(parseSettings); + } + const fromProjectProgram = (0, createProjectProgram_1.createProjectProgram)(parseSettings, (0, getWatchProgramsForProjects_1.getWatchProgramsForProjects)(parseSettings)); + if (fromProjectProgram) { + return fromProjectProgram; + } + // eslint-disable-next-line deprecation/deprecation -- will be cleaned up with the next major + if (parseSettings.DEPRECATED__createDefaultProgram) { // eslint-disable-next-line deprecation/deprecation -- will be cleaned up with the next major - if (parseSettings.DEPRECATED__createDefaultProgram) { - // eslint-disable-next-line deprecation/deprecation -- will be cleaned up with the next major - const fromDefaultProgram = (0, createDefaultProgram_1.createDefaultProgram)(parseSettings); - if (fromDefaultProgram) { - return fromDefaultProgram; - } + const fromDefaultProgram = (0, createDefaultProgram_1.createDefaultProgram)(parseSettings); + if (fromDefaultProgram) { + return fromDefaultProgram; } - return (0, createIsolatedProgram_1.createIsolatedProgram)(parseSettings); } - // no need to waste time creating a program as the caller didn't want parser services - // so we can save time and just create a lonesome source file - return (0, createSourceFile_1.createNoProgram)(parseSettings); + return (0, createIsolatedProgram_1.createIsolatedProgram)(parseSettings); } function parse(code, options) { const { ast } = parseWithNodeMapsInternal(code, options, false); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map index b4cbd5ec8c..dcb24c41d0 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAG1B,mDAA+C;AAC/C,uCAAyC;AACzC,gFAA6E;AAC7E,kFAA+E;AAC/E,gFAA6E;AAC7E,wEAG2C;AAE3C,8EAG8C;AAC9C,iEAA8D;AAO9D,6EAA0E;AAC1E,iFAAkF;AAGlF,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;AA6OC,8CAAiB;AA3OnB;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,aAA4B,EAC5B,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\ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts new file mode 100644 index 0000000000..6a19655bb5 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts @@ -0,0 +1,5 @@ +import type { server } from 'typescript/lib/tsserverlibrary'; +import { type ASTAndDefiniteProgram } from './create-program/shared'; +import type { MutableParseSettings } from './parseSettings'; +export declare function useProgramFromProjectService(projectService: server.ProjectService, parseSettings: Readonly): ASTAndDefiniteProgram | undefined; +//# sourceMappingURL=useProgramFromProjectService.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts.map new file mode 100644 index 0000000000..e496aed82c --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"useProgramFromProjectService.d.ts","sourceRoot":"","sources":["../src/useProgramFromProjectService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,wBAAgB,4BAA4B,CAC1C,cAAc,EAAE,MAAM,CAAC,cAAc,EACrC,aAAa,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAC5C,qBAAqB,GAAG,SAAS,CA4BnC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js new file mode 100644 index 0000000000..94bff4011c --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js @@ -0,0 +1,31 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.useProgramFromProjectService = void 0; +const path_1 = __importDefault(require("path")); +const createProjectProgram_1 = require("./create-program/createProjectProgram"); +function useProgramFromProjectService(projectService, parseSettings) { + const opened = projectService.openClientFile(absolutify(parseSettings.filePath), parseSettings.codeFullText, + /* scriptKind */ undefined, parseSettings.tsconfigRootDir); + if (!opened.configFileName) { + return undefined; + } + const scriptInfo = projectService.getScriptInfo(parseSettings.filePath); + const program = projectService + .getDefaultProjectForFile(scriptInfo.fileName, true) + .getLanguageService(/*ensureSynchronized*/ true) + .getProgram(); + if (!program) { + return undefined; + } + return (0, createProjectProgram_1.createProjectProgram)(parseSettings, [program]); + function absolutify(filePath) { + return path_1.default.isAbsolute(filePath) + ? filePath + : path_1.default.join(projectService.host.getCurrentDirectory(), filePath); + } +} +exports.useProgramFromProjectService = useProgramFromProjectService; +//# sourceMappingURL=useProgramFromProjectService.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map new file mode 100644 index 0000000000..cf65140f19 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map @@ -0,0 +1 @@ +{"version":3,"file":"useProgramFromProjectService.js","sourceRoot":"","sources":["../src/useProgramFromProjectService.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAIxB,gFAA6E;AAI7E,SAAgB,4BAA4B,CAC1C,cAAqC,EACrC,aAA6C;IAE7C,MAAM,MAAM,GAAG,cAAc,CAAC,cAAc,CAC1C,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAClC,aAAa,CAAC,YAAY;IAC1B,gBAAgB,CAAC,SAAS,EAC1B,aAAa,CAAC,eAAe,CAC9B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE;QAC1B,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,cAAc;SAC3B,wBAAwB,CAAC,UAAW,CAAC,QAAQ,EAAE,IAAI,CAAE;SACrD,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC;SAC/C,UAAU,EAAE,CAAC;IAEhB,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,SAAS,CAAC;KAClB;IAED,OAAO,IAAA,2CAAoB,EAAC,aAAa,EAAE,CAAC,OAAqB,CAAC,CAAC,CAAC;IAEpE,SAAS,UAAU,CAAC,QAAgB;QAClC,OAAO,cAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC9B,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,QAAQ,CAAC,CAAC;IACrE,CAAC;AACH,CAAC;AA/BD,oEA+BC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json index 28746e70c9..039df710ee 100644 --- a/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "6.0.0", + "version": "6.1.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -52,12 +52,12 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.0.0", - "@typescript-eslint/visitor-keys": "6.0.0", + "@typescript-eslint/types": "6.1.0", + "@typescript-eslint/visitor-keys": "6.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.5.0", + "semver": "^7.5.4", "ts-api-utils": "^1.0.1" }, "devDependencies": { @@ -85,5 +85,5 @@ ] } }, - "gitHead": "6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781" + "gitHead": "d98f1e811a6a06128a86f10824b6005984dc8265" } diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts index 34ebbfdb05..d46b0be94e 100644 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts +++ b/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts @@ -2,6 +2,7 @@ import * as ASTUtils from './ast-utils'; import * as ESLintUtils from './eslint-utils'; import * as JSONSchema from './json-schema'; import * as TSESLint from './ts-eslint'; -export { ASTUtils, ESLintUtils, JSONSchema, TSESLint }; +import * as TSUtils from './ts-utils'; +export { ASTUtils, ESLintUtils, JSONSchema, TSESLint, TSUtils }; export * from './ts-estree'; //# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts index 713fe8b809..e6b774fd57 100644 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts +++ b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts @@ -178,7 +178,7 @@ interface RuleContext 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/README.md b/node_modules/aria-query/README.md index 67e6d87d31..53a1b7b89e 100644 --- a/node_modules/aria-query/README.md +++ b/node_modules/aria-query/README.md @@ -2,8 +2,8 @@ ![CI](https://github.com/A11yance/aria-query/workflows/CI/badge.svg) -Programmatic access to the [WAI-ARIA 1.2 Roles Model](https://raw.githack.com/w3c/aria/stable/#roles). -This package tracks the stable editor's draft (last update: 21 July 2020). +Programmatic access to the [WAI-ARIA 1.2 Roles Model](https://www.w3.org/TR/wai-aria-1.2/#roles). +This package tracks the W3C Recommendation (last update: 6 June 2023). CDN URL: diff --git a/node_modules/aria-query/lib/ariaPropsMap.js b/node_modules/aria-query/lib/ariaPropsMap.js index df9b053d25..7ab28134bb 100644 --- a/node_modules/aria-query/lib/ariaPropsMap.js +++ b/node_modules/aria-query/lib/ariaPropsMap.js @@ -20,6 +20,10 @@ var properties = [['aria-activedescendant', { }], ['aria-autocomplete', { 'type': 'token', 'values': ['inline', 'list', 'both', 'none'] +}], ['aria-braillelabel', { + 'type': 'string' +}], ['aria-brailleroledescription', { + 'type': 'string' }], ['aria-busy', { 'type': 'boolean' }], ['aria-checked', { @@ -37,6 +41,8 @@ var properties = [['aria-activedescendant', { values: ['page', 'step', 'location', 'date', 'time', true, false] }], ['aria-describedby', { 'type': 'idlist' +}], ['aria-description', { + 'type': 'string' }], ['aria-details', { 'type': 'id' }], ['aria-disabled', { diff --git a/node_modules/aria-query/lib/elementRoleMap.js b/node_modules/aria-query/lib/elementRoleMap.js index 9a2c8d469d..4ede6ae646 100644 --- a/node_modules/aria-query/lib/elementRoleMap.js +++ b/node_modules/aria-query/lib/elementRoleMap.js @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; -var _deepEqual = _interopRequireDefault(require("deep-equal")); +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 }; } @@ -25,14 +25,13 @@ for (var i = 0; i < keys.length; i++) { for (var k = 0; k < concepts.length; k++) { var relation = concepts[k]; if (relation.module === 'HTML') { - var concept = relation.concept; - if (concept) { - (function () { - var conceptStr = JSON.stringify(concept); + (function () { + var concept = relation.concept; + if (concept) { var elementRoleRelation = elementRoles.find(function (relation) { - return JSON.stringify(relation[0]) === conceptStr; + return (0, _lite.dequal)(relation, concept); }); - var roles = void 0; + var roles; if (elementRoleRelation) { roles = elementRoleRelation[1]; } else { @@ -49,8 +48,8 @@ for (var i = 0; i < keys.length; i++) { roles.push(key); } elementRoles.push([concept, roles]); - })(); - } + } + })(); } } } @@ -78,7 +77,7 @@ var elementRoleMap = { }, get: function get(key) { var item = elementRoles.find(function (tuple) { - return (0, _deepEqual.default)(key, tuple[0]); + return key.name === tuple[0].name && (0, _lite.dequal)(key.attributes, tuple[0].attributes); }); return item && item[1]; }, 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 d8ee88bc16..015315583e 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js @@ -12,12 +12,7 @@ var commandRole = { nameFrom: ['author'], prohibitedProps: [], props: {}, - relatedConcepts: [{ - concept: { - name: 'menuitem' - }, - module: 'HTML' - }], + relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 fe718c2ac4..90af180a2d 100644 --- a/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +++ b/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js @@ -31,11 +31,6 @@ var roletypeRole = { 'aria-roledescription': null }, relatedConcepts: [{ - concept: { - name: 'rel' - }, - module: 'HTML' - }, { concept: { name: 'role' }, diff --git a/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js b/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js index 6542cec6e4..7e7d389761 100644 --- a/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +++ b/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js @@ -41,6 +41,7 @@ var _listboxRole = _interopRequireDefault(require("./literal/listboxRole")); var _listitemRole = _interopRequireDefault(require("./literal/listitemRole")); var _logRole = _interopRequireDefault(require("./literal/logRole")); var _mainRole = _interopRequireDefault(require("./literal/mainRole")); +var _markRole = _interopRequireDefault(require("./literal/markRole")); var _marqueeRole = _interopRequireDefault(require("./literal/marqueeRole")); var _mathRole = _interopRequireDefault(require("./literal/mathRole")); var _menuRole = _interopRequireDefault(require("./literal/menuRole")); @@ -88,6 +89,6 @@ var _treegridRole = _interopRequireDefault(require("./literal/treegridRole")); var _treeitemRole = _interopRequireDefault(require("./literal/treeitemRole")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -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], ['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 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 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 ae3a810aeb..fb98734710 100644 --- a/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +++ b/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js @@ -9,7 +9,7 @@ var docBacklinkRole = { accessibleNameRequired: true, baseConcepts: [], childrenPresentational: false, - nameFrom: ['author', 'content'], + nameFrom: ['author', 'contents'], prohibitedProps: [], props: { 'aria-errormessage': null, 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 261dcf89b0..c53c6b27b7 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js @@ -14,7 +14,7 @@ var bannerRole = { props: {}, relatedConcepts: [{ concept: { - constraints: ['direct descendant of document'], + constraints: ['scoped to the body element'], name: 'header' }, module: 'HTML' 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 144e1c93ec..bce1636080 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js @@ -12,7 +12,12 @@ var blockquoteRole = { nameFrom: ['author'], prohibitedProps: [], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'blockquote' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 2b85e6326a..e4f71aa13e 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js @@ -18,37 +18,6 @@ var buttonRole = { 'aria-pressed': null }, relatedConcepts: [{ - concept: { - attributes: [{ - constraints: ['set'], - name: 'aria-pressed' - }, { - name: 'type', - value: 'checkbox' - }], - name: 'input' - }, - module: 'HTML' - }, { - concept: { - attributes: [{ - name: 'aria-expanded', - value: 'false' - }], - name: 'summary' - }, - module: 'HTML' - }, { - concept: { - attributes: [{ - name: 'aria-expanded', - value: 'true' - }], - constraints: ['direct descendant of details element with the open attribute defined'], - name: 'summary' - }, - module: 'HTML' - }, { concept: { attributes: [{ name: 'type', 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 3be1f76300..a9e32b45b9 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/captionRole.js @@ -12,7 +12,12 @@ var captionRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'caption' + }, + module: 'HTML' + }], requireContextRole: ['figure', 'grid', 'table'], requiredContextRole: ['figure', 'grid', 'table'], requiredOwnedElements: [], 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 2551a2a98d..294ad6bdbd 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/cellRole.js @@ -19,7 +19,7 @@ var cellRole = { }, relatedConcepts: [{ concept: { - constraints: ['descendant of table'], + constraints: ['ancestor table element has table role'], name: 'td' }, module: 'HTML' 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 187d88410a..c78bd7a97a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/codeRole.js @@ -12,7 +12,12 @@ var codeRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'code' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 fc2fce8cf5..6c40199d82 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js @@ -15,14 +15,28 @@ var columnheaderRole = { 'aria-sort': null }, relatedConcepts: [{ - attributes: [{ - name: 'scope', - value: 'col' - }], concept: { name: 'th' }, module: 'HTML' + }, { + concept: { + attributes: [{ + name: 'scope', + value: 'col' + }], + name: 'th' + }, + module: 'HTML' + }, { + concept: { + attributes: [{ + name: 'scope', + value: 'colgroup' + }], + name: 'th' + }, + module: 'HTML' }], requireContextRole: ['row'], requiredContextRole: ['row'], 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 181f5f861c..2540905229 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js @@ -102,18 +102,7 @@ var comboboxRole = { constraints: ['undefined'], name: 'size' }], - name: 'select' - }, - module: 'HTML' - }, { - concept: { - attributes: [{ - constraints: ['undefined'], - name: 'multiple' - }, { - name: 'size', - value: 1 - }], + constraints: ['the multiple attribute is not set and the size attribute does not have a value greater than 1'], name: 'select' }, module: 'HTML' 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 73222fa3c3..4124e25d3a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js @@ -17,6 +17,26 @@ var complementaryRole = { name: 'aside' }, module: 'HTML' + }, { + concept: { + attributes: [{ + constraints: ['set'], + name: 'aria-label' + }], + constraints: ['scoped to a sectioning content element', 'scoped to a sectioning root element other than body'], + name: 'aside' + }, + module: 'HTML' + }, { + concept: { + attributes: [{ + constraints: ['set'], + name: 'aria-labelledby' + }], + constraints: ['scoped to a sectioning content element', 'scoped to a sectioning root element other than body'], + name: 'aside' + }, + module: 'HTML' }], requireContextRole: [], requiredContextRole: [], 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 a477917902..babcd925b7 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js @@ -14,7 +14,7 @@ var contentinfoRole = { props: {}, relatedConcepts: [{ concept: { - constraints: ['direct descendant of document'], + constraints: ['scoped to the body element'], name: 'footer' }, module: 'HTML' 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 b8cf6b5ba2..6343e1b0d5 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js @@ -12,7 +12,12 @@ var deletionRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'del' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 b0900debb0..6602a417e2 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/documentRole.js @@ -18,7 +18,7 @@ var documentRole = { } }, { concept: { - name: 'body' + name: 'html' }, module: 'HTML' }], 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 7b237a20ac..08d8f9d12d 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js @@ -12,7 +12,12 @@ var emphasisRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'em' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 ee449942c5..ca9997df33 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/genericRole.js @@ -14,7 +14,37 @@ var genericRole = { props: {}, relatedConcepts: [{ concept: { - name: 'span' + name: 'a' + }, + module: 'HTML' + }, { + concept: { + name: 'area' + }, + module: 'HTML' + }, { + concept: { + name: 'aside' + }, + module: 'HTML' + }, { + concept: { + name: 'b' + }, + module: 'HTML' + }, { + concept: { + name: 'bdo' + }, + module: 'HTML' + }, { + concept: { + name: 'body' + }, + module: 'HTML' + }, { + concept: { + name: 'data' }, module: 'HTML' }, { @@ -22,6 +52,63 @@ var genericRole = { name: 'div' }, module: 'HTML' + }, { + concept: { + constraints: ['scoped to the main element', 'scoped to a sectioning content element', 'scoped to a sectioning root element other than body'], + name: 'footer' + }, + module: 'HTML' + }, { + concept: { + constraints: ['scoped to the main element', 'scoped to a sectioning content element', 'scoped to a sectioning root element other than body'], + name: 'header' + }, + module: 'HTML' + }, { + concept: { + name: 'hgroup' + }, + module: 'HTML' + }, { + concept: { + name: 'i' + }, + module: 'HTML' + }, { + concept: { + name: 'pre' + }, + module: 'HTML' + }, { + concept: { + name: 'q' + }, + module: 'HTML' + }, { + concept: { + name: 'samp' + }, + module: 'HTML' + }, { + concept: { + name: 'section' + }, + module: 'HTML' + }, { + concept: { + name: 'small' + }, + module: 'HTML' + }, { + concept: { + name: 'span' + }, + module: 'HTML' + }, { + concept: { + name: 'u' + }, + module: 'HTML' }], requireContextRole: [], requiredContextRole: [], 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 fa7ccc9573..0a35cd5955 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/gridRole.js @@ -15,16 +15,7 @@ var gridRole = { 'aria-multiselectable': null, 'aria-readonly': null }, - relatedConcepts: [{ - concept: { - attributes: [{ - name: 'role', - value: 'grid' - }], - name: 'table' - }, - module: 'HTML' - }], + relatedConcepts: [], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [['row'], ['row', 'rowgroup']], 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 f13712de9c..a4dea3c52d 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js @@ -23,10 +23,7 @@ var gridcellRole = { }, relatedConcepts: [{ concept: { - attributes: [{ - name: 'role', - value: 'gridcell' - }], + constraints: ['ancestor table element has grid role', 'ancestor table element has treegrid role'], name: 'td' }, module: 'HTML' 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 4fdbc70ace..08b137ce48 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/groupRole.js @@ -30,6 +30,11 @@ var groupRole = { name: 'optgroup' }, module: 'HTML' + }, { + concept: { + name: 'address' + }, + module: 'HTML' }], requireContextRole: [], requiredContextRole: [], 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 e6edfa7cef..a0059a6e4a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js @@ -12,7 +12,12 @@ var insertionRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'ins' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 bbedbec848..52a06b5339 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/linkRole.js @@ -19,6 +19,7 @@ var linkRole = { relatedConcepts: [{ concept: { attributes: [{ + constraints: ['set'], name: 'href' }], name: 'a' @@ -27,19 +28,12 @@ var linkRole = { }, { concept: { attributes: [{ + constraints: ['set'], name: 'href' }], name: 'area' }, module: 'HTML' - }, { - concept: { - attributes: [{ - name: 'href' - }], - name: 'link' - }, - module: 'HTML' }], requireContextRole: [], requiredContextRole: [], 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 6f667f2fb6..372a653bcf 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js @@ -21,22 +21,12 @@ var listboxRole = { 'aria-orientation': 'vertical' }, relatedConcepts: [{ - concept: { - attributes: [{ - constraints: ['>1'], - name: 'size' - }, { - name: 'multiple' - }], - name: 'select' - }, - module: 'HTML' - }, { concept: { attributes: [{ constraints: ['>1'], name: 'size' }], + constraints: ['the size attribute value is greater than 1'], name: 'select' }, module: 'HTML' 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 f278baff83..e50ab1d2c2 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js @@ -18,7 +18,7 @@ var listitemRole = { }, relatedConcepts: [{ concept: { - constraints: ['direct descendant of ol, ul or menu'], + constraints: ['direct descendant of ol', 'direct descendant of ul', 'direct descendant of menu'], name: 'li' }, module: 'HTML' diff --git a/node_modules/aria-query/lib/etc/roles/literal/markRole.js b/node_modules/aria-query/lib/etc/roles/literal/markRole.js new file mode 100644 index 0000000000..9b00e7220b --- /dev/null +++ b/node_modules/aria-query/lib/etc/roles/literal/markRole.js @@ -0,0 +1,32 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var markRole = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: ['prohibited'], + prohibitedProps: [], + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null + }, + relatedConcepts: [{ + concept: { + name: 'mark' + }, + module: 'HTML' + }], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [['roletype', 'structure', 'section']] +}; +var _default = markRole; +exports.default = _default; \ 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 b6c707fc12..17efd172ca 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js @@ -28,11 +28,6 @@ var menuitemRole = { name: 'listitem' }, module: 'ARIA' - }, { - concept: { - name: 'menuitem' - }, - module: 'HTML' }, { concept: { name: 'option' 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 2998ee3abd..baddbbaf56 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/meterRole.js @@ -16,7 +16,12 @@ var meterRole = { 'aria-valuemax': '100', 'aria-valuemin': '0' }, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'meter' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 d643b65bd7..501b88b91f 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js @@ -12,7 +12,12 @@ var paragraphRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'p' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 d863625e63..06def2c120 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js @@ -12,7 +12,16 @@ var presentationRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + attributes: [{ + name: 'alt', + value: '' + }], + name: 'img' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 bc159f9334..94d6ed4d09 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/regionRole.js @@ -34,11 +34,6 @@ var regionRole = { concept: { name: 'Device Independence Glossart perceivable unit' } - }, { - concept: { - name: 'frame' - }, - module: 'HTML' }], requireContextRole: [], requiredContextRole: [], 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 7e8aa228cb..0ab1d0c23a 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js @@ -21,6 +21,7 @@ var searchboxRole = { name: 'type', value: 'search' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' 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 c6841ad751..31660787da 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/strongRole.js @@ -12,7 +12,12 @@ var strongRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'strong' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 4ef8a8162e..73a64a0860 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js @@ -12,7 +12,12 @@ var subscriptRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'sub' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 4b5401c963..97bfe7d983 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js @@ -12,7 +12,12 @@ var superscriptRole = { nameFrom: ['prohibited'], prohibitedProps: ['aria-label', 'aria-labelledby'], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'sup' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], 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 9d35598369..ef2d769a17 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js @@ -31,6 +31,7 @@ var textboxRole = { constraints: ['undefined'], name: 'list' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' @@ -43,6 +44,7 @@ var textboxRole = { name: 'type', value: 'email' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' @@ -55,6 +57,7 @@ var textboxRole = { name: 'type', value: 'tel' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' @@ -67,6 +70,7 @@ var textboxRole = { name: 'type', value: 'text' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' @@ -79,6 +83,7 @@ var textboxRole = { name: 'type', value: 'url' }], + constraints: ['the list attribute is not set'], name: 'input' }, module: 'HTML' 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 02e1957b1a..9358d7f1f4 100644 --- a/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +++ b/node_modules/aria-query/lib/etc/roles/literal/timeRole.js @@ -12,7 +12,12 @@ var timeRole = { nameFrom: ['author'], prohibitedProps: [], props: {}, - relatedConcepts: [], + relatedConcepts: [{ + concept: { + name: 'time' + }, + module: 'HTML' + }], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], diff --git a/node_modules/aria-query/lib/roleElementMap.js b/node_modules/aria-query/lib/roleElementMap.js index 10fb50bc1d..9dbbde65f5 100644 --- a/node_modules/aria-query/lib/roleElementMap.js +++ b/node_modules/aria-query/lib/roleElementMap.js @@ -16,34 +16,25 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o = 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; } var roleElement = []; var keys = _rolesMap.default.keys(); -var _loop = function _loop(i) { +for (var i = 0; i < keys.length; i++) { var key = keys[i]; var role = _rolesMap.default.get(key); + var relationConcepts = []; if (role) { var concepts = [].concat(role.baseConcepts, role.relatedConcepts); for (var k = 0; k < concepts.length; k++) { var relation = concepts[k]; if (relation.module === 'HTML') { var concept = relation.concept; - if (concept) { - var roleElementRelation = roleElement.find(function (item) { - return item[0] === key; - }); - var relationConcepts = void 0; - if (roleElementRelation) { - relationConcepts = roleElementRelation[1]; - } else { - relationConcepts = []; - } + if (concept != null) { relationConcepts.push(concept); - roleElement.push([key, relationConcepts]); } } } + if (relationConcepts.length > 0) { + roleElement.push([key, relationConcepts]); + } } -}; -for (var i = 0; i < keys.length; i++) { - _loop(i); } var roleElementMap = { entries: function entries() { @@ -56,9 +47,9 @@ var roleElementMap = { try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var _step$value = _slicedToArray(_step.value, 2), - key = _step$value[0], + _key = _step$value[0], values = _step$value[1]; - fn.call(thisArg, values, key, roleElement); + fn.call(thisArg, values, _key, roleElement); } } catch (err) { _iterator.e(err); diff --git a/node_modules/aria-query/package.json b/node_modules/aria-query/package.json index a560e48de8..00f04b8a7e 100644 --- a/node_modules/aria-query/package.json +++ b/node_modules/aria-query/package.json @@ -1,6 +1,6 @@ { "name": "aria-query", - "version": "5.1.3", + "version": "5.3.0", "description": "Programmatic access to the ARIA specification", "main": "lib/index.js", "files": [ @@ -11,6 +11,7 @@ "flow": "flow", "lint": "eslint --config .eslintrc src __tests__ scripts", "lint:fix": "npm run lint -- --fix", + "prepublishOnly": "npm run build", "pretest": "npm run lint:fix && npm run flow", "test": "npm run jest", "test:ci": "npm run jest -- --ci --runInBand", @@ -35,6 +36,7 @@ "@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", @@ -66,6 +68,6 @@ "ie 11" ], "dependencies": { - "deep-equal": "^2.0.5" + "dequal": "^2.0.3" } } diff --git a/node_modules/dequal/dist/index.js b/node_modules/dequal/dist/index.js new file mode 100644 index 0000000000..7cbd2e7a40 --- /dev/null +++ b/node_modules/dequal/dist/index.js @@ -0,0 +1,86 @@ +var has = Object.prototype.hasOwnProperty; + +function find(iter, tar, key) { + for (key of iter.keys()) { + if (dequal(key, tar)) return key; + } +} + +function dequal(foo, bar) { + var ctor, len, tmp; + if (foo === bar) return true; + + if (foo && bar && (ctor=foo.constructor) === bar.constructor) { + if (ctor === Date) return foo.getTime() === bar.getTime(); + if (ctor === RegExp) return foo.toString() === bar.toString(); + + if (ctor === Array) { + if ((len=foo.length) === bar.length) { + while (len-- && dequal(foo[len], bar[len])); + } + return len === -1; + } + + if (ctor === Set) { + if (foo.size !== bar.size) { + return false; + } + for (len of foo) { + tmp = len; + if (tmp && typeof tmp === 'object') { + tmp = find(bar, tmp); + if (!tmp) return false; + } + if (!bar.has(tmp)) return false; + } + return true; + } + + if (ctor === Map) { + if (foo.size !== bar.size) { + return false; + } + for (len of foo) { + tmp = len[0]; + if (tmp && typeof tmp === 'object') { + tmp = find(bar, tmp); + if (!tmp) return false; + } + if (!dequal(len[1], bar.get(tmp))) { + return false; + } + } + return true; + } + + if (ctor === ArrayBuffer) { + foo = new Uint8Array(foo); + bar = new Uint8Array(bar); + } else if (ctor === DataView) { + if ((len=foo.byteLength) === bar.byteLength) { + while (len-- && foo.getInt8(len) === bar.getInt8(len)); + } + return len === -1; + } + + if (ArrayBuffer.isView(foo)) { + if ((len=foo.byteLength) === bar.byteLength) { + while (len-- && foo[len] === bar[len]); + } + return len === -1; + } + + if (!ctor || typeof foo === 'object') { + len = 0; + for (ctor in foo) { + if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false; + if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false; + } + return Object.keys(bar).length === len; + } + } + + return foo !== foo && bar !== bar; +} + +exports.dequal = dequal; \ No newline at end of file diff --git a/node_modules/dequal/dist/index.min.js b/node_modules/dequal/dist/index.min.js new file mode 100644 index 0000000000..0149a23c20 --- /dev/null +++ b/node_modules/dequal/dist/index.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.dequal={})}(this,(function(e){var t=Object.prototype.hasOwnProperty;function r(e,t,r){for(r of e.keys())if(n(r,t))return r}function n(e,f){var i,o,u;if(e===f)return!0;if(e&&f&&(i=e.constructor)===f.constructor){if(i===Date)return e.getTime()===f.getTime();if(i===RegExp)return e.toString()===f.toString();if(i===Array){if((o=e.length)===f.length)for(;o--&&n(e[o],f[o]););return-1===o}if(i===Set){if(e.size!==f.size)return!1;for(o of e){if((u=o)&&"object"==typeof u&&!(u=r(f,u)))return!1;if(!f.has(u))return!1}return!0}if(i===Map){if(e.size!==f.size)return!1;for(o of e){if((u=o[0])&&"object"==typeof u&&!(u=r(f,u)))return!1;if(!n(o[1],f.get(u)))return!1}return!0}if(i===ArrayBuffer)e=new Uint8Array(e),f=new Uint8Array(f);else if(i===DataView){if((o=e.byteLength)===f.byteLength)for(;o--&&e.getInt8(o)===f.getInt8(o););return-1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===f.byteLength)for(;o--&&e[o]===f[o];);return-1===o}if(!i||"object"==typeof e){for(i in o=0,e){if(t.call(e,i)&&++o&&!t.call(f,i))return!1;if(!(i in f)||!n(e[i],f[i]))return!1}return Object.keys(f).length===o}}return e!=e&&f!=f}e.dequal=n})); \ No newline at end of file diff --git a/node_modules/dequal/dist/index.mjs b/node_modules/dequal/dist/index.mjs new file mode 100644 index 0000000000..d0b1e2db3a --- /dev/null +++ b/node_modules/dequal/dist/index.mjs @@ -0,0 +1,84 @@ +var has = Object.prototype.hasOwnProperty; + +function find(iter, tar, key) { + for (key of iter.keys()) { + if (dequal(key, tar)) return key; + } +} + +export function dequal(foo, bar) { + var ctor, len, tmp; + if (foo === bar) return true; + + if (foo && bar && (ctor=foo.constructor) === bar.constructor) { + if (ctor === Date) return foo.getTime() === bar.getTime(); + if (ctor === RegExp) return foo.toString() === bar.toString(); + + if (ctor === Array) { + if ((len=foo.length) === bar.length) { + while (len-- && dequal(foo[len], bar[len])); + } + return len === -1; + } + + if (ctor === Set) { + if (foo.size !== bar.size) { + return false; + } + for (len of foo) { + tmp = len; + if (tmp && typeof tmp === 'object') { + tmp = find(bar, tmp); + if (!tmp) return false; + } + if (!bar.has(tmp)) return false; + } + return true; + } + + if (ctor === Map) { + if (foo.size !== bar.size) { + return false; + } + for (len of foo) { + tmp = len[0]; + if (tmp && typeof tmp === 'object') { + tmp = find(bar, tmp); + if (!tmp) return false; + } + if (!dequal(len[1], bar.get(tmp))) { + return false; + } + } + return true; + } + + if (ctor === ArrayBuffer) { + foo = new Uint8Array(foo); + bar = new Uint8Array(bar); + } else if (ctor === DataView) { + if ((len=foo.byteLength) === bar.byteLength) { + while (len-- && foo.getInt8(len) === bar.getInt8(len)); + } + return len === -1; + } + + if (ArrayBuffer.isView(foo)) { + if ((len=foo.byteLength) === bar.byteLength) { + while (len-- && foo[len] === bar[len]); + } + return len === -1; + } + + if (!ctor || typeof foo === 'object') { + len = 0; + for (ctor in foo) { + if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false; + if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false; + } + return Object.keys(bar).length === len; + } + } + + return foo !== foo && bar !== bar; +} diff --git a/node_modules/dequal/index.d.ts b/node_modules/dequal/index.d.ts new file mode 100644 index 0000000000..a9aea5d506 --- /dev/null +++ b/node_modules/dequal/index.d.ts @@ -0,0 +1 @@ +export function dequal(foo: any, bar: any): boolean; \ No newline at end of file diff --git a/node_modules/grapheme-splitter/LICENSE b/node_modules/dequal/license similarity index 86% rename from node_modules/grapheme-splitter/LICENSE rename to node_modules/dequal/license index 4f0f53dd0c..a3f96f8284 100644 --- a/node_modules/grapheme-splitter/LICENSE +++ b/node_modules/dequal/license @@ -1,22 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2015 Orlin Georgiev - -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. - +The MIT License (MIT) + +Copyright (c) Luke Edwards (lukeed.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/dequal/lite/index.d.ts b/node_modules/dequal/lite/index.d.ts new file mode 100644 index 0000000000..a9aea5d506 --- /dev/null +++ b/node_modules/dequal/lite/index.d.ts @@ -0,0 +1 @@ +export function dequal(foo: any, bar: any): boolean; \ No newline at end of file diff --git a/node_modules/dequal/lite/index.js b/node_modules/dequal/lite/index.js new file mode 100644 index 0000000000..ac3eb6b870 --- /dev/null +++ b/node_modules/dequal/lite/index.js @@ -0,0 +1,31 @@ +var has = Object.prototype.hasOwnProperty; + +function dequal(foo, bar) { + var ctor, len; + if (foo === bar) return true; + + if (foo && bar && (ctor=foo.constructor) === bar.constructor) { + if (ctor === Date) return foo.getTime() === bar.getTime(); + if (ctor === RegExp) return foo.toString() === bar.toString(); + + if (ctor === Array) { + if ((len=foo.length) === bar.length) { + while (len-- && dequal(foo[len], bar[len])); + } + return len === -1; + } + + if (!ctor || typeof foo === 'object') { + len = 0; + for (ctor in foo) { + if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false; + if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false; + } + return Object.keys(bar).length === len; + } + } + + return foo !== foo && bar !== bar; +} + +exports.dequal = dequal; \ No newline at end of file diff --git a/node_modules/dequal/lite/index.min.js b/node_modules/dequal/lite/index.min.js new file mode 100644 index 0000000000..2eaa55fd06 --- /dev/null +++ b/node_modules/dequal/lite/index.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.dequal={})}(this,(function(e){var t=Object.prototype.hasOwnProperty;e.dequal=function e(r,n){var o,i;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&e(r[i],n[i]););return-1===i}if(!o||"object"==typeof r){for(o in i=0,r){if(t.call(r,o)&&++i&&!t.call(n,o))return!1;if(!(o in n)||!e(r[o],n[o]))return!1}return Object.keys(n).length===i}}return r!=r&&n!=n}})); \ No newline at end of file diff --git a/node_modules/dequal/lite/index.mjs b/node_modules/dequal/lite/index.mjs new file mode 100644 index 0000000000..5820d674f8 --- /dev/null +++ b/node_modules/dequal/lite/index.mjs @@ -0,0 +1,29 @@ +var has = Object.prototype.hasOwnProperty; + +export function dequal(foo, bar) { + var ctor, len; + if (foo === bar) return true; + + if (foo && bar && (ctor=foo.constructor) === bar.constructor) { + if (ctor === Date) return foo.getTime() === bar.getTime(); + if (ctor === RegExp) return foo.toString() === bar.toString(); + + if (ctor === Array) { + if ((len=foo.length) === bar.length) { + while (len-- && dequal(foo[len], bar[len])); + } + return len === -1; + } + + if (!ctor || typeof foo === 'object') { + len = 0; + for (ctor in foo) { + if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false; + if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false; + } + return Object.keys(bar).length === len; + } + } + + return foo !== foo && bar !== bar; +} diff --git a/node_modules/dequal/package.json b/node_modules/dequal/package.json new file mode 100644 index 0000000000..df1cb29cb2 --- /dev/null +++ b/node_modules/dequal/package.json @@ -0,0 +1,57 @@ +{ + "name": "dequal", + "version": "2.0.3", + "repository": "lukeed/dequal", + "description": "A tiny (304B to 489B) utility for check for deep equality", + "unpkg": "dist/index.min.js", + "module": "dist/index.mjs", + "main": "dist/index.js", + "types": "index.d.ts", + "license": "MIT", + "author": { + "name": "Luke Edwards", + "email": "luke.edwards05@gmail.com", + "url": "https://lukeed.com" + }, + "engines": { + "node": ">=6" + }, + "scripts": { + "build": "bundt", + "pretest": "npm run build", + "postbuild": "echo \"lite\" | xargs -n1 cp -v index.d.ts", + "test": "uvu -r esm test" + }, + "files": [ + "*.d.ts", + "dist", + "lite" + ], + "exports": { + ".": { + "types": "./index.d.ts", + "import": "./dist/index.mjs", + "require": "./dist/index.js" + }, + "./lite": { + "types": "./index.d.ts", + "import": "./lite/index.mjs", + "require": "./lite/index.js" + }, + "./package.json": "./package.json" + }, + "modes": { + "lite": "src/lite.js", + "default": "src/index.js" + }, + "keywords": [ + "deep", + "deep-equal", + "equality" + ], + "devDependencies": { + "bundt": "1.0.2", + "esm": "3.2.25", + "uvu": "0.3.2" + } +} diff --git a/node_modules/dequal/readme.md b/node_modules/dequal/readme.md new file mode 100644 index 0000000000..e3341ef475 --- /dev/null +++ b/node_modules/dequal/readme.md @@ -0,0 +1,112 @@ +# dequal [![CI](https://github.com/lukeed/dequal/workflows/CI/badge.svg)](https://github.com/lukeed/dequal/actions) + +> A tiny (304B to 489B) utility to check for deep equality + +This module supports comparison of all types, including `Function`, `RegExp`, `Date`, `Set`, `Map`, `TypedArray`s, `DataView`, `null`, `undefined`, and `NaN` values. Complex values (eg, Objects, Arrays, Sets, Maps, etc) are traversed recursively. + +> **Important:** +> * key order **within Objects** does not matter +> * value order **within Arrays** _does_ matter +> * values **within Sets and Maps** use value equality +> * keys **within Maps** use value equality + + +## Install + +``` +$ npm install --save dequal +``` + +## Modes + +There are two "versions" of `dequal` available: + +#### `dequal` +> **Size (gzip):** 489 bytes
+> **Availability:** [CommonJS](https://unpkg.com/dequal/dist/index.js), [ES Module](https://unpkg.com/dequal/dist/index.mjs), [UMD](https://unpkg.com/dequal/dist/index.min.js) + +#### `dequal/lite` +> **Size (gzip):** 304 bytes
+> **Availability:** [CommonJS](https://unpkg.com/dequal/lite/index.js), [ES Module](https://unpkg.com/dequal/lite/index.mjs) + +| | IE9+ | Number | String | Date | RegExp | Object | Array | Class | Set | Map | ArrayBuffer | [TypedArray](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#TypedArray_objects) | [DataView](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) | +|-|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| +| `dequal` | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| `dequal/lite` | :+1: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | + +> **Note:** Table scrolls horizontally! + +## Usage + +```js +import { dequal } from 'dequal'; + +dequal(1, 1); //=> true +dequal({}, {}); //=> true +dequal('foo', 'foo'); //=> true +dequal([1, 2, 3], [1, 2, 3]); //=> true +dequal(dequal, dequal); //=> true +dequal(/foo/, /foo/); //=> true +dequal(null, null); //=> true +dequal(NaN, NaN); //=> true +dequal([], []); //=> true +dequal( + [{ a:1 }, [{ b:{ c:[1] } }]], + [{ a:1 }, [{ b:{ c:[1] } }]] +); //=> true + +dequal(1, '1'); //=> false +dequal(null, undefined); //=> false +dequal({ a:1, b:[2,3] }, { a:1, b:[2,5] }); //=> false +dequal(/foo/i, /bar/g); //=> false +``` + +## API + +### dequal(foo, bar) +Returns: `Boolean` + +Both `foo` and `bar` can be of any type.
+A `Boolean` is returned indicating if the two were deeply equal. + + +## Benchmarks + +> Running Node v10.13.0 + +The benchmarks can be found in the [`/bench`](/bench) directory. They are separated into two categories: + +* `basic` – compares an object comprised of `String`, `Number`, `Date`, `Array`, and `Object` values. +* `complex` – like `basic`, but adds `RegExp`, `Map`, `Set`, and `Uint8Array` values. + +> **Note:** Only candidates that pass validation step(s) are listed.
For example, `fast-deep-equal/es6` handles `Set` and `Map` values, but uses _referential equality_ while those listed use _value equality_. + +``` +Load times: + assert 0.109ms + util 0.006ms + fast-deep-equal 0.479ms + lodash/isequal 22.826ms + nano-equal 0.417ms + dequal 0.396ms + dequal/lite 0.264ms + +Benchmark :: basic + assert.deepStrictEqual x 325,262 ops/sec ±0.57% (94 runs sampled) + util.isDeepStrictEqual x 318,812 ops/sec ±0.87% (94 runs sampled) + fast-deep-equal x 1,332,393 ops/sec ±0.36% (93 runs sampled) + lodash.isEqual x 269,129 ops/sec ±0.59% (95 runs sampled) + nano-equal x 1,122,053 ops/sec ±0.36% (96 runs sampled) + dequal/lite x 1,700,972 ops/sec ±0.31% (94 runs sampled) + dequal x 1,698,972 ops/sec ±0.63% (97 runs sampled) + +Benchmark :: complex + assert.deepStrictEqual x 124,518 ops/sec ±0.64% (96 runs sampled) + util.isDeepStrictEqual x 125,113 ops/sec ±0.24% (96 runs sampled) + lodash.isEqual x 58,677 ops/sec ±0.49% (96 runs sampled) + dequal x 345,386 ops/sec ±0.27% (96 runs sampled) +``` + +## License + +MIT © [Luke Edwards](https://lukeed.com) diff --git a/node_modules/eslint-plugin-github/README.md b/node_modules/eslint-plugin-github/README.md index 14aedd5808..4dac75393d 100644 --- a/node_modules/eslint-plugin-github/README.md +++ b/node_modules/eslint-plugin-github/README.md @@ -47,15 +47,16 @@ _Note: This is experimental and subject to change._ The `react` config includes rules which target specific HTML elements. You may provide a mapping of custom components to an HTML element in your `eslintrc` configuration to increase linter coverage. -For each component, you may specify a `default` and/or `props`. `default` may make sense if there's a 1:1 mapping between a component and an HTML element. However, if the HTML output of a component is dependent on a prop value, you can provide a mapping using the `props` key. To minimize conflicts and complexity, this currently only supports the mapping of a single prop type. +By default, these eslint rules will check the "as" prop for underlying element changes. If your repo uses a different prop name for polymorphic components provide the prop name in your `eslintrc` configuration under `polymorphicPropName`. ```json { "settings": { "github": { + "polymorphicPropName": "asChild", "components": { - "Box": {"default": "p"}, - "Link": {"props": {"as": {"undefined": "a", "a": "a", "button": "button"}}} + "Box": "p", + "Link": "a" } } } @@ -66,9 +67,7 @@ This config will be interpreted in the following way: - All `` elements will be treated as a `p` element type. - `` without a defined `as` prop will be treated as a `a`. -- `` will treated as an `a` element type. - `` will be treated as a `button` element type. -- `` will be treated as the raw `Link` type because there is no configuration set for `as='summary'`. ### Rules @@ -82,28 +81,31 @@ This config will be interpreted in the following way: 🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\ ❌ Deprecated. -| Name                              | Description | 💼 | 🔧 | ❌ | -| :----------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- | -| [a11y-aria-label-is-well-formatted](docs/rules/a11y-aria-label-is-well-formatted.md) | [aria-label] text should be formatted as you would visual text. | ⚛️ | | | -| [a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md) | disallow generic link text | | | ❌ | -| [array-foreach](docs/rules/array-foreach.md) | enforce `for..of` loops over `Array.forEach` | ✅ | | | -| [async-currenttarget](docs/rules/async-currenttarget.md) | disallow `event.currentTarget` calls inside of async functions | 🔍 | | | -| [async-preventdefault](docs/rules/async-preventdefault.md) | disallow `event.preventDefault` calls inside of async functions | 🔍 | | | -| [authenticity-token](docs/rules/authenticity-token.md) | disallow usage of CSRF tokens in JavaScript | 🔐 | | | -| [get-attribute](docs/rules/get-attribute.md) | disallow wrong usage of attribute names | 🔍 | 🔧 | | -| [js-class-name](docs/rules/js-class-name.md) | enforce a naming convention for js- prefixed classes | 🔐 | | | -| [no-blur](docs/rules/no-blur.md) | disallow usage of `Element.prototype.blur()` | 🔍 | | | -| [no-d-none](docs/rules/no-d-none.md) | disallow usage the `d-none` CSS class | 🔐 | | | -| [no-dataset](docs/rules/no-dataset.md) | enforce usage of `Element.prototype.getAttribute` instead of `Element.prototype.datalist` | 🔍 | | | -| [no-dynamic-script-tag](docs/rules/no-dynamic-script-tag.md) | disallow creating dynamic script tags | ✅ | | | -| [no-implicit-buggy-globals](docs/rules/no-implicit-buggy-globals.md) | disallow implicit global variables | ✅ | | | -| [no-inner-html](docs/rules/no-inner-html.md) | disallow `Element.prototype.innerHTML` in favor of `Element.prototype.textContent` | 🔍 | | | -| [no-innerText](docs/rules/no-innerText.md) | disallow `Element.prototype.innerText` in favor of `Element.prototype.textContent` | 🔍 | 🔧 | | -| [no-then](docs/rules/no-then.md) | enforce using `async/await` syntax over Promises | ✅ | | | -| [no-useless-passive](docs/rules/no-useless-passive.md) | disallow marking a event handler as passive when it has no effect | 🔍 | 🔧 | | -| [prefer-observers](docs/rules/prefer-observers.md) | disallow poorly performing event listeners | 🔍 | | | -| [require-passive-events](docs/rules/require-passive-events.md) | enforce marking high frequency event handlers as passive | 🔍 | | | -| [role-supports-aria-props](docs/rules/role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | -| [unescaped-html-literal](docs/rules/unescaped-html-literal.md) | disallow unescaped HTML literals | 🔍 | | | +| Name                                        | Description | 💼 | 🔧 | ❌ | +| :------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- | :- | :- | :- | +| [a11y-aria-label-is-well-formatted](docs/rules/a11y-aria-label-is-well-formatted.md) | [aria-label] text should be formatted as you would visual text. | ⚛️ | | | +| [a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md) | disallow generic link text | | | ❌ | +| [a11y-no-title-attribute](docs/rules/a11y-no-title-attribute.md) | Guards against developers using the title attribute | ⚛️ | | | +| [a11y-no-visually-hidden-interactive-element](docs/rules/a11y-no-visually-hidden-interactive-element.md) | Ensures that interactive elements are not visually hidden | ⚛️ | | | +| [a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md) | Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ | | | +| [a11y-svg-has-accessible-name](docs/rules/a11y-svg-has-accessible-name.md) | SVGs must have an accessible name | ⚛️ | | | +| [array-foreach](docs/rules/array-foreach.md) | enforce `for..of` loops over `Array.forEach` | ✅ | | | +| [async-currenttarget](docs/rules/async-currenttarget.md) | disallow `event.currentTarget` calls inside of async functions | 🔍 | | | +| [async-preventdefault](docs/rules/async-preventdefault.md) | disallow `event.preventDefault` calls inside of async functions | 🔍 | | | +| [authenticity-token](docs/rules/authenticity-token.md) | disallow usage of CSRF tokens in JavaScript | 🔐 | | | +| [get-attribute](docs/rules/get-attribute.md) | disallow wrong usage of attribute names | 🔍 | 🔧 | | +| [js-class-name](docs/rules/js-class-name.md) | enforce a naming convention for js- prefixed classes | 🔐 | | | +| [no-blur](docs/rules/no-blur.md) | disallow usage of `Element.prototype.blur()` | 🔍 | | | +| [no-d-none](docs/rules/no-d-none.md) | disallow usage the `d-none` CSS class | 🔐 | | | +| [no-dataset](docs/rules/no-dataset.md) | enforce usage of `Element.prototype.getAttribute` instead of `Element.prototype.datalist` | 🔍 | | | +| [no-dynamic-script-tag](docs/rules/no-dynamic-script-tag.md) | disallow creating dynamic script tags | ✅ | | | +| [no-implicit-buggy-globals](docs/rules/no-implicit-buggy-globals.md) | disallow implicit global variables | ✅ | | | +| [no-inner-html](docs/rules/no-inner-html.md) | disallow `Element.prototype.innerHTML` in favor of `Element.prototype.textContent` | 🔍 | | | +| [no-innerText](docs/rules/no-innerText.md) | disallow `Element.prototype.innerText` in favor of `Element.prototype.textContent` | 🔍 | 🔧 | | +| [no-then](docs/rules/no-then.md) | enforce using `async/await` syntax over Promises | ✅ | | | +| [no-useless-passive](docs/rules/no-useless-passive.md) | disallow marking a event handler as passive when it has no effect | 🔍 | 🔧 | | +| [prefer-observers](docs/rules/prefer-observers.md) | disallow poorly performing event listeners | 🔍 | | | +| [require-passive-events](docs/rules/require-passive-events.md) | enforce marking high frequency event handlers as passive | 🔍 | | | +| [unescaped-html-literal](docs/rules/unescaped-html-literal.md) | disallow unescaped HTML literals | 🔍 | | | diff --git a/node_modules/eslint-plugin-github/lib/configs/react.js b/node_modules/eslint-plugin-github/lib/configs/react.js index 68eda59adf..4b2645db20 100644 --- a/node_modules/eslint-plugin-github/lib/configs/react.js +++ b/node_modules/eslint-plugin-github/lib/configs/react.js @@ -8,9 +8,12 @@ module.exports = { plugins: ['github', 'jsx-a11y'], extends: ['plugin:jsx-a11y/recommended'], rules: { - 'jsx-a11y/role-supports-aria-props': 'off', // Override with github/role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved + 'jsx-a11y/role-supports-aria-props': 'off', // Override with github/a11y-role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved 'github/a11y-aria-label-is-well-formatted': 'error', - 'github/role-supports-aria-props': 'error', + 'github/a11y-no-visually-hidden-interactive-element': 'error', + 'github/a11y-no-title-attribute': 'error', + 'github/a11y-svg-has-accessible-name': 'error', + 'github/a11y-role-supports-aria-props': 'error', 'jsx-a11y/no-aria-hidden-on-focusable': 'error', 'jsx-a11y/no-autofocus': 'off', 'jsx-a11y/anchor-ambiguous-text': [ diff --git a/node_modules/eslint-plugin-github/lib/index.js b/node_modules/eslint-plugin-github/lib/index.js index c4a8b3ee97..68dca43ae9 100644 --- a/node_modules/eslint-plugin-github/lib/index.js +++ b/node_modules/eslint-plugin-github/lib/index.js @@ -1,7 +1,11 @@ module.exports = { rules: { + 'a11y-no-visually-hidden-interactive-element': require('./rules/a11y-no-visually-hidden-interactive-element'), 'a11y-no-generic-link-text': require('./rules/a11y-no-generic-link-text'), + 'a11y-no-title-attribute': require('./rules/a11y-no-title-attribute'), 'a11y-aria-label-is-well-formatted': require('./rules/a11y-aria-label-is-well-formatted'), + 'a11y-role-supports-aria-props': require('./rules/a11y-role-supports-aria-props'), + 'a11y-svg-has-accessible-name': require('./rules/a11y-svg-has-accessible-name'), 'array-foreach': require('./rules/array-foreach'), 'async-currenttarget': require('./rules/async-currenttarget'), 'async-preventdefault': require('./rules/async-preventdefault'), @@ -18,7 +22,6 @@ module.exports = { 'no-then': require('./rules/no-then'), 'no-useless-passive': require('./rules/no-useless-passive'), 'prefer-observers': require('./rules/prefer-observers'), - 'role-supports-aria-props': require('./rules/role-supports-aria-props'), 'require-passive-events': require('./rules/require-passive-events'), 'unescaped-html-literal': require('./rules/unescaped-html-literal'), }, diff --git a/node_modules/eslint-plugin-github/lib/rules/a11y-no-title-attribute.js b/node_modules/eslint-plugin-github/lib/rules/a11y-no-title-attribute.js new file mode 100644 index 0000000000..83d61719ce --- /dev/null +++ b/node_modules/eslint-plugin-github/lib/rules/a11y-no-title-attribute.js @@ -0,0 +1,66 @@ +const {getProp, getPropValue} = require('jsx-ast-utils') +const {getElementType} = require('../utils/get-element-type') + +const SEMANTIC_ELEMENTS = [ + 'a', + 'button', + 'summary', + 'select', + 'option', + 'textarea', + 'input', + 'span', + 'div', + 'p', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'details', + 'summary', + 'dialog', + 'tr', + 'th', + 'td', + 'label', +] + +const ifSemanticElement = (context, node) => { + const elementType = getElementType(context, node.openingElement, true) + + for (const semanticElement of SEMANTIC_ELEMENTS) { + if (elementType === semanticElement) { + return true + } + } + return false +} + +module.exports = { + meta: { + docs: { + description: 'Guards against developers using the title attribute', + url: require('../url')(module), + }, + schema: [], + }, + + create(context) { + return { + JSXElement: node => { + const elementType = getElementType(context, node.openingElement) + if (elementType !== `iframe` && ifSemanticElement(context, node)) { + const titleProp = getPropValue(getProp(node.openingElement.attributes, `title`)) + if (titleProp) { + context.report({ + node, + message: 'The title attribute is not accessible and should never be used unless for an `