decidim 0.27.1 → 0.27.2
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/Rakefile +8 -1
- 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 +43 -1642
- 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,2454 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
|
8
|
-
function nativeModule() {
|
9
|
-
const data = _interopRequireWildcard(require('module'));
|
10
|
-
|
11
|
-
nativeModule = function () {
|
12
|
-
return data;
|
13
|
-
};
|
14
|
-
|
15
|
-
return data;
|
16
|
-
}
|
17
|
-
|
18
|
-
function path() {
|
19
|
-
const data = _interopRequireWildcard(require('path'));
|
20
|
-
|
21
|
-
path = function () {
|
22
|
-
return data;
|
23
|
-
};
|
24
|
-
|
25
|
-
return data;
|
26
|
-
}
|
27
|
-
|
28
|
-
function _url() {
|
29
|
-
const data = require('url');
|
30
|
-
|
31
|
-
_url = function () {
|
32
|
-
return data;
|
33
|
-
};
|
34
|
-
|
35
|
-
return data;
|
36
|
-
}
|
37
|
-
|
38
|
-
function _vm() {
|
39
|
-
const data = require('vm');
|
40
|
-
|
41
|
-
_vm = function () {
|
42
|
-
return data;
|
43
|
-
};
|
44
|
-
|
45
|
-
return data;
|
46
|
-
}
|
47
|
-
|
48
|
-
function _cjsModuleLexer() {
|
49
|
-
const data = require('cjs-module-lexer');
|
50
|
-
|
51
|
-
_cjsModuleLexer = function () {
|
52
|
-
return data;
|
53
|
-
};
|
54
|
-
|
55
|
-
return data;
|
56
|
-
}
|
57
|
-
|
58
|
-
function _collectV8Coverage() {
|
59
|
-
const data = require('collect-v8-coverage');
|
60
|
-
|
61
|
-
_collectV8Coverage = function () {
|
62
|
-
return data;
|
63
|
-
};
|
64
|
-
|
65
|
-
return data;
|
66
|
-
}
|
67
|
-
|
68
|
-
function _execa() {
|
69
|
-
const data = _interopRequireDefault(require('execa'));
|
70
|
-
|
71
|
-
_execa = function () {
|
72
|
-
return data;
|
73
|
-
};
|
74
|
-
|
75
|
-
return data;
|
76
|
-
}
|
77
|
-
|
78
|
-
function fs() {
|
79
|
-
const data = _interopRequireWildcard(require('graceful-fs'));
|
80
|
-
|
81
|
-
fs = function () {
|
82
|
-
return data;
|
83
|
-
};
|
84
|
-
|
85
|
-
return data;
|
86
|
-
}
|
87
|
-
|
88
|
-
function _slash() {
|
89
|
-
const data = _interopRequireDefault(require('slash'));
|
90
|
-
|
91
|
-
_slash = function () {
|
92
|
-
return data;
|
93
|
-
};
|
94
|
-
|
95
|
-
return data;
|
96
|
-
}
|
97
|
-
|
98
|
-
function _stripBom() {
|
99
|
-
const data = _interopRequireDefault(require('strip-bom'));
|
100
|
-
|
101
|
-
_stripBom = function () {
|
102
|
-
return data;
|
103
|
-
};
|
104
|
-
|
105
|
-
return data;
|
106
|
-
}
|
107
|
-
|
108
|
-
function _transform() {
|
109
|
-
const data = require('@jest/transform');
|
110
|
-
|
111
|
-
_transform = function () {
|
112
|
-
return data;
|
113
|
-
};
|
114
|
-
|
115
|
-
return data;
|
116
|
-
}
|
117
|
-
|
118
|
-
function _jestHasteMap() {
|
119
|
-
const data = _interopRequireDefault(require('jest-haste-map'));
|
120
|
-
|
121
|
-
_jestHasteMap = function () {
|
122
|
-
return data;
|
123
|
-
};
|
124
|
-
|
125
|
-
return data;
|
126
|
-
}
|
127
|
-
|
128
|
-
function _jestMessageUtil() {
|
129
|
-
const data = require('jest-message-util');
|
130
|
-
|
131
|
-
_jestMessageUtil = function () {
|
132
|
-
return data;
|
133
|
-
};
|
134
|
-
|
135
|
-
return data;
|
136
|
-
}
|
137
|
-
|
138
|
-
function _jestRegexUtil() {
|
139
|
-
const data = require('jest-regex-util');
|
140
|
-
|
141
|
-
_jestRegexUtil = function () {
|
142
|
-
return data;
|
143
|
-
};
|
144
|
-
|
145
|
-
return data;
|
146
|
-
}
|
147
|
-
|
148
|
-
function _jestResolve() {
|
149
|
-
const data = _interopRequireDefault(require('jest-resolve'));
|
150
|
-
|
151
|
-
_jestResolve = function () {
|
152
|
-
return data;
|
153
|
-
};
|
154
|
-
|
155
|
-
return data;
|
156
|
-
}
|
157
|
-
|
158
|
-
function _jestSnapshot() {
|
159
|
-
const data = _interopRequireDefault(require('jest-snapshot'));
|
160
|
-
|
161
|
-
_jestSnapshot = function () {
|
162
|
-
return data;
|
163
|
-
};
|
164
|
-
|
165
|
-
return data;
|
166
|
-
}
|
167
|
-
|
168
|
-
function _jestUtil() {
|
169
|
-
const data = require('jest-util');
|
170
|
-
|
171
|
-
_jestUtil = function () {
|
172
|
-
return data;
|
173
|
-
};
|
174
|
-
|
175
|
-
return data;
|
176
|
-
}
|
177
|
-
|
178
|
-
var _helpers = require('./helpers');
|
179
|
-
|
180
|
-
function _interopRequireDefault(obj) {
|
181
|
-
return obj && obj.__esModule ? obj : {default: obj};
|
182
|
-
}
|
183
|
-
|
184
|
-
function _getRequireWildcardCache(nodeInterop) {
|
185
|
-
if (typeof WeakMap !== 'function') return null;
|
186
|
-
var cacheBabelInterop = new WeakMap();
|
187
|
-
var cacheNodeInterop = new WeakMap();
|
188
|
-
return (_getRequireWildcardCache = function (nodeInterop) {
|
189
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
190
|
-
})(nodeInterop);
|
191
|
-
}
|
192
|
-
|
193
|
-
function _interopRequireWildcard(obj, nodeInterop) {
|
194
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
195
|
-
return obj;
|
196
|
-
}
|
197
|
-
if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
198
|
-
return {default: obj};
|
199
|
-
}
|
200
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
201
|
-
if (cache && cache.has(obj)) {
|
202
|
-
return cache.get(obj);
|
203
|
-
}
|
204
|
-
var newObj = {};
|
205
|
-
var hasPropertyDescriptor =
|
206
|
-
Object.defineProperty && Object.getOwnPropertyDescriptor;
|
207
|
-
for (var key in obj) {
|
208
|
-
if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
|
209
|
-
var desc = hasPropertyDescriptor
|
210
|
-
? Object.getOwnPropertyDescriptor(obj, key)
|
211
|
-
: null;
|
212
|
-
if (desc && (desc.get || desc.set)) {
|
213
|
-
Object.defineProperty(newObj, key, desc);
|
214
|
-
} else {
|
215
|
-
newObj[key] = obj[key];
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|
219
|
-
newObj.default = obj;
|
220
|
-
if (cache) {
|
221
|
-
cache.set(obj, newObj);
|
222
|
-
}
|
223
|
-
return newObj;
|
224
|
-
}
|
225
|
-
|
226
|
-
function _defineProperty(obj, key, value) {
|
227
|
-
if (key in obj) {
|
228
|
-
Object.defineProperty(obj, key, {
|
229
|
-
value: value,
|
230
|
-
enumerable: true,
|
231
|
-
configurable: true,
|
232
|
-
writable: true
|
233
|
-
});
|
234
|
-
} else {
|
235
|
-
obj[key] = value;
|
236
|
-
}
|
237
|
-
return obj;
|
238
|
-
}
|
239
|
-
|
240
|
-
const esmIsAvailable = typeof _vm().SourceTextModule === 'function';
|
241
|
-
const defaultTransformOptions = {
|
242
|
-
isInternalModule: false,
|
243
|
-
supportsDynamicImport: esmIsAvailable,
|
244
|
-
supportsExportNamespaceFrom: false,
|
245
|
-
supportsStaticESM: false,
|
246
|
-
supportsTopLevelAwait: false
|
247
|
-
};
|
248
|
-
// These are modules that we know
|
249
|
-
// * are safe to require from the outside (not stateful, not prone to errors passing in instances from different realms), and
|
250
|
-
// * take sufficiently long to require to warrant an optimization.
|
251
|
-
// When required from the outside, they use the worker's require cache and are thus
|
252
|
-
// only loaded once per worker, not once per test file.
|
253
|
-
// Use /benchmarks/test-file-overhead to measure the impact.
|
254
|
-
// Note that this only applies when they are required in an internal context;
|
255
|
-
// users who require one of these modules in their tests will still get the module from inside the VM.
|
256
|
-
// Prefer listing a module here only if it is impractical to use the jest-resolve-outside-vm-option where it is required,
|
257
|
-
// e.g. because there are many require sites spread across the dependency graph.
|
258
|
-
const INTERNAL_MODULE_REQUIRE_OUTSIDE_OPTIMIZED_MODULES = new Set(['chalk']);
|
259
|
-
const JEST_RESOLVE_OUTSIDE_VM_OPTION = Symbol.for(
|
260
|
-
'jest-resolve-outside-vm-option'
|
261
|
-
);
|
262
|
-
const testTimeoutSymbol = Symbol.for('TEST_TIMEOUT_SYMBOL');
|
263
|
-
const retryTimesSymbol = Symbol.for('RETRY_TIMES');
|
264
|
-
const NODE_MODULES = path().sep + 'node_modules' + path().sep;
|
265
|
-
|
266
|
-
const getModuleNameMapper = config => {
|
267
|
-
if (
|
268
|
-
Array.isArray(config.moduleNameMapper) &&
|
269
|
-
config.moduleNameMapper.length
|
270
|
-
) {
|
271
|
-
return config.moduleNameMapper.map(([regex, moduleName]) => ({
|
272
|
-
moduleName,
|
273
|
-
regex: new RegExp(regex)
|
274
|
-
}));
|
275
|
-
}
|
276
|
-
|
277
|
-
return null;
|
278
|
-
};
|
279
|
-
|
280
|
-
const unmockRegExpCache = new WeakMap();
|
281
|
-
const EVAL_RESULT_VARIABLE = 'Object.<anonymous>';
|
282
|
-
const runtimeSupportsVmModules = typeof _vm().SyntheticModule === 'function';
|
283
|
-
|
284
|
-
const supportsTopLevelAwait =
|
285
|
-
runtimeSupportsVmModules &&
|
286
|
-
(() => {
|
287
|
-
try {
|
288
|
-
// eslint-disable-next-line no-new
|
289
|
-
new (_vm().SourceTextModule)('await Promise.resolve()');
|
290
|
-
return true;
|
291
|
-
} catch {
|
292
|
-
return false;
|
293
|
-
}
|
294
|
-
})();
|
295
|
-
|
296
|
-
const supportsNodeColonModulePrefixInRequire = (() => {
|
297
|
-
try {
|
298
|
-
require('node:fs');
|
299
|
-
|
300
|
-
return true;
|
301
|
-
} catch {
|
302
|
-
return false;
|
303
|
-
}
|
304
|
-
})();
|
305
|
-
|
306
|
-
const supportsNodeColonModulePrefixInImport = (() => {
|
307
|
-
const {stdout} = _execa().default.sync(
|
308
|
-
'node',
|
309
|
-
[
|
310
|
-
'--eval',
|
311
|
-
'import("node:fs").then(() => console.log(true), () => console.log(false));'
|
312
|
-
],
|
313
|
-
{
|
314
|
-
reject: false
|
315
|
-
}
|
316
|
-
);
|
317
|
-
|
318
|
-
return stdout === 'true';
|
319
|
-
})();
|
320
|
-
|
321
|
-
class Runtime {
|
322
|
-
constructor(
|
323
|
-
config,
|
324
|
-
environment,
|
325
|
-
resolver,
|
326
|
-
transformer,
|
327
|
-
cacheFS,
|
328
|
-
coverageOptions,
|
329
|
-
testPath
|
330
|
-
) {
|
331
|
-
var _this$_environment$ex, _this$_environment$ex2, _this$_environment;
|
332
|
-
|
333
|
-
_defineProperty(this, '_cacheFS', void 0);
|
334
|
-
|
335
|
-
_defineProperty(this, '_config', void 0);
|
336
|
-
|
337
|
-
_defineProperty(this, '_coverageOptions', void 0);
|
338
|
-
|
339
|
-
_defineProperty(this, '_currentlyExecutingModulePath', void 0);
|
340
|
-
|
341
|
-
_defineProperty(this, '_environment', void 0);
|
342
|
-
|
343
|
-
_defineProperty(this, '_explicitShouldMock', void 0);
|
344
|
-
|
345
|
-
_defineProperty(this, '_explicitShouldMockModule', void 0);
|
346
|
-
|
347
|
-
_defineProperty(this, '_fakeTimersImplementation', void 0);
|
348
|
-
|
349
|
-
_defineProperty(this, '_internalModuleRegistry', void 0);
|
350
|
-
|
351
|
-
_defineProperty(this, '_isCurrentlyExecutingManualMock', void 0);
|
352
|
-
|
353
|
-
_defineProperty(this, '_mainModule', void 0);
|
354
|
-
|
355
|
-
_defineProperty(this, '_mockFactories', void 0);
|
356
|
-
|
357
|
-
_defineProperty(this, '_mockMetaDataCache', void 0);
|
358
|
-
|
359
|
-
_defineProperty(this, '_mockRegistry', void 0);
|
360
|
-
|
361
|
-
_defineProperty(this, '_isolatedMockRegistry', void 0);
|
362
|
-
|
363
|
-
_defineProperty(this, '_moduleMockRegistry', void 0);
|
364
|
-
|
365
|
-
_defineProperty(this, '_moduleMockFactories', void 0);
|
366
|
-
|
367
|
-
_defineProperty(this, '_moduleMocker', void 0);
|
368
|
-
|
369
|
-
_defineProperty(this, '_isolatedModuleRegistry', void 0);
|
370
|
-
|
371
|
-
_defineProperty(this, '_moduleRegistry', void 0);
|
372
|
-
|
373
|
-
_defineProperty(this, '_esmoduleRegistry', void 0);
|
374
|
-
|
375
|
-
_defineProperty(this, '_cjsNamedExports', void 0);
|
376
|
-
|
377
|
-
_defineProperty(this, '_esmModuleLinkingMap', void 0);
|
378
|
-
|
379
|
-
_defineProperty(this, '_testPath', void 0);
|
380
|
-
|
381
|
-
_defineProperty(this, '_resolver', void 0);
|
382
|
-
|
383
|
-
_defineProperty(this, '_shouldAutoMock', void 0);
|
384
|
-
|
385
|
-
_defineProperty(this, '_shouldMockModuleCache', void 0);
|
386
|
-
|
387
|
-
_defineProperty(this, '_shouldUnmockTransitiveDependenciesCache', void 0);
|
388
|
-
|
389
|
-
_defineProperty(this, '_sourceMapRegistry', void 0);
|
390
|
-
|
391
|
-
_defineProperty(this, '_scriptTransformer', void 0);
|
392
|
-
|
393
|
-
_defineProperty(this, '_fileTransforms', void 0);
|
394
|
-
|
395
|
-
_defineProperty(this, '_fileTransformsMutex', void 0);
|
396
|
-
|
397
|
-
_defineProperty(this, '_v8CoverageInstrumenter', void 0);
|
398
|
-
|
399
|
-
_defineProperty(this, '_v8CoverageResult', void 0);
|
400
|
-
|
401
|
-
_defineProperty(this, '_transitiveShouldMock', void 0);
|
402
|
-
|
403
|
-
_defineProperty(this, '_unmockList', void 0);
|
404
|
-
|
405
|
-
_defineProperty(this, '_virtualMocks', void 0);
|
406
|
-
|
407
|
-
_defineProperty(this, '_virtualModuleMocks', void 0);
|
408
|
-
|
409
|
-
_defineProperty(this, '_moduleImplementation', void 0);
|
410
|
-
|
411
|
-
_defineProperty(this, 'jestObjectCaches', void 0);
|
412
|
-
|
413
|
-
_defineProperty(this, 'jestGlobals', void 0);
|
414
|
-
|
415
|
-
_defineProperty(this, 'esmConditions', void 0);
|
416
|
-
|
417
|
-
_defineProperty(this, 'cjsConditions', void 0);
|
418
|
-
|
419
|
-
_defineProperty(this, 'isTornDown', false);
|
420
|
-
|
421
|
-
this._cacheFS = cacheFS;
|
422
|
-
this._config = config;
|
423
|
-
this._coverageOptions = coverageOptions;
|
424
|
-
this._currentlyExecutingModulePath = '';
|
425
|
-
this._environment = environment;
|
426
|
-
this._explicitShouldMock = new Map();
|
427
|
-
this._explicitShouldMockModule = new Map();
|
428
|
-
this._internalModuleRegistry = new Map();
|
429
|
-
this._isCurrentlyExecutingManualMock = null;
|
430
|
-
this._mainModule = null;
|
431
|
-
this._mockFactories = new Map();
|
432
|
-
this._mockRegistry = new Map();
|
433
|
-
this._moduleMockRegistry = new Map();
|
434
|
-
this._moduleMockFactories = new Map();
|
435
|
-
invariant(
|
436
|
-
this._environment.moduleMocker,
|
437
|
-
'`moduleMocker` must be set on an environment when created'
|
438
|
-
);
|
439
|
-
this._moduleMocker = this._environment.moduleMocker;
|
440
|
-
this._isolatedModuleRegistry = null;
|
441
|
-
this._isolatedMockRegistry = null;
|
442
|
-
this._moduleRegistry = new Map();
|
443
|
-
this._esmoduleRegistry = new Map();
|
444
|
-
this._cjsNamedExports = new Map();
|
445
|
-
this._esmModuleLinkingMap = new WeakMap();
|
446
|
-
this._testPath = testPath;
|
447
|
-
this._resolver = resolver;
|
448
|
-
this._scriptTransformer = transformer;
|
449
|
-
this._shouldAutoMock = config.automock;
|
450
|
-
this._sourceMapRegistry = new Map();
|
451
|
-
this._fileTransforms = new Map();
|
452
|
-
this._fileTransformsMutex = new Map();
|
453
|
-
this._virtualMocks = new Map();
|
454
|
-
this._virtualModuleMocks = new Map();
|
455
|
-
this.jestObjectCaches = new Map();
|
456
|
-
this._mockMetaDataCache = new Map();
|
457
|
-
this._shouldMockModuleCache = new Map();
|
458
|
-
this._shouldUnmockTransitiveDependenciesCache = new Map();
|
459
|
-
this._transitiveShouldMock = new Map();
|
460
|
-
this._fakeTimersImplementation =
|
461
|
-
config.timers === 'legacy'
|
462
|
-
? this._environment.fakeTimers
|
463
|
-
: this._environment.fakeTimersModern;
|
464
|
-
this._unmockList = unmockRegExpCache.get(config);
|
465
|
-
|
466
|
-
if (!this._unmockList && config.unmockedModulePathPatterns) {
|
467
|
-
this._unmockList = new RegExp(
|
468
|
-
config.unmockedModulePathPatterns.join('|')
|
469
|
-
);
|
470
|
-
unmockRegExpCache.set(config, this._unmockList);
|
471
|
-
}
|
472
|
-
|
473
|
-
const envExportConditions =
|
474
|
-
(_this$_environment$ex =
|
475
|
-
(_this$_environment$ex2 = (_this$_environment = this._environment)
|
476
|
-
.exportConditions) === null || _this$_environment$ex2 === void 0
|
477
|
-
? void 0
|
478
|
-
: _this$_environment$ex2.call(_this$_environment)) !== null &&
|
479
|
-
_this$_environment$ex !== void 0
|
480
|
-
? _this$_environment$ex
|
481
|
-
: [];
|
482
|
-
this.esmConditions = Array.from(
|
483
|
-
new Set(['import', 'default', ...envExportConditions])
|
484
|
-
);
|
485
|
-
this.cjsConditions = Array.from(
|
486
|
-
new Set(['require', 'default', ...envExportConditions])
|
487
|
-
);
|
488
|
-
|
489
|
-
if (config.automock) {
|
490
|
-
config.setupFiles.forEach(filePath => {
|
491
|
-
if (filePath.includes(NODE_MODULES)) {
|
492
|
-
const moduleID = this._resolver.getModuleID(
|
493
|
-
this._virtualMocks,
|
494
|
-
filePath,
|
495
|
-
undefined, // shouldn't really matter, but in theory this will make sure the caching is correct
|
496
|
-
{
|
497
|
-
conditions: this.unstable_shouldLoadAsEsm(filePath)
|
498
|
-
? this.esmConditions
|
499
|
-
: this.cjsConditions
|
500
|
-
}
|
501
|
-
);
|
502
|
-
|
503
|
-
this._transitiveShouldMock.set(moduleID, false);
|
504
|
-
}
|
505
|
-
});
|
506
|
-
}
|
507
|
-
|
508
|
-
this.resetModules();
|
509
|
-
}
|
510
|
-
|
511
|
-
static async createContext(config, options) {
|
512
|
-
(0, _jestUtil().createDirectory)(config.cacheDirectory);
|
513
|
-
const instance = Runtime.createHasteMap(config, {
|
514
|
-
console: options.console,
|
515
|
-
maxWorkers: options.maxWorkers,
|
516
|
-
resetCache: !config.cache,
|
517
|
-
watch: options.watch,
|
518
|
-
watchman: options.watchman
|
519
|
-
});
|
520
|
-
const hasteMap = await instance.build();
|
521
|
-
return {
|
522
|
-
config,
|
523
|
-
hasteFS: hasteMap.hasteFS,
|
524
|
-
moduleMap: hasteMap.moduleMap,
|
525
|
-
resolver: Runtime.createResolver(config, hasteMap.moduleMap)
|
526
|
-
};
|
527
|
-
}
|
528
|
-
|
529
|
-
static createHasteMap(config, options) {
|
530
|
-
const ignorePatternParts = [
|
531
|
-
...config.modulePathIgnorePatterns,
|
532
|
-
...(options && options.watch ? config.watchPathIgnorePatterns : []),
|
533
|
-
config.cacheDirectory.startsWith(config.rootDir + path().sep) &&
|
534
|
-
config.cacheDirectory
|
535
|
-
].filter(Boolean);
|
536
|
-
const ignorePattern =
|
537
|
-
ignorePatternParts.length > 0
|
538
|
-
? new RegExp(ignorePatternParts.join('|'))
|
539
|
-
: undefined;
|
540
|
-
return _jestHasteMap().default.create({
|
541
|
-
cacheDirectory: config.cacheDirectory,
|
542
|
-
computeSha1: config.haste.computeSha1,
|
543
|
-
console:
|
544
|
-
options === null || options === void 0 ? void 0 : options.console,
|
545
|
-
dependencyExtractor: config.dependencyExtractor,
|
546
|
-
enableSymlinks: config.haste.enableSymlinks,
|
547
|
-
extensions: [_jestSnapshot().default.EXTENSION].concat(
|
548
|
-
config.moduleFileExtensions
|
549
|
-
),
|
550
|
-
forceNodeFilesystemAPI: config.haste.forceNodeFilesystemAPI,
|
551
|
-
hasteImplModulePath: config.haste.hasteImplModulePath,
|
552
|
-
hasteMapModulePath: config.haste.hasteMapModulePath,
|
553
|
-
ignorePattern,
|
554
|
-
maxWorkers:
|
555
|
-
(options === null || options === void 0
|
556
|
-
? void 0
|
557
|
-
: options.maxWorkers) || 1,
|
558
|
-
mocksPattern: (0, _jestRegexUtil().escapePathForRegex)(
|
559
|
-
path().sep + '__mocks__' + path().sep
|
560
|
-
),
|
561
|
-
name: config.name,
|
562
|
-
platforms: config.haste.platforms || ['ios', 'android'],
|
563
|
-
resetCache:
|
564
|
-
options === null || options === void 0 ? void 0 : options.resetCache,
|
565
|
-
retainAllFiles: false,
|
566
|
-
rootDir: config.rootDir,
|
567
|
-
roots: config.roots,
|
568
|
-
throwOnModuleCollision: config.haste.throwOnModuleCollision,
|
569
|
-
useWatchman:
|
570
|
-
options === null || options === void 0 ? void 0 : options.watchman,
|
571
|
-
watch: options === null || options === void 0 ? void 0 : options.watch
|
572
|
-
});
|
573
|
-
}
|
574
|
-
|
575
|
-
static createResolver(config, moduleMap) {
|
576
|
-
return new (_jestResolve().default)(moduleMap, {
|
577
|
-
defaultPlatform: config.haste.defaultPlatform,
|
578
|
-
extensions: config.moduleFileExtensions.map(extension => '.' + extension),
|
579
|
-
hasCoreModules: true,
|
580
|
-
moduleDirectories: config.moduleDirectories,
|
581
|
-
moduleNameMapper: getModuleNameMapper(config),
|
582
|
-
modulePaths: config.modulePaths,
|
583
|
-
platforms: config.haste.platforms,
|
584
|
-
resolver: config.resolver,
|
585
|
-
rootDir: config.rootDir
|
586
|
-
});
|
587
|
-
}
|
588
|
-
|
589
|
-
static async runCLI() {
|
590
|
-
throw new Error('The jest-runtime CLI has been moved into jest-repl');
|
591
|
-
}
|
592
|
-
|
593
|
-
static getCLIOptions() {
|
594
|
-
throw new Error('The jest-runtime CLI has been moved into jest-repl');
|
595
|
-
} // unstable as it should be replaced by https://github.com/nodejs/modules/issues/393, and we don't want people to use it
|
596
|
-
|
597
|
-
unstable_shouldLoadAsEsm(path) {
|
598
|
-
return _jestResolve().default.unstable_shouldLoadAsEsm(
|
599
|
-
path,
|
600
|
-
this._config.extensionsToTreatAsEsm
|
601
|
-
);
|
602
|
-
} // not async _now_, but transform will be
|
603
|
-
|
604
|
-
async loadEsmModule(modulePath, query = '') {
|
605
|
-
const cacheKey = modulePath + query;
|
606
|
-
|
607
|
-
if (this._fileTransformsMutex.has(cacheKey)) {
|
608
|
-
await this._fileTransformsMutex.get(cacheKey);
|
609
|
-
}
|
610
|
-
|
611
|
-
if (!this._esmoduleRegistry.has(cacheKey)) {
|
612
|
-
invariant(
|
613
|
-
typeof this._environment.getVmContext === 'function',
|
614
|
-
'ES Modules are only supported if your test environment has the `getVmContext` function'
|
615
|
-
);
|
616
|
-
|
617
|
-
const context = this._environment.getVmContext();
|
618
|
-
|
619
|
-
invariant(context, 'Test environment has been torn down');
|
620
|
-
let transformResolve;
|
621
|
-
let transformReject;
|
622
|
-
|
623
|
-
this._fileTransformsMutex.set(
|
624
|
-
cacheKey,
|
625
|
-
new Promise((resolve, reject) => {
|
626
|
-
transformResolve = resolve;
|
627
|
-
transformReject = reject;
|
628
|
-
})
|
629
|
-
);
|
630
|
-
|
631
|
-
invariant(
|
632
|
-
transformResolve && transformReject,
|
633
|
-
'Promise initialization should be sync - please report this bug to Jest!'
|
634
|
-
);
|
635
|
-
|
636
|
-
if (this._resolver.isCoreModule(modulePath)) {
|
637
|
-
const core = this._importCoreModule(modulePath, context);
|
638
|
-
|
639
|
-
this._esmoduleRegistry.set(cacheKey, core);
|
640
|
-
|
641
|
-
transformResolve();
|
642
|
-
return core;
|
643
|
-
}
|
644
|
-
|
645
|
-
const transformedCode = await this.transformFileAsync(modulePath, {
|
646
|
-
isInternalModule: false,
|
647
|
-
supportsDynamicImport: true,
|
648
|
-
supportsExportNamespaceFrom: true,
|
649
|
-
supportsStaticESM: true,
|
650
|
-
supportsTopLevelAwait
|
651
|
-
});
|
652
|
-
|
653
|
-
try {
|
654
|
-
const module = new (_vm().SourceTextModule)(transformedCode, {
|
655
|
-
context,
|
656
|
-
identifier: modulePath,
|
657
|
-
importModuleDynamically: async (specifier, referencingModule) => {
|
658
|
-
invariant(
|
659
|
-
runtimeSupportsVmModules,
|
660
|
-
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
|
661
|
-
);
|
662
|
-
const module = await this.resolveModule(
|
663
|
-
specifier,
|
664
|
-
referencingModule.identifier,
|
665
|
-
referencingModule.context
|
666
|
-
);
|
667
|
-
return this.linkAndEvaluateModule(module);
|
668
|
-
},
|
669
|
-
|
670
|
-
initializeImportMeta(meta) {
|
671
|
-
meta.url = (0, _url().pathToFileURL)(modulePath).href;
|
672
|
-
}
|
673
|
-
});
|
674
|
-
invariant(
|
675
|
-
!this._esmoduleRegistry.has(cacheKey),
|
676
|
-
`Module cache already has entry ${cacheKey}. This is a bug in Jest, please report it!`
|
677
|
-
);
|
678
|
-
|
679
|
-
this._esmoduleRegistry.set(cacheKey, module);
|
680
|
-
|
681
|
-
transformResolve();
|
682
|
-
} catch (error) {
|
683
|
-
transformReject(error);
|
684
|
-
throw error;
|
685
|
-
}
|
686
|
-
}
|
687
|
-
|
688
|
-
const module = this._esmoduleRegistry.get(cacheKey);
|
689
|
-
|
690
|
-
invariant(
|
691
|
-
module,
|
692
|
-
'Module cache does not contain module. This is a bug in Jest, please open up an issue'
|
693
|
-
);
|
694
|
-
return module;
|
695
|
-
}
|
696
|
-
|
697
|
-
resolveModule(specifier, referencingIdentifier, context) {
|
698
|
-
if (this.isTornDown) {
|
699
|
-
this._logFormattedReferenceError(
|
700
|
-
'You are trying to `import` a file after the Jest environment has been torn down.'
|
701
|
-
);
|
702
|
-
|
703
|
-
process.exitCode = 1;
|
704
|
-
return;
|
705
|
-
}
|
706
|
-
|
707
|
-
if (specifier === '@jest/globals') {
|
708
|
-
const fromCache = this._esmoduleRegistry.get('@jest/globals');
|
709
|
-
|
710
|
-
if (fromCache) {
|
711
|
-
return fromCache;
|
712
|
-
}
|
713
|
-
|
714
|
-
const globals = this.getGlobalsForEsm(referencingIdentifier, context);
|
715
|
-
|
716
|
-
this._esmoduleRegistry.set('@jest/globals', globals);
|
717
|
-
|
718
|
-
return globals;
|
719
|
-
}
|
720
|
-
|
721
|
-
if (specifier.startsWith('file://')) {
|
722
|
-
specifier = (0, _url().fileURLToPath)(specifier);
|
723
|
-
}
|
724
|
-
|
725
|
-
const [path, query] = specifier.split('?');
|
726
|
-
|
727
|
-
if (
|
728
|
-
this._shouldMock(
|
729
|
-
referencingIdentifier,
|
730
|
-
path,
|
731
|
-
this._explicitShouldMockModule,
|
732
|
-
{
|
733
|
-
conditions: this.esmConditions
|
734
|
-
}
|
735
|
-
)
|
736
|
-
) {
|
737
|
-
return this.importMock(referencingIdentifier, path, context);
|
738
|
-
}
|
739
|
-
|
740
|
-
const resolved = this._resolveModule(referencingIdentifier, path, {
|
741
|
-
conditions: this.esmConditions
|
742
|
-
});
|
743
|
-
|
744
|
-
if (
|
745
|
-
this._resolver.isCoreModule(resolved) ||
|
746
|
-
this.unstable_shouldLoadAsEsm(resolved)
|
747
|
-
) {
|
748
|
-
return this.loadEsmModule(resolved, query);
|
749
|
-
}
|
750
|
-
|
751
|
-
return this.loadCjsAsEsm(referencingIdentifier, resolved, context);
|
752
|
-
}
|
753
|
-
|
754
|
-
async linkAndEvaluateModule(module) {
|
755
|
-
if (this.isTornDown) {
|
756
|
-
this._logFormattedReferenceError(
|
757
|
-
'You are trying to `import` a file after the Jest environment has been torn down.'
|
758
|
-
);
|
759
|
-
|
760
|
-
process.exitCode = 1;
|
761
|
-
return;
|
762
|
-
}
|
763
|
-
|
764
|
-
if (module.status === 'unlinked') {
|
765
|
-
// since we might attempt to link the same module in parallel, stick the promise in a weak map so every call to
|
766
|
-
// this method can await it
|
767
|
-
this._esmModuleLinkingMap.set(
|
768
|
-
module,
|
769
|
-
module.link((specifier, referencingModule) =>
|
770
|
-
this.resolveModule(
|
771
|
-
specifier,
|
772
|
-
referencingModule.identifier,
|
773
|
-
referencingModule.context
|
774
|
-
)
|
775
|
-
)
|
776
|
-
);
|
777
|
-
}
|
778
|
-
|
779
|
-
await this._esmModuleLinkingMap.get(module);
|
780
|
-
|
781
|
-
if (module.status === 'linked') {
|
782
|
-
await module.evaluate();
|
783
|
-
}
|
784
|
-
|
785
|
-
return module;
|
786
|
-
}
|
787
|
-
|
788
|
-
async unstable_importModule(from, moduleName) {
|
789
|
-
invariant(
|
790
|
-
runtimeSupportsVmModules,
|
791
|
-
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
|
792
|
-
);
|
793
|
-
const [path, query] = (
|
794
|
-
moduleName !== null && moduleName !== void 0 ? moduleName : ''
|
795
|
-
).split('?');
|
796
|
-
|
797
|
-
const modulePath = this._resolveModule(from, path, {
|
798
|
-
conditions: this.esmConditions
|
799
|
-
});
|
800
|
-
|
801
|
-
const module = await this.loadEsmModule(modulePath, query);
|
802
|
-
return this.linkAndEvaluateModule(module);
|
803
|
-
}
|
804
|
-
|
805
|
-
loadCjsAsEsm(from, modulePath, context) {
|
806
|
-
// CJS loaded via `import` should share cache with other CJS: https://github.com/nodejs/modules/issues/503
|
807
|
-
const cjs = this.requireModuleOrMock(from, modulePath);
|
808
|
-
const parsedExports = this.getExportsOfCjs(modulePath);
|
809
|
-
const cjsExports = [...parsedExports].filter(exportName => {
|
810
|
-
// we don't wanna respect any exports _named_ default as a named export
|
811
|
-
if (exportName === 'default') {
|
812
|
-
return false;
|
813
|
-
}
|
814
|
-
|
815
|
-
return Object.hasOwnProperty.call(cjs, exportName);
|
816
|
-
});
|
817
|
-
const module = new (_vm().SyntheticModule)(
|
818
|
-
[...cjsExports, 'default'],
|
819
|
-
function () {
|
820
|
-
cjsExports.forEach(exportName => {
|
821
|
-
// @ts-expect-error
|
822
|
-
this.setExport(exportName, cjs[exportName]);
|
823
|
-
}); // @ts-expect-error: TS doesn't know what `this` is
|
824
|
-
|
825
|
-
this.setExport('default', cjs);
|
826
|
-
},
|
827
|
-
{
|
828
|
-
context,
|
829
|
-
identifier: modulePath
|
830
|
-
}
|
831
|
-
);
|
832
|
-
return evaluateSyntheticModule(module);
|
833
|
-
}
|
834
|
-
|
835
|
-
async importMock(from, moduleName, context) {
|
836
|
-
const moduleID = this._resolver.getModuleID(
|
837
|
-
this._virtualModuleMocks,
|
838
|
-
from,
|
839
|
-
moduleName,
|
840
|
-
{
|
841
|
-
conditions: this.esmConditions
|
842
|
-
}
|
843
|
-
);
|
844
|
-
|
845
|
-
if (this._moduleMockRegistry.has(moduleID)) {
|
846
|
-
return this._moduleMockRegistry.get(moduleID);
|
847
|
-
}
|
848
|
-
|
849
|
-
if (this._moduleMockFactories.has(moduleID)) {
|
850
|
-
const invokedFactory = await this._moduleMockFactories.get(
|
851
|
-
moduleID // has check above makes this ok
|
852
|
-
)();
|
853
|
-
const module = new (_vm().SyntheticModule)(
|
854
|
-
Object.keys(invokedFactory),
|
855
|
-
function () {
|
856
|
-
Object.entries(invokedFactory).forEach(([key, value]) => {
|
857
|
-
// @ts-expect-error: TS doesn't know what `this` is
|
858
|
-
this.setExport(key, value);
|
859
|
-
});
|
860
|
-
},
|
861
|
-
{
|
862
|
-
context,
|
863
|
-
identifier: moduleName
|
864
|
-
}
|
865
|
-
);
|
866
|
-
|
867
|
-
this._moduleMockRegistry.set(moduleID, module);
|
868
|
-
|
869
|
-
return evaluateSyntheticModule(module);
|
870
|
-
}
|
871
|
-
|
872
|
-
throw new Error('Attempting to import a mock without a factory');
|
873
|
-
}
|
874
|
-
|
875
|
-
getExportsOfCjs(modulePath) {
|
876
|
-
var _this$_fileTransforms, _this$_fileTransforms2;
|
877
|
-
|
878
|
-
const cachedNamedExports = this._cjsNamedExports.get(modulePath);
|
879
|
-
|
880
|
-
if (cachedNamedExports) {
|
881
|
-
return cachedNamedExports;
|
882
|
-
}
|
883
|
-
|
884
|
-
const transformedCode =
|
885
|
-
(_this$_fileTransforms =
|
886
|
-
(_this$_fileTransforms2 = this._fileTransforms.get(modulePath)) ===
|
887
|
-
null || _this$_fileTransforms2 === void 0
|
888
|
-
? void 0
|
889
|
-
: _this$_fileTransforms2.code) !== null &&
|
890
|
-
_this$_fileTransforms !== void 0
|
891
|
-
? _this$_fileTransforms
|
892
|
-
: this.readFile(modulePath);
|
893
|
-
const {exports, reexports} = (0, _cjsModuleLexer().parse)(transformedCode);
|
894
|
-
const namedExports = new Set(exports);
|
895
|
-
reexports.forEach(reexport => {
|
896
|
-
const resolved = this._resolveModule(modulePath, reexport, {
|
897
|
-
conditions: this.esmConditions
|
898
|
-
});
|
899
|
-
|
900
|
-
const exports = this.getExportsOfCjs(resolved);
|
901
|
-
exports.forEach(namedExports.add, namedExports);
|
902
|
-
});
|
903
|
-
|
904
|
-
this._cjsNamedExports.set(modulePath, namedExports);
|
905
|
-
|
906
|
-
return namedExports;
|
907
|
-
}
|
908
|
-
|
909
|
-
requireModule(from, moduleName, options, isRequireActual = false) {
|
910
|
-
var _options$isInternalMo;
|
911
|
-
|
912
|
-
const isInternal =
|
913
|
-
(_options$isInternalMo =
|
914
|
-
options === null || options === void 0
|
915
|
-
? void 0
|
916
|
-
: options.isInternalModule) !== null &&
|
917
|
-
_options$isInternalMo !== void 0
|
918
|
-
? _options$isInternalMo
|
919
|
-
: false;
|
920
|
-
|
921
|
-
const moduleID = this._resolver.getModuleID(
|
922
|
-
this._virtualMocks,
|
923
|
-
from,
|
924
|
-
moduleName,
|
925
|
-
isInternal
|
926
|
-
? undefined
|
927
|
-
: {
|
928
|
-
conditions: this.cjsConditions
|
929
|
-
}
|
930
|
-
);
|
931
|
-
|
932
|
-
let modulePath; // Some old tests rely on this mocking behavior. Ideally we'll change this
|
933
|
-
// to be more explicit.
|
934
|
-
|
935
|
-
const moduleResource = moduleName && this._resolver.getModule(moduleName);
|
936
|
-
|
937
|
-
const manualMock =
|
938
|
-
moduleName && this._resolver.getMockModule(from, moduleName);
|
939
|
-
|
940
|
-
if (
|
941
|
-
!(options !== null && options !== void 0 && options.isInternalModule) &&
|
942
|
-
!isRequireActual &&
|
943
|
-
!moduleResource &&
|
944
|
-
manualMock &&
|
945
|
-
manualMock !== this._isCurrentlyExecutingManualMock &&
|
946
|
-
this._explicitShouldMock.get(moduleID) !== false
|
947
|
-
) {
|
948
|
-
modulePath = manualMock;
|
949
|
-
}
|
950
|
-
|
951
|
-
if (moduleName && this._resolver.isCoreModule(moduleName)) {
|
952
|
-
return this._requireCoreModule(
|
953
|
-
moduleName,
|
954
|
-
supportsNodeColonModulePrefixInRequire
|
955
|
-
);
|
956
|
-
}
|
957
|
-
|
958
|
-
if (!modulePath) {
|
959
|
-
modulePath = this._resolveModule(
|
960
|
-
from,
|
961
|
-
moduleName,
|
962
|
-
isInternal
|
963
|
-
? undefined
|
964
|
-
: {
|
965
|
-
conditions: this.cjsConditions
|
966
|
-
}
|
967
|
-
);
|
968
|
-
}
|
969
|
-
|
970
|
-
if (this.unstable_shouldLoadAsEsm(modulePath)) {
|
971
|
-
// Node includes more info in the message
|
972
|
-
const error = new Error(
|
973
|
-
`Must use import to load ES Module: ${modulePath}`
|
974
|
-
); // @ts-expect-error: `code` is not defined
|
975
|
-
|
976
|
-
error.code = 'ERR_REQUIRE_ESM';
|
977
|
-
throw error;
|
978
|
-
}
|
979
|
-
|
980
|
-
let moduleRegistry;
|
981
|
-
|
982
|
-
if (isInternal) {
|
983
|
-
moduleRegistry = this._internalModuleRegistry;
|
984
|
-
} else if (this._isolatedModuleRegistry) {
|
985
|
-
moduleRegistry = this._isolatedModuleRegistry;
|
986
|
-
} else {
|
987
|
-
moduleRegistry = this._moduleRegistry;
|
988
|
-
}
|
989
|
-
|
990
|
-
const module = moduleRegistry.get(modulePath);
|
991
|
-
|
992
|
-
if (module) {
|
993
|
-
return module.exports;
|
994
|
-
} // We must register the pre-allocated module object first so that any
|
995
|
-
// circular dependencies that may arise while evaluating the module can
|
996
|
-
// be satisfied.
|
997
|
-
|
998
|
-
const localModule = {
|
999
|
-
children: [],
|
1000
|
-
exports: {},
|
1001
|
-
filename: modulePath,
|
1002
|
-
id: modulePath,
|
1003
|
-
loaded: false,
|
1004
|
-
path: path().dirname(modulePath)
|
1005
|
-
};
|
1006
|
-
moduleRegistry.set(modulePath, localModule);
|
1007
|
-
|
1008
|
-
try {
|
1009
|
-
this._loadModule(
|
1010
|
-
localModule,
|
1011
|
-
from,
|
1012
|
-
moduleName,
|
1013
|
-
modulePath,
|
1014
|
-
options,
|
1015
|
-
moduleRegistry
|
1016
|
-
);
|
1017
|
-
} catch (error) {
|
1018
|
-
moduleRegistry.delete(modulePath);
|
1019
|
-
throw error;
|
1020
|
-
}
|
1021
|
-
|
1022
|
-
return localModule.exports;
|
1023
|
-
}
|
1024
|
-
|
1025
|
-
requireInternalModule(from, to) {
|
1026
|
-
if (to) {
|
1027
|
-
var _nativeModule$createR;
|
1028
|
-
|
1029
|
-
const require = (
|
1030
|
-
(_nativeModule$createR = nativeModule().createRequire) !== null &&
|
1031
|
-
_nativeModule$createR !== void 0
|
1032
|
-
? _nativeModule$createR
|
1033
|
-
: nativeModule().createRequireFromPath
|
1034
|
-
)(from);
|
1035
|
-
|
1036
|
-
if (INTERNAL_MODULE_REQUIRE_OUTSIDE_OPTIMIZED_MODULES.has(to)) {
|
1037
|
-
return require(to);
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
const outsideJestVmPath = (0, _helpers.decodePossibleOutsideJestVmPath)(
|
1041
|
-
to
|
1042
|
-
);
|
1043
|
-
|
1044
|
-
if (outsideJestVmPath) {
|
1045
|
-
return require(outsideJestVmPath);
|
1046
|
-
}
|
1047
|
-
}
|
1048
|
-
|
1049
|
-
return this.requireModule(from, to, {
|
1050
|
-
isInternalModule: true,
|
1051
|
-
supportsDynamicImport: esmIsAvailable,
|
1052
|
-
supportsExportNamespaceFrom: false,
|
1053
|
-
supportsStaticESM: false,
|
1054
|
-
supportsTopLevelAwait: false
|
1055
|
-
});
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
requireActual(from, moduleName) {
|
1059
|
-
return this.requireModule(from, moduleName, undefined, true);
|
1060
|
-
}
|
1061
|
-
|
1062
|
-
requireMock(from, moduleName) {
|
1063
|
-
var _this$_isolatedMockRe;
|
1064
|
-
|
1065
|
-
const moduleID = this._resolver.getModuleID(
|
1066
|
-
this._virtualMocks,
|
1067
|
-
from,
|
1068
|
-
moduleName,
|
1069
|
-
{
|
1070
|
-
conditions: this.cjsConditions
|
1071
|
-
}
|
1072
|
-
);
|
1073
|
-
|
1074
|
-
if (
|
1075
|
-
(_this$_isolatedMockRe = this._isolatedMockRegistry) !== null &&
|
1076
|
-
_this$_isolatedMockRe !== void 0 &&
|
1077
|
-
_this$_isolatedMockRe.has(moduleID)
|
1078
|
-
) {
|
1079
|
-
return this._isolatedMockRegistry.get(moduleID);
|
1080
|
-
} else if (this._mockRegistry.has(moduleID)) {
|
1081
|
-
return this._mockRegistry.get(moduleID);
|
1082
|
-
}
|
1083
|
-
|
1084
|
-
const mockRegistry = this._isolatedMockRegistry || this._mockRegistry;
|
1085
|
-
|
1086
|
-
if (this._mockFactories.has(moduleID)) {
|
1087
|
-
// has check above makes this ok
|
1088
|
-
const module = this._mockFactories.get(moduleID)();
|
1089
|
-
|
1090
|
-
mockRegistry.set(moduleID, module);
|
1091
|
-
return module;
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
const manualMockOrStub = this._resolver.getMockModule(from, moduleName);
|
1095
|
-
|
1096
|
-
let modulePath =
|
1097
|
-
this._resolver.getMockModule(from, moduleName) ||
|
1098
|
-
this._resolveModule(from, moduleName, {
|
1099
|
-
conditions: this.cjsConditions
|
1100
|
-
});
|
1101
|
-
|
1102
|
-
let isManualMock =
|
1103
|
-
manualMockOrStub &&
|
1104
|
-
!this._resolver.resolveStubModuleName(from, moduleName);
|
1105
|
-
|
1106
|
-
if (!isManualMock) {
|
1107
|
-
// If the actual module file has a __mocks__ dir sitting immediately next
|
1108
|
-
// to it, look to see if there is a manual mock for this file.
|
1109
|
-
//
|
1110
|
-
// subDir1/my_module.js
|
1111
|
-
// subDir1/__mocks__/my_module.js
|
1112
|
-
// subDir2/my_module.js
|
1113
|
-
// subDir2/__mocks__/my_module.js
|
1114
|
-
//
|
1115
|
-
// Where some other module does a relative require into each of the
|
1116
|
-
// respective subDir{1,2} directories and expects a manual mock
|
1117
|
-
// corresponding to that particular my_module.js file.
|
1118
|
-
const moduleDir = path().dirname(modulePath);
|
1119
|
-
const moduleFileName = path().basename(modulePath);
|
1120
|
-
const potentialManualMock = path().join(
|
1121
|
-
moduleDir,
|
1122
|
-
'__mocks__',
|
1123
|
-
moduleFileName
|
1124
|
-
);
|
1125
|
-
|
1126
|
-
if (fs().existsSync(potentialManualMock)) {
|
1127
|
-
isManualMock = true;
|
1128
|
-
modulePath = potentialManualMock;
|
1129
|
-
}
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
if (isManualMock) {
|
1133
|
-
const localModule = {
|
1134
|
-
children: [],
|
1135
|
-
exports: {},
|
1136
|
-
filename: modulePath,
|
1137
|
-
id: modulePath,
|
1138
|
-
loaded: false,
|
1139
|
-
path: path().dirname(modulePath)
|
1140
|
-
};
|
1141
|
-
|
1142
|
-
this._loadModule(
|
1143
|
-
localModule,
|
1144
|
-
from,
|
1145
|
-
moduleName,
|
1146
|
-
modulePath,
|
1147
|
-
undefined,
|
1148
|
-
mockRegistry
|
1149
|
-
);
|
1150
|
-
|
1151
|
-
mockRegistry.set(moduleID, localModule.exports);
|
1152
|
-
} else {
|
1153
|
-
// Look for a real module to generate an automock from
|
1154
|
-
mockRegistry.set(moduleID, this._generateMock(from, moduleName));
|
1155
|
-
}
|
1156
|
-
|
1157
|
-
return mockRegistry.get(moduleID);
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
_loadModule(
|
1161
|
-
localModule,
|
1162
|
-
from,
|
1163
|
-
moduleName,
|
1164
|
-
modulePath,
|
1165
|
-
options,
|
1166
|
-
moduleRegistry
|
1167
|
-
) {
|
1168
|
-
if (path().extname(modulePath) === '.json') {
|
1169
|
-
const text = (0, _stripBom().default)(this.readFile(modulePath));
|
1170
|
-
|
1171
|
-
const transformedFile = this._scriptTransformer.transformJson(
|
1172
|
-
modulePath,
|
1173
|
-
this._getFullTransformationOptions(options),
|
1174
|
-
text
|
1175
|
-
);
|
1176
|
-
|
1177
|
-
localModule.exports =
|
1178
|
-
this._environment.global.JSON.parse(transformedFile);
|
1179
|
-
} else if (path().extname(modulePath) === '.node') {
|
1180
|
-
localModule.exports = require(modulePath);
|
1181
|
-
} else {
|
1182
|
-
// Only include the fromPath if a moduleName is given. Else treat as root.
|
1183
|
-
const fromPath = moduleName ? from : null;
|
1184
|
-
|
1185
|
-
this._execModule(localModule, options, moduleRegistry, fromPath);
|
1186
|
-
}
|
1187
|
-
|
1188
|
-
localModule.loaded = true;
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
_getFullTransformationOptions(options = defaultTransformOptions) {
|
1192
|
-
return {...options, ...this._coverageOptions};
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
requireModuleOrMock(from, moduleName) {
|
1196
|
-
// this module is unmockable
|
1197
|
-
if (moduleName === '@jest/globals') {
|
1198
|
-
// @ts-expect-error: we don't care that it's not assignable to T
|
1199
|
-
return this.getGlobalsForCjs(from);
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
try {
|
1203
|
-
if (
|
1204
|
-
this._shouldMock(from, moduleName, this._explicitShouldMock, {
|
1205
|
-
conditions: this.cjsConditions
|
1206
|
-
})
|
1207
|
-
) {
|
1208
|
-
return this.requireMock(from, moduleName);
|
1209
|
-
} else {
|
1210
|
-
return this.requireModule(from, moduleName);
|
1211
|
-
}
|
1212
|
-
} catch (e) {
|
1213
|
-
const moduleNotFound =
|
1214
|
-
_jestResolve().default.tryCastModuleNotFoundError(e);
|
1215
|
-
|
1216
|
-
if (moduleNotFound) {
|
1217
|
-
if (
|
1218
|
-
moduleNotFound.siblingWithSimilarExtensionFound === null ||
|
1219
|
-
moduleNotFound.siblingWithSimilarExtensionFound === undefined
|
1220
|
-
) {
|
1221
|
-
moduleNotFound.hint = (0, _helpers.findSiblingsWithFileExtension)(
|
1222
|
-
this._config.moduleFileExtensions,
|
1223
|
-
from,
|
1224
|
-
moduleNotFound.moduleName || moduleName
|
1225
|
-
);
|
1226
|
-
moduleNotFound.siblingWithSimilarExtensionFound = Boolean(
|
1227
|
-
moduleNotFound.hint
|
1228
|
-
);
|
1229
|
-
}
|
1230
|
-
|
1231
|
-
moduleNotFound.buildMessage(this._config.rootDir);
|
1232
|
-
throw moduleNotFound;
|
1233
|
-
}
|
1234
|
-
|
1235
|
-
throw e;
|
1236
|
-
}
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
isolateModules(fn) {
|
1240
|
-
if (this._isolatedModuleRegistry || this._isolatedMockRegistry) {
|
1241
|
-
throw new Error(
|
1242
|
-
'isolateModules cannot be nested inside another isolateModules.'
|
1243
|
-
);
|
1244
|
-
}
|
1245
|
-
|
1246
|
-
this._isolatedModuleRegistry = new Map();
|
1247
|
-
this._isolatedMockRegistry = new Map();
|
1248
|
-
|
1249
|
-
try {
|
1250
|
-
fn();
|
1251
|
-
} finally {
|
1252
|
-
var _this$_isolatedModule, _this$_isolatedMockRe2;
|
1253
|
-
|
1254
|
-
// might be cleared within the callback
|
1255
|
-
(_this$_isolatedModule = this._isolatedModuleRegistry) === null ||
|
1256
|
-
_this$_isolatedModule === void 0
|
1257
|
-
? void 0
|
1258
|
-
: _this$_isolatedModule.clear();
|
1259
|
-
(_this$_isolatedMockRe2 = this._isolatedMockRegistry) === null ||
|
1260
|
-
_this$_isolatedMockRe2 === void 0
|
1261
|
-
? void 0
|
1262
|
-
: _this$_isolatedMockRe2.clear();
|
1263
|
-
this._isolatedModuleRegistry = null;
|
1264
|
-
this._isolatedMockRegistry = null;
|
1265
|
-
}
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
resetModules() {
|
1269
|
-
var _this$_isolatedModule2, _this$_isolatedMockRe3;
|
1270
|
-
|
1271
|
-
(_this$_isolatedModule2 = this._isolatedModuleRegistry) === null ||
|
1272
|
-
_this$_isolatedModule2 === void 0
|
1273
|
-
? void 0
|
1274
|
-
: _this$_isolatedModule2.clear();
|
1275
|
-
(_this$_isolatedMockRe3 = this._isolatedMockRegistry) === null ||
|
1276
|
-
_this$_isolatedMockRe3 === void 0
|
1277
|
-
? void 0
|
1278
|
-
: _this$_isolatedMockRe3.clear();
|
1279
|
-
this._isolatedModuleRegistry = null;
|
1280
|
-
this._isolatedMockRegistry = null;
|
1281
|
-
|
1282
|
-
this._mockRegistry.clear();
|
1283
|
-
|
1284
|
-
this._moduleRegistry.clear();
|
1285
|
-
|
1286
|
-
this._esmoduleRegistry.clear();
|
1287
|
-
|
1288
|
-
this._cjsNamedExports.clear();
|
1289
|
-
|
1290
|
-
this._moduleMockRegistry.clear();
|
1291
|
-
|
1292
|
-
if (this._environment) {
|
1293
|
-
if (this._environment.global) {
|
1294
|
-
const envGlobal = this._environment.global;
|
1295
|
-
Object.keys(envGlobal).forEach(key => {
|
1296
|
-
const globalMock = envGlobal[key];
|
1297
|
-
|
1298
|
-
if (
|
1299
|
-
((typeof globalMock === 'object' && globalMock !== null) ||
|
1300
|
-
typeof globalMock === 'function') &&
|
1301
|
-
globalMock._isMockFunction === true
|
1302
|
-
) {
|
1303
|
-
globalMock.mockClear();
|
1304
|
-
}
|
1305
|
-
});
|
1306
|
-
}
|
1307
|
-
|
1308
|
-
if (this._environment.fakeTimers) {
|
1309
|
-
this._environment.fakeTimers.clearAllTimers();
|
1310
|
-
}
|
1311
|
-
}
|
1312
|
-
}
|
1313
|
-
|
1314
|
-
async collectV8Coverage() {
|
1315
|
-
this._v8CoverageInstrumenter =
|
1316
|
-
new (_collectV8Coverage().CoverageInstrumenter)();
|
1317
|
-
await this._v8CoverageInstrumenter.startInstrumenting();
|
1318
|
-
}
|
1319
|
-
|
1320
|
-
async stopCollectingV8Coverage() {
|
1321
|
-
if (!this._v8CoverageInstrumenter) {
|
1322
|
-
throw new Error('You need to call `collectV8Coverage` first.');
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
this._v8CoverageResult =
|
1326
|
-
await this._v8CoverageInstrumenter.stopInstrumenting();
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
getAllCoverageInfoCopy() {
|
1330
|
-
return (0, _jestUtil().deepCyclicCopy)(
|
1331
|
-
this._environment.global.__coverage__
|
1332
|
-
);
|
1333
|
-
}
|
1334
|
-
|
1335
|
-
getAllV8CoverageInfoCopy() {
|
1336
|
-
if (!this._v8CoverageResult) {
|
1337
|
-
throw new Error('You need to `stopCollectingV8Coverage` first');
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
return this._v8CoverageResult
|
1341
|
-
.filter(res => res.url.startsWith('file://'))
|
1342
|
-
.map(res => ({...res, url: (0, _url().fileURLToPath)(res.url)}))
|
1343
|
-
.filter(
|
1344
|
-
(
|
1345
|
-
res // TODO: will this work on windows? It might be better if `shouldInstrument` deals with it anyways
|
1346
|
-
) =>
|
1347
|
-
res.url.startsWith(this._config.rootDir) &&
|
1348
|
-
this._fileTransforms.has(res.url) &&
|
1349
|
-
(0, _transform().shouldInstrument)(
|
1350
|
-
res.url,
|
1351
|
-
this._coverageOptions,
|
1352
|
-
this._config
|
1353
|
-
)
|
1354
|
-
)
|
1355
|
-
.map(result => {
|
1356
|
-
const transformedFile = this._fileTransforms.get(result.url);
|
1357
|
-
|
1358
|
-
return {
|
1359
|
-
codeTransformResult: transformedFile,
|
1360
|
-
result
|
1361
|
-
};
|
1362
|
-
});
|
1363
|
-
}
|
1364
|
-
|
1365
|
-
getSourceMaps() {
|
1366
|
-
return this._sourceMapRegistry;
|
1367
|
-
}
|
1368
|
-
|
1369
|
-
setMock(from, moduleName, mockFactory, options) {
|
1370
|
-
if (options !== null && options !== void 0 && options.virtual) {
|
1371
|
-
const mockPath = this._resolver.getModulePath(from, moduleName);
|
1372
|
-
|
1373
|
-
this._virtualMocks.set(mockPath, true);
|
1374
|
-
}
|
1375
|
-
|
1376
|
-
const moduleID = this._resolver.getModuleID(
|
1377
|
-
this._virtualMocks,
|
1378
|
-
from,
|
1379
|
-
moduleName,
|
1380
|
-
{
|
1381
|
-
conditions: this.cjsConditions
|
1382
|
-
}
|
1383
|
-
);
|
1384
|
-
|
1385
|
-
this._explicitShouldMock.set(moduleID, true);
|
1386
|
-
|
1387
|
-
this._mockFactories.set(moduleID, mockFactory);
|
1388
|
-
}
|
1389
|
-
|
1390
|
-
setModuleMock(from, moduleName, mockFactory, options) {
|
1391
|
-
if (options !== null && options !== void 0 && options.virtual) {
|
1392
|
-
const mockPath = this._resolver.getModulePath(from, moduleName);
|
1393
|
-
|
1394
|
-
this._virtualModuleMocks.set(mockPath, true);
|
1395
|
-
}
|
1396
|
-
|
1397
|
-
const moduleID = this._resolver.getModuleID(
|
1398
|
-
this._virtualModuleMocks,
|
1399
|
-
from,
|
1400
|
-
moduleName,
|
1401
|
-
{
|
1402
|
-
conditions: this.esmConditions
|
1403
|
-
}
|
1404
|
-
);
|
1405
|
-
|
1406
|
-
this._explicitShouldMockModule.set(moduleID, true);
|
1407
|
-
|
1408
|
-
this._moduleMockFactories.set(moduleID, mockFactory);
|
1409
|
-
}
|
1410
|
-
|
1411
|
-
restoreAllMocks() {
|
1412
|
-
this._moduleMocker.restoreAllMocks();
|
1413
|
-
}
|
1414
|
-
|
1415
|
-
resetAllMocks() {
|
1416
|
-
this._moduleMocker.resetAllMocks();
|
1417
|
-
}
|
1418
|
-
|
1419
|
-
clearAllMocks() {
|
1420
|
-
this._moduleMocker.clearAllMocks();
|
1421
|
-
}
|
1422
|
-
|
1423
|
-
teardown() {
|
1424
|
-
this.restoreAllMocks();
|
1425
|
-
this.resetAllMocks();
|
1426
|
-
this.resetModules();
|
1427
|
-
|
1428
|
-
this._internalModuleRegistry.clear();
|
1429
|
-
|
1430
|
-
this._mainModule = null;
|
1431
|
-
|
1432
|
-
this._mockFactories.clear();
|
1433
|
-
|
1434
|
-
this._moduleMockFactories.clear();
|
1435
|
-
|
1436
|
-
this._mockMetaDataCache.clear();
|
1437
|
-
|
1438
|
-
this._shouldMockModuleCache.clear();
|
1439
|
-
|
1440
|
-
this._shouldUnmockTransitiveDependenciesCache.clear();
|
1441
|
-
|
1442
|
-
this._explicitShouldMock.clear();
|
1443
|
-
|
1444
|
-
this._explicitShouldMockModule.clear();
|
1445
|
-
|
1446
|
-
this._transitiveShouldMock.clear();
|
1447
|
-
|
1448
|
-
this._virtualMocks.clear();
|
1449
|
-
|
1450
|
-
this._virtualModuleMocks.clear();
|
1451
|
-
|
1452
|
-
this._cacheFS.clear();
|
1453
|
-
|
1454
|
-
this._unmockList = undefined;
|
1455
|
-
|
1456
|
-
this._sourceMapRegistry.clear();
|
1457
|
-
|
1458
|
-
this._fileTransforms.clear();
|
1459
|
-
|
1460
|
-
this._fileTransformsMutex.clear();
|
1461
|
-
|
1462
|
-
this.jestObjectCaches.clear();
|
1463
|
-
this._v8CoverageResult = [];
|
1464
|
-
this._v8CoverageInstrumenter = undefined;
|
1465
|
-
this._moduleImplementation = undefined;
|
1466
|
-
this.isTornDown = true;
|
1467
|
-
}
|
1468
|
-
|
1469
|
-
_resolveModule(from, to, options) {
|
1470
|
-
return to ? this._resolver.resolveModule(from, to, options) : from;
|
1471
|
-
}
|
1472
|
-
|
1473
|
-
_requireResolve(from, moduleName, options = {}) {
|
1474
|
-
if (moduleName == null) {
|
1475
|
-
throw new Error(
|
1476
|
-
'The first argument to require.resolve must be a string. Received null or undefined.'
|
1477
|
-
);
|
1478
|
-
}
|
1479
|
-
|
1480
|
-
if (path().isAbsolute(moduleName)) {
|
1481
|
-
const module = this._resolver.resolveModuleFromDirIfExists(
|
1482
|
-
moduleName,
|
1483
|
-
moduleName,
|
1484
|
-
{
|
1485
|
-
conditions: this.cjsConditions,
|
1486
|
-
paths: []
|
1487
|
-
}
|
1488
|
-
);
|
1489
|
-
|
1490
|
-
if (module) {
|
1491
|
-
return module;
|
1492
|
-
}
|
1493
|
-
} else {
|
1494
|
-
const {paths} = options;
|
1495
|
-
|
1496
|
-
if (paths) {
|
1497
|
-
for (const p of paths) {
|
1498
|
-
const absolutePath = path().resolve(from, '..', p);
|
1499
|
-
|
1500
|
-
const module = this._resolver.resolveModuleFromDirIfExists(
|
1501
|
-
absolutePath,
|
1502
|
-
moduleName, // required to also resolve files without leading './' directly in the path
|
1503
|
-
{
|
1504
|
-
conditions: this.cjsConditions,
|
1505
|
-
paths: [absolutePath]
|
1506
|
-
}
|
1507
|
-
);
|
1508
|
-
|
1509
|
-
if (module) {
|
1510
|
-
return module;
|
1511
|
-
}
|
1512
|
-
}
|
1513
|
-
|
1514
|
-
throw new (_jestResolve().default.ModuleNotFoundError)(
|
1515
|
-
`Cannot resolve module '${moduleName}' from paths ['${paths.join(
|
1516
|
-
"', '"
|
1517
|
-
)}'] from ${from}`
|
1518
|
-
);
|
1519
|
-
}
|
1520
|
-
}
|
1521
|
-
|
1522
|
-
try {
|
1523
|
-
return this._resolveModule(from, moduleName, {
|
1524
|
-
conditions: this.cjsConditions
|
1525
|
-
});
|
1526
|
-
} catch (err) {
|
1527
|
-
const module = this._resolver.getMockModule(from, moduleName);
|
1528
|
-
|
1529
|
-
if (module) {
|
1530
|
-
return module;
|
1531
|
-
} else {
|
1532
|
-
throw err;
|
1533
|
-
}
|
1534
|
-
}
|
1535
|
-
}
|
1536
|
-
|
1537
|
-
_requireResolvePaths(from, moduleName) {
|
1538
|
-
if (moduleName == null) {
|
1539
|
-
throw new Error(
|
1540
|
-
'The first argument to require.resolve.paths must be a string. Received null or undefined.'
|
1541
|
-
);
|
1542
|
-
}
|
1543
|
-
|
1544
|
-
if (!moduleName.length) {
|
1545
|
-
throw new Error(
|
1546
|
-
'The first argument to require.resolve.paths must not be the empty string.'
|
1547
|
-
);
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
if (moduleName[0] === '.') {
|
1551
|
-
return [path().resolve(from, '..')];
|
1552
|
-
}
|
1553
|
-
|
1554
|
-
if (this._resolver.isCoreModule(moduleName)) {
|
1555
|
-
return null;
|
1556
|
-
}
|
1557
|
-
|
1558
|
-
return this._resolver.getModulePaths(path().resolve(from, '..'));
|
1559
|
-
}
|
1560
|
-
|
1561
|
-
_execModule(localModule, options, moduleRegistry, from) {
|
1562
|
-
if (this.isTornDown) {
|
1563
|
-
this._logFormattedReferenceError(
|
1564
|
-
'You are trying to `import` a file after the Jest environment has been torn down.'
|
1565
|
-
);
|
1566
|
-
|
1567
|
-
process.exitCode = 1;
|
1568
|
-
return;
|
1569
|
-
} // If the environment was disposed, prevent this module from being executed.
|
1570
|
-
|
1571
|
-
if (!this._environment.global) {
|
1572
|
-
return;
|
1573
|
-
}
|
1574
|
-
|
1575
|
-
const module = localModule;
|
1576
|
-
const filename = module.filename;
|
1577
|
-
const lastExecutingModulePath = this._currentlyExecutingModulePath;
|
1578
|
-
this._currentlyExecutingModulePath = filename;
|
1579
|
-
const origCurrExecutingManualMock = this._isCurrentlyExecutingManualMock;
|
1580
|
-
this._isCurrentlyExecutingManualMock = filename;
|
1581
|
-
module.children = [];
|
1582
|
-
Object.defineProperty(module, 'parent', {
|
1583
|
-
enumerable: true,
|
1584
|
-
|
1585
|
-
get() {
|
1586
|
-
const key = from || '';
|
1587
|
-
return moduleRegistry.get(key) || null;
|
1588
|
-
}
|
1589
|
-
});
|
1590
|
-
module.paths = this._resolver.getModulePaths(module.path);
|
1591
|
-
Object.defineProperty(module, 'require', {
|
1592
|
-
value: this._createRequireImplementation(module, options)
|
1593
|
-
});
|
1594
|
-
const transformedCode = this.transformFile(filename, options);
|
1595
|
-
let compiledFunction = null;
|
1596
|
-
const script = this.createScriptFromCode(transformedCode, filename);
|
1597
|
-
let runScript = null;
|
1598
|
-
|
1599
|
-
const vmContext = this._environment.getVmContext();
|
1600
|
-
|
1601
|
-
if (vmContext) {
|
1602
|
-
runScript = script.runInContext(vmContext, {
|
1603
|
-
filename
|
1604
|
-
});
|
1605
|
-
}
|
1606
|
-
|
1607
|
-
if (runScript !== null) {
|
1608
|
-
compiledFunction = runScript[EVAL_RESULT_VARIABLE];
|
1609
|
-
}
|
1610
|
-
|
1611
|
-
if (compiledFunction === null) {
|
1612
|
-
this._logFormattedReferenceError(
|
1613
|
-
'You are trying to `import` a file after the Jest environment has been torn down.'
|
1614
|
-
);
|
1615
|
-
|
1616
|
-
process.exitCode = 1;
|
1617
|
-
return;
|
1618
|
-
}
|
1619
|
-
|
1620
|
-
const jestObject = this._createJestObjectFor(filename);
|
1621
|
-
|
1622
|
-
this.jestObjectCaches.set(filename, jestObject);
|
1623
|
-
const lastArgs = [
|
1624
|
-
this._config.injectGlobals ? jestObject : undefined, // jest object
|
1625
|
-
...this._config.extraGlobals.map(globalVariable => {
|
1626
|
-
if (this._environment.global[globalVariable]) {
|
1627
|
-
return this._environment.global[globalVariable];
|
1628
|
-
}
|
1629
|
-
|
1630
|
-
throw new Error(
|
1631
|
-
`You have requested '${globalVariable}' as a global variable, but it was not present. Please check your config or your global environment.`
|
1632
|
-
);
|
1633
|
-
})
|
1634
|
-
];
|
1635
|
-
|
1636
|
-
if (!this._mainModule && filename === this._testPath) {
|
1637
|
-
this._mainModule = module;
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
Object.defineProperty(module, 'main', {
|
1641
|
-
enumerable: true,
|
1642
|
-
value: this._mainModule
|
1643
|
-
});
|
1644
|
-
|
1645
|
-
try {
|
1646
|
-
compiledFunction.call(
|
1647
|
-
module.exports,
|
1648
|
-
module, // module object
|
1649
|
-
module.exports, // module exports
|
1650
|
-
module.require, // require implementation
|
1651
|
-
module.path, // __dirname
|
1652
|
-
module.filename, // __filename
|
1653
|
-
// @ts-expect-error
|
1654
|
-
...lastArgs.filter(notEmpty)
|
1655
|
-
);
|
1656
|
-
} catch (error) {
|
1657
|
-
this.handleExecutionError(error, module);
|
1658
|
-
}
|
1659
|
-
|
1660
|
-
this._isCurrentlyExecutingManualMock = origCurrExecutingManualMock;
|
1661
|
-
this._currentlyExecutingModulePath = lastExecutingModulePath;
|
1662
|
-
}
|
1663
|
-
|
1664
|
-
transformFile(filename, options) {
|
1665
|
-
const source = this.readFile(filename);
|
1666
|
-
|
1667
|
-
if (options !== null && options !== void 0 && options.isInternalModule) {
|
1668
|
-
return source;
|
1669
|
-
}
|
1670
|
-
|
1671
|
-
let transformedFile = this._fileTransforms.get(filename);
|
1672
|
-
|
1673
|
-
if (transformedFile) {
|
1674
|
-
return transformedFile.code;
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
transformedFile = this._scriptTransformer.transform(
|
1678
|
-
filename,
|
1679
|
-
this._getFullTransformationOptions(options),
|
1680
|
-
source
|
1681
|
-
);
|
1682
|
-
|
1683
|
-
this._fileTransforms.set(filename, {
|
1684
|
-
...transformedFile,
|
1685
|
-
wrapperLength: this.constructModuleWrapperStart().length
|
1686
|
-
});
|
1687
|
-
|
1688
|
-
if (transformedFile.sourceMapPath) {
|
1689
|
-
this._sourceMapRegistry.set(filename, transformedFile.sourceMapPath);
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
return transformedFile.code;
|
1693
|
-
}
|
1694
|
-
|
1695
|
-
async transformFileAsync(filename, options) {
|
1696
|
-
const source = this.readFile(filename);
|
1697
|
-
|
1698
|
-
if (options !== null && options !== void 0 && options.isInternalModule) {
|
1699
|
-
return source;
|
1700
|
-
}
|
1701
|
-
|
1702
|
-
let transformedFile = this._fileTransforms.get(filename);
|
1703
|
-
|
1704
|
-
if (transformedFile) {
|
1705
|
-
return transformedFile.code;
|
1706
|
-
}
|
1707
|
-
|
1708
|
-
transformedFile = await this._scriptTransformer.transformAsync(
|
1709
|
-
filename,
|
1710
|
-
this._getFullTransformationOptions(options),
|
1711
|
-
source
|
1712
|
-
);
|
1713
|
-
|
1714
|
-
this._fileTransforms.set(filename, {...transformedFile, wrapperLength: 0});
|
1715
|
-
|
1716
|
-
if (transformedFile.sourceMapPath) {
|
1717
|
-
this._sourceMapRegistry.set(filename, transformedFile.sourceMapPath);
|
1718
|
-
}
|
1719
|
-
|
1720
|
-
return transformedFile.code;
|
1721
|
-
}
|
1722
|
-
|
1723
|
-
createScriptFromCode(scriptSource, filename) {
|
1724
|
-
try {
|
1725
|
-
const scriptFilename = this._resolver.isCoreModule(filename)
|
1726
|
-
? `jest-nodejs-core-${filename}`
|
1727
|
-
: filename;
|
1728
|
-
return new (_vm().Script)(this.wrapCodeInModuleWrapper(scriptSource), {
|
1729
|
-
displayErrors: true,
|
1730
|
-
filename: scriptFilename,
|
1731
|
-
// @ts-expect-error: Experimental ESM API
|
1732
|
-
importModuleDynamically: async specifier => {
|
1733
|
-
var _this$_environment$ge, _this$_environment2;
|
1734
|
-
|
1735
|
-
invariant(
|
1736
|
-
runtimeSupportsVmModules,
|
1737
|
-
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
|
1738
|
-
);
|
1739
|
-
const context =
|
1740
|
-
(_this$_environment$ge = (_this$_environment2 = this._environment)
|
1741
|
-
.getVmContext) === null || _this$_environment$ge === void 0
|
1742
|
-
? void 0
|
1743
|
-
: _this$_environment$ge.call(_this$_environment2);
|
1744
|
-
invariant(context, 'Test environment has been torn down');
|
1745
|
-
const module = await this.resolveModule(
|
1746
|
-
specifier,
|
1747
|
-
scriptFilename,
|
1748
|
-
context
|
1749
|
-
);
|
1750
|
-
return this.linkAndEvaluateModule(module);
|
1751
|
-
}
|
1752
|
-
});
|
1753
|
-
} catch (e) {
|
1754
|
-
throw (0, _transform().handlePotentialSyntaxError)(e);
|
1755
|
-
}
|
1756
|
-
}
|
1757
|
-
|
1758
|
-
_requireCoreModule(moduleName, supportPrefix) {
|
1759
|
-
const moduleWithoutNodePrefix =
|
1760
|
-
supportPrefix && moduleName.startsWith('node:')
|
1761
|
-
? moduleName.slice('node:'.length)
|
1762
|
-
: moduleName;
|
1763
|
-
|
1764
|
-
if (moduleWithoutNodePrefix === 'process') {
|
1765
|
-
return this._environment.global.process;
|
1766
|
-
}
|
1767
|
-
|
1768
|
-
if (moduleWithoutNodePrefix === 'module') {
|
1769
|
-
return this._getMockedNativeModule();
|
1770
|
-
}
|
1771
|
-
|
1772
|
-
return require(moduleWithoutNodePrefix);
|
1773
|
-
}
|
1774
|
-
|
1775
|
-
_importCoreModule(moduleName, context) {
|
1776
|
-
const required = this._requireCoreModule(
|
1777
|
-
moduleName,
|
1778
|
-
supportsNodeColonModulePrefixInImport
|
1779
|
-
);
|
1780
|
-
|
1781
|
-
const module = new (_vm().SyntheticModule)(
|
1782
|
-
['default', ...Object.keys(required)],
|
1783
|
-
function () {
|
1784
|
-
// @ts-expect-error: TS doesn't know what `this` is
|
1785
|
-
this.setExport('default', required);
|
1786
|
-
Object.entries(required).forEach(([key, value]) => {
|
1787
|
-
// @ts-expect-error: TS doesn't know what `this` is
|
1788
|
-
this.setExport(key, value);
|
1789
|
-
});
|
1790
|
-
}, // should identifier be `node://${moduleName}`?
|
1791
|
-
{
|
1792
|
-
context,
|
1793
|
-
identifier: moduleName
|
1794
|
-
}
|
1795
|
-
);
|
1796
|
-
return evaluateSyntheticModule(module);
|
1797
|
-
}
|
1798
|
-
|
1799
|
-
_getMockedNativeModule() {
|
1800
|
-
if (this._moduleImplementation) {
|
1801
|
-
return this._moduleImplementation;
|
1802
|
-
}
|
1803
|
-
|
1804
|
-
const createRequire = modulePath => {
|
1805
|
-
const filename =
|
1806
|
-
typeof modulePath === 'string'
|
1807
|
-
? modulePath.startsWith('file:///')
|
1808
|
-
? (0, _url().fileURLToPath)(new (_url().URL)(modulePath))
|
1809
|
-
: modulePath
|
1810
|
-
: (0, _url().fileURLToPath)(modulePath);
|
1811
|
-
|
1812
|
-
if (!path().isAbsolute(filename)) {
|
1813
|
-
const error = new TypeError(
|
1814
|
-
`The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received '${filename}'`
|
1815
|
-
); // @ts-expect-error
|
1816
|
-
|
1817
|
-
error.code = 'ERR_INVALID_ARG_TYPE';
|
1818
|
-
throw error;
|
1819
|
-
}
|
1820
|
-
|
1821
|
-
return this._createRequireImplementation({
|
1822
|
-
children: [],
|
1823
|
-
exports: {},
|
1824
|
-
filename,
|
1825
|
-
id: filename,
|
1826
|
-
loaded: false,
|
1827
|
-
path: path().dirname(filename)
|
1828
|
-
});
|
1829
|
-
}; // should we implement the class ourselves?
|
1830
|
-
|
1831
|
-
class Module extends nativeModule().Module {}
|
1832
|
-
|
1833
|
-
Object.entries(nativeModule().Module).forEach(([key, value]) => {
|
1834
|
-
// @ts-expect-error
|
1835
|
-
Module[key] = value;
|
1836
|
-
});
|
1837
|
-
Module.Module = Module;
|
1838
|
-
|
1839
|
-
if ('createRequire' in nativeModule()) {
|
1840
|
-
Module.createRequire = createRequire;
|
1841
|
-
}
|
1842
|
-
|
1843
|
-
if ('createRequireFromPath' in nativeModule()) {
|
1844
|
-
Module.createRequireFromPath = function createRequireFromPath(filename) {
|
1845
|
-
if (typeof filename !== 'string') {
|
1846
|
-
const error = new TypeError(
|
1847
|
-
`The argument 'filename' must be string. Received '${filename}'.${
|
1848
|
-
filename instanceof _url().URL
|
1849
|
-
? ' Use createRequire for URL filename.'
|
1850
|
-
: ''
|
1851
|
-
}`
|
1852
|
-
); // @ts-expect-error
|
1853
|
-
|
1854
|
-
error.code = 'ERR_INVALID_ARG_TYPE';
|
1855
|
-
throw error;
|
1856
|
-
}
|
1857
|
-
|
1858
|
-
return createRequire(filename);
|
1859
|
-
};
|
1860
|
-
}
|
1861
|
-
|
1862
|
-
if ('syncBuiltinESMExports' in nativeModule()) {
|
1863
|
-
// cast since TS seems very confused about whether it exists or not
|
1864
|
-
Module.syncBuiltinESMExports = function syncBuiltinESMExports() {};
|
1865
|
-
}
|
1866
|
-
|
1867
|
-
this._moduleImplementation = Module;
|
1868
|
-
return Module;
|
1869
|
-
}
|
1870
|
-
|
1871
|
-
_generateMock(from, moduleName) {
|
1872
|
-
const modulePath =
|
1873
|
-
this._resolver.resolveStubModuleName(from, moduleName) ||
|
1874
|
-
this._resolveModule(from, moduleName, {
|
1875
|
-
conditions: this.cjsConditions
|
1876
|
-
});
|
1877
|
-
|
1878
|
-
if (!this._mockMetaDataCache.has(modulePath)) {
|
1879
|
-
// This allows us to handle circular dependencies while generating an
|
1880
|
-
// automock
|
1881
|
-
this._mockMetaDataCache.set(
|
1882
|
-
modulePath,
|
1883
|
-
this._moduleMocker.getMetadata({}) || {}
|
1884
|
-
); // In order to avoid it being possible for automocking to potentially
|
1885
|
-
// cause side-effects within the module environment, we need to execute
|
1886
|
-
// the module in isolation. This could cause issues if the module being
|
1887
|
-
// mocked has calls into side-effectful APIs on another module.
|
1888
|
-
|
1889
|
-
const origMockRegistry = this._mockRegistry;
|
1890
|
-
const origModuleRegistry = this._moduleRegistry;
|
1891
|
-
this._mockRegistry = new Map();
|
1892
|
-
this._moduleRegistry = new Map();
|
1893
|
-
const moduleExports = this.requireModule(from, moduleName); // Restore the "real" module/mock registries
|
1894
|
-
|
1895
|
-
this._mockRegistry = origMockRegistry;
|
1896
|
-
this._moduleRegistry = origModuleRegistry;
|
1897
|
-
|
1898
|
-
const mockMetadata = this._moduleMocker.getMetadata(moduleExports);
|
1899
|
-
|
1900
|
-
if (mockMetadata == null) {
|
1901
|
-
throw new Error(
|
1902
|
-
`Failed to get mock metadata: ${modulePath}\n\n` +
|
1903
|
-
'See: https://jestjs.io/docs/manual-mocks#content'
|
1904
|
-
);
|
1905
|
-
}
|
1906
|
-
|
1907
|
-
this._mockMetaDataCache.set(modulePath, mockMetadata);
|
1908
|
-
}
|
1909
|
-
|
1910
|
-
return this._moduleMocker.generateFromMetadata(
|
1911
|
-
// added above if missing
|
1912
|
-
this._mockMetaDataCache.get(modulePath)
|
1913
|
-
);
|
1914
|
-
}
|
1915
|
-
|
1916
|
-
_shouldMock(from, moduleName, explicitShouldMock, options) {
|
1917
|
-
const moduleID = this._resolver.getModuleID(
|
1918
|
-
this._virtualMocks,
|
1919
|
-
from,
|
1920
|
-
moduleName,
|
1921
|
-
options
|
1922
|
-
);
|
1923
|
-
|
1924
|
-
const key = from + path().delimiter + moduleID;
|
1925
|
-
|
1926
|
-
if (explicitShouldMock.has(moduleID)) {
|
1927
|
-
// guaranteed by `has` above
|
1928
|
-
return explicitShouldMock.get(moduleID);
|
1929
|
-
}
|
1930
|
-
|
1931
|
-
if (
|
1932
|
-
!this._shouldAutoMock ||
|
1933
|
-
this._resolver.isCoreModule(moduleName) ||
|
1934
|
-
this._shouldUnmockTransitiveDependenciesCache.get(key)
|
1935
|
-
) {
|
1936
|
-
return false;
|
1937
|
-
}
|
1938
|
-
|
1939
|
-
if (this._shouldMockModuleCache.has(moduleID)) {
|
1940
|
-
// guaranteed by `has` above
|
1941
|
-
return this._shouldMockModuleCache.get(moduleID);
|
1942
|
-
}
|
1943
|
-
|
1944
|
-
let modulePath;
|
1945
|
-
|
1946
|
-
try {
|
1947
|
-
modulePath = this._resolveModule(from, moduleName, options);
|
1948
|
-
} catch (e) {
|
1949
|
-
const manualMock = this._resolver.getMockModule(from, moduleName);
|
1950
|
-
|
1951
|
-
if (manualMock) {
|
1952
|
-
this._shouldMockModuleCache.set(moduleID, true);
|
1953
|
-
|
1954
|
-
return true;
|
1955
|
-
}
|
1956
|
-
|
1957
|
-
throw e;
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
if (this._unmockList && this._unmockList.test(modulePath)) {
|
1961
|
-
this._shouldMockModuleCache.set(moduleID, false);
|
1962
|
-
|
1963
|
-
return false;
|
1964
|
-
} // transitive unmocking for package managers that store flat packages (npm3)
|
1965
|
-
|
1966
|
-
const currentModuleID = this._resolver.getModuleID(
|
1967
|
-
this._virtualMocks,
|
1968
|
-
from,
|
1969
|
-
undefined,
|
1970
|
-
options
|
1971
|
-
);
|
1972
|
-
|
1973
|
-
if (
|
1974
|
-
this._transitiveShouldMock.get(currentModuleID) === false ||
|
1975
|
-
(from.includes(NODE_MODULES) &&
|
1976
|
-
modulePath.includes(NODE_MODULES) &&
|
1977
|
-
((this._unmockList && this._unmockList.test(from)) ||
|
1978
|
-
explicitShouldMock.get(currentModuleID) === false))
|
1979
|
-
) {
|
1980
|
-
this._transitiveShouldMock.set(moduleID, false);
|
1981
|
-
|
1982
|
-
this._shouldUnmockTransitiveDependenciesCache.set(key, true);
|
1983
|
-
|
1984
|
-
return false;
|
1985
|
-
}
|
1986
|
-
|
1987
|
-
this._shouldMockModuleCache.set(moduleID, true);
|
1988
|
-
|
1989
|
-
return true;
|
1990
|
-
}
|
1991
|
-
|
1992
|
-
_createRequireImplementation(from, options) {
|
1993
|
-
const resolve = (moduleName, resolveOptions) => {
|
1994
|
-
const resolved = this._requireResolve(
|
1995
|
-
from.filename,
|
1996
|
-
moduleName,
|
1997
|
-
resolveOptions
|
1998
|
-
);
|
1999
|
-
|
2000
|
-
if (
|
2001
|
-
resolveOptions !== null &&
|
2002
|
-
resolveOptions !== void 0 &&
|
2003
|
-
resolveOptions[JEST_RESOLVE_OUTSIDE_VM_OPTION] &&
|
2004
|
-
options !== null &&
|
2005
|
-
options !== void 0 &&
|
2006
|
-
options.isInternalModule
|
2007
|
-
) {
|
2008
|
-
return (0, _helpers.createOutsideJestVmPath)(resolved);
|
2009
|
-
}
|
2010
|
-
|
2011
|
-
return resolved;
|
2012
|
-
};
|
2013
|
-
|
2014
|
-
resolve.paths = moduleName =>
|
2015
|
-
this._requireResolvePaths(from.filename, moduleName);
|
2016
|
-
|
2017
|
-
const moduleRequire =
|
2018
|
-
options !== null && options !== void 0 && options.isInternalModule
|
2019
|
-
? moduleName => this.requireInternalModule(from.filename, moduleName)
|
2020
|
-
: this.requireModuleOrMock.bind(this, from.filename);
|
2021
|
-
moduleRequire.extensions = Object.create(null);
|
2022
|
-
moduleRequire.resolve = resolve;
|
2023
|
-
|
2024
|
-
moduleRequire.cache = (() => {
|
2025
|
-
// TODO: consider warning somehow that this does nothing. We should support deletions, anyways
|
2026
|
-
const notPermittedMethod = () => true;
|
2027
|
-
|
2028
|
-
return new Proxy(Object.create(null), {
|
2029
|
-
defineProperty: notPermittedMethod,
|
2030
|
-
deleteProperty: notPermittedMethod,
|
2031
|
-
get: (_target, key) =>
|
2032
|
-
typeof key === 'string' ? this._moduleRegistry.get(key) : undefined,
|
2033
|
-
|
2034
|
-
getOwnPropertyDescriptor() {
|
2035
|
-
return {
|
2036
|
-
configurable: true,
|
2037
|
-
enumerable: true
|
2038
|
-
};
|
2039
|
-
},
|
2040
|
-
|
2041
|
-
has: (_target, key) =>
|
2042
|
-
typeof key === 'string' && this._moduleRegistry.has(key),
|
2043
|
-
ownKeys: () => Array.from(this._moduleRegistry.keys()),
|
2044
|
-
set: notPermittedMethod
|
2045
|
-
});
|
2046
|
-
})();
|
2047
|
-
|
2048
|
-
Object.defineProperty(moduleRequire, 'main', {
|
2049
|
-
enumerable: true,
|
2050
|
-
value: this._mainModule
|
2051
|
-
});
|
2052
|
-
return moduleRequire;
|
2053
|
-
}
|
2054
|
-
|
2055
|
-
_createJestObjectFor(from) {
|
2056
|
-
var _this$_moduleMocker$m, _this$_moduleMocker$m2;
|
2057
|
-
|
2058
|
-
const disableAutomock = () => {
|
2059
|
-
this._shouldAutoMock = false;
|
2060
|
-
return jestObject;
|
2061
|
-
};
|
2062
|
-
|
2063
|
-
const enableAutomock = () => {
|
2064
|
-
this._shouldAutoMock = true;
|
2065
|
-
return jestObject;
|
2066
|
-
};
|
2067
|
-
|
2068
|
-
const unmock = moduleName => {
|
2069
|
-
const moduleID = this._resolver.getModuleID(
|
2070
|
-
this._virtualMocks,
|
2071
|
-
from,
|
2072
|
-
moduleName,
|
2073
|
-
{
|
2074
|
-
conditions: this.cjsConditions
|
2075
|
-
}
|
2076
|
-
);
|
2077
|
-
|
2078
|
-
this._explicitShouldMock.set(moduleID, false);
|
2079
|
-
|
2080
|
-
return jestObject;
|
2081
|
-
};
|
2082
|
-
|
2083
|
-
const deepUnmock = moduleName => {
|
2084
|
-
const moduleID = this._resolver.getModuleID(
|
2085
|
-
this._virtualMocks,
|
2086
|
-
from,
|
2087
|
-
moduleName,
|
2088
|
-
{
|
2089
|
-
conditions: this.cjsConditions
|
2090
|
-
}
|
2091
|
-
);
|
2092
|
-
|
2093
|
-
this._explicitShouldMock.set(moduleID, false);
|
2094
|
-
|
2095
|
-
this._transitiveShouldMock.set(moduleID, false);
|
2096
|
-
|
2097
|
-
return jestObject;
|
2098
|
-
};
|
2099
|
-
|
2100
|
-
const mock = (moduleName, mockFactory, options) => {
|
2101
|
-
if (mockFactory !== undefined) {
|
2102
|
-
return setMockFactory(moduleName, mockFactory, options);
|
2103
|
-
}
|
2104
|
-
|
2105
|
-
const moduleID = this._resolver.getModuleID(
|
2106
|
-
this._virtualMocks,
|
2107
|
-
from,
|
2108
|
-
moduleName,
|
2109
|
-
{
|
2110
|
-
conditions: this.cjsConditions
|
2111
|
-
}
|
2112
|
-
);
|
2113
|
-
|
2114
|
-
this._explicitShouldMock.set(moduleID, true);
|
2115
|
-
|
2116
|
-
return jestObject;
|
2117
|
-
};
|
2118
|
-
|
2119
|
-
const setMockFactory = (moduleName, mockFactory, options) => {
|
2120
|
-
this.setMock(from, moduleName, mockFactory, options);
|
2121
|
-
return jestObject;
|
2122
|
-
};
|
2123
|
-
|
2124
|
-
const mockModule = (moduleName, mockFactory, options) => {
|
2125
|
-
if (typeof mockFactory !== 'function') {
|
2126
|
-
throw new Error('`unstable_mockModule` must be passed a mock factory');
|
2127
|
-
}
|
2128
|
-
|
2129
|
-
this.setModuleMock(from, moduleName, mockFactory, options);
|
2130
|
-
return jestObject;
|
2131
|
-
};
|
2132
|
-
|
2133
|
-
const clearAllMocks = () => {
|
2134
|
-
this.clearAllMocks();
|
2135
|
-
return jestObject;
|
2136
|
-
};
|
2137
|
-
|
2138
|
-
const resetAllMocks = () => {
|
2139
|
-
this.resetAllMocks();
|
2140
|
-
return jestObject;
|
2141
|
-
};
|
2142
|
-
|
2143
|
-
const restoreAllMocks = () => {
|
2144
|
-
this.restoreAllMocks();
|
2145
|
-
return jestObject;
|
2146
|
-
};
|
2147
|
-
|
2148
|
-
const _getFakeTimers = () => {
|
2149
|
-
if (
|
2150
|
-
this.isTornDown ||
|
2151
|
-
!(this._environment.fakeTimers || this._environment.fakeTimersModern)
|
2152
|
-
) {
|
2153
|
-
this._logFormattedReferenceError(
|
2154
|
-
'You are trying to access a property or method of the Jest environment after it has been torn down.'
|
2155
|
-
);
|
2156
|
-
|
2157
|
-
process.exitCode = 1;
|
2158
|
-
}
|
2159
|
-
|
2160
|
-
return this._fakeTimersImplementation;
|
2161
|
-
};
|
2162
|
-
|
2163
|
-
const useFakeTimers = (type = 'modern') => {
|
2164
|
-
if (type === 'legacy') {
|
2165
|
-
this._fakeTimersImplementation = this._environment.fakeTimers;
|
2166
|
-
} else {
|
2167
|
-
this._fakeTimersImplementation = this._environment.fakeTimersModern;
|
2168
|
-
}
|
2169
|
-
|
2170
|
-
this._fakeTimersImplementation.useFakeTimers();
|
2171
|
-
|
2172
|
-
return jestObject;
|
2173
|
-
};
|
2174
|
-
|
2175
|
-
const useRealTimers = () => {
|
2176
|
-
_getFakeTimers().useRealTimers();
|
2177
|
-
|
2178
|
-
return jestObject;
|
2179
|
-
};
|
2180
|
-
|
2181
|
-
const resetModules = () => {
|
2182
|
-
this.resetModules();
|
2183
|
-
return jestObject;
|
2184
|
-
};
|
2185
|
-
|
2186
|
-
const isolateModules = fn => {
|
2187
|
-
this.isolateModules(fn);
|
2188
|
-
return jestObject;
|
2189
|
-
};
|
2190
|
-
|
2191
|
-
const fn = this._moduleMocker.fn.bind(this._moduleMocker);
|
2192
|
-
|
2193
|
-
const spyOn = this._moduleMocker.spyOn.bind(this._moduleMocker);
|
2194
|
-
|
2195
|
-
const mocked =
|
2196
|
-
(_this$_moduleMocker$m =
|
2197
|
-
(_this$_moduleMocker$m2 = this._moduleMocker.mocked) === null ||
|
2198
|
-
_this$_moduleMocker$m2 === void 0
|
2199
|
-
? void 0
|
2200
|
-
: _this$_moduleMocker$m2.bind(this._moduleMocker)) !== null &&
|
2201
|
-
_this$_moduleMocker$m !== void 0
|
2202
|
-
? _this$_moduleMocker$m
|
2203
|
-
: () => {
|
2204
|
-
throw new Error(
|
2205
|
-
'Your test environment does not support `mocked`, please update it.'
|
2206
|
-
);
|
2207
|
-
};
|
2208
|
-
|
2209
|
-
const setTimeout = timeout => {
|
2210
|
-
if (this._environment.global.jasmine) {
|
2211
|
-
this._environment.global.jasmine._DEFAULT_TIMEOUT_INTERVAL = timeout;
|
2212
|
-
} else {
|
2213
|
-
// @ts-expect-error: https://github.com/Microsoft/TypeScript/issues/24587
|
2214
|
-
this._environment.global[testTimeoutSymbol] = timeout;
|
2215
|
-
}
|
2216
|
-
|
2217
|
-
return jestObject;
|
2218
|
-
};
|
2219
|
-
|
2220
|
-
const retryTimes = numTestRetries => {
|
2221
|
-
// @ts-expect-error: https://github.com/Microsoft/TypeScript/issues/24587
|
2222
|
-
this._environment.global[retryTimesSymbol] = numTestRetries;
|
2223
|
-
return jestObject;
|
2224
|
-
};
|
2225
|
-
|
2226
|
-
const jestObject = {
|
2227
|
-
advanceTimersByTime: msToRun =>
|
2228
|
-
_getFakeTimers().advanceTimersByTime(msToRun),
|
2229
|
-
advanceTimersToNextTimer: steps =>
|
2230
|
-
_getFakeTimers().advanceTimersToNextTimer(steps),
|
2231
|
-
autoMockOff: disableAutomock,
|
2232
|
-
autoMockOn: enableAutomock,
|
2233
|
-
clearAllMocks,
|
2234
|
-
clearAllTimers: () => _getFakeTimers().clearAllTimers(),
|
2235
|
-
createMockFromModule: moduleName => this._generateMock(from, moduleName),
|
2236
|
-
deepUnmock,
|
2237
|
-
disableAutomock,
|
2238
|
-
doMock: mock,
|
2239
|
-
dontMock: unmock,
|
2240
|
-
enableAutomock,
|
2241
|
-
fn,
|
2242
|
-
genMockFromModule: moduleName => this._generateMock(from, moduleName),
|
2243
|
-
getRealSystemTime: () => {
|
2244
|
-
const fakeTimers = _getFakeTimers();
|
2245
|
-
|
2246
|
-
if (fakeTimers === this._environment.fakeTimersModern) {
|
2247
|
-
return fakeTimers.getRealSystemTime();
|
2248
|
-
} else {
|
2249
|
-
throw new TypeError(
|
2250
|
-
'getRealSystemTime is not available when not using modern timers'
|
2251
|
-
);
|
2252
|
-
}
|
2253
|
-
},
|
2254
|
-
getTimerCount: () => _getFakeTimers().getTimerCount(),
|
2255
|
-
isMockFunction: this._moduleMocker.isMockFunction,
|
2256
|
-
isolateModules,
|
2257
|
-
mock,
|
2258
|
-
mocked,
|
2259
|
-
requireActual: this.requireActual.bind(this, from),
|
2260
|
-
requireMock: this.requireMock.bind(this, from),
|
2261
|
-
resetAllMocks,
|
2262
|
-
resetModules,
|
2263
|
-
restoreAllMocks,
|
2264
|
-
retryTimes,
|
2265
|
-
runAllImmediates: () => {
|
2266
|
-
const fakeTimers = _getFakeTimers();
|
2267
|
-
|
2268
|
-
if (fakeTimers === this._environment.fakeTimers) {
|
2269
|
-
fakeTimers.runAllImmediates();
|
2270
|
-
} else {
|
2271
|
-
throw new TypeError(
|
2272
|
-
'runAllImmediates is not available when using modern timers'
|
2273
|
-
);
|
2274
|
-
}
|
2275
|
-
},
|
2276
|
-
runAllTicks: () => _getFakeTimers().runAllTicks(),
|
2277
|
-
runAllTimers: () => _getFakeTimers().runAllTimers(),
|
2278
|
-
runOnlyPendingTimers: () => _getFakeTimers().runOnlyPendingTimers(),
|
2279
|
-
setMock: (moduleName, mock) => setMockFactory(moduleName, () => mock),
|
2280
|
-
setSystemTime: now => {
|
2281
|
-
const fakeTimers = _getFakeTimers();
|
2282
|
-
|
2283
|
-
if (fakeTimers === this._environment.fakeTimersModern) {
|
2284
|
-
fakeTimers.setSystemTime(now);
|
2285
|
-
} else {
|
2286
|
-
throw new TypeError(
|
2287
|
-
'setSystemTime is not available when not using modern timers'
|
2288
|
-
);
|
2289
|
-
}
|
2290
|
-
},
|
2291
|
-
setTimeout,
|
2292
|
-
spyOn,
|
2293
|
-
unmock,
|
2294
|
-
unstable_mockModule: mockModule,
|
2295
|
-
useFakeTimers,
|
2296
|
-
useRealTimers
|
2297
|
-
};
|
2298
|
-
return jestObject;
|
2299
|
-
}
|
2300
|
-
|
2301
|
-
_logFormattedReferenceError(errorMessage) {
|
2302
|
-
const testPath = this._testPath
|
2303
|
-
? ` From ${(0, _slash().default)(
|
2304
|
-
path().relative(this._config.rootDir, this._testPath)
|
2305
|
-
)}.`
|
2306
|
-
: '';
|
2307
|
-
const originalStack = new ReferenceError(`${errorMessage}${testPath}`).stack
|
2308
|
-
.split('\n') // Remove this file from the stack (jest-message-utils will keep one line)
|
2309
|
-
.filter(line => line.indexOf(__filename) === -1)
|
2310
|
-
.join('\n');
|
2311
|
-
const {message, stack} = (0, _jestMessageUtil().separateMessageFromStack)(
|
2312
|
-
originalStack
|
2313
|
-
);
|
2314
|
-
console.error(
|
2315
|
-
`\n${message}\n` +
|
2316
|
-
(0, _jestMessageUtil().formatStackTrace)(stack, this._config, {
|
2317
|
-
noStackTrace: false
|
2318
|
-
})
|
2319
|
-
);
|
2320
|
-
}
|
2321
|
-
|
2322
|
-
wrapCodeInModuleWrapper(content) {
|
2323
|
-
return this.constructModuleWrapperStart() + content + '\n}});';
|
2324
|
-
}
|
2325
|
-
|
2326
|
-
constructModuleWrapperStart() {
|
2327
|
-
const args = this.constructInjectedModuleParameters();
|
2328
|
-
return '({"' + EVAL_RESULT_VARIABLE + `":function(${args.join(',')}){`;
|
2329
|
-
}
|
2330
|
-
|
2331
|
-
constructInjectedModuleParameters() {
|
2332
|
-
return [
|
2333
|
-
'module',
|
2334
|
-
'exports',
|
2335
|
-
'require',
|
2336
|
-
'__dirname',
|
2337
|
-
'__filename',
|
2338
|
-
this._config.injectGlobals ? 'jest' : undefined,
|
2339
|
-
...this._config.extraGlobals
|
2340
|
-
].filter(notEmpty);
|
2341
|
-
}
|
2342
|
-
|
2343
|
-
handleExecutionError(e, module) {
|
2344
|
-
const moduleNotFoundError =
|
2345
|
-
_jestResolve().default.tryCastModuleNotFoundError(e);
|
2346
|
-
|
2347
|
-
if (moduleNotFoundError) {
|
2348
|
-
if (!moduleNotFoundError.requireStack) {
|
2349
|
-
moduleNotFoundError.requireStack = [module.filename || module.id];
|
2350
|
-
|
2351
|
-
for (let cursor = module.parent; cursor; cursor = cursor.parent) {
|
2352
|
-
moduleNotFoundError.requireStack.push(cursor.filename || cursor.id);
|
2353
|
-
}
|
2354
|
-
|
2355
|
-
moduleNotFoundError.buildMessage(this._config.rootDir);
|
2356
|
-
}
|
2357
|
-
|
2358
|
-
throw moduleNotFoundError;
|
2359
|
-
}
|
2360
|
-
|
2361
|
-
throw e;
|
2362
|
-
}
|
2363
|
-
|
2364
|
-
getGlobalsForCjs(from) {
|
2365
|
-
const jest = this.jestObjectCaches.get(from);
|
2366
|
-
invariant(jest, 'There should always be a Jest object already');
|
2367
|
-
return {...this.getGlobalsFromEnvironment(), jest};
|
2368
|
-
}
|
2369
|
-
|
2370
|
-
getGlobalsForEsm(from, context) {
|
2371
|
-
let jest = this.jestObjectCaches.get(from);
|
2372
|
-
|
2373
|
-
if (!jest) {
|
2374
|
-
jest = this._createJestObjectFor(from);
|
2375
|
-
this.jestObjectCaches.set(from, jest);
|
2376
|
-
}
|
2377
|
-
|
2378
|
-
const globals = {...this.getGlobalsFromEnvironment(), jest};
|
2379
|
-
const module = new (_vm().SyntheticModule)(
|
2380
|
-
Object.keys(globals),
|
2381
|
-
function () {
|
2382
|
-
Object.entries(globals).forEach(([key, value]) => {
|
2383
|
-
// @ts-expect-error: TS doesn't know what `this` is
|
2384
|
-
this.setExport(key, value);
|
2385
|
-
});
|
2386
|
-
},
|
2387
|
-
{
|
2388
|
-
context,
|
2389
|
-
identifier: '@jest/globals'
|
2390
|
-
}
|
2391
|
-
);
|
2392
|
-
return evaluateSyntheticModule(module);
|
2393
|
-
}
|
2394
|
-
|
2395
|
-
getGlobalsFromEnvironment() {
|
2396
|
-
if (this.jestGlobals) {
|
2397
|
-
return {...this.jestGlobals};
|
2398
|
-
}
|
2399
|
-
|
2400
|
-
return {
|
2401
|
-
afterAll: this._environment.global.afterAll,
|
2402
|
-
afterEach: this._environment.global.afterEach,
|
2403
|
-
beforeAll: this._environment.global.beforeAll,
|
2404
|
-
beforeEach: this._environment.global.beforeEach,
|
2405
|
-
describe: this._environment.global.describe,
|
2406
|
-
expect: this._environment.global.expect,
|
2407
|
-
fdescribe: this._environment.global.fdescribe,
|
2408
|
-
fit: this._environment.global.fit,
|
2409
|
-
it: this._environment.global.it,
|
2410
|
-
test: this._environment.global.test,
|
2411
|
-
xdescribe: this._environment.global.xdescribe,
|
2412
|
-
xit: this._environment.global.xit,
|
2413
|
-
xtest: this._environment.global.xtest
|
2414
|
-
};
|
2415
|
-
}
|
2416
|
-
|
2417
|
-
readFile(filename) {
|
2418
|
-
let source = this._cacheFS.get(filename);
|
2419
|
-
|
2420
|
-
if (!source) {
|
2421
|
-
source = fs().readFileSync(filename, 'utf8');
|
2422
|
-
|
2423
|
-
this._cacheFS.set(filename, source);
|
2424
|
-
}
|
2425
|
-
|
2426
|
-
return source;
|
2427
|
-
}
|
2428
|
-
|
2429
|
-
setGlobalsForRuntime(globals) {
|
2430
|
-
this.jestGlobals = globals;
|
2431
|
-
}
|
2432
|
-
}
|
2433
|
-
|
2434
|
-
exports.default = Runtime;
|
2435
|
-
|
2436
|
-
_defineProperty(Runtime, 'shouldInstrument', _transform().shouldInstrument);
|
2437
|
-
|
2438
|
-
function invariant(condition, message) {
|
2439
|
-
if (!condition) {
|
2440
|
-
throw new Error(message);
|
2441
|
-
}
|
2442
|
-
}
|
2443
|
-
|
2444
|
-
function notEmpty(value) {
|
2445
|
-
return value !== null && value !== undefined;
|
2446
|
-
}
|
2447
|
-
|
2448
|
-
async function evaluateSyntheticModule(module) {
|
2449
|
-
await module.link(() => {
|
2450
|
-
throw new Error('This should never happen');
|
2451
|
-
});
|
2452
|
-
await module.evaluate();
|
2453
|
-
return module;
|
2454
|
-
}
|