decidim 0.26.4 → 0.26.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/docs/modules/configure/pages/initializer.adoc +3 -3
- data/docs/modules/develop/pages/api.adoc +1 -1
- data/docs/modules/develop/pages/guide_development_app.adoc +6 -4
- data/docs/modules/develop/pages/guide_example_apps.adoc +1 -1
- data/docs/modules/develop/pages/maps.adoc +2 -2
- data/docs/modules/install/pages/index.adoc +1 -1
- data/docs/modules/services/pages/maps.adoc +0 -6
- data/lib/decidim/version.rb +1 -1
- data/package-lock.json +7 -7
- data/packages/browserslist-config/package.json +1 -1
- data/packages/core/package.json +1 -1
- data/packages/dev/package.json +1 -1
- data/packages/elections/package.json +1 -1
- data/packages/eslint-config/package.json +1 -1
- data/packages/stylelint-config/package.json +1 -1
- data/packages/webpacker/package.json +1 -1
- metadata +42 -1641
- data/packages/core/node_modules/@rails/activestorage/CHANGELOG.md +0 -306
- data/packages/core/node_modules/@rails/activestorage/README.md +0 -194
- data/packages/core/node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js +0 -942
- data/packages/core/node_modules/@rails/activestorage/package.json +0 -41
- data/packages/core/node_modules/@rails/activestorage/src/blob_record.js +0 -73
- data/packages/core/node_modules/@rails/activestorage/src/blob_upload.js +0 -35
- data/packages/core/node_modules/@rails/activestorage/src/direct_upload.js +0 -48
- data/packages/core/node_modules/@rails/activestorage/src/direct_upload_controller.js +0 -67
- data/packages/core/node_modules/@rails/activestorage/src/direct_uploads_controller.js +0 -50
- data/packages/core/node_modules/@rails/activestorage/src/file_checksum.js +0 -53
- data/packages/core/node_modules/@rails/activestorage/src/helpers.js +0 -51
- data/packages/core/node_modules/@rails/activestorage/src/index.js +0 -11
- data/packages/core/node_modules/@rails/activestorage/src/ujs.js +0 -86
- data/packages/webpacker/node_modules/@eslint/eslintrc/LICENSE +0 -21
- data/packages/webpacker/node_modules/@eslint/eslintrc/README.md +0 -61
- data/packages/webpacker/node_modules/@eslint/eslintrc/conf/config-schema.js +0 -79
- data/packages/webpacker/node_modules/@eslint/eslintrc/conf/environments.js +0 -203
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +0 -1092
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +0 -1
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +0 -4295
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +0 -1
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +0 -533
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +0 -523
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +0 -115
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +0 -145
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +0 -238
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/index.js +0 -19
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +0 -225
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array-factory.js +0 -1133
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/flat-compat.js +0 -307
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index-universal.js +0 -29
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index.js +0 -56
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/ajv.js +0 -191
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +0 -135
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +0 -325
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +0 -63
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/naming.js +0 -96
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +0 -42
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/types.js +0 -149
- data/packages/webpacker/node_modules/@eslint/eslintrc/package.json +0 -81
- data/packages/webpacker/node_modules/@eslint/eslintrc/universal.js +0 -9
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/CHANGELOG.md +0 -71
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/LICENSE +0 -201
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/README.md +0 -301
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/api.js +0 -695
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/package.json +0 -61
- data/packages/webpacker/node_modules/@jest/console/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.d.ts +0 -37
- data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.js +0 -258
- data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.d.ts +0 -41
- data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.js +0 -240
- data/packages/webpacker/node_modules/@jest/console/build/NullConsole.d.ts +0 -23
- data/packages/webpacker/node_modules/@jest/console/build/NullConsole.js +0 -50
- data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.d.ts +0 -10
- data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.js +0 -101
- data/packages/webpacker/node_modules/@jest/console/build/index.d.ts +0 -11
- data/packages/webpacker/node_modules/@jest/console/build/index.js +0 -41
- data/packages/webpacker/node_modules/@jest/console/build/types.d.ts +0 -20
- data/packages/webpacker/node_modules/@jest/console/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/console/package.json +0 -38
- data/packages/webpacker/node_modules/@jest/core/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/core/README.md +0 -3
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.d.ts +0 -12
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.js +0 -59
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts +0 -31
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.js +0 -262
- data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts +0 -22
- data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.js +0 -104
- data/packages/webpacker/node_modules/@jest/core/build/SearchSource.d.ts +0 -46
- data/packages/webpacker/node_modules/@jest/core/build/SearchSource.js +0 -490
- data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts +0 -30
- data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.js +0 -327
- data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.d.ts +0 -17
- data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.js +0 -86
- data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.d.ts +0 -24
- data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.js +0 -81
- data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.d.ts +0 -42
- data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.js +0 -570
- data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.d.ts +0 -23
- data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.js +0 -64
- data/packages/webpacker/node_modules/@jest/core/build/assets/jest_logo.png +0 -0
- data/packages/webpacker/node_modules/@jest/core/build/cli/index.d.ts +0 -12
- data/packages/webpacker/node_modules/@jest/core/build/cli/index.js +0 -399
- data/packages/webpacker/node_modules/@jest/core/build/collectHandles.d.ts +0 -10
- data/packages/webpacker/node_modules/@jest/core/build/collectHandles.js +0 -269
- data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.js +0 -77
- data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js +0 -28
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.js +0 -63
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.js +0 -51
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts +0 -7
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js +0 -30
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js +0 -57
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.js +0 -95
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.js +0 -52
- data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.js +0 -23
- data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.js +0 -49
- data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.js +0 -65
- data/packages/webpacker/node_modules/@jest/core/build/jest.d.ts +0 -11
- data/packages/webpacker/node_modules/@jest/core/build/jest.js +0 -49
- data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.js +0 -54
- data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.d.ts +0 -10
- data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.js +0 -35
- data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js +0 -72
- data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js +0 -29
- data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.js +0 -23
- data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts +0 -11
- data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.js +0 -121
- data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts +0 -10
- data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.js +0 -62
- data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts +0 -17
- data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js +0 -135
- data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.d.ts +0 -18
- data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.js +0 -60
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.d.ts +0 -21
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.js +0 -91
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.d.ts +0 -21
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.js +0 -91
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts +0 -21
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.js +0 -70
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts +0 -20
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js +0 -138
- data/packages/webpacker/node_modules/@jest/core/build/pluralize.d.ts +0 -7
- data/packages/webpacker/node_modules/@jest/core/build/pluralize.js +0 -16
- data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.d.ts +0 -13
- data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.js +0 -143
- data/packages/webpacker/node_modules/@jest/core/build/runJest.d.ts +0 -27
- data/packages/webpacker/node_modules/@jest/core/build/runJest.js +0 -423
- data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.js +0 -51
- data/packages/webpacker/node_modules/@jest/core/build/types.d.ts +0 -39
- data/packages/webpacker/node_modules/@jest/core/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/core/build/version.d.ts +0 -7
- data/packages/webpacker/node_modules/@jest/core/build/version.js +0 -19
- data/packages/webpacker/node_modules/@jest/core/build/watch.d.ts +0 -13
- data/packages/webpacker/node_modules/@jest/core/build/watch.js +0 -769
- data/packages/webpacker/node_modules/@jest/core/package.json +0 -103
- data/packages/webpacker/node_modules/@jest/environment/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/environment/build/index.d.ts +0 -267
- data/packages/webpacker/node_modules/@jest/environment/build/index.js +0 -1
- data/packages/webpacker/node_modules/@jest/environment/package.json +0 -32
- data/packages/webpacker/node_modules/@jest/fake-timers/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/fake-timers/build/index.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/fake-timers/build/index.js +0 -25
- data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts +0 -67
- data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.js +0 -673
- data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts +0 -34
- data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.js +0 -181
- data/packages/webpacker/node_modules/@jest/fake-timers/package.json +0 -37
- data/packages/webpacker/node_modules/@jest/globals/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/globals/build/index.d.ts +0 -23
- data/packages/webpacker/node_modules/@jest/globals/build/index.js +0 -25
- data/packages/webpacker/node_modules/@jest/globals/package.json +0 -31
- data/packages/webpacker/node_modules/@jest/reporters/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.d.ts +0 -19
- data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.js +0 -65
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.d.ts +0 -24
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.js +0 -668
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.d.ts +0 -17
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.js +0 -103
- data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.d.ts +0 -33
- data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.js +0 -254
- data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.d.ts +0 -19
- data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.js +0 -256
- data/packages/webpacker/node_modules/@jest/reporters/build/Status.d.ts +0 -42
- data/packages/webpacker/node_modules/@jest/reporters/build/Status.js +0 -272
- data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.d.ts +0 -22
- data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.js +0 -271
- data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.d.ts +0 -27
- data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.js +0 -226
- data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts +0 -19
- data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.js +0 -168
- data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.js +0 -104
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.js +0 -111
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.js +0 -203
- data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.js +0 -47
- data/packages/webpacker/node_modules/@jest/reporters/build/index.d.ts +0 -27
- data/packages/webpacker/node_modules/@jest/reporters/build/index.js +0 -78
- data/packages/webpacker/node_modules/@jest/reporters/build/types.d.ts +0 -75
- data/packages/webpacker/node_modules/@jest/reporters/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/reporters/build/utils.d.ts +0 -18
- data/packages/webpacker/node_modules/@jest/reporters/build/utils.js +0 -435
- data/packages/webpacker/node_modules/@jest/reporters/package.json +0 -80
- data/packages/webpacker/node_modules/@jest/source-map/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.js +0 -108
- data/packages/webpacker/node_modules/@jest/source-map/build/index.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/source-map/build/index.js +0 -17
- data/packages/webpacker/node_modules/@jest/source-map/build/types.d.ts +0 -7
- data/packages/webpacker/node_modules/@jest/source-map/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/source-map/package.json +0 -34
- data/packages/webpacker/node_modules/@jest/test-result/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.d.ts +0 -8
- data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.js +0 -70
- data/packages/webpacker/node_modules/@jest/test-result/build/helpers.d.ts +0 -12
- data/packages/webpacker/node_modules/@jest/test-result/build/helpers.js +0 -188
- data/packages/webpacker/node_modules/@jest/test-result/build/index.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/test-result/build/index.js +0 -43
- data/packages/webpacker/node_modules/@jest/test-result/build/types.d.ts +0 -171
- data/packages/webpacker/node_modules/@jest/test-result/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/test-result/package.json +0 -32
- data/packages/webpacker/node_modules/@jest/test-sequencer/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.d.ts +0 -51
- data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.js +0 -237
- data/packages/webpacker/node_modules/@jest/test-sequencer/package.json +0 -35
- data/packages/webpacker/node_modules/@jest/transform/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.d.ts +0 -40
- data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.js +0 -1115
- data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts +0 -12
- data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js +0 -83
- data/packages/webpacker/node_modules/@jest/transform/build/index.d.ts +0 -11
- data/packages/webpacker/node_modules/@jest/transform/build/index.js +0 -41
- data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts +0 -10
- data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js +0 -101
- data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.d.ts +0 -9
- data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.js +0 -207
- data/packages/webpacker/node_modules/@jest/transform/build/types.d.ts +0 -75
- data/packages/webpacker/node_modules/@jest/transform/build/types.js +0 -1
- data/packages/webpacker/node_modules/@jest/transform/package.json +0 -53
- data/packages/webpacker/node_modules/@jest/types/LICENSE +0 -21
- data/packages/webpacker/node_modules/@jest/types/build/Circus.d.ts +0 -193
- data/packages/webpacker/node_modules/@jest/types/build/Circus.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/build/Config.d.ts +0 -462
- data/packages/webpacker/node_modules/@jest/types/build/Config.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/build/Global.d.ts +0 -95
- data/packages/webpacker/node_modules/@jest/types/build/Global.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/build/TestResult.d.ts +0 -31
- data/packages/webpacker/node_modules/@jest/types/build/TestResult.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/build/Transform.d.ts +0 -11
- data/packages/webpacker/node_modules/@jest/types/build/Transform.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/build/index.d.ts +0 -12
- data/packages/webpacker/node_modules/@jest/types/build/index.js +0 -1
- data/packages/webpacker/node_modules/@jest/types/package.json +0 -37
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/CHANGELOG.md +0 -441
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/LICENSE +0 -11
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/README.md +0 -353
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/package.json +0 -71
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +0 -1728
- data/packages/webpacker/node_modules/@types/yargs/LICENSE +0 -21
- data/packages/webpacker/node_modules/@types/yargs/README.md +0 -16
- data/packages/webpacker/node_modules/@types/yargs/helpers.d.ts +0 -5
- data/packages/webpacker/node_modules/@types/yargs/index.d.ts +0 -844
- data/packages/webpacker/node_modules/@types/yargs/package.json +0 -62
- data/packages/webpacker/node_modules/@types/yargs/yargs.d.ts +0 -9
- data/packages/webpacker/node_modules/acorn/CHANGELOG.md +0 -788
- data/packages/webpacker/node_modules/acorn/LICENSE +0 -21
- data/packages/webpacker/node_modules/acorn/README.md +0 -280
- data/packages/webpacker/node_modules/acorn/bin/acorn +0 -4
- data/packages/webpacker/node_modules/acorn/dist/acorn.d.ts +0 -214
- data/packages/webpacker/node_modules/acorn/dist/acorn.js +0 -5619
- data/packages/webpacker/node_modules/acorn/dist/acorn.mjs +0 -5588
- data/packages/webpacker/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- data/packages/webpacker/node_modules/acorn/dist/bin.js +0 -91
- data/packages/webpacker/node_modules/acorn/package.json +0 -46
- data/packages/webpacker/node_modules/ansi-styles/index.d.ts +0 -345
- data/packages/webpacker/node_modules/ansi-styles/index.js +0 -163
- data/packages/webpacker/node_modules/ansi-styles/license +0 -9
- data/packages/webpacker/node_modules/ansi-styles/package.json +0 -56
- data/packages/webpacker/node_modules/ansi-styles/readme.md +0 -152
- data/packages/webpacker/node_modules/babel-jest/LICENSE +0 -21
- data/packages/webpacker/node_modules/babel-jest/README.md +0 -25
- data/packages/webpacker/node_modules/babel-jest/build/index.d.ts +0 -10
- data/packages/webpacker/node_modules/babel-jest/build/index.js +0 -386
- data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.d.ts +0 -7
- data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.js +0 -27
- data/packages/webpacker/node_modules/babel-jest/package.json +0 -45
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/LICENSE +0 -21
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/README.md +0 -33
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.d.ts +0 -13
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.js +0 -389
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/package.json +0 -41
- data/packages/webpacker/node_modules/babel-preset-jest/LICENSE +0 -21
- data/packages/webpacker/node_modules/babel-preset-jest/README.md +0 -33
- data/packages/webpacker/node_modules/babel-preset-jest/index.js +0 -14
- data/packages/webpacker/node_modules/babel-preset-jest/package.json +0 -29
- data/packages/webpacker/node_modules/camelcase/index.d.ts +0 -103
- data/packages/webpacker/node_modules/camelcase/index.js +0 -113
- data/packages/webpacker/node_modules/camelcase/license +0 -9
- data/packages/webpacker/node_modules/camelcase/package.json +0 -44
- data/packages/webpacker/node_modules/camelcase/readme.md +0 -144
- data/packages/webpacker/node_modules/chalk/index.d.ts +0 -415
- data/packages/webpacker/node_modules/chalk/license +0 -9
- data/packages/webpacker/node_modules/chalk/package.json +0 -68
- data/packages/webpacker/node_modules/chalk/readme.md +0 -341
- data/packages/webpacker/node_modules/chalk/source/index.js +0 -229
- data/packages/webpacker/node_modules/chalk/source/templates.js +0 -134
- data/packages/webpacker/node_modules/chalk/source/util.js +0 -39
- data/packages/webpacker/node_modules/ci-info/CHANGELOG.md +0 -122
- data/packages/webpacker/node_modules/ci-info/LICENSE +0 -21
- data/packages/webpacker/node_modules/ci-info/README.md +0 -118
- data/packages/webpacker/node_modules/ci-info/index.d.ts +0 -62
- data/packages/webpacker/node_modules/ci-info/index.js +0 -66
- data/packages/webpacker/node_modules/ci-info/package.json +0 -36
- data/packages/webpacker/node_modules/ci-info/vendors.json +0 -210
- data/packages/webpacker/node_modules/cjs-module-lexer/CHANGELOG.md +0 -40
- data/packages/webpacker/node_modules/cjs-module-lexer/LICENSE +0 -10
- data/packages/webpacker/node_modules/cjs-module-lexer/README.md +0 -453
- data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.js +0 -1
- data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.mjs +0 -2
- data/packages/webpacker/node_modules/cjs-module-lexer/lexer.d.ts +0 -7
- data/packages/webpacker/node_modules/cjs-module-lexer/lexer.js +0 -1438
- data/packages/webpacker/node_modules/cjs-module-lexer/package.json +0 -43
- data/packages/webpacker/node_modules/cliui/CHANGELOG.md +0 -121
- data/packages/webpacker/node_modules/cliui/LICENSE.txt +0 -14
- data/packages/webpacker/node_modules/cliui/README.md +0 -141
- data/packages/webpacker/node_modules/cliui/build/index.cjs +0 -302
- data/packages/webpacker/node_modules/cliui/build/lib/index.js +0 -287
- data/packages/webpacker/node_modules/cliui/build/lib/string-utils.js +0 -27
- data/packages/webpacker/node_modules/cliui/index.mjs +0 -13
- data/packages/webpacker/node_modules/cliui/package.json +0 -83
- data/packages/webpacker/node_modules/color-convert/CHANGELOG.md +0 -54
- data/packages/webpacker/node_modules/color-convert/LICENSE +0 -21
- data/packages/webpacker/node_modules/color-convert/README.md +0 -68
- data/packages/webpacker/node_modules/color-convert/conversions.js +0 -839
- data/packages/webpacker/node_modules/color-convert/index.js +0 -81
- data/packages/webpacker/node_modules/color-convert/package.json +0 -48
- data/packages/webpacker/node_modules/color-convert/route.js +0 -97
- data/packages/webpacker/node_modules/color-name/LICENSE +0 -8
- data/packages/webpacker/node_modules/color-name/README.md +0 -11
- data/packages/webpacker/node_modules/color-name/index.js +0 -152
- data/packages/webpacker/node_modules/color-name/package.json +0 -28
- data/packages/webpacker/node_modules/diff-sequences/LICENSE +0 -21
- data/packages/webpacker/node_modules/diff-sequences/README.md +0 -404
- data/packages/webpacker/node_modules/diff-sequences/build/index.d.ts +0 -18
- data/packages/webpacker/node_modules/diff-sequences/build/index.js +0 -816
- data/packages/webpacker/node_modules/diff-sequences/package.json +0 -42
- data/packages/webpacker/node_modules/diff-sequences/perf/example.md +0 -48
- data/packages/webpacker/node_modules/diff-sequences/perf/index.js +0 -170
- data/packages/webpacker/node_modules/emittery/index.d.ts +0 -432
- data/packages/webpacker/node_modules/emittery/index.js +0 -408
- data/packages/webpacker/node_modules/emittery/license +0 -9
- data/packages/webpacker/node_modules/emittery/package.json +0 -66
- data/packages/webpacker/node_modules/emittery/readme.md +0 -409
- data/packages/webpacker/node_modules/escape-string-regexp/index.d.ts +0 -18
- data/packages/webpacker/node_modules/escape-string-regexp/index.js +0 -13
- data/packages/webpacker/node_modules/escape-string-regexp/license +0 -9
- data/packages/webpacker/node_modules/escape-string-regexp/package.json +0 -38
- data/packages/webpacker/node_modules/escape-string-regexp/readme.md +0 -34
- data/packages/webpacker/node_modules/eslint/LICENSE +0 -19
- data/packages/webpacker/node_modules/eslint/README.md +0 -304
- data/packages/webpacker/node_modules/eslint/bin/eslint.js +0 -142
- data/packages/webpacker/node_modules/eslint/conf/config-schema.js +0 -93
- data/packages/webpacker/node_modules/eslint/conf/default-cli-options.js +0 -32
- data/packages/webpacker/node_modules/eslint/conf/eslint-all.js +0 -31
- data/packages/webpacker/node_modules/eslint/conf/eslint-recommended.js +0 -76
- data/packages/webpacker/node_modules/eslint/conf/globals.js +0 -144
- data/packages/webpacker/node_modules/eslint/conf/replacements.json +0 -22
- data/packages/webpacker/node_modules/eslint/conf/rule-type-list.json +0 -36
- data/packages/webpacker/node_modules/eslint/lib/api.js +0 -26
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1068
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -543
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -324
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/hash.js +0 -35
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/index.js +0 -7
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -191
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- data/packages/webpacker/node_modules/eslint/lib/cli.js +0 -344
- data/packages/webpacker/node_modules/eslint/lib/config/default-config.js +0 -61
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-array.js +0 -134
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-helpers.js +0 -103
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-schema.js +0 -457
- data/packages/webpacker/node_modules/eslint/lib/config/rule-validator.js +0 -157
- data/packages/webpacker/node_modules/eslint/lib/eslint/eslint.js +0 -712
- data/packages/webpacker/node_modules/eslint/lib/eslint/index.js +0 -7
- data/packages/webpacker/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -341
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -844
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -235
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -1483
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -247
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -248
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
- data/packages/webpacker/node_modules/eslint/lib/linter/config-comment-parser.js +0 -145
- data/packages/webpacker/node_modules/eslint/lib/linter/index.js +0 -13
- data/packages/webpacker/node_modules/eslint/lib/linter/interpolate.js +0 -28
- data/packages/webpacker/node_modules/eslint/lib/linter/linter.js +0 -2004
- data/packages/webpacker/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
- data/packages/webpacker/node_modules/eslint/lib/linter/report-translator.js +0 -368
- data/packages/webpacker/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
- data/packages/webpacker/node_modules/eslint/lib/linter/rules.js +0 -80
- data/packages/webpacker/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
- data/packages/webpacker/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
- data/packages/webpacker/node_modules/eslint/lib/linter/timing.js +0 -160
- data/packages/webpacker/node_modules/eslint/lib/options.js +0 -323
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1039
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/index.js +0 -5
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1008
- data/packages/webpacker/node_modules/eslint/lib/rules/accessor-pairs.js +0 -354
- data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -258
- data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -241
- data/packages/webpacker/node_modules/eslint/lib/rules/array-callback-return.js +0 -296
- data/packages/webpacker/node_modules/eslint/lib/rules/array-element-newline.js +0 -301
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-parens.js +0 -183
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-spacing.js +0 -161
- data/packages/webpacker/node_modules/eslint/lib/rules/block-scoped-var.js +0 -124
- data/packages/webpacker/node_modules/eslint/lib/rules/block-spacing.js +0 -171
- data/packages/webpacker/node_modules/eslint/lib/rules/brace-style.js +0 -194
- data/packages/webpacker/node_modules/eslint/lib/rules/callback-return.js +0 -187
- data/packages/webpacker/node_modules/eslint/lib/rules/camelcase.js +0 -398
- data/packages/webpacker/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
- data/packages/webpacker/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-dangle.js +0 -350
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-spacing.js +0 -195
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-style.js +0 -311
- data/packages/webpacker/node_modules/eslint/lib/rules/complexity.js +0 -165
- data/packages/webpacker/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -205
- data/packages/webpacker/node_modules/eslint/lib/rules/consistent-return.js +0 -185
- data/packages/webpacker/node_modules/eslint/lib/rules/consistent-this.js +0 -151
- data/packages/webpacker/node_modules/eslint/lib/rules/constructor-super.js +0 -423
- data/packages/webpacker/node_modules/eslint/lib/rules/curly.js +0 -486
- data/packages/webpacker/node_modules/eslint/lib/rules/default-case-last.js +0 -44
- data/packages/webpacker/node_modules/eslint/lib/rules/default-case.js +0 -97
- data/packages/webpacker/node_modules/eslint/lib/rules/default-param-last.js +0 -62
- data/packages/webpacker/node_modules/eslint/lib/rules/dot-location.js +0 -105
- data/packages/webpacker/node_modules/eslint/lib/rules/dot-notation.js +0 -177
- data/packages/webpacker/node_modules/eslint/lib/rules/eol-last.js +0 -112
- data/packages/webpacker/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
- data/packages/webpacker/node_modules/eslint/lib/rules/for-direction.js +0 -126
- data/packages/webpacker/node_modules/eslint/lib/rules/func-call-spacing.js +0 -230
- data/packages/webpacker/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
- data/packages/webpacker/node_modules/eslint/lib/rules/func-names.js +0 -191
- data/packages/webpacker/node_modules/eslint/lib/rules/func-style.js +0 -98
- data/packages/webpacker/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -122
- data/packages/webpacker/node_modules/eslint/lib/rules/function-paren-newline.js +0 -286
- data/packages/webpacker/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -206
- data/packages/webpacker/node_modules/eslint/lib/rules/getter-return.js +0 -173
- data/packages/webpacker/node_modules/eslint/lib/rules/global-require.js +0 -87
- data/packages/webpacker/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -224
- data/packages/webpacker/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
- data/packages/webpacker/node_modules/eslint/lib/rules/handle-callback-err.js +0 -100
- data/packages/webpacker/node_modules/eslint/lib/rules/id-blacklist.js +0 -245
- data/packages/webpacker/node_modules/eslint/lib/rules/id-denylist.js +0 -227
- data/packages/webpacker/node_modules/eslint/lib/rules/id-length.js +0 -169
- data/packages/webpacker/node_modules/eslint/lib/rules/id-match.js +0 -298
- data/packages/webpacker/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -81
- data/packages/webpacker/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
- data/packages/webpacker/node_modules/eslint/lib/rules/indent.js +0 -1764
- data/packages/webpacker/node_modules/eslint/lib/rules/index.js +0 -301
- data/packages/webpacker/node_modules/eslint/lib/rules/init-declarations.js +0 -139
- data/packages/webpacker/node_modules/eslint/lib/rules/jsx-quotes.js +0 -95
- data/packages/webpacker/node_modules/eslint/lib/rules/key-spacing.js +0 -675
- data/packages/webpacker/node_modules/eslint/lib/rules/keyword-spacing.js +0 -637
- data/packages/webpacker/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
- data/packages/webpacker/node_modules/eslint/lib/rules/linebreak-style.js +0 -105
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-comment.js +0 -450
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -181
- data/packages/webpacker/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
- data/packages/webpacker/node_modules/eslint/lib/rules/max-depth.js +0 -156
- data/packages/webpacker/node_modules/eslint/lib/rules/max-len.js +0 -433
- data/packages/webpacker/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
- data/packages/webpacker/node_modules/eslint/lib/rules/max-lines.js +0 -193
- data/packages/webpacker/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
- data/packages/webpacker/node_modules/eslint/lib/rules/max-params.js +0 -102
- data/packages/webpacker/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -196
- data/packages/webpacker/node_modules/eslint/lib/rules/max-statements.js +0 -184
- data/packages/webpacker/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -435
- data/packages/webpacker/node_modules/eslint/lib/rules/multiline-ternary.js +0 -171
- data/packages/webpacker/node_modules/eslint/lib/rules/new-cap.js +0 -276
- data/packages/webpacker/node_modules/eslint/lib/rules/new-parens.js +0 -99
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-after-var.js +0 -255
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -123
- data/packages/webpacker/node_modules/eslint/lib/rules/no-alert.js +0 -136
- data/packages/webpacker/node_modules/eslint/lib/rules/no-array-constructor.js +0 -54
- data/packages/webpacker/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
- data/packages/webpacker/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
- data/packages/webpacker/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
- data/packages/webpacker/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
- data/packages/webpacker/node_modules/eslint/lib/rules/no-caller.js +0 -46
- data/packages/webpacker/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
- data/packages/webpacker/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -80
- data/packages/webpacker/node_modules/eslint/lib/rules/no-class-assign.js +0 -61
- data/packages/webpacker/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
- data/packages/webpacker/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
- data/packages/webpacker/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -89
- data/packages/webpacker/node_modules/eslint/lib/rules/no-console.js +0 -134
- data/packages/webpacker/node_modules/eslint/lib/rules/no-const-assign.js +0 -54
- data/packages/webpacker/node_modules/eslint/lib/rules/no-constant-condition.js +0 -315
- data/packages/webpacker/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
- data/packages/webpacker/node_modules/eslint/lib/rules/no-continue.js +0 -39
- data/packages/webpacker/node_modules/eslint/lib/rules/no-control-regex.js +0 -112
- data/packages/webpacker/node_modules/eslint/lib/rules/no-debugger.js +0 -43
- data/packages/webpacker/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
- data/packages/webpacker/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-args.js +0 -80
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
- data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
- data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
- data/packages/webpacker/node_modules/eslint/lib/rules/no-else-return.js +0 -404
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -55
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -43
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty.js +0 -86
- data/packages/webpacker/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
- data/packages/webpacker/node_modules/eslint/lib/rules/no-eval.js +0 -281
- data/packages/webpacker/node_modules/eslint/lib/rules/no-ex-assign.js +0 -52
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extend-native.js +0 -178
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1235
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-semi.js +0 -126
- data/packages/webpacker/node_modules/eslint/lib/rules/no-fallthrough.js +0 -147
- data/packages/webpacker/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -70
- data/packages/webpacker/node_modules/eslint/lib/rules/no-func-assign.js +0 -76
- data/packages/webpacker/node_modules/eslint/lib/rules/no-global-assign.js +0 -94
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -361
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -140
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implied-eval.js +0 -131
- data/packages/webpacker/node_modules/eslint/lib/rules/no-import-assign.js +0 -239
- data/packages/webpacker/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
- data/packages/webpacker/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
- data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -157
- data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
- data/packages/webpacker/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -259
- data/packages/webpacker/node_modules/eslint/lib/rules/no-iterator.js +0 -52
- data/packages/webpacker/node_modules/eslint/lib/rules/no-label-var.js +0 -79
- data/packages/webpacker/node_modules/eslint/lib/rules/no-labels.js +0 -149
- data/packages/webpacker/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -134
- data/packages/webpacker/node_modules/eslint/lib/rules/no-lonely-if.js +0 -89
- data/packages/webpacker/node_modules/eslint/lib/rules/no-loop-func.js +0 -204
- data/packages/webpacker/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -206
- data/packages/webpacker/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -226
- data/packages/webpacker/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -200
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -226
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -113
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -138
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -151
- data/packages/webpacker/node_modules/eslint/lib/rules/no-native-reassign.js +0 -97
- data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
- data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
- data/packages/webpacker/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-func.js +0 -86
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-object.js +0 -57
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-require.js +0 -50
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-symbol.js +0 -54
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -48
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new.js +0 -43
- data/packages/webpacker/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
- data/packages/webpacker/node_modules/eslint/lib/rules/no-obj-calls.js +0 -84
- data/packages/webpacker/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
- data/packages/webpacker/node_modules/eslint/lib/rules/no-octal.js +0 -45
- data/packages/webpacker/node_modules/eslint/lib/rules/no-param-reassign.js +0 -229
- data/packages/webpacker/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
- data/packages/webpacker/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
- data/packages/webpacker/node_modules/eslint/lib/rules/no-process-env.js +0 -51
- data/packages/webpacker/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
- data/packages/webpacker/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -121
- data/packages/webpacker/node_modules/eslint/lib/rules/no-proto.js +0 -48
- data/packages/webpacker/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -71
- data/packages/webpacker/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
- data/packages/webpacker/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -180
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -96
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -122
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -322
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -216
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -181
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
- data/packages/webpacker/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
- data/packages/webpacker/node_modules/eslint/lib/rules/no-return-await.js +0 -103
- data/packages/webpacker/node_modules/eslint/lib/rules/no-script-url.js +0 -61
- data/packages/webpacker/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
- data/packages/webpacker/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sequences.js +0 -138
- data/packages/webpacker/node_modules/eslint/lib/rules/no-setter-return.js +0 -225
- data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -64
- data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow.js +0 -335
- data/packages/webpacker/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sync.js +0 -64
- data/packages/webpacker/node_modules/eslint/lib/rules/no-tabs.js +0 -78
- data/packages/webpacker/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
- data/packages/webpacker/node_modules/eslint/lib/rules/no-ternary.js +0 -41
- data/packages/webpacker/node_modules/eslint/lib/rules/no-this-before-super.js +0 -304
- data/packages/webpacker/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
- data/packages/webpacker/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -190
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undef.js +0 -78
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undefined.js +0 -84
- data/packages/webpacker/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -280
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -150
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable.js +0 -264
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -189
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-labels.js +0 -110
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-vars.js +0 -690
- data/packages/webpacker/node_modules/eslint/lib/rules/no-use-before-define.js +0 -334
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -192
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-escape.js +0 -254
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-return.js +0 -305
- data/packages/webpacker/node_modules/eslint/lib/rules/no-var.js +0 -334
- data/packages/webpacker/node_modules/eslint/lib/rules/no-void.js +0 -64
- data/packages/webpacker/node_modules/eslint/lib/rules/no-warning-comments.js +0 -196
- data/packages/webpacker/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -113
- data/packages/webpacker/node_modules/eslint/lib/rules/no-with.js +0 -39
- data/packages/webpacker/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -124
- data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-newline.js +0 -321
- data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -308
- data/packages/webpacker/node_modules/eslint/lib/rules/object-property-newline.js +0 -99
- data/packages/webpacker/node_modules/eslint/lib/rules/object-shorthand.js +0 -504
- data/packages/webpacker/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -92
- data/packages/webpacker/node_modules/eslint/lib/rules/one-var.js +0 -567
- data/packages/webpacker/node_modules/eslint/lib/rules/operator-assignment.js +0 -207
- data/packages/webpacker/node_modules/eslint/lib/rules/operator-linebreak.js +0 -250
- data/packages/webpacker/node_modules/eslint/lib/rules/padded-blocks.js +0 -307
- data/packages/webpacker/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -634
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -380
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-const.js +0 -489
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -190
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -110
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -112
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -299
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -131
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -396
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -115
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-template.js +0 -275
- data/packages/webpacker/node_modules/eslint/lib/rules/quote-props.js +0 -307
- data/packages/webpacker/node_modules/eslint/lib/rules/quotes.js +0 -347
- data/packages/webpacker/node_modules/eslint/lib/rules/radix.js +0 -198
- data/packages/webpacker/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -317
- data/packages/webpacker/node_modules/eslint/lib/rules/require-await.js +0 -113
- data/packages/webpacker/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- data/packages/webpacker/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -69
- data/packages/webpacker/node_modules/eslint/lib/rules/require-yield.js +0 -78
- data/packages/webpacker/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -120
- data/packages/webpacker/node_modules/eslint/lib/rules/semi-spacing.js +0 -245
- data/packages/webpacker/node_modules/eslint/lib/rules/semi-style.js +0 -155
- data/packages/webpacker/node_modules/eslint/lib/rules/semi.js +0 -410
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-imports.js +0 -241
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-keys.js +0 -187
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-vars.js +0 -104
- data/packages/webpacker/node_modules/eslint/lib/rules/space-before-blocks.js +0 -201
- data/packages/webpacker/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -164
- data/packages/webpacker/node_modules/eslint/lib/rules/space-in-parens.js +0 -282
- data/packages/webpacker/node_modules/eslint/lib/rules/space-infix-ops.js +0 -195
- data/packages/webpacker/node_modules/eslint/lib/rules/space-unary-ops.js +0 -321
- data/packages/webpacker/node_modules/eslint/lib/rules/spaced-comment.js +0 -382
- data/packages/webpacker/node_modules/eslint/lib/rules/strict.js +0 -277
- data/packages/webpacker/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -129
- data/packages/webpacker/node_modules/eslint/lib/rules/symbol-description.js +0 -71
- data/packages/webpacker/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -141
- data/packages/webpacker/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -90
- data/packages/webpacker/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
- data/packages/webpacker/node_modules/eslint/lib/rules/use-isnan.js +0 -141
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -1922
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
- data/packages/webpacker/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- data/packages/webpacker/node_modules/eslint/lib/rules/valid-typeof.js +0 -85
- data/packages/webpacker/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
- data/packages/webpacker/node_modules/eslint/lib/rules/wrap-iife.js +0 -204
- data/packages/webpacker/node_modules/eslint/lib/rules/wrap-regex.js +0 -59
- data/packages/webpacker/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -127
- data/packages/webpacker/node_modules/eslint/lib/rules/yoda.js +0 -362
- data/packages/webpacker/node_modules/eslint/lib/shared/ajv.js +0 -34
- data/packages/webpacker/node_modules/eslint/lib/shared/ast-utils.js +0 -29
- data/packages/webpacker/node_modules/eslint/lib/shared/config-validator.js +0 -347
- data/packages/webpacker/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -65
- data/packages/webpacker/node_modules/eslint/lib/shared/logging.js +0 -30
- data/packages/webpacker/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- data/packages/webpacker/node_modules/eslint/lib/shared/runtime-info.js +0 -167
- data/packages/webpacker/node_modules/eslint/lib/shared/string-utils.js +0 -22
- data/packages/webpacker/node_modules/eslint/lib/shared/traverser.js +0 -195
- data/packages/webpacker/node_modules/eslint/lib/shared/types.js +0 -175
- data/packages/webpacker/node_modules/eslint/lib/source-code/index.js +0 -5
- data/packages/webpacker/node_modules/eslint/lib/source-code/source-code.js +0 -593
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/utils.js +0 -92
- data/packages/webpacker/node_modules/eslint/lib/unsupported-api.js +0 -23
- data/packages/webpacker/node_modules/eslint/messages/all-files-ignored.js +0 -16
- data/packages/webpacker/node_modules/eslint/messages/extend-config-missing.js +0 -13
- data/packages/webpacker/node_modules/eslint/messages/failed-to-read-json.js +0 -11
- data/packages/webpacker/node_modules/eslint/messages/file-not-found.js +0 -10
- data/packages/webpacker/node_modules/eslint/messages/no-config-found.js +0 -15
- data/packages/webpacker/node_modules/eslint/messages/plugin-conflict.js +0 -22
- data/packages/webpacker/node_modules/eslint/messages/plugin-invalid.js +0 -16
- data/packages/webpacker/node_modules/eslint/messages/plugin-missing.js +0 -19
- data/packages/webpacker/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
- data/packages/webpacker/node_modules/eslint/messages/whitespace-found.js +0 -11
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/LICENSE +0 -201
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/README.md +0 -107
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +0 -382
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/index.d.ts +0 -18
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +0 -10
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/index.js +0 -65
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.js +0 -312
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +0 -62
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/LICENSE-MIT +0 -21
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/README.md +0 -412
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.d.ts +0 -61
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.js +0 -603
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/legacy.js +0 -498
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/package.json +0 -71
- data/packages/webpacker/node_modules/eslint/package.json +0 -150
- data/packages/webpacker/node_modules/eslint-scope/LICENSE +0 -22
- data/packages/webpacker/node_modules/eslint-scope/README.md +0 -66
- data/packages/webpacker/node_modules/eslint-scope/dist/eslint-scope.cjs +0 -2240
- data/packages/webpacker/node_modules/eslint-scope/lib/definition.js +0 -85
- data/packages/webpacker/node_modules/eslint-scope/lib/index.js +0 -172
- data/packages/webpacker/node_modules/eslint-scope/lib/pattern-visitor.js +0 -153
- data/packages/webpacker/node_modules/eslint-scope/lib/reference.js +0 -166
- data/packages/webpacker/node_modules/eslint-scope/lib/referencer.js +0 -654
- data/packages/webpacker/node_modules/eslint-scope/lib/scope-manager.js +0 -255
- data/packages/webpacker/node_modules/eslint-scope/lib/scope.js +0 -772
- data/packages/webpacker/node_modules/eslint-scope/lib/variable.js +0 -87
- data/packages/webpacker/node_modules/eslint-scope/lib/version.js +0 -3
- data/packages/webpacker/node_modules/eslint-scope/package.json +0 -62
- data/packages/webpacker/node_modules/eslint-utils/LICENSE +0 -21
- data/packages/webpacker/node_modules/eslint-utils/README.md +0 -38
- data/packages/webpacker/node_modules/eslint-utils/index.js +0 -1956
- data/packages/webpacker/node_modules/eslint-utils/index.js.map +0 -1
- data/packages/webpacker/node_modules/eslint-utils/index.mjs +0 -1914
- data/packages/webpacker/node_modules/eslint-utils/index.mjs.map +0 -1
- data/packages/webpacker/node_modules/eslint-utils/package.json +0 -78
- data/packages/webpacker/node_modules/espree/LICENSE +0 -25
- data/packages/webpacker/node_modules/espree/README.md +0 -250
- data/packages/webpacker/node_modules/espree/dist/espree.cjs +0 -917
- data/packages/webpacker/node_modules/espree/espree.js +0 -173
- data/packages/webpacker/node_modules/espree/lib/espree.js +0 -328
- data/packages/webpacker/node_modules/espree/lib/features.js +0 -27
- data/packages/webpacker/node_modules/espree/lib/options.js +0 -121
- data/packages/webpacker/node_modules/espree/lib/token-translator.js +0 -265
- data/packages/webpacker/node_modules/espree/lib/version.js +0 -3
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/LICENSE +0 -201
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/README.md +0 -107
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +0 -382
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/index.d.ts +0 -18
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +0 -10
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js +0 -65
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.js +0 -312
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/package.json +0 -62
- data/packages/webpacker/node_modules/espree/package.json +0 -86
- data/packages/webpacker/node_modules/execa/index.d.ts +0 -564
- data/packages/webpacker/node_modules/execa/index.js +0 -268
- data/packages/webpacker/node_modules/execa/lib/command.js +0 -52
- data/packages/webpacker/node_modules/execa/lib/error.js +0 -88
- data/packages/webpacker/node_modules/execa/lib/kill.js +0 -115
- data/packages/webpacker/node_modules/execa/lib/promise.js +0 -46
- data/packages/webpacker/node_modules/execa/lib/stdio.js +0 -52
- data/packages/webpacker/node_modules/execa/lib/stream.js +0 -97
- data/packages/webpacker/node_modules/execa/license +0 -9
- data/packages/webpacker/node_modules/execa/package.json +0 -74
- data/packages/webpacker/node_modules/execa/readme.md +0 -663
- data/packages/webpacker/node_modules/expect/LICENSE +0 -21
- data/packages/webpacker/node_modules/expect/README.md +0 -3
- data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.d.ts +0 -75
- data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.js +0 -432
- data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.d.ts +0 -10
- data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.js +0 -90
- data/packages/webpacker/node_modules/expect/build/index.d.ts +0 -15
- data/packages/webpacker/node_modules/expect/build/index.js +0 -485
- data/packages/webpacker/node_modules/expect/build/jasmineUtils.d.ts +0 -8
- data/packages/webpacker/node_modules/expect/build/jasmineUtils.js +0 -279
- data/packages/webpacker/node_modules/expect/build/jestMatchersObject.d.ts +0 -13
- data/packages/webpacker/node_modules/expect/build/jestMatchersObject.js +0 -120
- data/packages/webpacker/node_modules/expect/build/matchers.d.ts +0 -10
- data/packages/webpacker/node_modules/expect/build/matchers.js +0 -1370
- data/packages/webpacker/node_modules/expect/build/print.d.ts +0 -15
- data/packages/webpacker/node_modules/expect/build/print.js +0 -141
- data/packages/webpacker/node_modules/expect/build/spyMatchers.d.ts +0 -9
- data/packages/webpacker/node_modules/expect/build/spyMatchers.js +0 -1339
- data/packages/webpacker/node_modules/expect/build/toThrowMatchers.d.ts +0 -11
- data/packages/webpacker/node_modules/expect/build/toThrowMatchers.js +0 -464
- data/packages/webpacker/node_modules/expect/build/types.d.ts +0 -327
- data/packages/webpacker/node_modules/expect/build/types.js +0 -3
- data/packages/webpacker/node_modules/expect/build/utils.d.ts +0 -26
- data/packages/webpacker/node_modules/expect/build/utils.js +0 -458
- data/packages/webpacker/node_modules/expect/package.json +0 -42
- data/packages/webpacker/node_modules/get-stream/buffer-stream.js +0 -52
- data/packages/webpacker/node_modules/get-stream/index.d.ts +0 -105
- data/packages/webpacker/node_modules/get-stream/index.js +0 -61
- data/packages/webpacker/node_modules/get-stream/license +0 -9
- data/packages/webpacker/node_modules/get-stream/package.json +0 -47
- data/packages/webpacker/node_modules/get-stream/readme.md +0 -124
- data/packages/webpacker/node_modules/glob-parent/LICENSE +0 -15
- data/packages/webpacker/node_modules/glob-parent/README.md +0 -134
- data/packages/webpacker/node_modules/glob-parent/index.js +0 -75
- data/packages/webpacker/node_modules/glob-parent/package.json +0 -54
- data/packages/webpacker/node_modules/globals/globals.json +0 -1781
- data/packages/webpacker/node_modules/globals/index.d.ts +0 -6
- data/packages/webpacker/node_modules/globals/index.js +0 -2
- data/packages/webpacker/node_modules/globals/license +0 -9
- data/packages/webpacker/node_modules/globals/package.json +0 -55
- data/packages/webpacker/node_modules/globals/readme.md +0 -56
- data/packages/webpacker/node_modules/has-flag/index.d.ts +0 -39
- data/packages/webpacker/node_modules/has-flag/index.js +0 -8
- data/packages/webpacker/node_modules/has-flag/license +0 -9
- data/packages/webpacker/node_modules/has-flag/package.json +0 -46
- data/packages/webpacker/node_modules/has-flag/readme.md +0 -89
- data/packages/webpacker/node_modules/human-signals/CHANGELOG.md +0 -11
- data/packages/webpacker/node_modules/human-signals/LICENSE +0 -201
- data/packages/webpacker/node_modules/human-signals/README.md +0 -165
- data/packages/webpacker/node_modules/human-signals/build/src/core.js +0 -273
- data/packages/webpacker/node_modules/human-signals/build/src/core.js.map +0 -1
- data/packages/webpacker/node_modules/human-signals/build/src/main.d.ts +0 -52
- data/packages/webpacker/node_modules/human-signals/build/src/main.js +0 -71
- data/packages/webpacker/node_modules/human-signals/build/src/main.js.map +0 -1
- data/packages/webpacker/node_modules/human-signals/build/src/realtime.js +0 -19
- data/packages/webpacker/node_modules/human-signals/build/src/realtime.js.map +0 -1
- data/packages/webpacker/node_modules/human-signals/build/src/signals.js +0 -35
- data/packages/webpacker/node_modules/human-signals/build/src/signals.js.map +0 -1
- data/packages/webpacker/node_modules/human-signals/package.json +0 -64
- data/packages/webpacker/node_modules/jest/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest/README.md +0 -11
- data/packages/webpacker/node_modules/jest/bin/jest.js +0 -13
- data/packages/webpacker/node_modules/jest/build/jest.d.ts +0 -8
- data/packages/webpacker/node_modules/jest/build/jest.js +0 -61
- data/packages/webpacker/node_modules/jest/package.json +0 -68
- data/packages/webpacker/node_modules/jest-changed-files/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-changed-files/README.md +0 -63
- data/packages/webpacker/node_modules/jest-changed-files/build/git.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-changed-files/build/git.js +0 -179
- data/packages/webpacker/node_modules/jest-changed-files/build/hg.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-changed-files/build/hg.js +0 -133
- data/packages/webpacker/node_modules/jest-changed-files/build/index.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-changed-files/build/index.js +0 -86
- data/packages/webpacker/node_modules/jest-changed-files/build/types.d.ts +0 -28
- data/packages/webpacker/node_modules/jest-changed-files/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-changed-files/package.json +0 -31
- data/packages/webpacker/node_modules/jest-cli/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-cli/README.md +0 -11
- data/packages/webpacker/node_modules/jest-cli/bin/jest.js +0 -17
- data/packages/webpacker/node_modules/jest-cli/build/cli/args.d.ts +0 -448
- data/packages/webpacker/node_modules/jest-cli/build/cli/args.js +0 -710
- data/packages/webpacker/node_modules/jest-cli/build/cli/index.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-cli/build/cli/index.js +0 -265
- data/packages/webpacker/node_modules/jest-cli/build/index.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-cli/build/index.js +0 -13
- data/packages/webpacker/node_modules/jest-cli/build/init/errors.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-cli/build/init/errors.js +0 -35
- data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.js +0 -104
- data/packages/webpacker/node_modules/jest-cli/build/init/index.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-cli/build/init/index.js +0 -246
- data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.js +0 -28
- data/packages/webpacker/node_modules/jest-cli/build/init/questions.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-cli/build/init/questions.js +0 -76
- data/packages/webpacker/node_modules/jest-cli/build/init/types.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-cli/build/init/types.js +0 -1
- data/packages/webpacker/node_modules/jest-cli/package.json +0 -89
- data/packages/webpacker/node_modules/jest-config/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-config/build/Defaults.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-config/build/Defaults.js +0 -125
- data/packages/webpacker/node_modules/jest-config/build/Deprecated.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-config/build/Deprecated.js +0 -98
- data/packages/webpacker/node_modules/jest-config/build/Descriptions.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-config/build/Descriptions.js +0 -107
- data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.d.ts +0 -19
- data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.js +0 -138
- data/packages/webpacker/node_modules/jest-config/build/ValidConfig.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-config/build/ValidConfig.js +0 -199
- data/packages/webpacker/node_modules/jest-config/build/color.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-config/build/color.js +0 -37
- data/packages/webpacker/node_modules/jest-config/build/constants.d.ts +0 -17
- data/packages/webpacker/node_modules/jest-config/build/constants.js +0 -104
- data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.js +0 -104
- data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.js +0 -65
- data/packages/webpacker/node_modules/jest-config/build/index.d.ts +0 -28
- data/packages/webpacker/node_modules/jest-config/build/index.js +0 -495
- data/packages/webpacker/node_modules/jest-config/build/normalize.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-config/build/normalize.js +0 -1372
- data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +0 -204
- data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.js +0 -247
- data/packages/webpacker/node_modules/jest-config/build/setFromArgv.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-config/build/setFromArgv.js +0 -68
- data/packages/webpacker/node_modules/jest-config/build/utils.d.ts +0 -27
- data/packages/webpacker/node_modules/jest-config/build/utils.js +0 -209
- data/packages/webpacker/node_modules/jest-config/build/validatePattern.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-config/build/validatePattern.js +0 -25
- data/packages/webpacker/node_modules/jest-config/package.json +0 -68
- data/packages/webpacker/node_modules/jest-diff/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-diff/README.md +0 -671
- data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.d.ts +0 -57
- data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.js +0 -655
- data/packages/webpacker/node_modules/jest-diff/build/constants.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-diff/build/constants.js +0 -19
- data/packages/webpacker/node_modules/jest-diff/build/diffLines.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-diff/build/diffLines.js +0 -220
- data/packages/webpacker/node_modules/jest-diff/build/diffStrings.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-diff/build/diffStrings.js +0 -78
- data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.js +0 -244
- data/packages/webpacker/node_modules/jest-diff/build/index.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-diff/build/index.js +0 -267
- data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.js +0 -303
- data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.js +0 -64
- data/packages/webpacker/node_modules/jest-diff/build/printDiffs.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-diff/build/printDiffs.js +0 -85
- data/packages/webpacker/node_modules/jest-diff/build/types.d.ts +0 -48
- data/packages/webpacker/node_modules/jest-diff/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-diff/package.json +0 -36
- data/packages/webpacker/node_modules/jest-docblock/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-docblock/README.md +0 -108
- data/packages/webpacker/node_modules/jest-docblock/build/index.d.ts +0 -19
- data/packages/webpacker/node_modules/jest-docblock/build/index.js +0 -153
- data/packages/webpacker/node_modules/jest-docblock/package.json +0 -32
- data/packages/webpacker/node_modules/jest-each/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-each/README.md +0 -548
- data/packages/webpacker/node_modules/jest-each/build/bind.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-each/build/bind.js +0 -79
- data/packages/webpacker/node_modules/jest-each/build/index.d.ts +0 -79
- data/packages/webpacker/node_modules/jest-each/build/index.js +0 -97
- data/packages/webpacker/node_modules/jest-each/build/table/array.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-each/build/table/array.js +0 -151
- data/packages/webpacker/node_modules/jest-each/build/table/interpolation.d.ts +0 -17
- data/packages/webpacker/node_modules/jest-each/build/table/interpolation.js +0 -69
- data/packages/webpacker/node_modules/jest-each/build/table/template.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-each/build/table/template.js +0 -45
- data/packages/webpacker/node_modules/jest-each/build/validation.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-each/build/validation.js +0 -133
- data/packages/webpacker/node_modules/jest-each/package.json +0 -41
- data/packages/webpacker/node_modules/jest-environment-jsdom/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.d.ts +0 -30
- data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.js +0 -195
- data/packages/webpacker/node_modules/jest-environment-jsdom/package.json +0 -39
- data/packages/webpacker/node_modules/jest-environment-node/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-environment-node/build/index.d.ts +0 -29
- data/packages/webpacker/node_modules/jest-environment-node/build/index.js +0 -184
- data/packages/webpacker/node_modules/jest-environment-node/package.json +0 -37
- data/packages/webpacker/node_modules/jest-get-type/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-get-type/build/index.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-get-type/build/index.js +0 -57
- data/packages/webpacker/node_modules/jest-get-type/package.json +0 -27
- data/packages/webpacker/node_modules/jest-haste-map/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.d.ts +0 -27
- data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.js +0 -179
- data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.d.ts +0 -41
- data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.js +0 -305
- data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.js +0 -59
- data/packages/webpacker/node_modules/jest-haste-map/build/constants.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-haste-map/build/constants.js +0 -52
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.js +0 -309
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.js +0 -385
- data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.js +0 -76
- data/packages/webpacker/node_modules/jest-haste-map/build/index.d.ts +0 -184
- data/packages/webpacker/node_modules/jest-haste-map/build/index.js +0 -1266
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.js +0 -99
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.js +0 -81
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.js +0 -31
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.js +0 -22
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.js +0 -75
- data/packages/webpacker/node_modules/jest-haste-map/build/types.d.ts +0 -126
- data/packages/webpacker/node_modules/jest-haste-map/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts +0 -44
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js +0 -294
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/NodeWatcher.js +0 -375
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js +0 -57
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js +0 -418
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/common.js +0 -114
- data/packages/webpacker/node_modules/jest-haste-map/build/worker.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-haste-map/build/worker.js +0 -197
- data/packages/webpacker/node_modules/jest-haste-map/package.json +0 -49
- data/packages/webpacker/node_modules/jest-jasmine2/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.js +0 -16
- data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.d.ts +0 -17
- data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.js +0 -139
- data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.js +0 -156
- data/packages/webpacker/node_modules/jest-jasmine2/build/each.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-jasmine2/build/each.js +0 -44
- data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.js +0 -66
- data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.d.ts +0 -16
- data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.js +0 -93
- data/packages/webpacker/node_modules/jest-jasmine2/build/index.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-jasmine2/build/index.js +0 -247
- data/packages/webpacker/node_modules/jest-jasmine2/build/isError.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-jasmine2/build/isError.js +0 -32
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts +0 -25
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.js +0 -121
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.d.ts +0 -43
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.js +0 -716
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts +0 -31
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js +0 -173
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts +0 -22
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js +0 -127
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.d.ts +0 -81
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.js +0 -298
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts +0 -22
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js +0 -143
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.d.ts +0 -61
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.js +0 -235
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.d.ts +0 -14
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.js +0 -79
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.js +0 -88
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts +0 -27
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js +0 -171
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.js +0 -222
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +0 -259
- data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.js +0 -69
- data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.js +0 -78
- data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.d.ts +0 -29
- data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.js +0 -127
- data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.d.ts +0 -31
- data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.js +0 -250
- data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.d.ts +0 -16
- data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.js +0 -121
- data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.d.ts +0 -26
- data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.js +0 -82
- data/packages/webpacker/node_modules/jest-jasmine2/build/types.d.ts +0 -82
- data/packages/webpacker/node_modules/jest-jasmine2/build/types.js +0 -7
- data/packages/webpacker/node_modules/jest-jasmine2/package.json +0 -48
- data/packages/webpacker/node_modules/jest-leak-detector/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-leak-detector/README.md +0 -27
- data/packages/webpacker/node_modules/jest-leak-detector/build/index.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-leak-detector/build/index.js +0 -135
- data/packages/webpacker/node_modules/jest-leak-detector/package.json +0 -34
- data/packages/webpacker/node_modules/jest-matcher-utils/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-matcher-utils/README.md +0 -24
- data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.d.ts +0 -17
- data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.js +0 -82
- data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +0 -110
- data/packages/webpacker/node_modules/jest-matcher-utils/build/index.d.ts +0 -53
- data/packages/webpacker/node_modules/jest-matcher-utils/build/index.js +0 -590
- data/packages/webpacker/node_modules/jest-matcher-utils/package.json +0 -37
- data/packages/webpacker/node_modules/jest-message-util/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-message-util/build/index.d.ts +0 -23
- data/packages/webpacker/node_modules/jest-message-util/build/index.js +0 -501
- data/packages/webpacker/node_modules/jest-message-util/build/types.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-message-util/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-message-util/package.json +0 -42
- data/packages/webpacker/node_modules/jest-mock/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-mock/README.md +0 -92
- data/packages/webpacker/node_modules/jest-mock/build/index.d.ts +0 -185
- data/packages/webpacker/node_modules/jest-mock/build/index.js +0 -964
- data/packages/webpacker/node_modules/jest-mock/package.json +0 -30
- data/packages/webpacker/node_modules/jest-regex-util/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-regex-util/build/index.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-regex-util/build/index.js +0 -48
- data/packages/webpacker/node_modules/jest-regex-util/package.json +0 -29
- data/packages/webpacker/node_modules/jest-resolve/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.js +0 -146
- data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.d.ts +0 -29
- data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.js +0 -123
- data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.d.ts +0 -14
- data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.js +0 -214
- data/packages/webpacker/node_modules/jest-resolve/build/index.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-resolve/build/index.js +0 -36
- data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.js +0 -36
- data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.js +0 -128
- data/packages/webpacker/node_modules/jest-resolve/build/resolver.d.ts +0 -58
- data/packages/webpacker/node_modules/jest-resolve/build/resolver.js +0 -595
- data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.js +0 -112
- data/packages/webpacker/node_modules/jest-resolve/build/types.d.ts +0 -23
- data/packages/webpacker/node_modules/jest-resolve/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-resolve/build/utils.d.ts +0 -51
- data/packages/webpacker/node_modules/jest-resolve/build/utils.js +0 -269
- data/packages/webpacker/node_modules/jest-resolve/package.json +0 -42
- data/packages/webpacker/node_modules/jest-resolve-dependencies/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.d.ts +0 -27
- data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.js +0 -238
- data/packages/webpacker/node_modules/jest-resolve-dependencies/package.json +0 -37
- data/packages/webpacker/node_modules/jest-runner/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-runner/build/index.d.ts +0 -24
- data/packages/webpacker/node_modules/jest-runner/build/index.js +0 -300
- data/packages/webpacker/node_modules/jest-runner/build/runTest.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-runner/build/runTest.js +0 -494
- data/packages/webpacker/node_modules/jest-runner/build/testWorker.d.ts +0 -26
- data/packages/webpacker/node_modules/jest-runner/build/testWorker.js +0 -150
- data/packages/webpacker/node_modules/jest-runner/build/types.d.ts +0 -41
- data/packages/webpacker/node_modules/jest-runner/build/types.js +0 -15
- data/packages/webpacker/node_modules/jest-runner/package.json +0 -55
- data/packages/webpacker/node_modules/jest-runtime/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-runtime/build/helpers.d.ts +0 -10
- data/packages/webpacker/node_modules/jest-runtime/build/helpers.js +0 -157
- data/packages/webpacker/node_modules/jest-runtime/build/index.d.ts +0 -142
- data/packages/webpacker/node_modules/jest-runtime/build/index.js +0 -2454
- data/packages/webpacker/node_modules/jest-runtime/build/types.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-runtime/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-runtime/package.json +0 -57
- data/packages/webpacker/node_modules/jest-serializer/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-serializer/README.md +0 -47
- data/packages/webpacker/node_modules/jest-serializer/build/index.d.ts +0 -20
- data/packages/webpacker/node_modules/jest-serializer/build/index.js +0 -109
- data/packages/webpacker/node_modules/jest-serializer/package.json +0 -33
- data/packages/webpacker/node_modules/jest-serializer/v8.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-snapshot/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.js +0 -503
- data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.js +0 -179
- data/packages/webpacker/node_modules/jest-snapshot/build/State.d.ts +0 -62
- data/packages/webpacker/node_modules/jest-snapshot/build/State.js +0 -389
- data/packages/webpacker/node_modules/jest-snapshot/build/colors.d.ts +0 -15
- data/packages/webpacker/node_modules/jest-snapshot/build/colors.js +0 -38
- data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.js +0 -149
- data/packages/webpacker/node_modules/jest-snapshot/build/index.d.ts +0 -34
- data/packages/webpacker/node_modules/jest-snapshot/build/index.js +0 -645
- data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.js +0 -52
- data/packages/webpacker/node_modules/jest-snapshot/build/plugins.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-snapshot/build/plugins.js +0 -48
- data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.d.ts +0 -24
- data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.js +0 -407
- data/packages/webpacker/node_modules/jest-snapshot/build/types.d.ts +0 -25
- data/packages/webpacker/node_modules/jest-snapshot/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-snapshot/build/utils.d.ts +0 -28
- data/packages/webpacker/node_modules/jest-snapshot/build/utils.js +0 -460
- data/packages/webpacker/node_modules/jest-snapshot/package.json +0 -61
- data/packages/webpacker/node_modules/jest-util/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.js +0 -33
- data/packages/webpacker/node_modules/jest-util/build/clearLine.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/clearLine.js +0 -18
- data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.js +0 -41
- data/packages/webpacker/node_modules/jest-util/build/createDirectory.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/createDirectory.js +0 -76
- data/packages/webpacker/node_modules/jest-util/build/createProcessObject.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/createProcessObject.js +0 -126
- data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.js +0 -84
- data/packages/webpacker/node_modules/jest-util/build/formatTime.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-util/build/formatTime.js +0 -24
- data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.d.ts +0 -27
- data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.js +0 -108
- data/packages/webpacker/node_modules/jest-util/build/index.d.ts +0 -25
- data/packages/webpacker/node_modules/jest-util/build/index.js +0 -209
- data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.js +0 -123
- data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.js +0 -22
- data/packages/webpacker/node_modules/jest-util/build/isInteractive.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/isInteractive.js +0 -27
- data/packages/webpacker/node_modules/jest-util/build/isPromise.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/isPromise.js +0 -20
- data/packages/webpacker/node_modules/jest-util/build/pluralize.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-util/build/pluralize.js +0 -16
- data/packages/webpacker/node_modules/jest-util/build/preRunMessage.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-util/build/preRunMessage.js +0 -48
- data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.js +0 -16
- data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.js +0 -91
- data/packages/webpacker/node_modules/jest-util/build/setGlobal.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-util/build/setGlobal.js +0 -17
- data/packages/webpacker/node_modules/jest-util/build/specialChars.d.ts +0 -14
- data/packages/webpacker/node_modules/jest-util/build/specialChars.js +0 -25
- data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.js +0 -19
- data/packages/webpacker/node_modules/jest-util/build/tryRealpath.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-util/build/tryRealpath.js +0 -34
- data/packages/webpacker/node_modules/jest-util/package.json +0 -39
- data/packages/webpacker/node_modules/jest-validate/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-validate/README.md +0 -196
- data/packages/webpacker/node_modules/jest-validate/build/condition.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-validate/build/condition.js +0 -48
- data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.js +0 -42
- data/packages/webpacker/node_modules/jest-validate/build/deprecated.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-validate/build/deprecated.js +0 -32
- data/packages/webpacker/node_modules/jest-validate/build/errors.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-validate/build/errors.js +0 -75
- data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.js +0 -36
- data/packages/webpacker/node_modules/jest-validate/build/index.d.ts +0 -11
- data/packages/webpacker/node_modules/jest-validate/build/index.js +0 -61
- data/packages/webpacker/node_modules/jest-validate/build/types.d.ts +0 -26
- data/packages/webpacker/node_modules/jest-validate/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-validate/build/utils.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-validate/build/utils.js +0 -129
- data/packages/webpacker/node_modules/jest-validate/build/validate.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-validate/build/validate.js +0 -131
- data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.d.ts +0 -14
- data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.js +0 -141
- data/packages/webpacker/node_modules/jest-validate/build/warnings.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-validate/build/warnings.js +0 -48
- data/packages/webpacker/node_modules/jest-validate/package.json +0 -37
- data/packages/webpacker/node_modules/jest-watcher/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.d.ts +0 -22
- data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.js +0 -52
- data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.js +0 -91
- data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.d.ts +0 -20
- data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.js +0 -113
- data/packages/webpacker/node_modules/jest-watcher/build/constants.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-watcher/build/constants.js +0 -27
- data/packages/webpacker/node_modules/jest-watcher/build/index.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-watcher/build/index.js +0 -75
- data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.d.ts +0 -25
- data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.js +0 -158
- data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.js +0 -34
- data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js +0 -81
- data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts +0 -9
- data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.js +0 -68
- data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.d.ts +0 -12
- data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.js +0 -34
- data/packages/webpacker/node_modules/jest-watcher/build/types.d.ts +0 -60
- data/packages/webpacker/node_modules/jest-watcher/build/types.js +0 -1
- data/packages/webpacker/node_modules/jest-watcher/package.json +0 -40
- data/packages/webpacker/node_modules/jest-worker/LICENSE +0 -21
- data/packages/webpacker/node_modules/jest-worker/README.md +0 -247
- data/packages/webpacker/node_modules/jest-worker/build/Farm.d.ts +0 -29
- data/packages/webpacker/node_modules/jest-worker/build/Farm.js +0 -206
- data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.d.ts +0 -18
- data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.js +0 -171
- data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.d.ts +0 -41
- data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.js +0 -188
- data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.d.ts +0 -13
- data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.js +0 -49
- data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +0 -21
- data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.js +0 -201
- data/packages/webpacker/node_modules/jest-worker/build/index.d.ts +0 -49
- data/packages/webpacker/node_modules/jest-worker/build/index.js +0 -223
- data/packages/webpacker/node_modules/jest-worker/build/types.d.ts +0 -143
- data/packages/webpacker/node_modules/jest-worker/build/types.js +0 -39
- data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +0 -51
- data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.js +0 -333
- data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +0 -34
- data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +0 -344
- data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.d.ts +0 -8
- data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.js +0 -38
- data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.js +0 -148
- data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.d.ts +0 -7
- data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.js +0 -159
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/browser.js +0 -24
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/index.js +0 -152
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/license +0 -9
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/package.json +0 -58
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/readme.md +0 -77
- data/packages/webpacker/node_modules/jest-worker/package.json +0 -38
- data/packages/webpacker/node_modules/pretty-format/LICENSE +0 -21
- data/packages/webpacker/node_modules/pretty-format/README.md +0 -458
- data/packages/webpacker/node_modules/pretty-format/build/collections.d.ts +0 -32
- data/packages/webpacker/node_modules/pretty-format/build/collections.js +0 -187
- data/packages/webpacker/node_modules/pretty-format/build/index.d.ts +0 -25
- data/packages/webpacker/node_modules/pretty-format/build/index.js +0 -597
- data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +0 -117
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.js +0 -96
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.js +0 -80
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.js +0 -128
- data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.js +0 -247
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.d.ts +0 -11
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.js +0 -166
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +0 -18
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.js +0 -79
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +0 -7
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +0 -16
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.d.ts +0 -13
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.js +0 -153
- data/packages/webpacker/node_modules/pretty-format/build/types.d.ts +0 -108
- data/packages/webpacker/node_modules/pretty-format/build/types.js +0 -1
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +0 -167
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.js +0 -164
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/license +0 -9
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/package.json +0 -52
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/readme.md +0 -144
- data/packages/webpacker/node_modules/pretty-format/package.json +0 -44
- data/packages/webpacker/node_modules/react-is/LICENSE +0 -21
- data/packages/webpacker/node_modules/react-is/README.md +0 -104
- data/packages/webpacker/node_modules/react-is/build-info.json +0 -8
- data/packages/webpacker/node_modules/react-is/cjs/react-is.development.js +0 -226
- data/packages/webpacker/node_modules/react-is/cjs/react-is.production.min.js +0 -14
- data/packages/webpacker/node_modules/react-is/index.js +0 -7
- data/packages/webpacker/node_modules/react-is/package.json +0 -27
- data/packages/webpacker/node_modules/react-is/umd/react-is.development.js +0 -225
- data/packages/webpacker/node_modules/react-is/umd/react-is.production.min.js +0 -14
- data/packages/webpacker/node_modules/semver/CHANGELOG.md +0 -111
- data/packages/webpacker/node_modules/semver/LICENSE +0 -15
- data/packages/webpacker/node_modules/semver/README.md +0 -566
- data/packages/webpacker/node_modules/semver/bin/semver.js +0 -173
- data/packages/webpacker/node_modules/semver/classes/comparator.js +0 -135
- data/packages/webpacker/node_modules/semver/classes/index.js +0 -5
- data/packages/webpacker/node_modules/semver/classes/range.js +0 -510
- data/packages/webpacker/node_modules/semver/classes/semver.js +0 -287
- data/packages/webpacker/node_modules/semver/functions/clean.js +0 -6
- data/packages/webpacker/node_modules/semver/functions/cmp.js +0 -48
- data/packages/webpacker/node_modules/semver/functions/coerce.js +0 -51
- data/packages/webpacker/node_modules/semver/functions/compare-build.js +0 -7
- data/packages/webpacker/node_modules/semver/functions/compare-loose.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/compare.js +0 -5
- data/packages/webpacker/node_modules/semver/functions/diff.js +0 -23
- data/packages/webpacker/node_modules/semver/functions/eq.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/gt.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/gte.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/inc.js +0 -15
- data/packages/webpacker/node_modules/semver/functions/lt.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/lte.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/major.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/minor.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/neq.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/parse.js +0 -33
- data/packages/webpacker/node_modules/semver/functions/patch.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/prerelease.js +0 -6
- data/packages/webpacker/node_modules/semver/functions/rcompare.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/rsort.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/satisfies.js +0 -10
- data/packages/webpacker/node_modules/semver/functions/sort.js +0 -3
- data/packages/webpacker/node_modules/semver/functions/valid.js +0 -6
- data/packages/webpacker/node_modules/semver/index.js +0 -48
- data/packages/webpacker/node_modules/semver/internal/constants.js +0 -17
- data/packages/webpacker/node_modules/semver/internal/debug.js +0 -9
- data/packages/webpacker/node_modules/semver/internal/identifiers.js +0 -23
- data/packages/webpacker/node_modules/semver/internal/parse-options.js +0 -11
- data/packages/webpacker/node_modules/semver/internal/re.js +0 -182
- data/packages/webpacker/node_modules/semver/package.json +0 -41
- data/packages/webpacker/node_modules/semver/preload.js +0 -2
- data/packages/webpacker/node_modules/semver/range.bnf +0 -16
- data/packages/webpacker/node_modules/semver/ranges/gtr.js +0 -4
- data/packages/webpacker/node_modules/semver/ranges/intersects.js +0 -7
- data/packages/webpacker/node_modules/semver/ranges/ltr.js +0 -4
- data/packages/webpacker/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/packages/webpacker/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/packages/webpacker/node_modules/semver/ranges/min-version.js +0 -60
- data/packages/webpacker/node_modules/semver/ranges/outside.js +0 -80
- data/packages/webpacker/node_modules/semver/ranges/simplify.js +0 -44
- data/packages/webpacker/node_modules/semver/ranges/subset.js +0 -222
- data/packages/webpacker/node_modules/semver/ranges/to-comparators.js +0 -8
- data/packages/webpacker/node_modules/semver/ranges/valid.js +0 -11
- data/packages/webpacker/node_modules/source-map/CHANGELOG.md +0 -301
- data/packages/webpacker/node_modules/source-map/LICENSE +0 -28
- data/packages/webpacker/node_modules/source-map/README.md +0 -742
- data/packages/webpacker/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/packages/webpacker/node_modules/source-map/dist/source-map.js +0 -3233
- data/packages/webpacker/node_modules/source-map/dist/source-map.min.js +0 -2
- data/packages/webpacker/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/packages/webpacker/node_modules/source-map/lib/array-set.js +0 -121
- data/packages/webpacker/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/packages/webpacker/node_modules/source-map/lib/base64.js +0 -67
- data/packages/webpacker/node_modules/source-map/lib/binary-search.js +0 -111
- data/packages/webpacker/node_modules/source-map/lib/mapping-list.js +0 -79
- data/packages/webpacker/node_modules/source-map/lib/quick-sort.js +0 -114
- data/packages/webpacker/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/packages/webpacker/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/packages/webpacker/node_modules/source-map/lib/source-node.js +0 -413
- data/packages/webpacker/node_modules/source-map/lib/util.js +0 -488
- data/packages/webpacker/node_modules/source-map/package.json +0 -73
- data/packages/webpacker/node_modules/source-map/source-map.d.ts +0 -98
- data/packages/webpacker/node_modules/source-map/source-map.js +0 -8
- data/packages/webpacker/node_modules/supports-color/browser.js +0 -5
- data/packages/webpacker/node_modules/supports-color/index.js +0 -135
- data/packages/webpacker/node_modules/supports-color/license +0 -9
- data/packages/webpacker/node_modules/supports-color/package.json +0 -53
- data/packages/webpacker/node_modules/supports-color/readme.md +0 -76
- data/packages/webpacker/node_modules/throat/LICENSE +0 -19
- data/packages/webpacker/node_modules/throat/README.md +0 -55
- data/packages/webpacker/node_modules/throat/index.d.ts +0 -32
- data/packages/webpacker/node_modules/throat/index.js +0 -145
- data/packages/webpacker/node_modules/throat/index.js.flow +0 -7
- data/packages/webpacker/node_modules/throat/package.json +0 -47
- data/packages/webpacker/node_modules/type-fest/base.d.ts +0 -38
- data/packages/webpacker/node_modules/type-fest/index.d.ts +0 -2
- data/packages/webpacker/node_modules/type-fest/license +0 -9
- data/packages/webpacker/node_modules/type-fest/package.json +0 -58
- data/packages/webpacker/node_modules/type-fest/readme.md +0 -658
- data/packages/webpacker/node_modules/type-fest/source/async-return-type.d.ts +0 -23
- data/packages/webpacker/node_modules/type-fest/source/asyncify.d.ts +0 -31
- data/packages/webpacker/node_modules/type-fest/source/basic.d.ts +0 -67
- data/packages/webpacker/node_modules/type-fest/source/conditional-except.d.ts +0 -43
- data/packages/webpacker/node_modules/type-fest/source/conditional-keys.d.ts +0 -43
- data/packages/webpacker/node_modules/type-fest/source/conditional-pick.d.ts +0 -42
- data/packages/webpacker/node_modules/type-fest/source/entries.d.ts +0 -57
- data/packages/webpacker/node_modules/type-fest/source/entry.d.ts +0 -60
- data/packages/webpacker/node_modules/type-fest/source/except.d.ts +0 -22
- data/packages/webpacker/node_modules/type-fest/source/fixed-length-array.d.ts +0 -38
- data/packages/webpacker/node_modules/type-fest/source/iterable-element.d.ts +0 -46
- data/packages/webpacker/node_modules/type-fest/source/literal-union.d.ts +0 -33
- data/packages/webpacker/node_modules/type-fest/source/merge-exclusive.d.ts +0 -39
- data/packages/webpacker/node_modules/type-fest/source/merge.d.ts +0 -22
- data/packages/webpacker/node_modules/type-fest/source/mutable.d.ts +0 -22
- data/packages/webpacker/node_modules/type-fest/source/opaque.d.ts +0 -65
- data/packages/webpacker/node_modules/type-fest/source/package-json.d.ts +0 -611
- data/packages/webpacker/node_modules/type-fest/source/partial-deep.d.ts +0 -72
- data/packages/webpacker/node_modules/type-fest/source/promisable.d.ts +0 -23
- data/packages/webpacker/node_modules/type-fest/source/promise-value.d.ts +0 -27
- data/packages/webpacker/node_modules/type-fest/source/readonly-deep.d.ts +0 -59
- data/packages/webpacker/node_modules/type-fest/source/require-at-least-one.d.ts +0 -33
- data/packages/webpacker/node_modules/type-fest/source/require-exactly-one.d.ts +0 -35
- data/packages/webpacker/node_modules/type-fest/source/set-optional.d.ts +0 -34
- data/packages/webpacker/node_modules/type-fest/source/set-required.d.ts +0 -34
- data/packages/webpacker/node_modules/type-fest/source/set-return-type.d.ts +0 -29
- data/packages/webpacker/node_modules/type-fest/source/stringified.d.ts +0 -21
- data/packages/webpacker/node_modules/type-fest/source/tsconfig-json.d.ts +0 -870
- data/packages/webpacker/node_modules/type-fest/source/union-to-intersection.d.ts +0 -58
- data/packages/webpacker/node_modules/type-fest/source/utilities.d.ts +0 -3
- data/packages/webpacker/node_modules/type-fest/source/value-of.d.ts +0 -40
- data/packages/webpacker/node_modules/type-fest/ts41/camel-case.d.ts +0 -72
- data/packages/webpacker/node_modules/type-fest/ts41/delimiter-case.d.ts +0 -85
- data/packages/webpacker/node_modules/type-fest/ts41/index.d.ts +0 -9
- data/packages/webpacker/node_modules/type-fest/ts41/kebab-case.d.ts +0 -36
- data/packages/webpacker/node_modules/type-fest/ts41/pascal-case.d.ts +0 -36
- data/packages/webpacker/node_modules/type-fest/ts41/snake-case.d.ts +0 -35
- data/packages/webpacker/node_modules/v8-to-istanbul/CHANGELOG.md +0 -380
- data/packages/webpacker/node_modules/v8-to-istanbul/LICENSE.txt +0 -14
- data/packages/webpacker/node_modules/v8-to-istanbul/README.md +0 -90
- data/packages/webpacker/node_modules/v8-to-istanbul/index.d.ts +0 -25
- data/packages/webpacker/node_modules/v8-to-istanbul/index.js +0 -5
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/branch.js +0 -28
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/function.js +0 -29
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/line.js +0 -34
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/range.js +0 -33
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/source.js +0 -245
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js +0 -318
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md +0 -344
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/LICENSE +0 -28
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/README.md +0 -822
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js +0 -3351
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js +0 -100
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js +0 -111
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js +0 -18
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js +0 -107
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js +0 -80
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mappings.wasm +0 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/read-wasm.js +0 -40
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js +0 -1254
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js +0 -413
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js +0 -404
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js +0 -546
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js +0 -107
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/package.json +0 -90
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts +0 -369
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.js +0 -8
- data/packages/webpacker/node_modules/v8-to-istanbul/package.json +0 -48
- data/packages/webpacker/node_modules/wrap-ansi/index.js +0 -216
- data/packages/webpacker/node_modules/wrap-ansi/license +0 -9
- data/packages/webpacker/node_modules/wrap-ansi/package.json +0 -62
- data/packages/webpacker/node_modules/wrap-ansi/readme.md +0 -91
- data/packages/webpacker/node_modules/y18n/CHANGELOG.md +0 -100
- data/packages/webpacker/node_modules/y18n/LICENSE +0 -13
- data/packages/webpacker/node_modules/y18n/README.md +0 -127
- data/packages/webpacker/node_modules/y18n/build/index.cjs +0 -203
- data/packages/webpacker/node_modules/y18n/build/lib/cjs.js +0 -6
- data/packages/webpacker/node_modules/y18n/build/lib/index.js +0 -174
- data/packages/webpacker/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- data/packages/webpacker/node_modules/y18n/index.mjs +0 -8
- data/packages/webpacker/node_modules/y18n/package.json +0 -70
- data/packages/webpacker/node_modules/yargs/CHANGELOG.md +0 -88
- data/packages/webpacker/node_modules/yargs/LICENSE +0 -21
- data/packages/webpacker/node_modules/yargs/README.md +0 -202
- data/packages/webpacker/node_modules/yargs/browser.mjs +0 -7
- data/packages/webpacker/node_modules/yargs/build/index.cjs +0 -2920
- data/packages/webpacker/node_modules/yargs/build/lib/argsert.js +0 -62
- data/packages/webpacker/node_modules/yargs/build/lib/command.js +0 -382
- data/packages/webpacker/node_modules/yargs/build/lib/completion-templates.js +0 -47
- data/packages/webpacker/node_modules/yargs/build/lib/completion.js +0 -128
- data/packages/webpacker/node_modules/yargs/build/lib/middleware.js +0 -53
- data/packages/webpacker/node_modules/yargs/build/lib/parse-command.js +0 -32
- data/packages/webpacker/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- data/packages/webpacker/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- data/packages/webpacker/node_modules/yargs/build/lib/usage.js +0 -548
- data/packages/webpacker/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- data/packages/webpacker/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- data/packages/webpacker/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
- data/packages/webpacker/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- data/packages/webpacker/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- data/packages/webpacker/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- data/packages/webpacker/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- data/packages/webpacker/node_modules/yargs/build/lib/validation.js +0 -308
- data/packages/webpacker/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
- data/packages/webpacker/node_modules/yargs/build/lib/yerror.js +0 -7
- data/packages/webpacker/node_modules/yargs/helpers/helpers.mjs +0 -10
- data/packages/webpacker/node_modules/yargs/helpers/index.js +0 -14
- data/packages/webpacker/node_modules/yargs/helpers/package.json +0 -3
- data/packages/webpacker/node_modules/yargs/index.cjs +0 -39
- data/packages/webpacker/node_modules/yargs/index.mjs +0 -8
- data/packages/webpacker/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
- data/packages/webpacker/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
- data/packages/webpacker/node_modules/yargs/locales/be.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/de.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/en.json +0 -51
- data/packages/webpacker/node_modules/yargs/locales/es.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/fi.json +0 -49
- data/packages/webpacker/node_modules/yargs/locales/fr.json +0 -53
- data/packages/webpacker/node_modules/yargs/locales/hi.json +0 -49
- data/packages/webpacker/node_modules/yargs/locales/hu.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/id.json +0 -50
- data/packages/webpacker/node_modules/yargs/locales/it.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/ja.json +0 -51
- data/packages/webpacker/node_modules/yargs/locales/ko.json +0 -49
- data/packages/webpacker/node_modules/yargs/locales/nb.json +0 -44
- data/packages/webpacker/node_modules/yargs/locales/nl.json +0 -49
- data/packages/webpacker/node_modules/yargs/locales/nn.json +0 -44
- data/packages/webpacker/node_modules/yargs/locales/pirate.json +0 -13
- data/packages/webpacker/node_modules/yargs/locales/pl.json +0 -49
- data/packages/webpacker/node_modules/yargs/locales/pt.json +0 -45
- data/packages/webpacker/node_modules/yargs/locales/pt_BR.json +0 -48
- data/packages/webpacker/node_modules/yargs/locales/ru.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/th.json +0 -46
- data/packages/webpacker/node_modules/yargs/locales/tr.json +0 -48
- data/packages/webpacker/node_modules/yargs/locales/zh_CN.json +0 -48
- data/packages/webpacker/node_modules/yargs/locales/zh_TW.json +0 -47
- data/packages/webpacker/node_modules/yargs/package.json +0 -122
- data/packages/webpacker/node_modules/yargs/yargs +0 -9
- data/packages/webpacker/node_modules/yargs-parser/CHANGELOG.md +0 -263
- data/packages/webpacker/node_modules/yargs-parser/LICENSE.txt +0 -14
- data/packages/webpacker/node_modules/yargs-parser/README.md +0 -518
- data/packages/webpacker/node_modules/yargs-parser/browser.js +0 -29
- data/packages/webpacker/node_modules/yargs-parser/build/index.cjs +0 -1042
- data/packages/webpacker/node_modules/yargs-parser/build/lib/index.js +0 -59
- data/packages/webpacker/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- data/packages/webpacker/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
- data/packages/webpacker/node_modules/yargs-parser/package.json +0 -87
@@ -1,1956 +0,0 @@
|
|
1
|
-
/*! @author Toru Nagashima <https://github.com/mysticatea> */
|
2
|
-
'use strict';
|
3
|
-
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
-
|
6
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
7
|
-
|
8
|
-
var evk = _interopDefault(require('eslint-visitor-keys'));
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Get the innermost scope which contains a given location.
|
12
|
-
* @param {Scope} initialScope The initial scope to search.
|
13
|
-
* @param {Node} node The location to search.
|
14
|
-
* @returns {Scope} The innermost scope.
|
15
|
-
*/
|
16
|
-
function getInnermostScope(initialScope, node) {
|
17
|
-
const location = node.range[0];
|
18
|
-
|
19
|
-
let scope = initialScope;
|
20
|
-
let found = false;
|
21
|
-
do {
|
22
|
-
found = false;
|
23
|
-
for (const childScope of scope.childScopes) {
|
24
|
-
const range = childScope.block.range;
|
25
|
-
|
26
|
-
if (range[0] <= location && location < range[1]) {
|
27
|
-
scope = childScope;
|
28
|
-
found = true;
|
29
|
-
break
|
30
|
-
}
|
31
|
-
}
|
32
|
-
} while (found)
|
33
|
-
|
34
|
-
return scope
|
35
|
-
}
|
36
|
-
|
37
|
-
/**
|
38
|
-
* Find the variable of a given name.
|
39
|
-
* @param {Scope} initialScope The scope to start finding.
|
40
|
-
* @param {string|Node} nameOrNode The variable name to find. If this is a Node object then it should be an Identifier node.
|
41
|
-
* @returns {Variable|null} The found variable or null.
|
42
|
-
*/
|
43
|
-
function findVariable(initialScope, nameOrNode) {
|
44
|
-
let name = "";
|
45
|
-
let scope = initialScope;
|
46
|
-
|
47
|
-
if (typeof nameOrNode === "string") {
|
48
|
-
name = nameOrNode;
|
49
|
-
} else {
|
50
|
-
name = nameOrNode.name;
|
51
|
-
scope = getInnermostScope(scope, nameOrNode);
|
52
|
-
}
|
53
|
-
|
54
|
-
while (scope != null) {
|
55
|
-
const variable = scope.set.get(name);
|
56
|
-
if (variable != null) {
|
57
|
-
return variable
|
58
|
-
}
|
59
|
-
scope = scope.upper;
|
60
|
-
}
|
61
|
-
|
62
|
-
return null
|
63
|
-
}
|
64
|
-
|
65
|
-
/**
|
66
|
-
* Negate the result of `this` calling.
|
67
|
-
* @param {Token} token The token to check.
|
68
|
-
* @returns {boolean} `true` if the result of `this(token)` is `false`.
|
69
|
-
*/
|
70
|
-
function negate0(token) {
|
71
|
-
return !this(token) //eslint-disable-line no-invalid-this
|
72
|
-
}
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Creates the negate function of the given function.
|
76
|
-
* @param {function(Token):boolean} f - The function to negate.
|
77
|
-
* @returns {function(Token):boolean} Negated function.
|
78
|
-
*/
|
79
|
-
function negate(f) {
|
80
|
-
return negate0.bind(f)
|
81
|
-
}
|
82
|
-
|
83
|
-
/**
|
84
|
-
* Checks if the given token is a PunctuatorToken with the given value
|
85
|
-
* @param {Token} token - The token to check.
|
86
|
-
* @param {string} value - The value to check.
|
87
|
-
* @returns {boolean} `true` if the token is a PunctuatorToken with the given value.
|
88
|
-
*/
|
89
|
-
function isPunctuatorTokenWithValue(token, value) {
|
90
|
-
return token.type === "Punctuator" && token.value === value
|
91
|
-
}
|
92
|
-
|
93
|
-
/**
|
94
|
-
* Checks if the given token is an arrow token or not.
|
95
|
-
* @param {Token} token - The token to check.
|
96
|
-
* @returns {boolean} `true` if the token is an arrow token.
|
97
|
-
*/
|
98
|
-
function isArrowToken(token) {
|
99
|
-
return isPunctuatorTokenWithValue(token, "=>")
|
100
|
-
}
|
101
|
-
|
102
|
-
/**
|
103
|
-
* Checks if the given token is a comma token or not.
|
104
|
-
* @param {Token} token - The token to check.
|
105
|
-
* @returns {boolean} `true` if the token is a comma token.
|
106
|
-
*/
|
107
|
-
function isCommaToken(token) {
|
108
|
-
return isPunctuatorTokenWithValue(token, ",")
|
109
|
-
}
|
110
|
-
|
111
|
-
/**
|
112
|
-
* Checks if the given token is a semicolon token or not.
|
113
|
-
* @param {Token} token - The token to check.
|
114
|
-
* @returns {boolean} `true` if the token is a semicolon token.
|
115
|
-
*/
|
116
|
-
function isSemicolonToken(token) {
|
117
|
-
return isPunctuatorTokenWithValue(token, ";")
|
118
|
-
}
|
119
|
-
|
120
|
-
/**
|
121
|
-
* Checks if the given token is a colon token or not.
|
122
|
-
* @param {Token} token - The token to check.
|
123
|
-
* @returns {boolean} `true` if the token is a colon token.
|
124
|
-
*/
|
125
|
-
function isColonToken(token) {
|
126
|
-
return isPunctuatorTokenWithValue(token, ":")
|
127
|
-
}
|
128
|
-
|
129
|
-
/**
|
130
|
-
* Checks if the given token is an opening parenthesis token or not.
|
131
|
-
* @param {Token} token - The token to check.
|
132
|
-
* @returns {boolean} `true` if the token is an opening parenthesis token.
|
133
|
-
*/
|
134
|
-
function isOpeningParenToken(token) {
|
135
|
-
return isPunctuatorTokenWithValue(token, "(")
|
136
|
-
}
|
137
|
-
|
138
|
-
/**
|
139
|
-
* Checks if the given token is a closing parenthesis token or not.
|
140
|
-
* @param {Token} token - The token to check.
|
141
|
-
* @returns {boolean} `true` if the token is a closing parenthesis token.
|
142
|
-
*/
|
143
|
-
function isClosingParenToken(token) {
|
144
|
-
return isPunctuatorTokenWithValue(token, ")")
|
145
|
-
}
|
146
|
-
|
147
|
-
/**
|
148
|
-
* Checks if the given token is an opening square bracket token or not.
|
149
|
-
* @param {Token} token - The token to check.
|
150
|
-
* @returns {boolean} `true` if the token is an opening square bracket token.
|
151
|
-
*/
|
152
|
-
function isOpeningBracketToken(token) {
|
153
|
-
return isPunctuatorTokenWithValue(token, "[")
|
154
|
-
}
|
155
|
-
|
156
|
-
/**
|
157
|
-
* Checks if the given token is a closing square bracket token or not.
|
158
|
-
* @param {Token} token - The token to check.
|
159
|
-
* @returns {boolean} `true` if the token is a closing square bracket token.
|
160
|
-
*/
|
161
|
-
function isClosingBracketToken(token) {
|
162
|
-
return isPunctuatorTokenWithValue(token, "]")
|
163
|
-
}
|
164
|
-
|
165
|
-
/**
|
166
|
-
* Checks if the given token is an opening brace token or not.
|
167
|
-
* @param {Token} token - The token to check.
|
168
|
-
* @returns {boolean} `true` if the token is an opening brace token.
|
169
|
-
*/
|
170
|
-
function isOpeningBraceToken(token) {
|
171
|
-
return isPunctuatorTokenWithValue(token, "{")
|
172
|
-
}
|
173
|
-
|
174
|
-
/**
|
175
|
-
* Checks if the given token is a closing brace token or not.
|
176
|
-
* @param {Token} token - The token to check.
|
177
|
-
* @returns {boolean} `true` if the token is a closing brace token.
|
178
|
-
*/
|
179
|
-
function isClosingBraceToken(token) {
|
180
|
-
return isPunctuatorTokenWithValue(token, "}")
|
181
|
-
}
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Checks if the given token is a comment token or not.
|
185
|
-
* @param {Token} token - The token to check.
|
186
|
-
* @returns {boolean} `true` if the token is a comment token.
|
187
|
-
*/
|
188
|
-
function isCommentToken(token) {
|
189
|
-
return ["Block", "Line", "Shebang"].includes(token.type)
|
190
|
-
}
|
191
|
-
|
192
|
-
const isNotArrowToken = negate(isArrowToken);
|
193
|
-
const isNotCommaToken = negate(isCommaToken);
|
194
|
-
const isNotSemicolonToken = negate(isSemicolonToken);
|
195
|
-
const isNotColonToken = negate(isColonToken);
|
196
|
-
const isNotOpeningParenToken = negate(isOpeningParenToken);
|
197
|
-
const isNotClosingParenToken = negate(isClosingParenToken);
|
198
|
-
const isNotOpeningBracketToken = negate(isOpeningBracketToken);
|
199
|
-
const isNotClosingBracketToken = negate(isClosingBracketToken);
|
200
|
-
const isNotOpeningBraceToken = negate(isOpeningBraceToken);
|
201
|
-
const isNotClosingBraceToken = negate(isClosingBraceToken);
|
202
|
-
const isNotCommentToken = negate(isCommentToken);
|
203
|
-
|
204
|
-
/**
|
205
|
-
* Get the `(` token of the given function node.
|
206
|
-
* @param {Node} node - The function node to get.
|
207
|
-
* @param {SourceCode} sourceCode - The source code object to get tokens.
|
208
|
-
* @returns {Token} `(` token.
|
209
|
-
*/
|
210
|
-
function getOpeningParenOfParams(node, sourceCode) {
|
211
|
-
return node.id
|
212
|
-
? sourceCode.getTokenAfter(node.id, isOpeningParenToken)
|
213
|
-
: sourceCode.getFirstToken(node, isOpeningParenToken)
|
214
|
-
}
|
215
|
-
|
216
|
-
/**
|
217
|
-
* Get the location of the given function node for reporting.
|
218
|
-
* @param {Node} node - The function node to get.
|
219
|
-
* @param {SourceCode} sourceCode - The source code object to get tokens.
|
220
|
-
* @returns {string} The location of the function node for reporting.
|
221
|
-
*/
|
222
|
-
function getFunctionHeadLocation(node, sourceCode) {
|
223
|
-
const parent = node.parent;
|
224
|
-
let start = null;
|
225
|
-
let end = null;
|
226
|
-
|
227
|
-
if (node.type === "ArrowFunctionExpression") {
|
228
|
-
const arrowToken = sourceCode.getTokenBefore(node.body, isArrowToken);
|
229
|
-
|
230
|
-
start = arrowToken.loc.start;
|
231
|
-
end = arrowToken.loc.end;
|
232
|
-
} else if (
|
233
|
-
parent.type === "Property" ||
|
234
|
-
parent.type === "MethodDefinition" ||
|
235
|
-
parent.type === "PropertyDefinition"
|
236
|
-
) {
|
237
|
-
start = parent.loc.start;
|
238
|
-
end = getOpeningParenOfParams(node, sourceCode).loc.start;
|
239
|
-
} else {
|
240
|
-
start = node.loc.start;
|
241
|
-
end = getOpeningParenOfParams(node, sourceCode).loc.start;
|
242
|
-
}
|
243
|
-
|
244
|
-
return {
|
245
|
-
start: { ...start },
|
246
|
-
end: { ...end },
|
247
|
-
}
|
248
|
-
}
|
249
|
-
|
250
|
-
/* globals globalThis, global, self, window */
|
251
|
-
|
252
|
-
const globalObject =
|
253
|
-
typeof globalThis !== "undefined"
|
254
|
-
? globalThis
|
255
|
-
: typeof self !== "undefined"
|
256
|
-
? self
|
257
|
-
: typeof window !== "undefined"
|
258
|
-
? window
|
259
|
-
: typeof global !== "undefined"
|
260
|
-
? global
|
261
|
-
: {};
|
262
|
-
|
263
|
-
const builtinNames = Object.freeze(
|
264
|
-
new Set([
|
265
|
-
"Array",
|
266
|
-
"ArrayBuffer",
|
267
|
-
"BigInt",
|
268
|
-
"BigInt64Array",
|
269
|
-
"BigUint64Array",
|
270
|
-
"Boolean",
|
271
|
-
"DataView",
|
272
|
-
"Date",
|
273
|
-
"decodeURI",
|
274
|
-
"decodeURIComponent",
|
275
|
-
"encodeURI",
|
276
|
-
"encodeURIComponent",
|
277
|
-
"escape",
|
278
|
-
"Float32Array",
|
279
|
-
"Float64Array",
|
280
|
-
"Function",
|
281
|
-
"Infinity",
|
282
|
-
"Int16Array",
|
283
|
-
"Int32Array",
|
284
|
-
"Int8Array",
|
285
|
-
"isFinite",
|
286
|
-
"isNaN",
|
287
|
-
"isPrototypeOf",
|
288
|
-
"JSON",
|
289
|
-
"Map",
|
290
|
-
"Math",
|
291
|
-
"NaN",
|
292
|
-
"Number",
|
293
|
-
"Object",
|
294
|
-
"parseFloat",
|
295
|
-
"parseInt",
|
296
|
-
"Promise",
|
297
|
-
"Proxy",
|
298
|
-
"Reflect",
|
299
|
-
"RegExp",
|
300
|
-
"Set",
|
301
|
-
"String",
|
302
|
-
"Symbol",
|
303
|
-
"Uint16Array",
|
304
|
-
"Uint32Array",
|
305
|
-
"Uint8Array",
|
306
|
-
"Uint8ClampedArray",
|
307
|
-
"undefined",
|
308
|
-
"unescape",
|
309
|
-
"WeakMap",
|
310
|
-
"WeakSet",
|
311
|
-
]),
|
312
|
-
);
|
313
|
-
const callAllowed = new Set(
|
314
|
-
[
|
315
|
-
Array.isArray,
|
316
|
-
typeof BigInt === "function" ? BigInt : undefined,
|
317
|
-
Boolean,
|
318
|
-
Date,
|
319
|
-
Date.parse,
|
320
|
-
decodeURI,
|
321
|
-
decodeURIComponent,
|
322
|
-
encodeURI,
|
323
|
-
encodeURIComponent,
|
324
|
-
escape,
|
325
|
-
isFinite,
|
326
|
-
isNaN,
|
327
|
-
isPrototypeOf,
|
328
|
-
...Object.getOwnPropertyNames(Math)
|
329
|
-
.map((k) => Math[k])
|
330
|
-
.filter((f) => typeof f === "function"),
|
331
|
-
Number,
|
332
|
-
Number.isFinite,
|
333
|
-
Number.isNaN,
|
334
|
-
Number.parseFloat,
|
335
|
-
Number.parseInt,
|
336
|
-
Object,
|
337
|
-
Object.entries,
|
338
|
-
Object.is,
|
339
|
-
Object.isExtensible,
|
340
|
-
Object.isFrozen,
|
341
|
-
Object.isSealed,
|
342
|
-
Object.keys,
|
343
|
-
Object.values,
|
344
|
-
parseFloat,
|
345
|
-
parseInt,
|
346
|
-
RegExp,
|
347
|
-
String,
|
348
|
-
String.fromCharCode,
|
349
|
-
String.fromCodePoint,
|
350
|
-
String.raw,
|
351
|
-
Symbol.for,
|
352
|
-
Symbol.keyFor,
|
353
|
-
unescape,
|
354
|
-
].filter((f) => typeof f === "function"),
|
355
|
-
);
|
356
|
-
const callPassThrough = new Set([
|
357
|
-
Object.freeze,
|
358
|
-
Object.preventExtensions,
|
359
|
-
Object.seal,
|
360
|
-
]);
|
361
|
-
|
362
|
-
/**
|
363
|
-
* Get the property descriptor.
|
364
|
-
* @param {object} object The object to get.
|
365
|
-
* @param {string|number|symbol} name The property name to get.
|
366
|
-
*/
|
367
|
-
function getPropertyDescriptor(object, name) {
|
368
|
-
let x = object;
|
369
|
-
while ((typeof x === "object" || typeof x === "function") && x !== null) {
|
370
|
-
const d = Object.getOwnPropertyDescriptor(x, name);
|
371
|
-
if (d) {
|
372
|
-
return d
|
373
|
-
}
|
374
|
-
x = Object.getPrototypeOf(x);
|
375
|
-
}
|
376
|
-
return null
|
377
|
-
}
|
378
|
-
|
379
|
-
/**
|
380
|
-
* Check if a property is getter or not.
|
381
|
-
* @param {object} object The object to check.
|
382
|
-
* @param {string|number|symbol} name The property name to check.
|
383
|
-
*/
|
384
|
-
function isGetter(object, name) {
|
385
|
-
const d = getPropertyDescriptor(object, name);
|
386
|
-
return d != null && d.get != null
|
387
|
-
}
|
388
|
-
|
389
|
-
/**
|
390
|
-
* Get the element values of a given node list.
|
391
|
-
* @param {Node[]} nodeList The node list to get values.
|
392
|
-
* @param {Scope|undefined} initialScope The initial scope to find variables.
|
393
|
-
* @returns {any[]|null} The value list if all nodes are constant. Otherwise, null.
|
394
|
-
*/
|
395
|
-
function getElementValues(nodeList, initialScope) {
|
396
|
-
const valueList = [];
|
397
|
-
|
398
|
-
for (let i = 0; i < nodeList.length; ++i) {
|
399
|
-
const elementNode = nodeList[i];
|
400
|
-
|
401
|
-
if (elementNode == null) {
|
402
|
-
valueList.length = i + 1;
|
403
|
-
} else if (elementNode.type === "SpreadElement") {
|
404
|
-
const argument = getStaticValueR(elementNode.argument, initialScope);
|
405
|
-
if (argument == null) {
|
406
|
-
return null
|
407
|
-
}
|
408
|
-
valueList.push(...argument.value);
|
409
|
-
} else {
|
410
|
-
const element = getStaticValueR(elementNode, initialScope);
|
411
|
-
if (element == null) {
|
412
|
-
return null
|
413
|
-
}
|
414
|
-
valueList.push(element.value);
|
415
|
-
}
|
416
|
-
}
|
417
|
-
|
418
|
-
return valueList
|
419
|
-
}
|
420
|
-
|
421
|
-
const operations = Object.freeze({
|
422
|
-
ArrayExpression(node, initialScope) {
|
423
|
-
const elements = getElementValues(node.elements, initialScope);
|
424
|
-
return elements != null ? { value: elements } : null
|
425
|
-
},
|
426
|
-
|
427
|
-
AssignmentExpression(node, initialScope) {
|
428
|
-
if (node.operator === "=") {
|
429
|
-
return getStaticValueR(node.right, initialScope)
|
430
|
-
}
|
431
|
-
return null
|
432
|
-
},
|
433
|
-
|
434
|
-
//eslint-disable-next-line complexity
|
435
|
-
BinaryExpression(node, initialScope) {
|
436
|
-
if (node.operator === "in" || node.operator === "instanceof") {
|
437
|
-
// Not supported.
|
438
|
-
return null
|
439
|
-
}
|
440
|
-
|
441
|
-
const left = getStaticValueR(node.left, initialScope);
|
442
|
-
const right = getStaticValueR(node.right, initialScope);
|
443
|
-
if (left != null && right != null) {
|
444
|
-
switch (node.operator) {
|
445
|
-
case "==":
|
446
|
-
return { value: left.value == right.value } //eslint-disable-line eqeqeq
|
447
|
-
case "!=":
|
448
|
-
return { value: left.value != right.value } //eslint-disable-line eqeqeq
|
449
|
-
case "===":
|
450
|
-
return { value: left.value === right.value }
|
451
|
-
case "!==":
|
452
|
-
return { value: left.value !== right.value }
|
453
|
-
case "<":
|
454
|
-
return { value: left.value < right.value }
|
455
|
-
case "<=":
|
456
|
-
return { value: left.value <= right.value }
|
457
|
-
case ">":
|
458
|
-
return { value: left.value > right.value }
|
459
|
-
case ">=":
|
460
|
-
return { value: left.value >= right.value }
|
461
|
-
case "<<":
|
462
|
-
return { value: left.value << right.value }
|
463
|
-
case ">>":
|
464
|
-
return { value: left.value >> right.value }
|
465
|
-
case ">>>":
|
466
|
-
return { value: left.value >>> right.value }
|
467
|
-
case "+":
|
468
|
-
return { value: left.value + right.value }
|
469
|
-
case "-":
|
470
|
-
return { value: left.value - right.value }
|
471
|
-
case "*":
|
472
|
-
return { value: left.value * right.value }
|
473
|
-
case "/":
|
474
|
-
return { value: left.value / right.value }
|
475
|
-
case "%":
|
476
|
-
return { value: left.value % right.value }
|
477
|
-
case "**":
|
478
|
-
return { value: Math.pow(left.value, right.value) }
|
479
|
-
case "|":
|
480
|
-
return { value: left.value | right.value }
|
481
|
-
case "^":
|
482
|
-
return { value: left.value ^ right.value }
|
483
|
-
case "&":
|
484
|
-
return { value: left.value & right.value }
|
485
|
-
|
486
|
-
// no default
|
487
|
-
}
|
488
|
-
}
|
489
|
-
|
490
|
-
return null
|
491
|
-
},
|
492
|
-
|
493
|
-
CallExpression(node, initialScope) {
|
494
|
-
const calleeNode = node.callee;
|
495
|
-
const args = getElementValues(node.arguments, initialScope);
|
496
|
-
|
497
|
-
if (args != null) {
|
498
|
-
if (calleeNode.type === "MemberExpression") {
|
499
|
-
if (calleeNode.property.type === "PrivateIdentifier") {
|
500
|
-
return null
|
501
|
-
}
|
502
|
-
const object = getStaticValueR(calleeNode.object, initialScope);
|
503
|
-
if (object != null) {
|
504
|
-
if (
|
505
|
-
object.value == null &&
|
506
|
-
(object.optional || node.optional)
|
507
|
-
) {
|
508
|
-
return { value: undefined, optional: true }
|
509
|
-
}
|
510
|
-
const property = getStaticPropertyNameValue(
|
511
|
-
calleeNode,
|
512
|
-
initialScope,
|
513
|
-
);
|
514
|
-
|
515
|
-
if (property != null) {
|
516
|
-
const receiver = object.value;
|
517
|
-
const methodName = property.value;
|
518
|
-
if (callAllowed.has(receiver[methodName])) {
|
519
|
-
return { value: receiver[methodName](...args) }
|
520
|
-
}
|
521
|
-
if (callPassThrough.has(receiver[methodName])) {
|
522
|
-
return { value: args[0] }
|
523
|
-
}
|
524
|
-
}
|
525
|
-
}
|
526
|
-
} else {
|
527
|
-
const callee = getStaticValueR(calleeNode, initialScope);
|
528
|
-
if (callee != null) {
|
529
|
-
if (callee.value == null && node.optional) {
|
530
|
-
return { value: undefined, optional: true }
|
531
|
-
}
|
532
|
-
const func = callee.value;
|
533
|
-
if (callAllowed.has(func)) {
|
534
|
-
return { value: func(...args) }
|
535
|
-
}
|
536
|
-
if (callPassThrough.has(func)) {
|
537
|
-
return { value: args[0] }
|
538
|
-
}
|
539
|
-
}
|
540
|
-
}
|
541
|
-
}
|
542
|
-
|
543
|
-
return null
|
544
|
-
},
|
545
|
-
|
546
|
-
ConditionalExpression(node, initialScope) {
|
547
|
-
const test = getStaticValueR(node.test, initialScope);
|
548
|
-
if (test != null) {
|
549
|
-
return test.value
|
550
|
-
? getStaticValueR(node.consequent, initialScope)
|
551
|
-
: getStaticValueR(node.alternate, initialScope)
|
552
|
-
}
|
553
|
-
return null
|
554
|
-
},
|
555
|
-
|
556
|
-
ExpressionStatement(node, initialScope) {
|
557
|
-
return getStaticValueR(node.expression, initialScope)
|
558
|
-
},
|
559
|
-
|
560
|
-
Identifier(node, initialScope) {
|
561
|
-
if (initialScope != null) {
|
562
|
-
const variable = findVariable(initialScope, node);
|
563
|
-
|
564
|
-
// Built-in globals.
|
565
|
-
if (
|
566
|
-
variable != null &&
|
567
|
-
variable.defs.length === 0 &&
|
568
|
-
builtinNames.has(variable.name) &&
|
569
|
-
variable.name in globalObject
|
570
|
-
) {
|
571
|
-
return { value: globalObject[variable.name] }
|
572
|
-
}
|
573
|
-
|
574
|
-
// Constants.
|
575
|
-
if (variable != null && variable.defs.length === 1) {
|
576
|
-
const def = variable.defs[0];
|
577
|
-
if (
|
578
|
-
def.parent &&
|
579
|
-
def.parent.kind === "const" &&
|
580
|
-
// TODO(mysticatea): don't support destructuring here.
|
581
|
-
def.node.id.type === "Identifier"
|
582
|
-
) {
|
583
|
-
return getStaticValueR(def.node.init, initialScope)
|
584
|
-
}
|
585
|
-
}
|
586
|
-
}
|
587
|
-
return null
|
588
|
-
},
|
589
|
-
|
590
|
-
Literal(node) {
|
591
|
-
//istanbul ignore if : this is implementation-specific behavior.
|
592
|
-
if ((node.regex != null || node.bigint != null) && node.value == null) {
|
593
|
-
// It was a RegExp/BigInt literal, but Node.js didn't support it.
|
594
|
-
return null
|
595
|
-
}
|
596
|
-
return { value: node.value }
|
597
|
-
},
|
598
|
-
|
599
|
-
LogicalExpression(node, initialScope) {
|
600
|
-
const left = getStaticValueR(node.left, initialScope);
|
601
|
-
if (left != null) {
|
602
|
-
if (
|
603
|
-
(node.operator === "||" && Boolean(left.value) === true) ||
|
604
|
-
(node.operator === "&&" && Boolean(left.value) === false) ||
|
605
|
-
(node.operator === "??" && left.value != null)
|
606
|
-
) {
|
607
|
-
return left
|
608
|
-
}
|
609
|
-
|
610
|
-
const right = getStaticValueR(node.right, initialScope);
|
611
|
-
if (right != null) {
|
612
|
-
return right
|
613
|
-
}
|
614
|
-
}
|
615
|
-
|
616
|
-
return null
|
617
|
-
},
|
618
|
-
|
619
|
-
MemberExpression(node, initialScope) {
|
620
|
-
if (node.property.type === "PrivateIdentifier") {
|
621
|
-
return null
|
622
|
-
}
|
623
|
-
const object = getStaticValueR(node.object, initialScope);
|
624
|
-
if (object != null) {
|
625
|
-
if (object.value == null && (object.optional || node.optional)) {
|
626
|
-
return { value: undefined, optional: true }
|
627
|
-
}
|
628
|
-
const property = getStaticPropertyNameValue(node, initialScope);
|
629
|
-
|
630
|
-
if (property != null && !isGetter(object.value, property.value)) {
|
631
|
-
return { value: object.value[property.value] }
|
632
|
-
}
|
633
|
-
}
|
634
|
-
return null
|
635
|
-
},
|
636
|
-
|
637
|
-
ChainExpression(node, initialScope) {
|
638
|
-
const expression = getStaticValueR(node.expression, initialScope);
|
639
|
-
if (expression != null) {
|
640
|
-
return { value: expression.value }
|
641
|
-
}
|
642
|
-
return null
|
643
|
-
},
|
644
|
-
|
645
|
-
NewExpression(node, initialScope) {
|
646
|
-
const callee = getStaticValueR(node.callee, initialScope);
|
647
|
-
const args = getElementValues(node.arguments, initialScope);
|
648
|
-
|
649
|
-
if (callee != null && args != null) {
|
650
|
-
const Func = callee.value;
|
651
|
-
if (callAllowed.has(Func)) {
|
652
|
-
return { value: new Func(...args) }
|
653
|
-
}
|
654
|
-
}
|
655
|
-
|
656
|
-
return null
|
657
|
-
},
|
658
|
-
|
659
|
-
ObjectExpression(node, initialScope) {
|
660
|
-
const object = {};
|
661
|
-
|
662
|
-
for (const propertyNode of node.properties) {
|
663
|
-
if (propertyNode.type === "Property") {
|
664
|
-
if (propertyNode.kind !== "init") {
|
665
|
-
return null
|
666
|
-
}
|
667
|
-
const key = getStaticPropertyNameValue(
|
668
|
-
propertyNode,
|
669
|
-
initialScope,
|
670
|
-
);
|
671
|
-
const value = getStaticValueR(propertyNode.value, initialScope);
|
672
|
-
if (key == null || value == null) {
|
673
|
-
return null
|
674
|
-
}
|
675
|
-
object[key.value] = value.value;
|
676
|
-
} else if (
|
677
|
-
propertyNode.type === "SpreadElement" ||
|
678
|
-
propertyNode.type === "ExperimentalSpreadProperty"
|
679
|
-
) {
|
680
|
-
const argument = getStaticValueR(
|
681
|
-
propertyNode.argument,
|
682
|
-
initialScope,
|
683
|
-
);
|
684
|
-
if (argument == null) {
|
685
|
-
return null
|
686
|
-
}
|
687
|
-
Object.assign(object, argument.value);
|
688
|
-
} else {
|
689
|
-
return null
|
690
|
-
}
|
691
|
-
}
|
692
|
-
|
693
|
-
return { value: object }
|
694
|
-
},
|
695
|
-
|
696
|
-
SequenceExpression(node, initialScope) {
|
697
|
-
const last = node.expressions[node.expressions.length - 1];
|
698
|
-
return getStaticValueR(last, initialScope)
|
699
|
-
},
|
700
|
-
|
701
|
-
TaggedTemplateExpression(node, initialScope) {
|
702
|
-
const tag = getStaticValueR(node.tag, initialScope);
|
703
|
-
const expressions = getElementValues(
|
704
|
-
node.quasi.expressions,
|
705
|
-
initialScope,
|
706
|
-
);
|
707
|
-
|
708
|
-
if (tag != null && expressions != null) {
|
709
|
-
const func = tag.value;
|
710
|
-
const strings = node.quasi.quasis.map((q) => q.value.cooked);
|
711
|
-
strings.raw = node.quasi.quasis.map((q) => q.value.raw);
|
712
|
-
|
713
|
-
if (func === String.raw) {
|
714
|
-
return { value: func(strings, ...expressions) }
|
715
|
-
}
|
716
|
-
}
|
717
|
-
|
718
|
-
return null
|
719
|
-
},
|
720
|
-
|
721
|
-
TemplateLiteral(node, initialScope) {
|
722
|
-
const expressions = getElementValues(node.expressions, initialScope);
|
723
|
-
if (expressions != null) {
|
724
|
-
let value = node.quasis[0].value.cooked;
|
725
|
-
for (let i = 0; i < expressions.length; ++i) {
|
726
|
-
value += expressions[i];
|
727
|
-
value += node.quasis[i + 1].value.cooked;
|
728
|
-
}
|
729
|
-
return { value }
|
730
|
-
}
|
731
|
-
return null
|
732
|
-
},
|
733
|
-
|
734
|
-
UnaryExpression(node, initialScope) {
|
735
|
-
if (node.operator === "delete") {
|
736
|
-
// Not supported.
|
737
|
-
return null
|
738
|
-
}
|
739
|
-
if (node.operator === "void") {
|
740
|
-
return { value: undefined }
|
741
|
-
}
|
742
|
-
|
743
|
-
const arg = getStaticValueR(node.argument, initialScope);
|
744
|
-
if (arg != null) {
|
745
|
-
switch (node.operator) {
|
746
|
-
case "-":
|
747
|
-
return { value: -arg.value }
|
748
|
-
case "+":
|
749
|
-
return { value: +arg.value } //eslint-disable-line no-implicit-coercion
|
750
|
-
case "!":
|
751
|
-
return { value: !arg.value }
|
752
|
-
case "~":
|
753
|
-
return { value: ~arg.value }
|
754
|
-
case "typeof":
|
755
|
-
return { value: typeof arg.value }
|
756
|
-
|
757
|
-
// no default
|
758
|
-
}
|
759
|
-
}
|
760
|
-
|
761
|
-
return null
|
762
|
-
},
|
763
|
-
});
|
764
|
-
|
765
|
-
/**
|
766
|
-
* Get the value of a given node if it's a static value.
|
767
|
-
* @param {Node} node The node to get.
|
768
|
-
* @param {Scope|undefined} initialScope The scope to start finding variable.
|
769
|
-
* @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`.
|
770
|
-
*/
|
771
|
-
function getStaticValueR(node, initialScope) {
|
772
|
-
if (node != null && Object.hasOwnProperty.call(operations, node.type)) {
|
773
|
-
return operations[node.type](node, initialScope)
|
774
|
-
}
|
775
|
-
return null
|
776
|
-
}
|
777
|
-
|
778
|
-
/**
|
779
|
-
* Get the static value of property name from a MemberExpression node or a Property node.
|
780
|
-
* @param {Node} node The node to get.
|
781
|
-
* @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is a computed property node and this scope was given, this checks the computed property name by the `getStringIfConstant` function with the scope, and returns the value of it.
|
782
|
-
* @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the property name of the node, or `null`.
|
783
|
-
*/
|
784
|
-
function getStaticPropertyNameValue(node, initialScope) {
|
785
|
-
const nameNode = node.type === "Property" ? node.key : node.property;
|
786
|
-
|
787
|
-
if (node.computed) {
|
788
|
-
return getStaticValueR(nameNode, initialScope)
|
789
|
-
}
|
790
|
-
|
791
|
-
if (nameNode.type === "Identifier") {
|
792
|
-
return { value: nameNode.name }
|
793
|
-
}
|
794
|
-
|
795
|
-
if (nameNode.type === "Literal") {
|
796
|
-
if (nameNode.bigint) {
|
797
|
-
return { value: nameNode.bigint }
|
798
|
-
}
|
799
|
-
return { value: String(nameNode.value) }
|
800
|
-
}
|
801
|
-
|
802
|
-
return null
|
803
|
-
}
|
804
|
-
|
805
|
-
/**
|
806
|
-
* Get the value of a given node if it's a static value.
|
807
|
-
* @param {Node} node The node to get.
|
808
|
-
* @param {Scope} [initialScope] The scope to start finding variable. Optional. If this scope was given, this tries to resolve identifier references which are in the given node as much as possible.
|
809
|
-
* @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`.
|
810
|
-
*/
|
811
|
-
function getStaticValue(node, initialScope = null) {
|
812
|
-
try {
|
813
|
-
return getStaticValueR(node, initialScope)
|
814
|
-
} catch (_error) {
|
815
|
-
return null
|
816
|
-
}
|
817
|
-
}
|
818
|
-
|
819
|
-
/**
|
820
|
-
* Get the value of a given node if it's a literal or a template literal.
|
821
|
-
* @param {Node} node The node to get.
|
822
|
-
* @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is an Identifier node and this scope was given, this checks the variable of the identifier, and returns the value of it if the variable is a constant.
|
823
|
-
* @returns {string|null} The value of the node, or `null`.
|
824
|
-
*/
|
825
|
-
function getStringIfConstant(node, initialScope = null) {
|
826
|
-
// Handle the literals that the platform doesn't support natively.
|
827
|
-
if (node && node.type === "Literal" && node.value === null) {
|
828
|
-
if (node.regex) {
|
829
|
-
return `/${node.regex.pattern}/${node.regex.flags}`
|
830
|
-
}
|
831
|
-
if (node.bigint) {
|
832
|
-
return node.bigint
|
833
|
-
}
|
834
|
-
}
|
835
|
-
|
836
|
-
const evaluated = getStaticValue(node, initialScope);
|
837
|
-
return evaluated && String(evaluated.value)
|
838
|
-
}
|
839
|
-
|
840
|
-
/**
|
841
|
-
* Get the property name from a MemberExpression node or a Property node.
|
842
|
-
* @param {Node} node The node to get.
|
843
|
-
* @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is a computed property node and this scope was given, this checks the computed property name by the `getStringIfConstant` function with the scope, and returns the value of it.
|
844
|
-
* @returns {string|null} The property name of the node.
|
845
|
-
*/
|
846
|
-
function getPropertyName(node, initialScope) {
|
847
|
-
switch (node.type) {
|
848
|
-
case "MemberExpression":
|
849
|
-
if (node.computed) {
|
850
|
-
return getStringIfConstant(node.property, initialScope)
|
851
|
-
}
|
852
|
-
if (node.property.type === "PrivateIdentifier") {
|
853
|
-
return null
|
854
|
-
}
|
855
|
-
return node.property.name
|
856
|
-
|
857
|
-
case "Property":
|
858
|
-
case "MethodDefinition":
|
859
|
-
case "PropertyDefinition":
|
860
|
-
if (node.computed) {
|
861
|
-
return getStringIfConstant(node.key, initialScope)
|
862
|
-
}
|
863
|
-
if (node.key.type === "Literal") {
|
864
|
-
return String(node.key.value)
|
865
|
-
}
|
866
|
-
if (node.key.type === "PrivateIdentifier") {
|
867
|
-
return null
|
868
|
-
}
|
869
|
-
return node.key.name
|
870
|
-
|
871
|
-
// no default
|
872
|
-
}
|
873
|
-
|
874
|
-
return null
|
875
|
-
}
|
876
|
-
|
877
|
-
/**
|
878
|
-
* Get the name and kind of the given function node.
|
879
|
-
* @param {ASTNode} node - The function node to get.
|
880
|
-
* @param {SourceCode} [sourceCode] The source code object to get the code of computed property keys.
|
881
|
-
* @returns {string} The name and kind of the function node.
|
882
|
-
*/
|
883
|
-
// eslint-disable-next-line complexity
|
884
|
-
function getFunctionNameWithKind(node, sourceCode) {
|
885
|
-
const parent = node.parent;
|
886
|
-
const tokens = [];
|
887
|
-
const isObjectMethod = parent.type === "Property" && parent.value === node;
|
888
|
-
const isClassMethod =
|
889
|
-
parent.type === "MethodDefinition" && parent.value === node;
|
890
|
-
const isClassFieldMethod =
|
891
|
-
parent.type === "PropertyDefinition" && parent.value === node;
|
892
|
-
|
893
|
-
// Modifiers.
|
894
|
-
if (isClassMethod || isClassFieldMethod) {
|
895
|
-
if (parent.static) {
|
896
|
-
tokens.push("static");
|
897
|
-
}
|
898
|
-
if (parent.key.type === "PrivateIdentifier") {
|
899
|
-
tokens.push("private");
|
900
|
-
}
|
901
|
-
}
|
902
|
-
if (node.async) {
|
903
|
-
tokens.push("async");
|
904
|
-
}
|
905
|
-
if (node.generator) {
|
906
|
-
tokens.push("generator");
|
907
|
-
}
|
908
|
-
|
909
|
-
// Kinds.
|
910
|
-
if (isObjectMethod || isClassMethod) {
|
911
|
-
if (parent.kind === "constructor") {
|
912
|
-
return "constructor"
|
913
|
-
}
|
914
|
-
if (parent.kind === "get") {
|
915
|
-
tokens.push("getter");
|
916
|
-
} else if (parent.kind === "set") {
|
917
|
-
tokens.push("setter");
|
918
|
-
} else {
|
919
|
-
tokens.push("method");
|
920
|
-
}
|
921
|
-
} else if (isClassFieldMethod) {
|
922
|
-
tokens.push("method");
|
923
|
-
} else {
|
924
|
-
if (node.type === "ArrowFunctionExpression") {
|
925
|
-
tokens.push("arrow");
|
926
|
-
}
|
927
|
-
tokens.push("function");
|
928
|
-
}
|
929
|
-
|
930
|
-
// Names.
|
931
|
-
if (isObjectMethod || isClassMethod || isClassFieldMethod) {
|
932
|
-
if (parent.key.type === "PrivateIdentifier") {
|
933
|
-
tokens.push(`#${parent.key.name}`);
|
934
|
-
} else {
|
935
|
-
const name = getPropertyName(parent);
|
936
|
-
if (name) {
|
937
|
-
tokens.push(`'${name}'`);
|
938
|
-
} else if (sourceCode) {
|
939
|
-
const keyText = sourceCode.getText(parent.key);
|
940
|
-
if (!keyText.includes("\n")) {
|
941
|
-
tokens.push(`[${keyText}]`);
|
942
|
-
}
|
943
|
-
}
|
944
|
-
}
|
945
|
-
} else if (node.id) {
|
946
|
-
tokens.push(`'${node.id.name}'`);
|
947
|
-
} else if (
|
948
|
-
parent.type === "VariableDeclarator" &&
|
949
|
-
parent.id &&
|
950
|
-
parent.id.type === "Identifier"
|
951
|
-
) {
|
952
|
-
tokens.push(`'${parent.id.name}'`);
|
953
|
-
} else if (
|
954
|
-
(parent.type === "AssignmentExpression" ||
|
955
|
-
parent.type === "AssignmentPattern") &&
|
956
|
-
parent.left &&
|
957
|
-
parent.left.type === "Identifier"
|
958
|
-
) {
|
959
|
-
tokens.push(`'${parent.left.name}'`);
|
960
|
-
}
|
961
|
-
|
962
|
-
return tokens.join(" ")
|
963
|
-
}
|
964
|
-
|
965
|
-
const typeConversionBinaryOps = Object.freeze(
|
966
|
-
new Set([
|
967
|
-
"==",
|
968
|
-
"!=",
|
969
|
-
"<",
|
970
|
-
"<=",
|
971
|
-
">",
|
972
|
-
">=",
|
973
|
-
"<<",
|
974
|
-
">>",
|
975
|
-
">>>",
|
976
|
-
"+",
|
977
|
-
"-",
|
978
|
-
"*",
|
979
|
-
"/",
|
980
|
-
"%",
|
981
|
-
"|",
|
982
|
-
"^",
|
983
|
-
"&",
|
984
|
-
"in",
|
985
|
-
]),
|
986
|
-
);
|
987
|
-
const typeConversionUnaryOps = Object.freeze(new Set(["-", "+", "!", "~"]));
|
988
|
-
|
989
|
-
/**
|
990
|
-
* Check whether the given value is an ASTNode or not.
|
991
|
-
* @param {any} x The value to check.
|
992
|
-
* @returns {boolean} `true` if the value is an ASTNode.
|
993
|
-
*/
|
994
|
-
function isNode(x) {
|
995
|
-
return x !== null && typeof x === "object" && typeof x.type === "string"
|
996
|
-
}
|
997
|
-
|
998
|
-
const visitor = Object.freeze(
|
999
|
-
Object.assign(Object.create(null), {
|
1000
|
-
$visit(node, options, visitorKeys) {
|
1001
|
-
const { type } = node;
|
1002
|
-
|
1003
|
-
if (typeof this[type] === "function") {
|
1004
|
-
return this[type](node, options, visitorKeys)
|
1005
|
-
}
|
1006
|
-
|
1007
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1008
|
-
},
|
1009
|
-
|
1010
|
-
$visitChildren(node, options, visitorKeys) {
|
1011
|
-
const { type } = node;
|
1012
|
-
|
1013
|
-
for (const key of visitorKeys[type] || evk.getKeys(node)) {
|
1014
|
-
const value = node[key];
|
1015
|
-
|
1016
|
-
if (Array.isArray(value)) {
|
1017
|
-
for (const element of value) {
|
1018
|
-
if (
|
1019
|
-
isNode(element) &&
|
1020
|
-
this.$visit(element, options, visitorKeys)
|
1021
|
-
) {
|
1022
|
-
return true
|
1023
|
-
}
|
1024
|
-
}
|
1025
|
-
} else if (
|
1026
|
-
isNode(value) &&
|
1027
|
-
this.$visit(value, options, visitorKeys)
|
1028
|
-
) {
|
1029
|
-
return true
|
1030
|
-
}
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
return false
|
1034
|
-
},
|
1035
|
-
|
1036
|
-
ArrowFunctionExpression() {
|
1037
|
-
return false
|
1038
|
-
},
|
1039
|
-
AssignmentExpression() {
|
1040
|
-
return true
|
1041
|
-
},
|
1042
|
-
AwaitExpression() {
|
1043
|
-
return true
|
1044
|
-
},
|
1045
|
-
BinaryExpression(node, options, visitorKeys) {
|
1046
|
-
if (
|
1047
|
-
options.considerImplicitTypeConversion &&
|
1048
|
-
typeConversionBinaryOps.has(node.operator) &&
|
1049
|
-
(node.left.type !== "Literal" || node.right.type !== "Literal")
|
1050
|
-
) {
|
1051
|
-
return true
|
1052
|
-
}
|
1053
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1054
|
-
},
|
1055
|
-
CallExpression() {
|
1056
|
-
return true
|
1057
|
-
},
|
1058
|
-
FunctionExpression() {
|
1059
|
-
return false
|
1060
|
-
},
|
1061
|
-
ImportExpression() {
|
1062
|
-
return true
|
1063
|
-
},
|
1064
|
-
MemberExpression(node, options, visitorKeys) {
|
1065
|
-
if (options.considerGetters) {
|
1066
|
-
return true
|
1067
|
-
}
|
1068
|
-
if (
|
1069
|
-
options.considerImplicitTypeConversion &&
|
1070
|
-
node.computed &&
|
1071
|
-
node.property.type !== "Literal"
|
1072
|
-
) {
|
1073
|
-
return true
|
1074
|
-
}
|
1075
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1076
|
-
},
|
1077
|
-
MethodDefinition(node, options, visitorKeys) {
|
1078
|
-
if (
|
1079
|
-
options.considerImplicitTypeConversion &&
|
1080
|
-
node.computed &&
|
1081
|
-
node.key.type !== "Literal"
|
1082
|
-
) {
|
1083
|
-
return true
|
1084
|
-
}
|
1085
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1086
|
-
},
|
1087
|
-
NewExpression() {
|
1088
|
-
return true
|
1089
|
-
},
|
1090
|
-
Property(node, options, visitorKeys) {
|
1091
|
-
if (
|
1092
|
-
options.considerImplicitTypeConversion &&
|
1093
|
-
node.computed &&
|
1094
|
-
node.key.type !== "Literal"
|
1095
|
-
) {
|
1096
|
-
return true
|
1097
|
-
}
|
1098
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1099
|
-
},
|
1100
|
-
PropertyDefinition(node, options, visitorKeys) {
|
1101
|
-
if (
|
1102
|
-
options.considerImplicitTypeConversion &&
|
1103
|
-
node.computed &&
|
1104
|
-
node.key.type !== "Literal"
|
1105
|
-
) {
|
1106
|
-
return true
|
1107
|
-
}
|
1108
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1109
|
-
},
|
1110
|
-
UnaryExpression(node, options, visitorKeys) {
|
1111
|
-
if (node.operator === "delete") {
|
1112
|
-
return true
|
1113
|
-
}
|
1114
|
-
if (
|
1115
|
-
options.considerImplicitTypeConversion &&
|
1116
|
-
typeConversionUnaryOps.has(node.operator) &&
|
1117
|
-
node.argument.type !== "Literal"
|
1118
|
-
) {
|
1119
|
-
return true
|
1120
|
-
}
|
1121
|
-
return this.$visitChildren(node, options, visitorKeys)
|
1122
|
-
},
|
1123
|
-
UpdateExpression() {
|
1124
|
-
return true
|
1125
|
-
},
|
1126
|
-
YieldExpression() {
|
1127
|
-
return true
|
1128
|
-
},
|
1129
|
-
}),
|
1130
|
-
);
|
1131
|
-
|
1132
|
-
/**
|
1133
|
-
* Check whether a given node has any side effect or not.
|
1134
|
-
* @param {Node} node The node to get.
|
1135
|
-
* @param {SourceCode} sourceCode The source code object.
|
1136
|
-
* @param {object} [options] The option object.
|
1137
|
-
* @param {boolean} [options.considerGetters=false] If `true` then it considers member accesses as the node which has side effects.
|
1138
|
-
* @param {boolean} [options.considerImplicitTypeConversion=false] If `true` then it considers implicit type conversion as the node which has side effects.
|
1139
|
-
* @param {object} [options.visitorKeys=evk.KEYS] The keys to traverse nodes. Use `context.getSourceCode().visitorKeys`.
|
1140
|
-
* @returns {boolean} `true` if the node has a certain side effect.
|
1141
|
-
*/
|
1142
|
-
function hasSideEffect(
|
1143
|
-
node,
|
1144
|
-
sourceCode,
|
1145
|
-
{ considerGetters = false, considerImplicitTypeConversion = false } = {},
|
1146
|
-
) {
|
1147
|
-
return visitor.$visit(
|
1148
|
-
node,
|
1149
|
-
{ considerGetters, considerImplicitTypeConversion },
|
1150
|
-
sourceCode.visitorKeys || evk.KEYS,
|
1151
|
-
)
|
1152
|
-
}
|
1153
|
-
|
1154
|
-
/**
|
1155
|
-
* Get the left parenthesis of the parent node syntax if it exists.
|
1156
|
-
* E.g., `if (a) {}` then the `(`.
|
1157
|
-
* @param {Node} node The AST node to check.
|
1158
|
-
* @param {SourceCode} sourceCode The source code object to get tokens.
|
1159
|
-
* @returns {Token|null} The left parenthesis of the parent node syntax
|
1160
|
-
*/
|
1161
|
-
function getParentSyntaxParen(node, sourceCode) {
|
1162
|
-
const parent = node.parent;
|
1163
|
-
|
1164
|
-
switch (parent.type) {
|
1165
|
-
case "CallExpression":
|
1166
|
-
case "NewExpression":
|
1167
|
-
if (parent.arguments.length === 1 && parent.arguments[0] === node) {
|
1168
|
-
return sourceCode.getTokenAfter(
|
1169
|
-
parent.callee,
|
1170
|
-
isOpeningParenToken,
|
1171
|
-
)
|
1172
|
-
}
|
1173
|
-
return null
|
1174
|
-
|
1175
|
-
case "DoWhileStatement":
|
1176
|
-
if (parent.test === node) {
|
1177
|
-
return sourceCode.getTokenAfter(
|
1178
|
-
parent.body,
|
1179
|
-
isOpeningParenToken,
|
1180
|
-
)
|
1181
|
-
}
|
1182
|
-
return null
|
1183
|
-
|
1184
|
-
case "IfStatement":
|
1185
|
-
case "WhileStatement":
|
1186
|
-
if (parent.test === node) {
|
1187
|
-
return sourceCode.getFirstToken(parent, 1)
|
1188
|
-
}
|
1189
|
-
return null
|
1190
|
-
|
1191
|
-
case "ImportExpression":
|
1192
|
-
if (parent.source === node) {
|
1193
|
-
return sourceCode.getFirstToken(parent, 1)
|
1194
|
-
}
|
1195
|
-
return null
|
1196
|
-
|
1197
|
-
case "SwitchStatement":
|
1198
|
-
if (parent.discriminant === node) {
|
1199
|
-
return sourceCode.getFirstToken(parent, 1)
|
1200
|
-
}
|
1201
|
-
return null
|
1202
|
-
|
1203
|
-
case "WithStatement":
|
1204
|
-
if (parent.object === node) {
|
1205
|
-
return sourceCode.getFirstToken(parent, 1)
|
1206
|
-
}
|
1207
|
-
return null
|
1208
|
-
|
1209
|
-
default:
|
1210
|
-
return null
|
1211
|
-
}
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
/**
|
1215
|
-
* Check whether a given node is parenthesized or not.
|
1216
|
-
* @param {number} times The number of parantheses.
|
1217
|
-
* @param {Node} node The AST node to check.
|
1218
|
-
* @param {SourceCode} sourceCode The source code object to get tokens.
|
1219
|
-
* @returns {boolean} `true` if the node is parenthesized the given times.
|
1220
|
-
*/
|
1221
|
-
/**
|
1222
|
-
* Check whether a given node is parenthesized or not.
|
1223
|
-
* @param {Node} node The AST node to check.
|
1224
|
-
* @param {SourceCode} sourceCode The source code object to get tokens.
|
1225
|
-
* @returns {boolean} `true` if the node is parenthesized.
|
1226
|
-
*/
|
1227
|
-
function isParenthesized(
|
1228
|
-
timesOrNode,
|
1229
|
-
nodeOrSourceCode,
|
1230
|
-
optionalSourceCode,
|
1231
|
-
) {
|
1232
|
-
let times, node, sourceCode, maybeLeftParen, maybeRightParen;
|
1233
|
-
if (typeof timesOrNode === "number") {
|
1234
|
-
times = timesOrNode | 0;
|
1235
|
-
node = nodeOrSourceCode;
|
1236
|
-
sourceCode = optionalSourceCode;
|
1237
|
-
if (!(times >= 1)) {
|
1238
|
-
throw new TypeError("'times' should be a positive integer.")
|
1239
|
-
}
|
1240
|
-
} else {
|
1241
|
-
times = 1;
|
1242
|
-
node = timesOrNode;
|
1243
|
-
sourceCode = nodeOrSourceCode;
|
1244
|
-
}
|
1245
|
-
|
1246
|
-
if (
|
1247
|
-
node == null ||
|
1248
|
-
// `CatchClause.param` can't be parenthesized, example `try {} catch (error) {}`
|
1249
|
-
(node.parent.type === "CatchClause" && node.parent.param === node)
|
1250
|
-
) {
|
1251
|
-
return false
|
1252
|
-
}
|
1253
|
-
|
1254
|
-
maybeLeftParen = maybeRightParen = node;
|
1255
|
-
do {
|
1256
|
-
maybeLeftParen = sourceCode.getTokenBefore(maybeLeftParen);
|
1257
|
-
maybeRightParen = sourceCode.getTokenAfter(maybeRightParen);
|
1258
|
-
} while (
|
1259
|
-
maybeLeftParen != null &&
|
1260
|
-
maybeRightParen != null &&
|
1261
|
-
isOpeningParenToken(maybeLeftParen) &&
|
1262
|
-
isClosingParenToken(maybeRightParen) &&
|
1263
|
-
// Avoid false positive such as `if (a) {}`
|
1264
|
-
maybeLeftParen !== getParentSyntaxParen(node, sourceCode) &&
|
1265
|
-
--times > 0
|
1266
|
-
)
|
1267
|
-
|
1268
|
-
return times === 0
|
1269
|
-
}
|
1270
|
-
|
1271
|
-
/**
|
1272
|
-
* @author Toru Nagashima <https://github.com/mysticatea>
|
1273
|
-
* See LICENSE file in root directory for full license.
|
1274
|
-
*/
|
1275
|
-
|
1276
|
-
const placeholder = /\$(?:[$&`']|[1-9][0-9]?)/gu;
|
1277
|
-
|
1278
|
-
/** @type {WeakMap<PatternMatcher, {pattern:RegExp,escaped:boolean}>} */
|
1279
|
-
const internal = new WeakMap();
|
1280
|
-
|
1281
|
-
/**
|
1282
|
-
* Check whether a given character is escaped or not.
|
1283
|
-
* @param {string} str The string to check.
|
1284
|
-
* @param {number} index The location of the character to check.
|
1285
|
-
* @returns {boolean} `true` if the character is escaped.
|
1286
|
-
*/
|
1287
|
-
function isEscaped(str, index) {
|
1288
|
-
let escaped = false;
|
1289
|
-
for (let i = index - 1; i >= 0 && str.charCodeAt(i) === 0x5c; --i) {
|
1290
|
-
escaped = !escaped;
|
1291
|
-
}
|
1292
|
-
return escaped
|
1293
|
-
}
|
1294
|
-
|
1295
|
-
/**
|
1296
|
-
* Replace a given string by a given matcher.
|
1297
|
-
* @param {PatternMatcher} matcher The pattern matcher.
|
1298
|
-
* @param {string} str The string to be replaced.
|
1299
|
-
* @param {string} replacement The new substring to replace each matched part.
|
1300
|
-
* @returns {string} The replaced string.
|
1301
|
-
*/
|
1302
|
-
function replaceS(matcher, str, replacement) {
|
1303
|
-
const chunks = [];
|
1304
|
-
let index = 0;
|
1305
|
-
|
1306
|
-
/** @type {RegExpExecArray} */
|
1307
|
-
let match = null;
|
1308
|
-
|
1309
|
-
/**
|
1310
|
-
* @param {string} key The placeholder.
|
1311
|
-
* @returns {string} The replaced string.
|
1312
|
-
*/
|
1313
|
-
function replacer(key) {
|
1314
|
-
switch (key) {
|
1315
|
-
case "$$":
|
1316
|
-
return "$"
|
1317
|
-
case "$&":
|
1318
|
-
return match[0]
|
1319
|
-
case "$`":
|
1320
|
-
return str.slice(0, match.index)
|
1321
|
-
case "$'":
|
1322
|
-
return str.slice(match.index + match[0].length)
|
1323
|
-
default: {
|
1324
|
-
const i = key.slice(1);
|
1325
|
-
if (i in match) {
|
1326
|
-
return match[i]
|
1327
|
-
}
|
1328
|
-
return key
|
1329
|
-
}
|
1330
|
-
}
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
for (match of matcher.execAll(str)) {
|
1334
|
-
chunks.push(str.slice(index, match.index));
|
1335
|
-
chunks.push(replacement.replace(placeholder, replacer));
|
1336
|
-
index = match.index + match[0].length;
|
1337
|
-
}
|
1338
|
-
chunks.push(str.slice(index));
|
1339
|
-
|
1340
|
-
return chunks.join("")
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
/**
|
1344
|
-
* Replace a given string by a given matcher.
|
1345
|
-
* @param {PatternMatcher} matcher The pattern matcher.
|
1346
|
-
* @param {string} str The string to be replaced.
|
1347
|
-
* @param {(...strs[])=>string} replace The function to replace each matched part.
|
1348
|
-
* @returns {string} The replaced string.
|
1349
|
-
*/
|
1350
|
-
function replaceF(matcher, str, replace) {
|
1351
|
-
const chunks = [];
|
1352
|
-
let index = 0;
|
1353
|
-
|
1354
|
-
for (const match of matcher.execAll(str)) {
|
1355
|
-
chunks.push(str.slice(index, match.index));
|
1356
|
-
chunks.push(String(replace(...match, match.index, match.input)));
|
1357
|
-
index = match.index + match[0].length;
|
1358
|
-
}
|
1359
|
-
chunks.push(str.slice(index));
|
1360
|
-
|
1361
|
-
return chunks.join("")
|
1362
|
-
}
|
1363
|
-
|
1364
|
-
/**
|
1365
|
-
* The class to find patterns as considering escape sequences.
|
1366
|
-
*/
|
1367
|
-
class PatternMatcher {
|
1368
|
-
/**
|
1369
|
-
* Initialize this matcher.
|
1370
|
-
* @param {RegExp} pattern The pattern to match.
|
1371
|
-
* @param {{escaped:boolean}} options The options.
|
1372
|
-
*/
|
1373
|
-
constructor(pattern, { escaped = false } = {}) {
|
1374
|
-
if (!(pattern instanceof RegExp)) {
|
1375
|
-
throw new TypeError("'pattern' should be a RegExp instance.")
|
1376
|
-
}
|
1377
|
-
if (!pattern.flags.includes("g")) {
|
1378
|
-
throw new Error("'pattern' should contains 'g' flag.")
|
1379
|
-
}
|
1380
|
-
|
1381
|
-
internal.set(this, {
|
1382
|
-
pattern: new RegExp(pattern.source, pattern.flags),
|
1383
|
-
escaped: Boolean(escaped),
|
1384
|
-
});
|
1385
|
-
}
|
1386
|
-
|
1387
|
-
/**
|
1388
|
-
* Find the pattern in a given string.
|
1389
|
-
* @param {string} str The string to find.
|
1390
|
-
* @returns {IterableIterator<RegExpExecArray>} The iterator which iterate the matched information.
|
1391
|
-
*/
|
1392
|
-
*execAll(str) {
|
1393
|
-
const { pattern, escaped } = internal.get(this);
|
1394
|
-
let match = null;
|
1395
|
-
let lastIndex = 0;
|
1396
|
-
|
1397
|
-
pattern.lastIndex = 0;
|
1398
|
-
while ((match = pattern.exec(str)) != null) {
|
1399
|
-
if (escaped || !isEscaped(str, match.index)) {
|
1400
|
-
lastIndex = pattern.lastIndex;
|
1401
|
-
yield match;
|
1402
|
-
pattern.lastIndex = lastIndex;
|
1403
|
-
}
|
1404
|
-
}
|
1405
|
-
}
|
1406
|
-
|
1407
|
-
/**
|
1408
|
-
* Check whether the pattern is found in a given string.
|
1409
|
-
* @param {string} str The string to check.
|
1410
|
-
* @returns {boolean} `true` if the pattern was found in the string.
|
1411
|
-
*/
|
1412
|
-
test(str) {
|
1413
|
-
const it = this.execAll(str);
|
1414
|
-
const ret = it.next();
|
1415
|
-
return !ret.done
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
/**
|
1419
|
-
* Replace a given string.
|
1420
|
-
* @param {string} str The string to be replaced.
|
1421
|
-
* @param {(string|((...strs:string[])=>string))} replacer The string or function to replace. This is the same as the 2nd argument of `String.prototype.replace`.
|
1422
|
-
* @returns {string} The replaced string.
|
1423
|
-
*/
|
1424
|
-
[Symbol.replace](str, replacer) {
|
1425
|
-
return typeof replacer === "function"
|
1426
|
-
? replaceF(this, String(str), replacer)
|
1427
|
-
: replaceS(this, String(str), String(replacer))
|
1428
|
-
}
|
1429
|
-
}
|
1430
|
-
|
1431
|
-
const IMPORT_TYPE = /^(?:Import|Export(?:All|Default|Named))Declaration$/u;
|
1432
|
-
const has = Function.call.bind(Object.hasOwnProperty);
|
1433
|
-
|
1434
|
-
const READ = Symbol("read");
|
1435
|
-
const CALL = Symbol("call");
|
1436
|
-
const CONSTRUCT = Symbol("construct");
|
1437
|
-
const ESM = Symbol("esm");
|
1438
|
-
|
1439
|
-
const requireCall = { require: { [CALL]: true } };
|
1440
|
-
|
1441
|
-
/**
|
1442
|
-
* Check whether a given variable is modified or not.
|
1443
|
-
* @param {Variable} variable The variable to check.
|
1444
|
-
* @returns {boolean} `true` if the variable is modified.
|
1445
|
-
*/
|
1446
|
-
function isModifiedGlobal(variable) {
|
1447
|
-
return (
|
1448
|
-
variable == null ||
|
1449
|
-
variable.defs.length !== 0 ||
|
1450
|
-
variable.references.some((r) => r.isWrite())
|
1451
|
-
)
|
1452
|
-
}
|
1453
|
-
|
1454
|
-
/**
|
1455
|
-
* Check if the value of a given node is passed through to the parent syntax as-is.
|
1456
|
-
* For example, `a` and `b` in (`a || b` and `c ? a : b`) are passed through.
|
1457
|
-
* @param {Node} node A node to check.
|
1458
|
-
* @returns {boolean} `true` if the node is passed through.
|
1459
|
-
*/
|
1460
|
-
function isPassThrough(node) {
|
1461
|
-
const parent = node.parent;
|
1462
|
-
|
1463
|
-
switch (parent && parent.type) {
|
1464
|
-
case "ConditionalExpression":
|
1465
|
-
return parent.consequent === node || parent.alternate === node
|
1466
|
-
case "LogicalExpression":
|
1467
|
-
return true
|
1468
|
-
case "SequenceExpression":
|
1469
|
-
return parent.expressions[parent.expressions.length - 1] === node
|
1470
|
-
case "ChainExpression":
|
1471
|
-
return true
|
1472
|
-
|
1473
|
-
default:
|
1474
|
-
return false
|
1475
|
-
}
|
1476
|
-
}
|
1477
|
-
|
1478
|
-
/**
|
1479
|
-
* The reference tracker.
|
1480
|
-
*/
|
1481
|
-
class ReferenceTracker {
|
1482
|
-
/**
|
1483
|
-
* Initialize this tracker.
|
1484
|
-
* @param {Scope} globalScope The global scope.
|
1485
|
-
* @param {object} [options] The options.
|
1486
|
-
* @param {"legacy"|"strict"} [options.mode="strict"] The mode to determine the ImportDeclaration's behavior for CJS modules.
|
1487
|
-
* @param {string[]} [options.globalObjectNames=["global","globalThis","self","window"]] The variable names for Global Object.
|
1488
|
-
*/
|
1489
|
-
constructor(
|
1490
|
-
globalScope,
|
1491
|
-
{
|
1492
|
-
mode = "strict",
|
1493
|
-
globalObjectNames = ["global", "globalThis", "self", "window"],
|
1494
|
-
} = {},
|
1495
|
-
) {
|
1496
|
-
this.variableStack = [];
|
1497
|
-
this.globalScope = globalScope;
|
1498
|
-
this.mode = mode;
|
1499
|
-
this.globalObjectNames = globalObjectNames.slice(0);
|
1500
|
-
}
|
1501
|
-
|
1502
|
-
/**
|
1503
|
-
* Iterate the references of global variables.
|
1504
|
-
* @param {object} traceMap The trace map.
|
1505
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1506
|
-
*/
|
1507
|
-
*iterateGlobalReferences(traceMap) {
|
1508
|
-
for (const key of Object.keys(traceMap)) {
|
1509
|
-
const nextTraceMap = traceMap[key];
|
1510
|
-
const path = [key];
|
1511
|
-
const variable = this.globalScope.set.get(key);
|
1512
|
-
|
1513
|
-
if (isModifiedGlobal(variable)) {
|
1514
|
-
continue
|
1515
|
-
}
|
1516
|
-
|
1517
|
-
yield* this._iterateVariableReferences(
|
1518
|
-
variable,
|
1519
|
-
path,
|
1520
|
-
nextTraceMap,
|
1521
|
-
true,
|
1522
|
-
);
|
1523
|
-
}
|
1524
|
-
|
1525
|
-
for (const key of this.globalObjectNames) {
|
1526
|
-
const path = [];
|
1527
|
-
const variable = this.globalScope.set.get(key);
|
1528
|
-
|
1529
|
-
if (isModifiedGlobal(variable)) {
|
1530
|
-
continue
|
1531
|
-
}
|
1532
|
-
|
1533
|
-
yield* this._iterateVariableReferences(
|
1534
|
-
variable,
|
1535
|
-
path,
|
1536
|
-
traceMap,
|
1537
|
-
false,
|
1538
|
-
);
|
1539
|
-
}
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
/**
|
1543
|
-
* Iterate the references of CommonJS modules.
|
1544
|
-
* @param {object} traceMap The trace map.
|
1545
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1546
|
-
*/
|
1547
|
-
*iterateCjsReferences(traceMap) {
|
1548
|
-
for (const { node } of this.iterateGlobalReferences(requireCall)) {
|
1549
|
-
const key = getStringIfConstant(node.arguments[0]);
|
1550
|
-
if (key == null || !has(traceMap, key)) {
|
1551
|
-
continue
|
1552
|
-
}
|
1553
|
-
|
1554
|
-
const nextTraceMap = traceMap[key];
|
1555
|
-
const path = [key];
|
1556
|
-
|
1557
|
-
if (nextTraceMap[READ]) {
|
1558
|
-
yield {
|
1559
|
-
node,
|
1560
|
-
path,
|
1561
|
-
type: READ,
|
1562
|
-
info: nextTraceMap[READ],
|
1563
|
-
};
|
1564
|
-
}
|
1565
|
-
yield* this._iteratePropertyReferences(node, path, nextTraceMap);
|
1566
|
-
}
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
/**
|
1570
|
-
* Iterate the references of ES modules.
|
1571
|
-
* @param {object} traceMap The trace map.
|
1572
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1573
|
-
*/
|
1574
|
-
*iterateEsmReferences(traceMap) {
|
1575
|
-
const programNode = this.globalScope.block;
|
1576
|
-
|
1577
|
-
for (const node of programNode.body) {
|
1578
|
-
if (!IMPORT_TYPE.test(node.type) || node.source == null) {
|
1579
|
-
continue
|
1580
|
-
}
|
1581
|
-
const moduleId = node.source.value;
|
1582
|
-
|
1583
|
-
if (!has(traceMap, moduleId)) {
|
1584
|
-
continue
|
1585
|
-
}
|
1586
|
-
const nextTraceMap = traceMap[moduleId];
|
1587
|
-
const path = [moduleId];
|
1588
|
-
|
1589
|
-
if (nextTraceMap[READ]) {
|
1590
|
-
yield { node, path, type: READ, info: nextTraceMap[READ] };
|
1591
|
-
}
|
1592
|
-
|
1593
|
-
if (node.type === "ExportAllDeclaration") {
|
1594
|
-
for (const key of Object.keys(nextTraceMap)) {
|
1595
|
-
const exportTraceMap = nextTraceMap[key];
|
1596
|
-
if (exportTraceMap[READ]) {
|
1597
|
-
yield {
|
1598
|
-
node,
|
1599
|
-
path: path.concat(key),
|
1600
|
-
type: READ,
|
1601
|
-
info: exportTraceMap[READ],
|
1602
|
-
};
|
1603
|
-
}
|
1604
|
-
}
|
1605
|
-
} else {
|
1606
|
-
for (const specifier of node.specifiers) {
|
1607
|
-
const esm = has(nextTraceMap, ESM);
|
1608
|
-
const it = this._iterateImportReferences(
|
1609
|
-
specifier,
|
1610
|
-
path,
|
1611
|
-
esm
|
1612
|
-
? nextTraceMap
|
1613
|
-
: this.mode === "legacy"
|
1614
|
-
? { default: nextTraceMap, ...nextTraceMap }
|
1615
|
-
: { default: nextTraceMap },
|
1616
|
-
);
|
1617
|
-
|
1618
|
-
if (esm) {
|
1619
|
-
yield* it;
|
1620
|
-
} else {
|
1621
|
-
for (const report of it) {
|
1622
|
-
report.path = report.path.filter(exceptDefault);
|
1623
|
-
if (
|
1624
|
-
report.path.length >= 2 ||
|
1625
|
-
report.type !== READ
|
1626
|
-
) {
|
1627
|
-
yield report;
|
1628
|
-
}
|
1629
|
-
}
|
1630
|
-
}
|
1631
|
-
}
|
1632
|
-
}
|
1633
|
-
}
|
1634
|
-
}
|
1635
|
-
|
1636
|
-
/**
|
1637
|
-
* Iterate the references for a given variable.
|
1638
|
-
* @param {Variable} variable The variable to iterate that references.
|
1639
|
-
* @param {string[]} path The current path.
|
1640
|
-
* @param {object} traceMap The trace map.
|
1641
|
-
* @param {boolean} shouldReport = The flag to report those references.
|
1642
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1643
|
-
*/
|
1644
|
-
*_iterateVariableReferences(variable, path, traceMap, shouldReport) {
|
1645
|
-
if (this.variableStack.includes(variable)) {
|
1646
|
-
return
|
1647
|
-
}
|
1648
|
-
this.variableStack.push(variable);
|
1649
|
-
try {
|
1650
|
-
for (const reference of variable.references) {
|
1651
|
-
if (!reference.isRead()) {
|
1652
|
-
continue
|
1653
|
-
}
|
1654
|
-
const node = reference.identifier;
|
1655
|
-
|
1656
|
-
if (shouldReport && traceMap[READ]) {
|
1657
|
-
yield { node, path, type: READ, info: traceMap[READ] };
|
1658
|
-
}
|
1659
|
-
yield* this._iteratePropertyReferences(node, path, traceMap);
|
1660
|
-
}
|
1661
|
-
} finally {
|
1662
|
-
this.variableStack.pop();
|
1663
|
-
}
|
1664
|
-
}
|
1665
|
-
|
1666
|
-
/**
|
1667
|
-
* Iterate the references for a given AST node.
|
1668
|
-
* @param rootNode The AST node to iterate references.
|
1669
|
-
* @param {string[]} path The current path.
|
1670
|
-
* @param {object} traceMap The trace map.
|
1671
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1672
|
-
*/
|
1673
|
-
//eslint-disable-next-line complexity
|
1674
|
-
*_iteratePropertyReferences(rootNode, path, traceMap) {
|
1675
|
-
let node = rootNode;
|
1676
|
-
while (isPassThrough(node)) {
|
1677
|
-
node = node.parent;
|
1678
|
-
}
|
1679
|
-
|
1680
|
-
const parent = node.parent;
|
1681
|
-
if (parent.type === "MemberExpression") {
|
1682
|
-
if (parent.object === node) {
|
1683
|
-
const key = getPropertyName(parent);
|
1684
|
-
if (key == null || !has(traceMap, key)) {
|
1685
|
-
return
|
1686
|
-
}
|
1687
|
-
|
1688
|
-
path = path.concat(key); //eslint-disable-line no-param-reassign
|
1689
|
-
const nextTraceMap = traceMap[key];
|
1690
|
-
if (nextTraceMap[READ]) {
|
1691
|
-
yield {
|
1692
|
-
node: parent,
|
1693
|
-
path,
|
1694
|
-
type: READ,
|
1695
|
-
info: nextTraceMap[READ],
|
1696
|
-
};
|
1697
|
-
}
|
1698
|
-
yield* this._iteratePropertyReferences(
|
1699
|
-
parent,
|
1700
|
-
path,
|
1701
|
-
nextTraceMap,
|
1702
|
-
);
|
1703
|
-
}
|
1704
|
-
return
|
1705
|
-
}
|
1706
|
-
if (parent.type === "CallExpression") {
|
1707
|
-
if (parent.callee === node && traceMap[CALL]) {
|
1708
|
-
yield { node: parent, path, type: CALL, info: traceMap[CALL] };
|
1709
|
-
}
|
1710
|
-
return
|
1711
|
-
}
|
1712
|
-
if (parent.type === "NewExpression") {
|
1713
|
-
if (parent.callee === node && traceMap[CONSTRUCT]) {
|
1714
|
-
yield {
|
1715
|
-
node: parent,
|
1716
|
-
path,
|
1717
|
-
type: CONSTRUCT,
|
1718
|
-
info: traceMap[CONSTRUCT],
|
1719
|
-
};
|
1720
|
-
}
|
1721
|
-
return
|
1722
|
-
}
|
1723
|
-
if (parent.type === "AssignmentExpression") {
|
1724
|
-
if (parent.right === node) {
|
1725
|
-
yield* this._iterateLhsReferences(parent.left, path, traceMap);
|
1726
|
-
yield* this._iteratePropertyReferences(parent, path, traceMap);
|
1727
|
-
}
|
1728
|
-
return
|
1729
|
-
}
|
1730
|
-
if (parent.type === "AssignmentPattern") {
|
1731
|
-
if (parent.right === node) {
|
1732
|
-
yield* this._iterateLhsReferences(parent.left, path, traceMap);
|
1733
|
-
}
|
1734
|
-
return
|
1735
|
-
}
|
1736
|
-
if (parent.type === "VariableDeclarator") {
|
1737
|
-
if (parent.init === node) {
|
1738
|
-
yield* this._iterateLhsReferences(parent.id, path, traceMap);
|
1739
|
-
}
|
1740
|
-
}
|
1741
|
-
}
|
1742
|
-
|
1743
|
-
/**
|
1744
|
-
* Iterate the references for a given Pattern node.
|
1745
|
-
* @param {Node} patternNode The Pattern node to iterate references.
|
1746
|
-
* @param {string[]} path The current path.
|
1747
|
-
* @param {object} traceMap The trace map.
|
1748
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1749
|
-
*/
|
1750
|
-
*_iterateLhsReferences(patternNode, path, traceMap) {
|
1751
|
-
if (patternNode.type === "Identifier") {
|
1752
|
-
const variable = findVariable(this.globalScope, patternNode);
|
1753
|
-
if (variable != null) {
|
1754
|
-
yield* this._iterateVariableReferences(
|
1755
|
-
variable,
|
1756
|
-
path,
|
1757
|
-
traceMap,
|
1758
|
-
false,
|
1759
|
-
);
|
1760
|
-
}
|
1761
|
-
return
|
1762
|
-
}
|
1763
|
-
if (patternNode.type === "ObjectPattern") {
|
1764
|
-
for (const property of patternNode.properties) {
|
1765
|
-
const key = getPropertyName(property);
|
1766
|
-
|
1767
|
-
if (key == null || !has(traceMap, key)) {
|
1768
|
-
continue
|
1769
|
-
}
|
1770
|
-
|
1771
|
-
const nextPath = path.concat(key);
|
1772
|
-
const nextTraceMap = traceMap[key];
|
1773
|
-
if (nextTraceMap[READ]) {
|
1774
|
-
yield {
|
1775
|
-
node: property,
|
1776
|
-
path: nextPath,
|
1777
|
-
type: READ,
|
1778
|
-
info: nextTraceMap[READ],
|
1779
|
-
};
|
1780
|
-
}
|
1781
|
-
yield* this._iterateLhsReferences(
|
1782
|
-
property.value,
|
1783
|
-
nextPath,
|
1784
|
-
nextTraceMap,
|
1785
|
-
);
|
1786
|
-
}
|
1787
|
-
return
|
1788
|
-
}
|
1789
|
-
if (patternNode.type === "AssignmentPattern") {
|
1790
|
-
yield* this._iterateLhsReferences(patternNode.left, path, traceMap);
|
1791
|
-
}
|
1792
|
-
}
|
1793
|
-
|
1794
|
-
/**
|
1795
|
-
* Iterate the references for a given ModuleSpecifier node.
|
1796
|
-
* @param {Node} specifierNode The ModuleSpecifier node to iterate references.
|
1797
|
-
* @param {string[]} path The current path.
|
1798
|
-
* @param {object} traceMap The trace map.
|
1799
|
-
* @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
|
1800
|
-
*/
|
1801
|
-
*_iterateImportReferences(specifierNode, path, traceMap) {
|
1802
|
-
const type = specifierNode.type;
|
1803
|
-
|
1804
|
-
if (type === "ImportSpecifier" || type === "ImportDefaultSpecifier") {
|
1805
|
-
const key =
|
1806
|
-
type === "ImportDefaultSpecifier"
|
1807
|
-
? "default"
|
1808
|
-
: specifierNode.imported.name;
|
1809
|
-
if (!has(traceMap, key)) {
|
1810
|
-
return
|
1811
|
-
}
|
1812
|
-
|
1813
|
-
path = path.concat(key); //eslint-disable-line no-param-reassign
|
1814
|
-
const nextTraceMap = traceMap[key];
|
1815
|
-
if (nextTraceMap[READ]) {
|
1816
|
-
yield {
|
1817
|
-
node: specifierNode,
|
1818
|
-
path,
|
1819
|
-
type: READ,
|
1820
|
-
info: nextTraceMap[READ],
|
1821
|
-
};
|
1822
|
-
}
|
1823
|
-
yield* this._iterateVariableReferences(
|
1824
|
-
findVariable(this.globalScope, specifierNode.local),
|
1825
|
-
path,
|
1826
|
-
nextTraceMap,
|
1827
|
-
false,
|
1828
|
-
);
|
1829
|
-
|
1830
|
-
return
|
1831
|
-
}
|
1832
|
-
|
1833
|
-
if (type === "ImportNamespaceSpecifier") {
|
1834
|
-
yield* this._iterateVariableReferences(
|
1835
|
-
findVariable(this.globalScope, specifierNode.local),
|
1836
|
-
path,
|
1837
|
-
traceMap,
|
1838
|
-
false,
|
1839
|
-
);
|
1840
|
-
return
|
1841
|
-
}
|
1842
|
-
|
1843
|
-
if (type === "ExportSpecifier") {
|
1844
|
-
const key = specifierNode.local.name;
|
1845
|
-
if (!has(traceMap, key)) {
|
1846
|
-
return
|
1847
|
-
}
|
1848
|
-
|
1849
|
-
path = path.concat(key); //eslint-disable-line no-param-reassign
|
1850
|
-
const nextTraceMap = traceMap[key];
|
1851
|
-
if (nextTraceMap[READ]) {
|
1852
|
-
yield {
|
1853
|
-
node: specifierNode,
|
1854
|
-
path,
|
1855
|
-
type: READ,
|
1856
|
-
info: nextTraceMap[READ],
|
1857
|
-
};
|
1858
|
-
}
|
1859
|
-
}
|
1860
|
-
}
|
1861
|
-
}
|
1862
|
-
|
1863
|
-
ReferenceTracker.READ = READ;
|
1864
|
-
ReferenceTracker.CALL = CALL;
|
1865
|
-
ReferenceTracker.CONSTRUCT = CONSTRUCT;
|
1866
|
-
ReferenceTracker.ESM = ESM;
|
1867
|
-
|
1868
|
-
/**
|
1869
|
-
* This is a predicate function for Array#filter.
|
1870
|
-
* @param {string} name A name part.
|
1871
|
-
* @param {number} index The index of the name.
|
1872
|
-
* @returns {boolean} `false` if it's default.
|
1873
|
-
*/
|
1874
|
-
function exceptDefault(name, index) {
|
1875
|
-
return !(index === 1 && name === "default")
|
1876
|
-
}
|
1877
|
-
|
1878
|
-
var index = {
|
1879
|
-
CALL,
|
1880
|
-
CONSTRUCT,
|
1881
|
-
ESM,
|
1882
|
-
findVariable,
|
1883
|
-
getFunctionHeadLocation,
|
1884
|
-
getFunctionNameWithKind,
|
1885
|
-
getInnermostScope,
|
1886
|
-
getPropertyName,
|
1887
|
-
getStaticValue,
|
1888
|
-
getStringIfConstant,
|
1889
|
-
hasSideEffect,
|
1890
|
-
isArrowToken,
|
1891
|
-
isClosingBraceToken,
|
1892
|
-
isClosingBracketToken,
|
1893
|
-
isClosingParenToken,
|
1894
|
-
isColonToken,
|
1895
|
-
isCommaToken,
|
1896
|
-
isCommentToken,
|
1897
|
-
isNotArrowToken,
|
1898
|
-
isNotClosingBraceToken,
|
1899
|
-
isNotClosingBracketToken,
|
1900
|
-
isNotClosingParenToken,
|
1901
|
-
isNotColonToken,
|
1902
|
-
isNotCommaToken,
|
1903
|
-
isNotCommentToken,
|
1904
|
-
isNotOpeningBraceToken,
|
1905
|
-
isNotOpeningBracketToken,
|
1906
|
-
isNotOpeningParenToken,
|
1907
|
-
isNotSemicolonToken,
|
1908
|
-
isOpeningBraceToken,
|
1909
|
-
isOpeningBracketToken,
|
1910
|
-
isOpeningParenToken,
|
1911
|
-
isParenthesized,
|
1912
|
-
isSemicolonToken,
|
1913
|
-
PatternMatcher,
|
1914
|
-
READ,
|
1915
|
-
ReferenceTracker,
|
1916
|
-
};
|
1917
|
-
|
1918
|
-
exports.CALL = CALL;
|
1919
|
-
exports.CONSTRUCT = CONSTRUCT;
|
1920
|
-
exports.ESM = ESM;
|
1921
|
-
exports.PatternMatcher = PatternMatcher;
|
1922
|
-
exports.READ = READ;
|
1923
|
-
exports.ReferenceTracker = ReferenceTracker;
|
1924
|
-
exports.default = index;
|
1925
|
-
exports.findVariable = findVariable;
|
1926
|
-
exports.getFunctionHeadLocation = getFunctionHeadLocation;
|
1927
|
-
exports.getFunctionNameWithKind = getFunctionNameWithKind;
|
1928
|
-
exports.getInnermostScope = getInnermostScope;
|
1929
|
-
exports.getPropertyName = getPropertyName;
|
1930
|
-
exports.getStaticValue = getStaticValue;
|
1931
|
-
exports.getStringIfConstant = getStringIfConstant;
|
1932
|
-
exports.hasSideEffect = hasSideEffect;
|
1933
|
-
exports.isArrowToken = isArrowToken;
|
1934
|
-
exports.isClosingBraceToken = isClosingBraceToken;
|
1935
|
-
exports.isClosingBracketToken = isClosingBracketToken;
|
1936
|
-
exports.isClosingParenToken = isClosingParenToken;
|
1937
|
-
exports.isColonToken = isColonToken;
|
1938
|
-
exports.isCommaToken = isCommaToken;
|
1939
|
-
exports.isCommentToken = isCommentToken;
|
1940
|
-
exports.isNotArrowToken = isNotArrowToken;
|
1941
|
-
exports.isNotClosingBraceToken = isNotClosingBraceToken;
|
1942
|
-
exports.isNotClosingBracketToken = isNotClosingBracketToken;
|
1943
|
-
exports.isNotClosingParenToken = isNotClosingParenToken;
|
1944
|
-
exports.isNotColonToken = isNotColonToken;
|
1945
|
-
exports.isNotCommaToken = isNotCommaToken;
|
1946
|
-
exports.isNotCommentToken = isNotCommentToken;
|
1947
|
-
exports.isNotOpeningBraceToken = isNotOpeningBraceToken;
|
1948
|
-
exports.isNotOpeningBracketToken = isNotOpeningBracketToken;
|
1949
|
-
exports.isNotOpeningParenToken = isNotOpeningParenToken;
|
1950
|
-
exports.isNotSemicolonToken = isNotSemicolonToken;
|
1951
|
-
exports.isOpeningBraceToken = isOpeningBraceToken;
|
1952
|
-
exports.isOpeningBracketToken = isOpeningBracketToken;
|
1953
|
-
exports.isOpeningParenToken = isOpeningParenToken;
|
1954
|
-
exports.isParenthesized = isParenthesized;
|
1955
|
-
exports.isSemicolonToken = isSemicolonToken;
|
1956
|
-
//# sourceMappingURL=index.js.map
|