decidim 0.26.2 → 0.26.3
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 +22 -4
- data/lib/decidim/gem_manager.rb +23 -4
- data/lib/decidim/version.rb +1 -1
- data/package-lock.json +7 -7
- data/packages/browserslist-config/package.json +1 -1
- data/packages/core/node_modules/@rails/activestorage/CHANGELOG.md +306 -0
- data/packages/core/node_modules/@rails/activestorage/README.md +194 -0
- data/packages/core/node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js +942 -0
- data/packages/core/node_modules/@rails/activestorage/package.json +41 -0
- data/packages/core/node_modules/@rails/activestorage/src/blob_record.js +73 -0
- data/packages/core/node_modules/@rails/activestorage/src/blob_upload.js +35 -0
- data/packages/core/node_modules/@rails/activestorage/src/direct_upload.js +48 -0
- data/packages/core/node_modules/@rails/activestorage/src/direct_upload_controller.js +67 -0
- data/packages/core/node_modules/@rails/activestorage/src/direct_uploads_controller.js +50 -0
- data/packages/core/node_modules/@rails/activestorage/src/file_checksum.js +53 -0
- data/packages/core/node_modules/@rails/activestorage/src/helpers.js +51 -0
- data/packages/core/node_modules/@rails/activestorage/src/index.js +11 -0
- data/packages/core/node_modules/@rails/activestorage/src/ujs.js +86 -0
- 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/node_modules/@eslint/eslintrc/LICENSE +21 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/README.md +61 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/conf/environments.js +203 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1092 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4295 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +533 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1133 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/flat-compat.js +307 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/package.json +81 -0
- data/packages/webpacker/node_modules/@eslint/eslintrc/universal.js +9 -0
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/CHANGELOG.md +71 -0
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/README.md +301 -0
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/api.js +695 -0
- data/packages/webpacker/node_modules/@humanwhocodes/config-array/package.json +61 -0
- data/packages/webpacker/node_modules/@jest/console/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.d.ts +37 -0
- data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.js +258 -0
- data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.d.ts +41 -0
- data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.js +240 -0
- data/packages/webpacker/node_modules/@jest/console/build/NullConsole.d.ts +23 -0
- data/packages/webpacker/node_modules/@jest/console/build/NullConsole.js +50 -0
- data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.d.ts +10 -0
- data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.js +101 -0
- data/packages/webpacker/node_modules/@jest/console/build/index.d.ts +11 -0
- data/packages/webpacker/node_modules/@jest/console/build/index.js +41 -0
- data/packages/webpacker/node_modules/@jest/console/build/types.d.ts +20 -0
- data/packages/webpacker/node_modules/@jest/console/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/console/package.json +38 -0
- data/packages/webpacker/node_modules/@jest/core/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/core/README.md +3 -0
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.d.ts +12 -0
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.js +59 -0
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts +31 -0
- data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.js +262 -0
- data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts +22 -0
- data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.js +104 -0
- data/packages/webpacker/node_modules/@jest/core/build/SearchSource.d.ts +46 -0
- data/packages/webpacker/node_modules/@jest/core/build/SearchSource.js +490 -0
- data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts +30 -0
- data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.js +327 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.d.ts +17 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.js +86 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.d.ts +24 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.js +81 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.d.ts +42 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.js +570 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.d.ts +23 -0
- data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.js +64 -0
- 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 +12 -0
- data/packages/webpacker/node_modules/@jest/core/build/cli/index.js +399 -0
- data/packages/webpacker/node_modules/@jest/core/build/collectHandles.d.ts +10 -0
- data/packages/webpacker/node_modules/@jest/core/build/collectHandles.js +269 -0
- data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.js +77 -0
- data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js +28 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.js +63 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.js +51 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts +7 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js +30 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js +57 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.js +95 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.js +52 -0
- data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.js +23 -0
- data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.js +49 -0
- data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.js +65 -0
- data/packages/webpacker/node_modules/@jest/core/build/jest.d.ts +11 -0
- data/packages/webpacker/node_modules/@jest/core/build/jest.js +49 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.js +54 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.d.ts +10 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.js +35 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js +72 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js +29 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.js +23 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts +11 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.js +121 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts +10 -0
- data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.js +62 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts +17 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js +135 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.d.ts +18 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.js +60 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.d.ts +21 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.js +91 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.d.ts +21 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.js +91 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts +21 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.js +70 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts +20 -0
- data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js +138 -0
- data/packages/webpacker/node_modules/@jest/core/build/pluralize.d.ts +7 -0
- data/packages/webpacker/node_modules/@jest/core/build/pluralize.js +16 -0
- data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.d.ts +13 -0
- data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.js +143 -0
- data/packages/webpacker/node_modules/@jest/core/build/runJest.d.ts +27 -0
- data/packages/webpacker/node_modules/@jest/core/build/runJest.js +423 -0
- data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.js +51 -0
- data/packages/webpacker/node_modules/@jest/core/build/types.d.ts +39 -0
- data/packages/webpacker/node_modules/@jest/core/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/core/build/version.d.ts +7 -0
- data/packages/webpacker/node_modules/@jest/core/build/version.js +19 -0
- data/packages/webpacker/node_modules/@jest/core/build/watch.d.ts +13 -0
- data/packages/webpacker/node_modules/@jest/core/build/watch.js +769 -0
- data/packages/webpacker/node_modules/@jest/core/package.json +103 -0
- data/packages/webpacker/node_modules/@jest/environment/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/environment/build/index.d.ts +267 -0
- data/packages/webpacker/node_modules/@jest/environment/build/index.js +1 -0
- data/packages/webpacker/node_modules/@jest/environment/package.json +32 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/index.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/index.js +25 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts +67 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.js +673 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts +34 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.js +181 -0
- data/packages/webpacker/node_modules/@jest/fake-timers/package.json +37 -0
- data/packages/webpacker/node_modules/@jest/globals/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/globals/build/index.d.ts +23 -0
- data/packages/webpacker/node_modules/@jest/globals/build/index.js +25 -0
- data/packages/webpacker/node_modules/@jest/globals/package.json +31 -0
- data/packages/webpacker/node_modules/@jest/reporters/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.d.ts +19 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.js +65 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.d.ts +24 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.js +668 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.d.ts +17 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.js +103 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.d.ts +33 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.js +254 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.d.ts +19 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.js +256 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/Status.d.ts +42 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/Status.js +272 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.d.ts +22 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.js +271 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.d.ts +27 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.js +226 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts +19 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.js +168 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.js +104 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.js +111 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.js +203 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.js +47 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/index.d.ts +27 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/index.js +78 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/types.d.ts +75 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/utils.d.ts +18 -0
- data/packages/webpacker/node_modules/@jest/reporters/build/utils.js +435 -0
- data/packages/webpacker/node_modules/@jest/reporters/package.json +80 -0
- data/packages/webpacker/node_modules/@jest/source-map/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.js +108 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/index.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/index.js +17 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/types.d.ts +7 -0
- data/packages/webpacker/node_modules/@jest/source-map/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/source-map/package.json +34 -0
- data/packages/webpacker/node_modules/@jest/test-result/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.d.ts +8 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.js +70 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/helpers.d.ts +12 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/helpers.js +188 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/index.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/index.js +43 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/types.d.ts +171 -0
- data/packages/webpacker/node_modules/@jest/test-result/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/test-result/package.json +32 -0
- data/packages/webpacker/node_modules/@jest/test-sequencer/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.d.ts +51 -0
- data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.js +237 -0
- data/packages/webpacker/node_modules/@jest/test-sequencer/package.json +35 -0
- data/packages/webpacker/node_modules/@jest/transform/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.d.ts +40 -0
- data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.js +1115 -0
- data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts +12 -0
- data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js +83 -0
- data/packages/webpacker/node_modules/@jest/transform/build/index.d.ts +11 -0
- data/packages/webpacker/node_modules/@jest/transform/build/index.js +41 -0
- data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts +10 -0
- data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js +101 -0
- data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.d.ts +9 -0
- data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.js +207 -0
- data/packages/webpacker/node_modules/@jest/transform/build/types.d.ts +75 -0
- data/packages/webpacker/node_modules/@jest/transform/build/types.js +1 -0
- data/packages/webpacker/node_modules/@jest/transform/package.json +53 -0
- data/packages/webpacker/node_modules/@jest/types/LICENSE +21 -0
- data/packages/webpacker/node_modules/@jest/types/build/Circus.d.ts +193 -0
- data/packages/webpacker/node_modules/@jest/types/build/Circus.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/build/Config.d.ts +462 -0
- data/packages/webpacker/node_modules/@jest/types/build/Config.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/build/Global.d.ts +95 -0
- data/packages/webpacker/node_modules/@jest/types/build/Global.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/build/TestResult.d.ts +31 -0
- data/packages/webpacker/node_modules/@jest/types/build/TestResult.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/build/Transform.d.ts +11 -0
- data/packages/webpacker/node_modules/@jest/types/build/Transform.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/build/index.d.ts +12 -0
- data/packages/webpacker/node_modules/@jest/types/build/index.js +1 -0
- data/packages/webpacker/node_modules/@jest/types/package.json +37 -0
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/CHANGELOG.md +441 -0
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/LICENSE +11 -0
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/README.md +353 -0
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/package.json +71 -0
- data/packages/webpacker/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +1728 -0
- data/packages/webpacker/node_modules/@types/yargs/LICENSE +21 -0
- data/packages/webpacker/node_modules/@types/yargs/README.md +16 -0
- data/packages/webpacker/node_modules/@types/yargs/helpers.d.ts +5 -0
- data/packages/webpacker/node_modules/@types/yargs/index.d.ts +844 -0
- data/packages/webpacker/node_modules/@types/yargs/package.json +62 -0
- data/packages/webpacker/node_modules/@types/yargs/yargs.d.ts +9 -0
- data/packages/webpacker/node_modules/acorn/CHANGELOG.md +788 -0
- data/packages/webpacker/node_modules/acorn/LICENSE +21 -0
- data/packages/webpacker/node_modules/acorn/README.md +280 -0
- data/packages/webpacker/node_modules/acorn/bin/acorn +4 -0
- data/packages/webpacker/node_modules/acorn/dist/acorn.d.ts +214 -0
- data/packages/webpacker/node_modules/acorn/dist/acorn.js +5619 -0
- data/packages/webpacker/node_modules/acorn/dist/acorn.mjs +5588 -0
- data/packages/webpacker/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- data/packages/webpacker/node_modules/acorn/dist/bin.js +91 -0
- data/packages/webpacker/node_modules/acorn/package.json +46 -0
- data/packages/webpacker/node_modules/ansi-styles/index.d.ts +345 -0
- data/packages/webpacker/node_modules/ansi-styles/index.js +163 -0
- data/packages/webpacker/node_modules/ansi-styles/license +9 -0
- data/packages/webpacker/node_modules/ansi-styles/package.json +56 -0
- data/packages/webpacker/node_modules/ansi-styles/readme.md +152 -0
- data/packages/webpacker/node_modules/babel-jest/LICENSE +21 -0
- data/packages/webpacker/node_modules/babel-jest/README.md +25 -0
- data/packages/webpacker/node_modules/babel-jest/build/index.d.ts +10 -0
- data/packages/webpacker/node_modules/babel-jest/build/index.js +386 -0
- data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.d.ts +7 -0
- data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.js +27 -0
- data/packages/webpacker/node_modules/babel-jest/package.json +45 -0
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/LICENSE +21 -0
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/README.md +33 -0
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.d.ts +13 -0
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.js +389 -0
- data/packages/webpacker/node_modules/babel-plugin-jest-hoist/package.json +41 -0
- data/packages/webpacker/node_modules/babel-preset-jest/LICENSE +21 -0
- data/packages/webpacker/node_modules/babel-preset-jest/README.md +33 -0
- data/packages/webpacker/node_modules/babel-preset-jest/index.js +14 -0
- data/packages/webpacker/node_modules/babel-preset-jest/package.json +29 -0
- data/packages/webpacker/node_modules/camelcase/index.d.ts +103 -0
- data/packages/webpacker/node_modules/camelcase/index.js +113 -0
- data/packages/webpacker/node_modules/camelcase/license +9 -0
- data/packages/webpacker/node_modules/camelcase/package.json +44 -0
- data/packages/webpacker/node_modules/camelcase/readme.md +144 -0
- data/packages/webpacker/node_modules/chalk/index.d.ts +415 -0
- data/packages/webpacker/node_modules/chalk/license +9 -0
- data/packages/webpacker/node_modules/chalk/package.json +68 -0
- data/packages/webpacker/node_modules/chalk/readme.md +341 -0
- data/packages/webpacker/node_modules/chalk/source/index.js +229 -0
- data/packages/webpacker/node_modules/chalk/source/templates.js +134 -0
- data/packages/webpacker/node_modules/chalk/source/util.js +39 -0
- data/packages/webpacker/node_modules/ci-info/CHANGELOG.md +122 -0
- data/packages/webpacker/node_modules/ci-info/LICENSE +21 -0
- data/packages/webpacker/node_modules/ci-info/README.md +118 -0
- data/packages/webpacker/node_modules/ci-info/index.d.ts +62 -0
- data/packages/webpacker/node_modules/ci-info/index.js +66 -0
- data/packages/webpacker/node_modules/ci-info/package.json +36 -0
- data/packages/webpacker/node_modules/ci-info/vendors.json +210 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/CHANGELOG.md +40 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/LICENSE +10 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/README.md +453 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.js +1 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.mjs +2 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/lexer.d.ts +7 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/lexer.js +1438 -0
- data/packages/webpacker/node_modules/cjs-module-lexer/package.json +43 -0
- data/packages/webpacker/node_modules/cliui/CHANGELOG.md +121 -0
- data/packages/webpacker/node_modules/cliui/LICENSE.txt +14 -0
- data/packages/webpacker/node_modules/cliui/README.md +141 -0
- data/packages/webpacker/node_modules/cliui/build/index.cjs +302 -0
- data/packages/webpacker/node_modules/cliui/build/lib/index.js +287 -0
- data/packages/webpacker/node_modules/cliui/build/lib/string-utils.js +27 -0
- data/packages/webpacker/node_modules/cliui/index.mjs +13 -0
- data/packages/webpacker/node_modules/cliui/package.json +83 -0
- data/packages/webpacker/node_modules/color-convert/CHANGELOG.md +54 -0
- data/packages/webpacker/node_modules/color-convert/LICENSE +21 -0
- data/packages/webpacker/node_modules/color-convert/README.md +68 -0
- data/packages/webpacker/node_modules/color-convert/conversions.js +839 -0
- data/packages/webpacker/node_modules/color-convert/index.js +81 -0
- data/packages/webpacker/node_modules/color-convert/package.json +48 -0
- data/packages/webpacker/node_modules/color-convert/route.js +97 -0
- data/packages/webpacker/node_modules/color-name/LICENSE +8 -0
- data/packages/webpacker/node_modules/color-name/README.md +11 -0
- data/packages/webpacker/node_modules/color-name/index.js +152 -0
- data/packages/webpacker/node_modules/color-name/package.json +28 -0
- data/packages/webpacker/node_modules/diff-sequences/LICENSE +21 -0
- data/packages/webpacker/node_modules/diff-sequences/README.md +404 -0
- data/packages/webpacker/node_modules/diff-sequences/build/index.d.ts +18 -0
- data/packages/webpacker/node_modules/diff-sequences/build/index.js +816 -0
- data/packages/webpacker/node_modules/diff-sequences/package.json +42 -0
- data/packages/webpacker/node_modules/diff-sequences/perf/example.md +48 -0
- data/packages/webpacker/node_modules/diff-sequences/perf/index.js +170 -0
- data/packages/webpacker/node_modules/emittery/index.d.ts +432 -0
- data/packages/webpacker/node_modules/emittery/index.js +408 -0
- data/packages/webpacker/node_modules/emittery/license +9 -0
- data/packages/webpacker/node_modules/emittery/package.json +66 -0
- data/packages/webpacker/node_modules/emittery/readme.md +409 -0
- data/packages/webpacker/node_modules/escape-string-regexp/index.d.ts +18 -0
- data/packages/webpacker/node_modules/escape-string-regexp/index.js +13 -0
- data/packages/webpacker/node_modules/escape-string-regexp/license +9 -0
- data/packages/webpacker/node_modules/escape-string-regexp/package.json +38 -0
- data/packages/webpacker/node_modules/escape-string-regexp/readme.md +34 -0
- data/packages/webpacker/node_modules/eslint/LICENSE +19 -0
- data/packages/webpacker/node_modules/eslint/README.md +304 -0
- data/packages/webpacker/node_modules/eslint/bin/eslint.js +142 -0
- data/packages/webpacker/node_modules/eslint/conf/config-schema.js +93 -0
- data/packages/webpacker/node_modules/eslint/conf/default-cli-options.js +32 -0
- data/packages/webpacker/node_modules/eslint/conf/eslint-all.js +31 -0
- data/packages/webpacker/node_modules/eslint/conf/eslint-recommended.js +76 -0
- data/packages/webpacker/node_modules/eslint/conf/globals.js +144 -0
- data/packages/webpacker/node_modules/eslint/conf/replacements.json +22 -0
- data/packages/webpacker/node_modules/eslint/conf/rule-type-list.json +36 -0
- data/packages/webpacker/node_modules/eslint/lib/api.js +26 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/cli-engine.js +1068 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/file-enumerator.js +543 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/html.js +324 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/index.js +7 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/lint-result-cache.js +191 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- data/packages/webpacker/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- data/packages/webpacker/node_modules/eslint/lib/cli.js +344 -0
- data/packages/webpacker/node_modules/eslint/lib/config/default-config.js +61 -0
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-array.js +134 -0
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-helpers.js +103 -0
- data/packages/webpacker/node_modules/eslint/lib/config/flat-config-schema.js +457 -0
- data/packages/webpacker/node_modules/eslint/lib/config/rule-validator.js +157 -0
- data/packages/webpacker/node_modules/eslint/lib/eslint/eslint.js +712 -0
- data/packages/webpacker/node_modules/eslint/lib/eslint/index.js +7 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/apply-disable-directives.js +341 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +844 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +235 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +1483 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +247 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +248 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/config-comment-parser.js +145 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/index.js +13 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/interpolate.js +28 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/linter.js +2004 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/report-translator.js +368 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/rules.js +80 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- data/packages/webpacker/node_modules/eslint/lib/linter/timing.js +160 -0
- data/packages/webpacker/node_modules/eslint/lib/options.js +323 -0
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1039 -0
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/index.js +5 -0
- data/packages/webpacker/node_modules/eslint/lib/rule-tester/rule-tester.js +1008 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/accessor-pairs.js +354 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-newline.js +258 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-spacing.js +241 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/array-callback-return.js +296 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/array-element-newline.js +301 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-parens.js +183 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/arrow-spacing.js +161 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/block-scoped-var.js +124 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/block-spacing.js +171 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/brace-style.js +194 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/callback-return.js +187 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/camelcase.js +398 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-dangle.js +350 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-spacing.js +195 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/comma-style.js +311 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/complexity.js +165 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/computed-property-spacing.js +205 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/consistent-return.js +185 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/consistent-this.js +151 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/constructor-super.js +423 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/curly.js +486 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/default-case.js +97 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/dot-location.js +105 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/dot-notation.js +177 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/eol-last.js +112 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/for-direction.js +126 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/func-call-spacing.js +230 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/func-names.js +191 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/func-style.js +98 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/function-call-argument-newline.js +122 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/function-paren-newline.js +286 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/generator-star-spacing.js +206 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/getter-return.js +173 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/global-require.js +87 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +224 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/handle-callback-err.js +100 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/id-blacklist.js +245 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/id-denylist.js +227 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/id-length.js +169 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/id-match.js +298 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +81 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/indent.js +1764 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/index.js +301 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/jsx-quotes.js +95 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/key-spacing.js +675 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/keyword-spacing.js +637 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/linebreak-style.js +105 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-comment.js +450 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/lines-between-class-members.js +181 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-depth.js +156 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-len.js +433 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-lines.js +193 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-params.js +102 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-statements-per-line.js +196 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/max-statements.js +184 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/multiline-comment-style.js +435 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/multiline-ternary.js +171 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/new-cap.js +276 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/new-parens.js +99 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-after-var.js +255 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/newline-per-chained-call.js +123 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-alert.js +136 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-array-constructor.js +54 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-caller.js +46 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-catch-shadow.js +80 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-class-assign.js +61 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-confusing-arrow.js +89 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-console.js +134 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-const-assign.js +54 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-constant-condition.js +315 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-continue.js +39 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-control-regex.js +112 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-args.js +80 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-else-return.js +404 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-character-class.js +55 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-pattern.js +43 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-empty.js +86 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-eval.js +281 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-ex-assign.js +52 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extend-native.js +178 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-parens.js +1235 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-semi.js +126 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-fallthrough.js +147 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-floating-decimal.js +70 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-func-assign.js +76 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-global-assign.js +94 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-coercion.js +361 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-globals.js +140 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-implied-eval.js +131 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-import-assign.js +239 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-regexp.js +157 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-irregular-whitespace.js +259 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-label-var.js +79 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-labels.js +149 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-lone-blocks.js +134 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-lonely-if.js +89 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-loop-func.js +204 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-loss-of-precision.js +206 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-magic-numbers.js +226 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-misleading-character-class.js +200 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-operators.js +226 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +113 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-spaces.js +138 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +151 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-native-reassign.js +97 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-func.js +86 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-object.js +57 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-symbol.js +54 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new-wrappers.js +48 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-new.js +43 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-obj-calls.js +84 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-octal.js +45 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-param-reassign.js +229 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-promise-executor-return.js +121 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-proto.js +48 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-prototype-builtins.js +71 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-regex-spaces.js +180 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-exports.js +96 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-globals.js +122 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-imports.js +322 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-modules.js +216 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-properties.js +181 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-return-await.js +103 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-setter-return.js +225 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +64 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow.js +335 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-sync.js +64 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-tabs.js +78 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-this-before-super.js +304 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-trailing-spaces.js +190 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undef.js +78 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-undefined.js +84 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-underscore-dangle.js +280 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable-loop.js +150 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable.js +264 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-expressions.js +189 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-labels.js +110 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-vars.js +690 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-use-before-define.js +334 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-backreference.js +192 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-escape.js +254 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-return.js +305 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-var.js +334 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-void.js +64 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-warning-comments.js +196 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-whitespace-before-property.js +113 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/no-with.js +39 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +124 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-newline.js +321 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-spacing.js +308 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/object-property-newline.js +99 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/object-shorthand.js +504 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +92 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/one-var.js +567 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/operator-assignment.js +207 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/operator-linebreak.js +250 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/padded-blocks.js +307 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/padding-line-between-statements.js +634 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-arrow-callback.js +380 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-const.js +489 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +190 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-named-capture-group.js +110 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-has-own.js +112 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-spread.js +299 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +131 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-regex-literals.js +396 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-rest-params.js +115 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/quote-props.js +307 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/quotes.js +347 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/radix.js +198 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/require-atomic-updates.js +317 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/require-await.js +113 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/require-unicode-regexp.js +69 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/require-yield.js +78 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/rest-spread-spacing.js +120 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/semi-spacing.js +245 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/semi-style.js +155 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/semi.js +410 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-keys.js +187 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/space-before-blocks.js +201 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/space-before-function-paren.js +164 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/space-in-parens.js +282 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/space-infix-ops.js +195 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/space-unary-ops.js +321 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/spaced-comment.js +382 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/strict.js +277 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/switch-colon-spacing.js +129 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/symbol-description.js +71 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/template-curly-spacing.js +141 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/template-tag-spacing.js +90 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/ast-utils.js +1922 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/valid-typeof.js +85 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/wrap-iife.js +204 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/wrap-regex.js +59 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/yield-star-spacing.js +127 -0
- data/packages/webpacker/node_modules/eslint/lib/rules/yoda.js +362 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/ajv.js +34 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/config-validator.js +347 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/deprecation-warnings.js +65 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/logging.js +30 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/string-utils.js +22 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/traverser.js +195 -0
- data/packages/webpacker/node_modules/eslint/lib/shared/types.js +175 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/index.js +5 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/source-code.js +593 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/utils.js +92 -0
- data/packages/webpacker/node_modules/eslint/lib/unsupported-api.js +23 -0
- data/packages/webpacker/node_modules/eslint/messages/all-files-ignored.js +16 -0
- data/packages/webpacker/node_modules/eslint/messages/extend-config-missing.js +13 -0
- data/packages/webpacker/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- data/packages/webpacker/node_modules/eslint/messages/file-not-found.js +10 -0
- data/packages/webpacker/node_modules/eslint/messages/no-config-found.js +15 -0
- data/packages/webpacker/node_modules/eslint/messages/plugin-conflict.js +22 -0
- data/packages/webpacker/node_modules/eslint/messages/plugin-invalid.js +16 -0
- data/packages/webpacker/node_modules/eslint/messages/plugin-missing.js +19 -0
- data/packages/webpacker/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- data/packages/webpacker/node_modules/eslint/messages/whitespace-found.js +11 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/LICENSE +201 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/README.md +107 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/index.js +65 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
- data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +62 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/LICENSE-MIT +21 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/README.md +412 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.d.ts +61 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.js +603 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/legacy.js +498 -0
- data/packages/webpacker/node_modules/eslint/node_modules/ignore/package.json +71 -0
- data/packages/webpacker/node_modules/eslint/package.json +150 -0
- data/packages/webpacker/node_modules/eslint-scope/LICENSE +22 -0
- data/packages/webpacker/node_modules/eslint-scope/README.md +66 -0
- data/packages/webpacker/node_modules/eslint-scope/dist/eslint-scope.cjs +2240 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/definition.js +85 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/index.js +172 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/pattern-visitor.js +153 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/reference.js +166 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/referencer.js +654 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/scope-manager.js +255 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/scope.js +772 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/variable.js +87 -0
- data/packages/webpacker/node_modules/eslint-scope/lib/version.js +3 -0
- data/packages/webpacker/node_modules/eslint-scope/package.json +62 -0
- data/packages/webpacker/node_modules/eslint-utils/LICENSE +21 -0
- data/packages/webpacker/node_modules/eslint-utils/README.md +38 -0
- data/packages/webpacker/node_modules/eslint-utils/index.js +1956 -0
- data/packages/webpacker/node_modules/eslint-utils/index.js.map +1 -0
- data/packages/webpacker/node_modules/eslint-utils/index.mjs +1914 -0
- data/packages/webpacker/node_modules/eslint-utils/index.mjs.map +1 -0
- data/packages/webpacker/node_modules/eslint-utils/package.json +78 -0
- data/packages/webpacker/node_modules/espree/LICENSE +25 -0
- data/packages/webpacker/node_modules/espree/README.md +250 -0
- data/packages/webpacker/node_modules/espree/dist/espree.cjs +917 -0
- data/packages/webpacker/node_modules/espree/espree.js +173 -0
- data/packages/webpacker/node_modules/espree/lib/espree.js +328 -0
- data/packages/webpacker/node_modules/espree/lib/features.js +27 -0
- data/packages/webpacker/node_modules/espree/lib/options.js +121 -0
- data/packages/webpacker/node_modules/espree/lib/token-translator.js +265 -0
- data/packages/webpacker/node_modules/espree/lib/version.js +3 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/LICENSE +201 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/README.md +107 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js +65 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
- data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/package.json +62 -0
- data/packages/webpacker/node_modules/espree/package.json +86 -0
- data/packages/webpacker/node_modules/execa/index.d.ts +564 -0
- data/packages/webpacker/node_modules/execa/index.js +268 -0
- data/packages/webpacker/node_modules/execa/lib/command.js +52 -0
- data/packages/webpacker/node_modules/execa/lib/error.js +88 -0
- data/packages/webpacker/node_modules/execa/lib/kill.js +115 -0
- data/packages/webpacker/node_modules/execa/lib/promise.js +46 -0
- data/packages/webpacker/node_modules/execa/lib/stdio.js +52 -0
- data/packages/webpacker/node_modules/execa/lib/stream.js +97 -0
- data/packages/webpacker/node_modules/execa/license +9 -0
- data/packages/webpacker/node_modules/execa/package.json +74 -0
- data/packages/webpacker/node_modules/execa/readme.md +663 -0
- data/packages/webpacker/node_modules/expect/LICENSE +21 -0
- data/packages/webpacker/node_modules/expect/README.md +3 -0
- data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.d.ts +75 -0
- data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.js +432 -0
- data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.d.ts +10 -0
- data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.js +90 -0
- data/packages/webpacker/node_modules/expect/build/index.d.ts +15 -0
- data/packages/webpacker/node_modules/expect/build/index.js +485 -0
- data/packages/webpacker/node_modules/expect/build/jasmineUtils.d.ts +8 -0
- data/packages/webpacker/node_modules/expect/build/jasmineUtils.js +279 -0
- data/packages/webpacker/node_modules/expect/build/jestMatchersObject.d.ts +13 -0
- data/packages/webpacker/node_modules/expect/build/jestMatchersObject.js +120 -0
- data/packages/webpacker/node_modules/expect/build/matchers.d.ts +10 -0
- data/packages/webpacker/node_modules/expect/build/matchers.js +1370 -0
- data/packages/webpacker/node_modules/expect/build/print.d.ts +15 -0
- data/packages/webpacker/node_modules/expect/build/print.js +141 -0
- data/packages/webpacker/node_modules/expect/build/spyMatchers.d.ts +9 -0
- data/packages/webpacker/node_modules/expect/build/spyMatchers.js +1339 -0
- data/packages/webpacker/node_modules/expect/build/toThrowMatchers.d.ts +11 -0
- data/packages/webpacker/node_modules/expect/build/toThrowMatchers.js +464 -0
- data/packages/webpacker/node_modules/expect/build/types.d.ts +327 -0
- data/packages/webpacker/node_modules/expect/build/types.js +3 -0
- data/packages/webpacker/node_modules/expect/build/utils.d.ts +26 -0
- data/packages/webpacker/node_modules/expect/build/utils.js +458 -0
- data/packages/webpacker/node_modules/expect/package.json +42 -0
- data/packages/webpacker/node_modules/get-stream/buffer-stream.js +52 -0
- data/packages/webpacker/node_modules/get-stream/index.d.ts +105 -0
- data/packages/webpacker/node_modules/get-stream/index.js +61 -0
- data/packages/webpacker/node_modules/get-stream/license +9 -0
- data/packages/webpacker/node_modules/get-stream/package.json +47 -0
- data/packages/webpacker/node_modules/get-stream/readme.md +124 -0
- data/packages/webpacker/node_modules/glob-parent/LICENSE +15 -0
- data/packages/webpacker/node_modules/glob-parent/README.md +134 -0
- data/packages/webpacker/node_modules/glob-parent/index.js +75 -0
- data/packages/webpacker/node_modules/glob-parent/package.json +54 -0
- data/packages/webpacker/node_modules/globals/globals.json +1781 -0
- data/packages/webpacker/node_modules/globals/index.d.ts +6 -0
- data/packages/webpacker/node_modules/globals/index.js +2 -0
- data/packages/webpacker/node_modules/globals/license +9 -0
- data/packages/webpacker/node_modules/globals/package.json +55 -0
- data/packages/webpacker/node_modules/globals/readme.md +56 -0
- data/packages/webpacker/node_modules/has-flag/index.d.ts +39 -0
- data/packages/webpacker/node_modules/has-flag/index.js +8 -0
- data/packages/webpacker/node_modules/has-flag/license +9 -0
- data/packages/webpacker/node_modules/has-flag/package.json +46 -0
- data/packages/webpacker/node_modules/has-flag/readme.md +89 -0
- data/packages/webpacker/node_modules/human-signals/CHANGELOG.md +11 -0
- data/packages/webpacker/node_modules/human-signals/LICENSE +201 -0
- data/packages/webpacker/node_modules/human-signals/README.md +165 -0
- data/packages/webpacker/node_modules/human-signals/build/src/core.js +273 -0
- data/packages/webpacker/node_modules/human-signals/build/src/core.js.map +1 -0
- data/packages/webpacker/node_modules/human-signals/build/src/main.d.ts +52 -0
- data/packages/webpacker/node_modules/human-signals/build/src/main.js +71 -0
- data/packages/webpacker/node_modules/human-signals/build/src/main.js.map +1 -0
- data/packages/webpacker/node_modules/human-signals/build/src/realtime.js +19 -0
- data/packages/webpacker/node_modules/human-signals/build/src/realtime.js.map +1 -0
- data/packages/webpacker/node_modules/human-signals/build/src/signals.js +35 -0
- data/packages/webpacker/node_modules/human-signals/build/src/signals.js.map +1 -0
- data/packages/webpacker/node_modules/human-signals/package.json +64 -0
- data/packages/webpacker/node_modules/jest/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest/README.md +11 -0
- data/packages/webpacker/node_modules/jest/bin/jest.js +13 -0
- data/packages/webpacker/node_modules/jest/build/jest.d.ts +8 -0
- data/packages/webpacker/node_modules/jest/build/jest.js +61 -0
- data/packages/webpacker/node_modules/jest/package.json +68 -0
- data/packages/webpacker/node_modules/jest-changed-files/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-changed-files/README.md +63 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/git.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/git.js +179 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/hg.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/hg.js +133 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/index.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/index.js +86 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/types.d.ts +28 -0
- data/packages/webpacker/node_modules/jest-changed-files/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-changed-files/package.json +31 -0
- data/packages/webpacker/node_modules/jest-cli/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-cli/README.md +11 -0
- data/packages/webpacker/node_modules/jest-cli/bin/jest.js +17 -0
- data/packages/webpacker/node_modules/jest-cli/build/cli/args.d.ts +448 -0
- data/packages/webpacker/node_modules/jest-cli/build/cli/args.js +710 -0
- data/packages/webpacker/node_modules/jest-cli/build/cli/index.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-cli/build/cli/index.js +265 -0
- data/packages/webpacker/node_modules/jest-cli/build/index.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-cli/build/index.js +13 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/errors.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/errors.js +35 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.js +104 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/index.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/index.js +246 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.js +28 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/questions.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/questions.js +76 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/types.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-cli/build/init/types.js +1 -0
- data/packages/webpacker/node_modules/jest-cli/package.json +89 -0
- data/packages/webpacker/node_modules/jest-config/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-config/build/Defaults.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-config/build/Defaults.js +125 -0
- data/packages/webpacker/node_modules/jest-config/build/Deprecated.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-config/build/Deprecated.js +98 -0
- data/packages/webpacker/node_modules/jest-config/build/Descriptions.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-config/build/Descriptions.js +107 -0
- data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.d.ts +19 -0
- data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.js +138 -0
- data/packages/webpacker/node_modules/jest-config/build/ValidConfig.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-config/build/ValidConfig.js +199 -0
- data/packages/webpacker/node_modules/jest-config/build/color.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-config/build/color.js +37 -0
- data/packages/webpacker/node_modules/jest-config/build/constants.d.ts +17 -0
- data/packages/webpacker/node_modules/jest-config/build/constants.js +104 -0
- data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.js +104 -0
- data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.js +65 -0
- data/packages/webpacker/node_modules/jest-config/build/index.d.ts +28 -0
- data/packages/webpacker/node_modules/jest-config/build/index.js +495 -0
- data/packages/webpacker/node_modules/jest-config/build/normalize.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-config/build/normalize.js +1372 -0
- data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +204 -0
- data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.js +247 -0
- data/packages/webpacker/node_modules/jest-config/build/setFromArgv.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-config/build/setFromArgv.js +68 -0
- data/packages/webpacker/node_modules/jest-config/build/utils.d.ts +27 -0
- data/packages/webpacker/node_modules/jest-config/build/utils.js +209 -0
- data/packages/webpacker/node_modules/jest-config/build/validatePattern.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-config/build/validatePattern.js +25 -0
- data/packages/webpacker/node_modules/jest-config/package.json +68 -0
- data/packages/webpacker/node_modules/jest-diff/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-diff/README.md +671 -0
- data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.d.ts +57 -0
- data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.js +655 -0
- data/packages/webpacker/node_modules/jest-diff/build/constants.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-diff/build/constants.js +19 -0
- data/packages/webpacker/node_modules/jest-diff/build/diffLines.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-diff/build/diffLines.js +220 -0
- data/packages/webpacker/node_modules/jest-diff/build/diffStrings.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-diff/build/diffStrings.js +78 -0
- data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.js +244 -0
- data/packages/webpacker/node_modules/jest-diff/build/index.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-diff/build/index.js +267 -0
- data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.js +303 -0
- data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.js +64 -0
- data/packages/webpacker/node_modules/jest-diff/build/printDiffs.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-diff/build/printDiffs.js +85 -0
- data/packages/webpacker/node_modules/jest-diff/build/types.d.ts +48 -0
- data/packages/webpacker/node_modules/jest-diff/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-diff/package.json +36 -0
- data/packages/webpacker/node_modules/jest-docblock/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-docblock/README.md +108 -0
- data/packages/webpacker/node_modules/jest-docblock/build/index.d.ts +19 -0
- data/packages/webpacker/node_modules/jest-docblock/build/index.js +153 -0
- data/packages/webpacker/node_modules/jest-docblock/package.json +32 -0
- data/packages/webpacker/node_modules/jest-each/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-each/README.md +548 -0
- data/packages/webpacker/node_modules/jest-each/build/bind.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-each/build/bind.js +79 -0
- data/packages/webpacker/node_modules/jest-each/build/index.d.ts +79 -0
- data/packages/webpacker/node_modules/jest-each/build/index.js +97 -0
- data/packages/webpacker/node_modules/jest-each/build/table/array.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-each/build/table/array.js +151 -0
- data/packages/webpacker/node_modules/jest-each/build/table/interpolation.d.ts +17 -0
- data/packages/webpacker/node_modules/jest-each/build/table/interpolation.js +69 -0
- data/packages/webpacker/node_modules/jest-each/build/table/template.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-each/build/table/template.js +45 -0
- data/packages/webpacker/node_modules/jest-each/build/validation.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-each/build/validation.js +133 -0
- data/packages/webpacker/node_modules/jest-each/package.json +41 -0
- data/packages/webpacker/node_modules/jest-environment-jsdom/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.d.ts +30 -0
- data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.js +195 -0
- data/packages/webpacker/node_modules/jest-environment-jsdom/package.json +39 -0
- data/packages/webpacker/node_modules/jest-environment-node/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-environment-node/build/index.d.ts +29 -0
- data/packages/webpacker/node_modules/jest-environment-node/build/index.js +184 -0
- data/packages/webpacker/node_modules/jest-environment-node/package.json +37 -0
- data/packages/webpacker/node_modules/jest-get-type/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-get-type/build/index.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-get-type/build/index.js +57 -0
- data/packages/webpacker/node_modules/jest-get-type/package.json +27 -0
- data/packages/webpacker/node_modules/jest-haste-map/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.d.ts +27 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.js +179 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.d.ts +41 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.js +305 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.js +59 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/constants.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/constants.js +52 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.js +309 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.js +385 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.js +76 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/index.d.ts +184 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/index.js +1266 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.js +99 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.js +81 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.js +31 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.js +22 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.js +75 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/types.d.ts +126 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts +44 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js +294 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/NodeWatcher.js +375 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js +57 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js +418 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/watchers/common.js +114 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/worker.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-haste-map/build/worker.js +197 -0
- data/packages/webpacker/node_modules/jest-haste-map/package.json +49 -0
- data/packages/webpacker/node_modules/jest-jasmine2/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.js +16 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.d.ts +17 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.js +139 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.js +156 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/each.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/each.js +44 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.js +66 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.d.ts +16 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.js +93 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/index.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/index.js +247 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/isError.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/isError.js +32 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts +25 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.js +121 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.d.ts +43 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.js +716 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts +31 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js +173 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts +22 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js +127 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.d.ts +81 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.js +298 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts +22 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js +143 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.d.ts +61 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.js +235 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.d.ts +14 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.js +79 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.js +88 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts +27 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js +171 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.js +222 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +259 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.js +69 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.js +78 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.d.ts +29 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.js +127 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.d.ts +31 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.js +250 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.d.ts +16 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.js +121 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.d.ts +26 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.js +82 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/types.d.ts +82 -0
- data/packages/webpacker/node_modules/jest-jasmine2/build/types.js +7 -0
- data/packages/webpacker/node_modules/jest-jasmine2/package.json +48 -0
- data/packages/webpacker/node_modules/jest-leak-detector/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-leak-detector/README.md +27 -0
- data/packages/webpacker/node_modules/jest-leak-detector/build/index.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-leak-detector/build/index.js +135 -0
- data/packages/webpacker/node_modules/jest-leak-detector/package.json +34 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/README.md +24 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.d.ts +17 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.js +82 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +110 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/index.d.ts +53 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/build/index.js +590 -0
- data/packages/webpacker/node_modules/jest-matcher-utils/package.json +37 -0
- data/packages/webpacker/node_modules/jest-message-util/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-message-util/build/index.d.ts +23 -0
- data/packages/webpacker/node_modules/jest-message-util/build/index.js +501 -0
- data/packages/webpacker/node_modules/jest-message-util/build/types.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-message-util/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-message-util/package.json +42 -0
- data/packages/webpacker/node_modules/jest-mock/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-mock/README.md +92 -0
- data/packages/webpacker/node_modules/jest-mock/build/index.d.ts +185 -0
- data/packages/webpacker/node_modules/jest-mock/build/index.js +964 -0
- data/packages/webpacker/node_modules/jest-mock/package.json +30 -0
- data/packages/webpacker/node_modules/jest-regex-util/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-regex-util/build/index.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-regex-util/build/index.js +48 -0
- data/packages/webpacker/node_modules/jest-regex-util/package.json +29 -0
- data/packages/webpacker/node_modules/jest-resolve/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.js +146 -0
- data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.d.ts +29 -0
- data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.js +123 -0
- data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.d.ts +14 -0
- data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.js +214 -0
- data/packages/webpacker/node_modules/jest-resolve/build/index.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-resolve/build/index.js +36 -0
- data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.js +36 -0
- data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.js +128 -0
- data/packages/webpacker/node_modules/jest-resolve/build/resolver.d.ts +58 -0
- data/packages/webpacker/node_modules/jest-resolve/build/resolver.js +595 -0
- data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.js +112 -0
- data/packages/webpacker/node_modules/jest-resolve/build/types.d.ts +23 -0
- data/packages/webpacker/node_modules/jest-resolve/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-resolve/build/utils.d.ts +51 -0
- data/packages/webpacker/node_modules/jest-resolve/build/utils.js +269 -0
- data/packages/webpacker/node_modules/jest-resolve/package.json +42 -0
- data/packages/webpacker/node_modules/jest-resolve-dependencies/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.d.ts +27 -0
- data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.js +238 -0
- data/packages/webpacker/node_modules/jest-resolve-dependencies/package.json +37 -0
- data/packages/webpacker/node_modules/jest-runner/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-runner/build/index.d.ts +24 -0
- data/packages/webpacker/node_modules/jest-runner/build/index.js +300 -0
- data/packages/webpacker/node_modules/jest-runner/build/runTest.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-runner/build/runTest.js +494 -0
- data/packages/webpacker/node_modules/jest-runner/build/testWorker.d.ts +26 -0
- data/packages/webpacker/node_modules/jest-runner/build/testWorker.js +150 -0
- data/packages/webpacker/node_modules/jest-runner/build/types.d.ts +41 -0
- data/packages/webpacker/node_modules/jest-runner/build/types.js +15 -0
- data/packages/webpacker/node_modules/jest-runner/package.json +55 -0
- data/packages/webpacker/node_modules/jest-runtime/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-runtime/build/helpers.d.ts +10 -0
- data/packages/webpacker/node_modules/jest-runtime/build/helpers.js +157 -0
- data/packages/webpacker/node_modules/jest-runtime/build/index.d.ts +142 -0
- data/packages/webpacker/node_modules/jest-runtime/build/index.js +2454 -0
- data/packages/webpacker/node_modules/jest-runtime/build/types.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-runtime/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-runtime/package.json +57 -0
- data/packages/webpacker/node_modules/jest-serializer/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-serializer/README.md +47 -0
- data/packages/webpacker/node_modules/jest-serializer/build/index.d.ts +20 -0
- data/packages/webpacker/node_modules/jest-serializer/build/index.js +109 -0
- data/packages/webpacker/node_modules/jest-serializer/package.json +33 -0
- data/packages/webpacker/node_modules/jest-serializer/v8.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-snapshot/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.js +503 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.js +179 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/State.d.ts +62 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/State.js +389 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/colors.d.ts +15 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/colors.js +38 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.js +149 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/index.d.ts +34 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/index.js +645 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.js +52 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/plugins.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/plugins.js +48 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.d.ts +24 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.js +407 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/types.d.ts +25 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/utils.d.ts +28 -0
- data/packages/webpacker/node_modules/jest-snapshot/build/utils.js +460 -0
- data/packages/webpacker/node_modules/jest-snapshot/package.json +61 -0
- data/packages/webpacker/node_modules/jest-util/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.js +33 -0
- data/packages/webpacker/node_modules/jest-util/build/clearLine.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/clearLine.js +18 -0
- data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
- data/packages/webpacker/node_modules/jest-util/build/createDirectory.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/createDirectory.js +76 -0
- data/packages/webpacker/node_modules/jest-util/build/createProcessObject.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/createProcessObject.js +126 -0
- data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
- data/packages/webpacker/node_modules/jest-util/build/formatTime.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-util/build/formatTime.js +24 -0
- data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.d.ts +27 -0
- data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.js +108 -0
- data/packages/webpacker/node_modules/jest-util/build/index.d.ts +25 -0
- data/packages/webpacker/node_modules/jest-util/build/index.js +209 -0
- data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.js +123 -0
- data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.js +22 -0
- data/packages/webpacker/node_modules/jest-util/build/isInteractive.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/isInteractive.js +27 -0
- data/packages/webpacker/node_modules/jest-util/build/isPromise.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/isPromise.js +20 -0
- data/packages/webpacker/node_modules/jest-util/build/pluralize.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-util/build/pluralize.js +16 -0
- data/packages/webpacker/node_modules/jest-util/build/preRunMessage.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-util/build/preRunMessage.js +48 -0
- data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
- data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.js +91 -0
- data/packages/webpacker/node_modules/jest-util/build/setGlobal.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-util/build/setGlobal.js +17 -0
- data/packages/webpacker/node_modules/jest-util/build/specialChars.d.ts +14 -0
- data/packages/webpacker/node_modules/jest-util/build/specialChars.js +25 -0
- data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
- data/packages/webpacker/node_modules/jest-util/build/tryRealpath.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-util/build/tryRealpath.js +34 -0
- data/packages/webpacker/node_modules/jest-util/package.json +39 -0
- data/packages/webpacker/node_modules/jest-validate/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-validate/README.md +196 -0
- data/packages/webpacker/node_modules/jest-validate/build/condition.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-validate/build/condition.js +48 -0
- data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.js +42 -0
- data/packages/webpacker/node_modules/jest-validate/build/deprecated.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-validate/build/deprecated.js +32 -0
- data/packages/webpacker/node_modules/jest-validate/build/errors.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-validate/build/errors.js +75 -0
- data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.js +36 -0
- data/packages/webpacker/node_modules/jest-validate/build/index.d.ts +11 -0
- data/packages/webpacker/node_modules/jest-validate/build/index.js +61 -0
- data/packages/webpacker/node_modules/jest-validate/build/types.d.ts +26 -0
- data/packages/webpacker/node_modules/jest-validate/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-validate/build/utils.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-validate/build/utils.js +129 -0
- data/packages/webpacker/node_modules/jest-validate/build/validate.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-validate/build/validate.js +131 -0
- data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.d.ts +14 -0
- data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.js +141 -0
- data/packages/webpacker/node_modules/jest-validate/build/warnings.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-validate/build/warnings.js +48 -0
- data/packages/webpacker/node_modules/jest-validate/package.json +37 -0
- data/packages/webpacker/node_modules/jest-watcher/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.d.ts +22 -0
- data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.js +52 -0
- data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.js +91 -0
- data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.d.ts +20 -0
- data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.js +113 -0
- data/packages/webpacker/node_modules/jest-watcher/build/constants.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-watcher/build/constants.js +27 -0
- data/packages/webpacker/node_modules/jest-watcher/build/index.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-watcher/build/index.js +75 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.d.ts +25 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.js +158 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.js +34 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js +81 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts +9 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.js +68 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.d.ts +12 -0
- data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.js +34 -0
- data/packages/webpacker/node_modules/jest-watcher/build/types.d.ts +60 -0
- data/packages/webpacker/node_modules/jest-watcher/build/types.js +1 -0
- data/packages/webpacker/node_modules/jest-watcher/package.json +40 -0
- data/packages/webpacker/node_modules/jest-worker/LICENSE +21 -0
- data/packages/webpacker/node_modules/jest-worker/README.md +247 -0
- data/packages/webpacker/node_modules/jest-worker/build/Farm.d.ts +29 -0
- data/packages/webpacker/node_modules/jest-worker/build/Farm.js +206 -0
- data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.d.ts +18 -0
- data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.js +171 -0
- data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.d.ts +41 -0
- data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.js +188 -0
- data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.d.ts +13 -0
- data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.js +49 -0
- data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +21 -0
- data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
- data/packages/webpacker/node_modules/jest-worker/build/index.d.ts +49 -0
- data/packages/webpacker/node_modules/jest-worker/build/index.js +223 -0
- data/packages/webpacker/node_modules/jest-worker/build/types.d.ts +143 -0
- data/packages/webpacker/node_modules/jest-worker/build/types.js +39 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +51 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +34 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.d.ts +8 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.js +38 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.js +148 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.d.ts +7 -0
- data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.js +159 -0
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/browser.js +24 -0
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/index.js +152 -0
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/license +9 -0
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/package.json +58 -0
- data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/readme.md +77 -0
- data/packages/webpacker/node_modules/jest-worker/package.json +38 -0
- data/packages/webpacker/node_modules/pretty-format/LICENSE +21 -0
- data/packages/webpacker/node_modules/pretty-format/README.md +458 -0
- data/packages/webpacker/node_modules/pretty-format/build/collections.d.ts +32 -0
- data/packages/webpacker/node_modules/pretty-format/build/collections.js +187 -0
- data/packages/webpacker/node_modules/pretty-format/build/index.d.ts +25 -0
- data/packages/webpacker/node_modules/pretty-format/build/index.js +597 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +117 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.js +96 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.js +80 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.js +128 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.js +247 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.d.ts +11 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.js +166 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +18 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.js +79 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +7 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +16 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.d.ts +13 -0
- data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.js +153 -0
- data/packages/webpacker/node_modules/pretty-format/build/types.d.ts +108 -0
- data/packages/webpacker/node_modules/pretty-format/build/types.js +1 -0
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +167 -0
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.js +164 -0
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/license +9 -0
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/package.json +52 -0
- data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/readme.md +144 -0
- data/packages/webpacker/node_modules/pretty-format/package.json +44 -0
- data/packages/webpacker/node_modules/react-is/LICENSE +21 -0
- data/packages/webpacker/node_modules/react-is/README.md +104 -0
- data/packages/webpacker/node_modules/react-is/build-info.json +8 -0
- data/packages/webpacker/node_modules/react-is/cjs/react-is.development.js +226 -0
- data/packages/webpacker/node_modules/react-is/cjs/react-is.production.min.js +14 -0
- data/packages/webpacker/node_modules/react-is/index.js +7 -0
- data/packages/webpacker/node_modules/react-is/package.json +27 -0
- data/packages/webpacker/node_modules/react-is/umd/react-is.development.js +225 -0
- data/packages/webpacker/node_modules/react-is/umd/react-is.production.min.js +14 -0
- data/packages/webpacker/node_modules/semver/CHANGELOG.md +111 -0
- data/packages/webpacker/node_modules/semver/LICENSE +15 -0
- data/packages/webpacker/node_modules/semver/README.md +566 -0
- data/packages/webpacker/node_modules/semver/bin/semver.js +173 -0
- data/packages/webpacker/node_modules/semver/classes/comparator.js +135 -0
- data/packages/webpacker/node_modules/semver/classes/index.js +5 -0
- data/packages/webpacker/node_modules/semver/classes/range.js +510 -0
- data/packages/webpacker/node_modules/semver/classes/semver.js +287 -0
- data/packages/webpacker/node_modules/semver/functions/clean.js +6 -0
- data/packages/webpacker/node_modules/semver/functions/cmp.js +48 -0
- data/packages/webpacker/node_modules/semver/functions/coerce.js +51 -0
- data/packages/webpacker/node_modules/semver/functions/compare-build.js +7 -0
- data/packages/webpacker/node_modules/semver/functions/compare-loose.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/compare.js +5 -0
- data/packages/webpacker/node_modules/semver/functions/diff.js +23 -0
- data/packages/webpacker/node_modules/semver/functions/eq.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/gt.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/gte.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/inc.js +15 -0
- data/packages/webpacker/node_modules/semver/functions/lt.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/lte.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/major.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/minor.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/neq.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/parse.js +33 -0
- data/packages/webpacker/node_modules/semver/functions/patch.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/prerelease.js +6 -0
- data/packages/webpacker/node_modules/semver/functions/rcompare.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/rsort.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/satisfies.js +10 -0
- data/packages/webpacker/node_modules/semver/functions/sort.js +3 -0
- data/packages/webpacker/node_modules/semver/functions/valid.js +6 -0
- data/packages/webpacker/node_modules/semver/index.js +48 -0
- data/packages/webpacker/node_modules/semver/internal/constants.js +17 -0
- data/packages/webpacker/node_modules/semver/internal/debug.js +9 -0
- data/packages/webpacker/node_modules/semver/internal/identifiers.js +23 -0
- data/packages/webpacker/node_modules/semver/internal/parse-options.js +11 -0
- data/packages/webpacker/node_modules/semver/internal/re.js +182 -0
- data/packages/webpacker/node_modules/semver/package.json +41 -0
- data/packages/webpacker/node_modules/semver/preload.js +2 -0
- data/packages/webpacker/node_modules/semver/range.bnf +16 -0
- data/packages/webpacker/node_modules/semver/ranges/gtr.js +4 -0
- data/packages/webpacker/node_modules/semver/ranges/intersects.js +7 -0
- data/packages/webpacker/node_modules/semver/ranges/ltr.js +4 -0
- data/packages/webpacker/node_modules/semver/ranges/max-satisfying.js +25 -0
- data/packages/webpacker/node_modules/semver/ranges/min-satisfying.js +24 -0
- data/packages/webpacker/node_modules/semver/ranges/min-version.js +60 -0
- data/packages/webpacker/node_modules/semver/ranges/outside.js +80 -0
- data/packages/webpacker/node_modules/semver/ranges/simplify.js +44 -0
- data/packages/webpacker/node_modules/semver/ranges/subset.js +222 -0
- data/packages/webpacker/node_modules/semver/ranges/to-comparators.js +8 -0
- data/packages/webpacker/node_modules/semver/ranges/valid.js +11 -0
- data/packages/webpacker/node_modules/source-map/CHANGELOG.md +301 -0
- data/packages/webpacker/node_modules/source-map/LICENSE +28 -0
- data/packages/webpacker/node_modules/source-map/README.md +742 -0
- data/packages/webpacker/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/packages/webpacker/node_modules/source-map/dist/source-map.js +3233 -0
- data/packages/webpacker/node_modules/source-map/dist/source-map.min.js +2 -0
- data/packages/webpacker/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/packages/webpacker/node_modules/source-map/lib/array-set.js +121 -0
- data/packages/webpacker/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/packages/webpacker/node_modules/source-map/lib/base64.js +67 -0
- data/packages/webpacker/node_modules/source-map/lib/binary-search.js +111 -0
- data/packages/webpacker/node_modules/source-map/lib/mapping-list.js +79 -0
- data/packages/webpacker/node_modules/source-map/lib/quick-sort.js +114 -0
- data/packages/webpacker/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/packages/webpacker/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/packages/webpacker/node_modules/source-map/lib/source-node.js +413 -0
- data/packages/webpacker/node_modules/source-map/lib/util.js +488 -0
- data/packages/webpacker/node_modules/source-map/package.json +73 -0
- data/packages/webpacker/node_modules/source-map/source-map.d.ts +98 -0
- data/packages/webpacker/node_modules/source-map/source-map.js +8 -0
- data/packages/webpacker/node_modules/supports-color/browser.js +5 -0
- data/packages/webpacker/node_modules/supports-color/index.js +135 -0
- data/packages/webpacker/node_modules/supports-color/license +9 -0
- data/packages/webpacker/node_modules/supports-color/package.json +53 -0
- data/packages/webpacker/node_modules/supports-color/readme.md +76 -0
- data/packages/webpacker/node_modules/throat/LICENSE +19 -0
- data/packages/webpacker/node_modules/throat/README.md +55 -0
- data/packages/webpacker/node_modules/throat/index.d.ts +32 -0
- data/packages/webpacker/node_modules/throat/index.js +145 -0
- data/packages/webpacker/node_modules/throat/index.js.flow +7 -0
- data/packages/webpacker/node_modules/throat/package.json +47 -0
- data/packages/webpacker/node_modules/type-fest/base.d.ts +38 -0
- data/packages/webpacker/node_modules/type-fest/index.d.ts +2 -0
- data/packages/webpacker/node_modules/type-fest/license +9 -0
- data/packages/webpacker/node_modules/type-fest/package.json +58 -0
- data/packages/webpacker/node_modules/type-fest/readme.md +658 -0
- data/packages/webpacker/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- data/packages/webpacker/node_modules/type-fest/source/asyncify.d.ts +31 -0
- data/packages/webpacker/node_modules/type-fest/source/basic.d.ts +67 -0
- data/packages/webpacker/node_modules/type-fest/source/conditional-except.d.ts +43 -0
- data/packages/webpacker/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
- data/packages/webpacker/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
- data/packages/webpacker/node_modules/type-fest/source/entries.d.ts +57 -0
- data/packages/webpacker/node_modules/type-fest/source/entry.d.ts +60 -0
- data/packages/webpacker/node_modules/type-fest/source/except.d.ts +22 -0
- data/packages/webpacker/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
- data/packages/webpacker/node_modules/type-fest/source/iterable-element.d.ts +46 -0
- data/packages/webpacker/node_modules/type-fest/source/literal-union.d.ts +33 -0
- data/packages/webpacker/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
- data/packages/webpacker/node_modules/type-fest/source/merge.d.ts +22 -0
- data/packages/webpacker/node_modules/type-fest/source/mutable.d.ts +22 -0
- data/packages/webpacker/node_modules/type-fest/source/opaque.d.ts +65 -0
- data/packages/webpacker/node_modules/type-fest/source/package-json.d.ts +611 -0
- data/packages/webpacker/node_modules/type-fest/source/partial-deep.d.ts +72 -0
- data/packages/webpacker/node_modules/type-fest/source/promisable.d.ts +23 -0
- data/packages/webpacker/node_modules/type-fest/source/promise-value.d.ts +27 -0
- data/packages/webpacker/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
- data/packages/webpacker/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
- data/packages/webpacker/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
- data/packages/webpacker/node_modules/type-fest/source/set-optional.d.ts +34 -0
- data/packages/webpacker/node_modules/type-fest/source/set-required.d.ts +34 -0
- data/packages/webpacker/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- data/packages/webpacker/node_modules/type-fest/source/stringified.d.ts +21 -0
- data/packages/webpacker/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
- data/packages/webpacker/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
- data/packages/webpacker/node_modules/type-fest/source/utilities.d.ts +3 -0
- data/packages/webpacker/node_modules/type-fest/source/value-of.d.ts +40 -0
- data/packages/webpacker/node_modules/type-fest/ts41/camel-case.d.ts +72 -0
- data/packages/webpacker/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
- data/packages/webpacker/node_modules/type-fest/ts41/index.d.ts +9 -0
- data/packages/webpacker/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
- data/packages/webpacker/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
- data/packages/webpacker/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/CHANGELOG.md +380 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/LICENSE.txt +14 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/README.md +90 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/index.d.ts +25 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/index.js +5 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/branch.js +28 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/function.js +29 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/line.js +34 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/range.js +33 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/source.js +245 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js +318 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md +344 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/LICENSE +28 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/README.md +822 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js +3351 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js +100 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js +111 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js +18 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js +107 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js +80 -0
- 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 +40 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js +1254 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js +413 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js +404 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js +546 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js +107 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/package.json +90 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts +369 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.js +8 -0
- data/packages/webpacker/node_modules/v8-to-istanbul/package.json +48 -0
- data/packages/webpacker/node_modules/wrap-ansi/index.js +216 -0
- data/packages/webpacker/node_modules/wrap-ansi/license +9 -0
- data/packages/webpacker/node_modules/wrap-ansi/package.json +62 -0
- data/packages/webpacker/node_modules/wrap-ansi/readme.md +91 -0
- data/packages/webpacker/node_modules/y18n/CHANGELOG.md +100 -0
- data/packages/webpacker/node_modules/y18n/LICENSE +13 -0
- data/packages/webpacker/node_modules/y18n/README.md +127 -0
- data/packages/webpacker/node_modules/y18n/build/index.cjs +203 -0
- data/packages/webpacker/node_modules/y18n/build/lib/cjs.js +6 -0
- data/packages/webpacker/node_modules/y18n/build/lib/index.js +174 -0
- data/packages/webpacker/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- data/packages/webpacker/node_modules/y18n/index.mjs +8 -0
- data/packages/webpacker/node_modules/y18n/package.json +70 -0
- data/packages/webpacker/node_modules/yargs/CHANGELOG.md +88 -0
- data/packages/webpacker/node_modules/yargs/LICENSE +21 -0
- data/packages/webpacker/node_modules/yargs/README.md +202 -0
- data/packages/webpacker/node_modules/yargs/browser.mjs +7 -0
- data/packages/webpacker/node_modules/yargs/build/index.cjs +2920 -0
- data/packages/webpacker/node_modules/yargs/build/lib/argsert.js +62 -0
- data/packages/webpacker/node_modules/yargs/build/lib/command.js +382 -0
- data/packages/webpacker/node_modules/yargs/build/lib/completion-templates.js +47 -0
- data/packages/webpacker/node_modules/yargs/build/lib/completion.js +128 -0
- data/packages/webpacker/node_modules/yargs/build/lib/middleware.js +53 -0
- data/packages/webpacker/node_modules/yargs/build/lib/parse-command.js +32 -0
- data/packages/webpacker/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- data/packages/webpacker/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- data/packages/webpacker/node_modules/yargs/build/lib/usage.js +548 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- data/packages/webpacker/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- data/packages/webpacker/node_modules/yargs/build/lib/validation.js +308 -0
- data/packages/webpacker/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
- data/packages/webpacker/node_modules/yargs/build/lib/yerror.js +7 -0
- data/packages/webpacker/node_modules/yargs/helpers/helpers.mjs +10 -0
- data/packages/webpacker/node_modules/yargs/helpers/index.js +14 -0
- data/packages/webpacker/node_modules/yargs/helpers/package.json +3 -0
- data/packages/webpacker/node_modules/yargs/index.cjs +39 -0
- data/packages/webpacker/node_modules/yargs/index.mjs +8 -0
- data/packages/webpacker/node_modules/yargs/lib/platform-shims/browser.mjs +92 -0
- data/packages/webpacker/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
- data/packages/webpacker/node_modules/yargs/locales/be.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/de.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/en.json +51 -0
- data/packages/webpacker/node_modules/yargs/locales/es.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/fi.json +49 -0
- data/packages/webpacker/node_modules/yargs/locales/fr.json +53 -0
- data/packages/webpacker/node_modules/yargs/locales/hi.json +49 -0
- data/packages/webpacker/node_modules/yargs/locales/hu.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/id.json +50 -0
- data/packages/webpacker/node_modules/yargs/locales/it.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/ja.json +51 -0
- data/packages/webpacker/node_modules/yargs/locales/ko.json +49 -0
- data/packages/webpacker/node_modules/yargs/locales/nb.json +44 -0
- data/packages/webpacker/node_modules/yargs/locales/nl.json +49 -0
- data/packages/webpacker/node_modules/yargs/locales/nn.json +44 -0
- data/packages/webpacker/node_modules/yargs/locales/pirate.json +13 -0
- data/packages/webpacker/node_modules/yargs/locales/pl.json +49 -0
- data/packages/webpacker/node_modules/yargs/locales/pt.json +45 -0
- data/packages/webpacker/node_modules/yargs/locales/pt_BR.json +48 -0
- data/packages/webpacker/node_modules/yargs/locales/ru.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/th.json +46 -0
- data/packages/webpacker/node_modules/yargs/locales/tr.json +48 -0
- data/packages/webpacker/node_modules/yargs/locales/zh_CN.json +48 -0
- data/packages/webpacker/node_modules/yargs/locales/zh_TW.json +47 -0
- data/packages/webpacker/node_modules/yargs/package.json +122 -0
- data/packages/webpacker/node_modules/yargs/yargs +9 -0
- data/packages/webpacker/node_modules/yargs-parser/CHANGELOG.md +263 -0
- data/packages/webpacker/node_modules/yargs-parser/LICENSE.txt +14 -0
- data/packages/webpacker/node_modules/yargs-parser/README.md +518 -0
- data/packages/webpacker/node_modules/yargs-parser/browser.js +29 -0
- data/packages/webpacker/node_modules/yargs-parser/build/index.cjs +1042 -0
- data/packages/webpacker/node_modules/yargs-parser/build/lib/index.js +59 -0
- data/packages/webpacker/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- data/packages/webpacker/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
- data/packages/webpacker/node_modules/yargs-parser/package.json +87 -0
- data/packages/webpacker/package.json +1 -1
- metadata +1641 -42
@@ -0,0 +1,1438 @@
|
|
1
|
+
let source, pos, end;
|
2
|
+
let openTokenDepth,
|
3
|
+
templateDepth,
|
4
|
+
lastTokenPos,
|
5
|
+
lastSlashWasDivision,
|
6
|
+
templateStack,
|
7
|
+
templateStackDepth,
|
8
|
+
openTokenPosStack,
|
9
|
+
openClassPosStack,
|
10
|
+
nextBraceIsClass,
|
11
|
+
starExportMap,
|
12
|
+
lastStarExportSpecifier,
|
13
|
+
_exports,
|
14
|
+
unsafeGetters,
|
15
|
+
reexports;
|
16
|
+
|
17
|
+
function resetState () {
|
18
|
+
openTokenDepth = 0;
|
19
|
+
templateDepth = -1;
|
20
|
+
lastTokenPos = -1;
|
21
|
+
lastSlashWasDivision = false;
|
22
|
+
templateStack = new Array(1024);
|
23
|
+
templateStackDepth = 0;
|
24
|
+
openTokenPosStack = new Array(1024);
|
25
|
+
openClassPosStack = new Array(1024);
|
26
|
+
nextBraceIsClass = false;
|
27
|
+
starExportMap = Object.create(null);
|
28
|
+
lastStarExportSpecifier = null;
|
29
|
+
|
30
|
+
_exports = new Set();
|
31
|
+
unsafeGetters = new Set();
|
32
|
+
reexports = new Set();
|
33
|
+
}
|
34
|
+
|
35
|
+
// RequireType
|
36
|
+
const Import = 0;
|
37
|
+
const ExportAssign = 1;
|
38
|
+
const ExportStar = 2;
|
39
|
+
|
40
|
+
function parseCJS (source, name = '@') {
|
41
|
+
resetState();
|
42
|
+
try {
|
43
|
+
parseSource(source);
|
44
|
+
}
|
45
|
+
catch (e) {
|
46
|
+
e.message += `\n at ${name}:${source.slice(0, pos).split('\n').length}:${pos - source.lastIndexOf('\n', pos - 1)}`;
|
47
|
+
e.loc = pos;
|
48
|
+
throw e;
|
49
|
+
}
|
50
|
+
const result = { exports: [..._exports].filter(expt => expt !== undefined && !unsafeGetters.has(expt)), reexports: [...reexports].filter(reexpt => reexpt !== undefined) };
|
51
|
+
resetState();
|
52
|
+
return result;
|
53
|
+
}
|
54
|
+
|
55
|
+
function decode (str) {
|
56
|
+
if (str[0] === '"' || str[0] === '\'') {
|
57
|
+
try {
|
58
|
+
const decoded = (0, eval)(str);
|
59
|
+
// Filter to exclude non-matching UTF-16 surrogate strings
|
60
|
+
for (let i = 0; i < decoded.length; i++) {
|
61
|
+
const surrogatePrefix = decoded.charCodeAt(i) & 0xFC00;
|
62
|
+
if (surrogatePrefix < 0xD800) {
|
63
|
+
// Not a surrogate
|
64
|
+
continue;
|
65
|
+
}
|
66
|
+
else if (surrogatePrefix === 0xD800) {
|
67
|
+
// Validate surrogate pair
|
68
|
+
if ((decoded.charCodeAt(++i) & 0xFC00) !== 0xDC00)
|
69
|
+
return;
|
70
|
+
}
|
71
|
+
else {
|
72
|
+
// Out-of-range surrogate code (above 0xD800)
|
73
|
+
return;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
return decoded;
|
77
|
+
}
|
78
|
+
catch {}
|
79
|
+
}
|
80
|
+
else {
|
81
|
+
return str;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
function parseSource (cjsSource) {
|
86
|
+
source = cjsSource;
|
87
|
+
pos = -1;
|
88
|
+
end = source.length - 1;
|
89
|
+
let ch = 0;
|
90
|
+
|
91
|
+
// Handle #!
|
92
|
+
if (source.charCodeAt(0) === 35/*#*/ && source.charCodeAt(1) === 33/*!*/) {
|
93
|
+
if (source.length === 2)
|
94
|
+
return true;
|
95
|
+
pos += 2;
|
96
|
+
while (pos++ < end) {
|
97
|
+
ch = source.charCodeAt(pos);
|
98
|
+
if (ch === 10/*\n*/ || ch === 13/*\r*/)
|
99
|
+
break;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
while (pos++ < end) {
|
104
|
+
ch = source.charCodeAt(pos);
|
105
|
+
|
106
|
+
if (ch === 32 || ch < 14 && ch > 8)
|
107
|
+
continue;
|
108
|
+
|
109
|
+
if (openTokenDepth === 0) {
|
110
|
+
switch (ch) {
|
111
|
+
case 105/*i*/:
|
112
|
+
if (source.startsWith('mport', pos + 1) && keywordStart(pos))
|
113
|
+
throwIfImportStatement();
|
114
|
+
lastTokenPos = pos;
|
115
|
+
continue;
|
116
|
+
case 114/*r*/:
|
117
|
+
const startPos = pos;
|
118
|
+
if (tryParseRequire(Import) && keywordStart(startPos))
|
119
|
+
tryBacktrackAddStarExportBinding(startPos - 1);
|
120
|
+
lastTokenPos = pos;
|
121
|
+
continue;
|
122
|
+
case 95/*_*/:
|
123
|
+
if (source.startsWith('interopRequireWildcard', pos + 1) && (keywordStart(pos) || source.charCodeAt(pos - 1) === 46/*.*/)) {
|
124
|
+
const startPos = pos;
|
125
|
+
pos += 23;
|
126
|
+
if (source.charCodeAt(pos) === 40/*(*/) {
|
127
|
+
pos++;
|
128
|
+
openTokenPosStack[openTokenDepth++] = lastTokenPos;
|
129
|
+
if (tryParseRequire(Import) && keywordStart(startPos)) {
|
130
|
+
tryBacktrackAddStarExportBinding(startPos - 1);
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
else if (source.startsWith('_export', pos + 1) && (keywordStart(pos) || source.charCodeAt(pos - 1) === 46/*.*/)) {
|
135
|
+
pos += 8;
|
136
|
+
if (source.startsWith('Star', pos))
|
137
|
+
pos += 4;
|
138
|
+
if (source.charCodeAt(pos) === 40/*(*/) {
|
139
|
+
openTokenPosStack[openTokenDepth++] = lastTokenPos;
|
140
|
+
if (source.charCodeAt(++pos) === 114/*r*/)
|
141
|
+
tryParseRequire(ExportStar);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
lastTokenPos = pos;
|
145
|
+
continue;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
switch (ch) {
|
150
|
+
case 101/*e*/:
|
151
|
+
if (source.startsWith('xport', pos + 1) && keywordStart(pos)) {
|
152
|
+
if (source.charCodeAt(pos + 6) === 115/*s*/)
|
153
|
+
tryParseExportsDotAssign(false);
|
154
|
+
else if (openTokenDepth === 0)
|
155
|
+
throwIfExportStatement();
|
156
|
+
}
|
157
|
+
break;
|
158
|
+
case 99/*c*/:
|
159
|
+
if (keywordStart(pos) && source.startsWith('lass', pos + 1) && isBrOrWs(source.charCodeAt(pos + 5)))
|
160
|
+
nextBraceIsClass = true;
|
161
|
+
break;
|
162
|
+
case 109/*m*/:
|
163
|
+
if (source.startsWith('odule', pos + 1) && keywordStart(pos))
|
164
|
+
tryParseModuleExportsDotAssign();
|
165
|
+
break;
|
166
|
+
case 79/*O*/:
|
167
|
+
if (source.startsWith('bject', pos + 1) && keywordStart(pos))
|
168
|
+
tryParseObjectDefineOrKeys(openTokenDepth === 0);
|
169
|
+
break;
|
170
|
+
case 40/*(*/:
|
171
|
+
openTokenPosStack[openTokenDepth++] = lastTokenPos;
|
172
|
+
break;
|
173
|
+
case 41/*)*/:
|
174
|
+
if (openTokenDepth === 0)
|
175
|
+
throw new Error('Unexpected closing bracket.');
|
176
|
+
openTokenDepth--;
|
177
|
+
break;
|
178
|
+
case 123/*{*/:
|
179
|
+
openClassPosStack[openTokenDepth] = nextBraceIsClass;
|
180
|
+
nextBraceIsClass = false;
|
181
|
+
openTokenPosStack[openTokenDepth++] = lastTokenPos;
|
182
|
+
break;
|
183
|
+
case 125/*}*/:
|
184
|
+
if (openTokenDepth === 0)
|
185
|
+
throw new Error('Unexpected closing brace.');
|
186
|
+
if (openTokenDepth-- === templateDepth) {
|
187
|
+
templateDepth = templateStack[--templateStackDepth];
|
188
|
+
templateString();
|
189
|
+
}
|
190
|
+
else {
|
191
|
+
if (templateDepth !== -1 && openTokenDepth < templateDepth)
|
192
|
+
throw new Error('Unexpected closing brace.');
|
193
|
+
}
|
194
|
+
break;
|
195
|
+
case 60/*>*/:
|
196
|
+
// TODO: <!-- XML comment support
|
197
|
+
break;
|
198
|
+
case 39/*'*/:
|
199
|
+
case 34/*"*/:
|
200
|
+
stringLiteral(ch);
|
201
|
+
break;
|
202
|
+
case 47/*/*/: {
|
203
|
+
const next_ch = source.charCodeAt(pos + 1);
|
204
|
+
if (next_ch === 47/*/*/) {
|
205
|
+
lineComment();
|
206
|
+
// dont update lastToken
|
207
|
+
continue;
|
208
|
+
}
|
209
|
+
else if (next_ch === 42/***/) {
|
210
|
+
blockComment();
|
211
|
+
// dont update lastToken
|
212
|
+
continue;
|
213
|
+
}
|
214
|
+
else {
|
215
|
+
// Division / regex ambiguity handling based on checking backtrack analysis of:
|
216
|
+
// - what token came previously (lastToken)
|
217
|
+
// - if a closing brace or paren, what token came before the corresponding
|
218
|
+
// opening brace or paren (lastOpenTokenIndex)
|
219
|
+
const lastToken = source.charCodeAt(lastTokenPos);
|
220
|
+
if (isExpressionPunctuator(lastToken) &&
|
221
|
+
!(lastToken === 46/*.*/ && (source.charCodeAt(lastTokenPos - 1) >= 48/*0*/ && source.charCodeAt(lastTokenPos - 1) <= 57/*9*/)) &&
|
222
|
+
!(lastToken === 43/*+*/ && source.charCodeAt(lastTokenPos - 1) === 43/*+*/) && !(lastToken === 45/*-*/ && source.charCodeAt(lastTokenPos - 1) === 45/*-*/) ||
|
223
|
+
lastToken === 41/*)*/ && isParenKeyword(openTokenPosStack[openTokenDepth]) ||
|
224
|
+
lastToken === 125/*}*/ && (isExpressionTerminator(openTokenPosStack[openTokenDepth]) || openClassPosStack[openTokenDepth]) ||
|
225
|
+
lastToken === 47/*/*/ && lastSlashWasDivision ||
|
226
|
+
isExpressionKeyword(lastTokenPos) ||
|
227
|
+
!lastToken) {
|
228
|
+
regularExpression();
|
229
|
+
lastSlashWasDivision = false;
|
230
|
+
}
|
231
|
+
else {
|
232
|
+
lastSlashWasDivision = true;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
break;
|
236
|
+
}
|
237
|
+
case 96/*`*/:
|
238
|
+
templateString();
|
239
|
+
break;
|
240
|
+
}
|
241
|
+
lastTokenPos = pos;
|
242
|
+
}
|
243
|
+
|
244
|
+
if (templateDepth !== -1)
|
245
|
+
throw new Error('Unterminated template.');
|
246
|
+
|
247
|
+
if (openTokenDepth)
|
248
|
+
throw new Error('Unterminated braces.');
|
249
|
+
}
|
250
|
+
|
251
|
+
function tryBacktrackAddStarExportBinding (bPos) {
|
252
|
+
while (source.charCodeAt(bPos) === 32/* */ && bPos >= 0)
|
253
|
+
bPos--;
|
254
|
+
if (source.charCodeAt(bPos) === 61/*=*/) {
|
255
|
+
bPos--;
|
256
|
+
while (source.charCodeAt(bPos) === 32/* */ && bPos >= 0)
|
257
|
+
bPos--;
|
258
|
+
let codePoint;
|
259
|
+
const id_end = bPos;
|
260
|
+
let identifierStart = false;
|
261
|
+
while ((codePoint = codePointAtLast(bPos)) && bPos >= 0) {
|
262
|
+
if (codePoint === 92/*\*/)
|
263
|
+
return;
|
264
|
+
if (!isIdentifierChar(codePoint, true))
|
265
|
+
break;
|
266
|
+
identifierStart = isIdentifierStart(codePoint, true);
|
267
|
+
bPos -= codePointLen(codePoint);
|
268
|
+
}
|
269
|
+
if (identifierStart && source.charCodeAt(bPos) === 32/* */) {
|
270
|
+
const starExportId = source.slice(bPos + 1, id_end + 1);
|
271
|
+
while (source.charCodeAt(bPos) === 32/* */ && bPos >= 0)
|
272
|
+
bPos--;
|
273
|
+
switch (source.charCodeAt(bPos)) {
|
274
|
+
case 114/*r*/:
|
275
|
+
if (!source.startsWith('va', bPos - 2))
|
276
|
+
return;
|
277
|
+
break;
|
278
|
+
case 116/*t*/:
|
279
|
+
if (!source.startsWith('le', bPos - 2) && !source.startsWith('cons', bPos - 4))
|
280
|
+
return;
|
281
|
+
break;
|
282
|
+
default: return;
|
283
|
+
}
|
284
|
+
starExportMap[starExportId] = lastStarExportSpecifier;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
// `Object.` `prototype.`? hasOwnProperty.call(` IDENTIFIER `, ` IDENTIFIER$2 `)`
|
290
|
+
function tryParseObjectHasOwnProperty (it_id) {
|
291
|
+
ch = commentWhitespace();
|
292
|
+
if (ch !== 79/*O*/ || !source.startsWith('bject', pos + 1)) return false;
|
293
|
+
pos += 6;
|
294
|
+
ch = commentWhitespace();
|
295
|
+
if (ch !== 46/*.*/) return false;
|
296
|
+
pos++;
|
297
|
+
ch = commentWhitespace();
|
298
|
+
if (ch === 112/*p*/) {
|
299
|
+
if (!source.startsWith('rototype', pos + 1)) return false;
|
300
|
+
pos += 9;
|
301
|
+
ch = commentWhitespace();
|
302
|
+
if (ch !== 46/*.*/) return false;
|
303
|
+
pos++;
|
304
|
+
ch = commentWhitespace();
|
305
|
+
}
|
306
|
+
if (ch !== 104/*h*/ || !source.startsWith('asOwnProperty', pos + 1)) return false;
|
307
|
+
pos += 14;
|
308
|
+
ch = commentWhitespace();
|
309
|
+
if (ch !== 46/*.*/) return false;
|
310
|
+
pos++;
|
311
|
+
ch = commentWhitespace();
|
312
|
+
if (ch !== 99/*c*/ || !source.startsWith('all', pos + 1)) return false;
|
313
|
+
pos += 4;
|
314
|
+
ch = commentWhitespace();
|
315
|
+
if (ch !== 40/*(*/) return false;
|
316
|
+
pos++;
|
317
|
+
ch = commentWhitespace();
|
318
|
+
if (!identifier()) return false;
|
319
|
+
ch = commentWhitespace();
|
320
|
+
if (ch !== 44/*,*/) return false;
|
321
|
+
pos++;
|
322
|
+
ch = commentWhitespace();
|
323
|
+
if (!source.startsWith(it_id, pos)) return false;
|
324
|
+
pos += it_id.length;
|
325
|
+
ch = commentWhitespace();
|
326
|
+
if (ch !== 41/*)*/) return false;
|
327
|
+
pos++;
|
328
|
+
return true;
|
329
|
+
}
|
330
|
+
|
331
|
+
function tryParseObjectDefineOrKeys (keys) {
|
332
|
+
pos += 6;
|
333
|
+
let revertPos = pos - 1;
|
334
|
+
let ch = commentWhitespace();
|
335
|
+
if (ch === 46/*.*/) {
|
336
|
+
pos++;
|
337
|
+
ch = commentWhitespace();
|
338
|
+
if (ch === 100/*d*/ && source.startsWith('efineProperty', pos + 1)) {
|
339
|
+
let expt;
|
340
|
+
while (true) {
|
341
|
+
pos += 14;
|
342
|
+
revertPos = pos - 1;
|
343
|
+
ch = commentWhitespace();
|
344
|
+
if (ch !== 40/*(*/) break;
|
345
|
+
pos++;
|
346
|
+
ch = commentWhitespace();
|
347
|
+
if (!readExportsOrModuleDotExports(ch)) break;
|
348
|
+
ch = commentWhitespace();
|
349
|
+
if (ch !== 44/*,*/) break;
|
350
|
+
pos++;
|
351
|
+
ch = commentWhitespace();
|
352
|
+
if (ch !== 39/*'*/ && ch !== 34/*"*/) break;
|
353
|
+
const exportPos = pos;
|
354
|
+
stringLiteral(ch);
|
355
|
+
expt = source.slice(exportPos, ++pos);
|
356
|
+
ch = commentWhitespace();
|
357
|
+
if (ch !== 44/*,*/) break;
|
358
|
+
pos++;
|
359
|
+
ch = commentWhitespace();
|
360
|
+
if (ch !== 123/*{*/) break;
|
361
|
+
pos++;
|
362
|
+
ch = commentWhitespace();
|
363
|
+
if (ch === 101/*e*/) {
|
364
|
+
if (!source.startsWith('numerable', pos + 1)) break;
|
365
|
+
pos += 10;
|
366
|
+
ch = commentWhitespace();
|
367
|
+
if (ch !== 58/*:*/) break;
|
368
|
+
pos++;
|
369
|
+
ch = commentWhitespace();
|
370
|
+
if (ch !== 116/*t*/ || !source.startsWith('rue', pos + 1)) break;
|
371
|
+
pos += 4;
|
372
|
+
ch = commentWhitespace();
|
373
|
+
if (ch !== 44) break;
|
374
|
+
pos++;
|
375
|
+
ch = commentWhitespace();
|
376
|
+
}
|
377
|
+
if (ch === 118/*v*/) {
|
378
|
+
if (!source.startsWith('alue', pos + 1)) break;
|
379
|
+
pos += 5;
|
380
|
+
ch = commentWhitespace();
|
381
|
+
if (ch !== 58/*:*/) break;
|
382
|
+
_exports.add(decode(expt));
|
383
|
+
pos = revertPos;
|
384
|
+
return;
|
385
|
+
}
|
386
|
+
else if (ch === 103/*g*/) {
|
387
|
+
if (!source.startsWith('et', pos + 1)) break;
|
388
|
+
pos += 3;
|
389
|
+
ch = commentWhitespace();
|
390
|
+
if (ch === 58/*:*/) {
|
391
|
+
pos++;
|
392
|
+
ch = commentWhitespace();
|
393
|
+
if (ch !== 102/*f*/) break;
|
394
|
+
if (!source.startsWith('unction', pos + 1)) break;
|
395
|
+
pos += 8;
|
396
|
+
let lastPos = pos;
|
397
|
+
ch = commentWhitespace();
|
398
|
+
if (ch !== 40 && (lastPos === pos || !identifier())) break;
|
399
|
+
ch = commentWhitespace();
|
400
|
+
}
|
401
|
+
if (ch !== 40/*(*/) break;
|
402
|
+
pos++;
|
403
|
+
ch = commentWhitespace();
|
404
|
+
if (ch !== 41/*)*/) break;
|
405
|
+
pos++;
|
406
|
+
ch = commentWhitespace();
|
407
|
+
if (ch !== 123/*{*/) break;
|
408
|
+
pos++;
|
409
|
+
ch = commentWhitespace();
|
410
|
+
if (ch !== 114/*r*/) break;
|
411
|
+
if (!source.startsWith('eturn', pos + 1)) break;
|
412
|
+
pos += 6;
|
413
|
+
ch = commentWhitespace();
|
414
|
+
if (!identifier()) break;
|
415
|
+
ch = commentWhitespace();
|
416
|
+
if (ch === 46/*.*/) {
|
417
|
+
pos++;
|
418
|
+
commentWhitespace();
|
419
|
+
if (!identifier()) break;
|
420
|
+
ch = commentWhitespace();
|
421
|
+
}
|
422
|
+
else if (ch === 91/*[*/) {
|
423
|
+
pos++;
|
424
|
+
ch = commentWhitespace();
|
425
|
+
if (ch === 39/*'*/ || ch === 34/*"*/) stringLiteral(ch);
|
426
|
+
else break;
|
427
|
+
pos++;
|
428
|
+
ch = commentWhitespace();
|
429
|
+
if (ch !== 93/*]*/) break;
|
430
|
+
pos++;
|
431
|
+
ch = commentWhitespace();
|
432
|
+
}
|
433
|
+
if (ch === 59/*;*/) {
|
434
|
+
pos++;
|
435
|
+
ch = commentWhitespace();
|
436
|
+
}
|
437
|
+
if (ch !== 125/*}*/) break;
|
438
|
+
pos++;
|
439
|
+
ch = commentWhitespace();
|
440
|
+
if (ch === 44/*,*/) {
|
441
|
+
pos++;
|
442
|
+
ch = commentWhitespace();
|
443
|
+
}
|
444
|
+
if (ch !== 125/*}*/) break;
|
445
|
+
pos++;
|
446
|
+
ch = commentWhitespace();
|
447
|
+
if (ch !== 41/*)*/) break;
|
448
|
+
_exports.add(decode(expt));
|
449
|
+
return;
|
450
|
+
}
|
451
|
+
break;
|
452
|
+
}
|
453
|
+
if (expt) {
|
454
|
+
unsafeGetters.add(decode(expt));
|
455
|
+
}
|
456
|
+
}
|
457
|
+
else if (keys && ch === 107/*k*/ && source.startsWith('eys', pos + 1)) {
|
458
|
+
while (true) {
|
459
|
+
pos += 4;
|
460
|
+
revertPos = pos - 1;
|
461
|
+
ch = commentWhitespace();
|
462
|
+
if (ch !== 40/*(*/) break;
|
463
|
+
pos++;
|
464
|
+
ch = commentWhitespace();
|
465
|
+
const id_start = pos;
|
466
|
+
if (!identifier()) break;
|
467
|
+
const id = source.slice(id_start, pos);
|
468
|
+
ch = commentWhitespace();
|
469
|
+
if (ch !== 41/*)*/) break;
|
470
|
+
|
471
|
+
revertPos = pos++;
|
472
|
+
ch = commentWhitespace();
|
473
|
+
if (ch !== 46/*.*/) break;
|
474
|
+
pos++;
|
475
|
+
ch = commentWhitespace();
|
476
|
+
if (ch !== 102/*f*/ || !source.startsWith('orEach', pos + 1)) break;
|
477
|
+
pos += 7;
|
478
|
+
ch = commentWhitespace();
|
479
|
+
revertPos = pos - 1;
|
480
|
+
if (ch !== 40/*(*/) break;
|
481
|
+
pos++;
|
482
|
+
ch = commentWhitespace();
|
483
|
+
if (ch !== 102/*f*/ || !source.startsWith('unction', pos + 1)) break;
|
484
|
+
pos += 8;
|
485
|
+
ch = commentWhitespace();
|
486
|
+
if (ch !== 40/*(*/) break;
|
487
|
+
pos++;
|
488
|
+
ch = commentWhitespace();
|
489
|
+
const it_id_start = pos;
|
490
|
+
if (!identifier()) break;
|
491
|
+
const it_id = source.slice(it_id_start, pos);
|
492
|
+
ch = commentWhitespace();
|
493
|
+
if (ch !== 41/*)*/) break;
|
494
|
+
pos++;
|
495
|
+
ch = commentWhitespace();
|
496
|
+
if (ch !== 123/*{*/) break;
|
497
|
+
pos++;
|
498
|
+
ch = commentWhitespace();
|
499
|
+
if (ch !== 105/*i*/ || source.charCodeAt(pos + 1) !== 102/*f*/) break;
|
500
|
+
pos += 2;
|
501
|
+
ch = commentWhitespace();
|
502
|
+
if (ch !== 40/*(*/) break;
|
503
|
+
pos++;
|
504
|
+
ch = commentWhitespace();
|
505
|
+
if (!source.startsWith(it_id, pos)) break;
|
506
|
+
pos += it_id.length;
|
507
|
+
ch = commentWhitespace();
|
508
|
+
// `if (` IDENTIFIER$2 `===` ( `'default'` | `"default"` ) `||` IDENTIFIER$2 `===` ( '__esModule' | `"__esModule"` ) `) return` `;`? |
|
509
|
+
if (ch === 61/*=*/) {
|
510
|
+
if (!source.startsWith('==', pos + 1)) break;
|
511
|
+
pos += 3;
|
512
|
+
ch = commentWhitespace();
|
513
|
+
if (ch !== 34/*"*/ && ch !== 39/*'*/) break;
|
514
|
+
let quot = ch;
|
515
|
+
if (!source.startsWith('default', pos + 1)) break;
|
516
|
+
pos += 8;
|
517
|
+
ch = commentWhitespace();
|
518
|
+
if (ch !== quot) break;
|
519
|
+
pos += 1;
|
520
|
+
ch = commentWhitespace();
|
521
|
+
if (ch !== 124/*|*/ || source.charCodeAt(pos + 1) !== 124/*|*/) break;
|
522
|
+
pos += 2;
|
523
|
+
ch = commentWhitespace();
|
524
|
+
if (source.slice(pos, pos + it_id.length) !== it_id) break;
|
525
|
+
pos += it_id.length;
|
526
|
+
ch = commentWhitespace();
|
527
|
+
if (ch !== 61/*=*/ || source.slice(pos + 1, pos + 3) !== '==') break;
|
528
|
+
pos += 3;
|
529
|
+
ch = commentWhitespace();
|
530
|
+
if (ch !== 34/*"*/ && ch !== 39/*'*/) break;
|
531
|
+
quot = ch;
|
532
|
+
if (!source.startsWith('__esModule', pos + 1)) break;
|
533
|
+
pos += 11;
|
534
|
+
ch = commentWhitespace();
|
535
|
+
if (ch !== quot) break;
|
536
|
+
pos += 1;
|
537
|
+
ch = commentWhitespace();
|
538
|
+
if (ch !== 41/*)*/) break;
|
539
|
+
pos += 1;
|
540
|
+
ch = commentWhitespace();
|
541
|
+
if (ch !== 114/*r*/ || !source.startsWith('eturn', pos + 1)) break;
|
542
|
+
pos += 6;
|
543
|
+
ch = commentWhitespace();
|
544
|
+
if (ch === 59/*;*/)
|
545
|
+
pos++;
|
546
|
+
ch = commentWhitespace();
|
547
|
+
|
548
|
+
// `if (`
|
549
|
+
if (ch === 105/*i*/ && source.charCodeAt(pos + 1) === 102/*f*/) {
|
550
|
+
let inIf = true;
|
551
|
+
pos += 2;
|
552
|
+
ch = commentWhitespace();
|
553
|
+
if (ch !== 40/*(*/) break;
|
554
|
+
pos++;
|
555
|
+
const ifInnerPos = pos;
|
556
|
+
// `Object.prototype.hasOwnProperty.call(` IDENTIFIER `, ` IDENTIFIER$2 `)) return` `;`?
|
557
|
+
if (tryParseObjectHasOwnProperty(it_id)) {
|
558
|
+
ch = commentWhitespace();
|
559
|
+
if (ch !== 41/*)*/) break;
|
560
|
+
pos++;
|
561
|
+
ch = commentWhitespace();
|
562
|
+
if (ch !== 114/*r*/ || !source.startsWith('eturn', pos + 1)) break;
|
563
|
+
pos += 6;
|
564
|
+
ch = commentWhitespace();
|
565
|
+
if (ch === 59/*;*/)
|
566
|
+
pos++;
|
567
|
+
ch = commentWhitespace();
|
568
|
+
// match next if
|
569
|
+
if (ch === 105/*i*/ && source.charCodeAt(pos + 1) === 102/*f*/) {
|
570
|
+
pos += 2;
|
571
|
+
ch = commentWhitespace();
|
572
|
+
if (ch !== 40/*(*/) break;
|
573
|
+
pos++;
|
574
|
+
}
|
575
|
+
else {
|
576
|
+
inIf = false;
|
577
|
+
}
|
578
|
+
}
|
579
|
+
else {
|
580
|
+
pos = ifInnerPos;
|
581
|
+
}
|
582
|
+
|
583
|
+
// IDENTIFIER$2 `in` EXPORTS_IDENTIFIER `&&` EXPORTS_IDENTIFIER `[` IDENTIFIER$2 `] ===` IDENTIFIER$1 `[` IDENTIFIER$2 `]) return` `;`?
|
584
|
+
if (inIf) {
|
585
|
+
if (!source.startsWith(it_id, pos)) break;
|
586
|
+
pos += it_id.length;
|
587
|
+
ch = commentWhitespace();
|
588
|
+
if (ch !== 105/*i*/ || !source.startsWith('n ', pos + 1)) break;
|
589
|
+
pos += 3;
|
590
|
+
ch = commentWhitespace();
|
591
|
+
if (!readExportsOrModuleDotExports(ch)) break;
|
592
|
+
ch = commentWhitespace();
|
593
|
+
if (ch !== 38/*&*/ || source.charCodeAt(pos + 1) !== 38/*&*/) break;
|
594
|
+
pos += 2;
|
595
|
+
ch = commentWhitespace();
|
596
|
+
if (!readExportsOrModuleDotExports(ch)) break;
|
597
|
+
ch = commentWhitespace();
|
598
|
+
if (ch !== 91/*[*/) break;
|
599
|
+
pos++;
|
600
|
+
ch = commentWhitespace();
|
601
|
+
if (!source.startsWith(it_id, pos)) break;
|
602
|
+
pos += it_id.length;
|
603
|
+
ch = commentWhitespace();
|
604
|
+
if (ch !== 93/*]*/) break;
|
605
|
+
pos++;
|
606
|
+
ch = commentWhitespace();
|
607
|
+
if (ch !== 61/*=*/ || !source.startsWith('==', pos + 1)) break;
|
608
|
+
pos += 3;
|
609
|
+
ch = commentWhitespace();
|
610
|
+
if (!source.startsWith(id, pos)) break;
|
611
|
+
pos += id.length;
|
612
|
+
ch = commentWhitespace();
|
613
|
+
if (ch !== 91/*[*/) break;
|
614
|
+
pos++;
|
615
|
+
ch = commentWhitespace();
|
616
|
+
if (!source.startsWith(it_id, pos)) break;
|
617
|
+
pos += it_id.length;
|
618
|
+
ch = commentWhitespace();
|
619
|
+
if (ch !== 93/*]*/) break;
|
620
|
+
pos++;
|
621
|
+
ch = commentWhitespace();
|
622
|
+
if (ch !== 41/*)*/) break;
|
623
|
+
pos++;
|
624
|
+
ch = commentWhitespace();
|
625
|
+
if (ch !== 114/*r*/ || !source.startsWith('eturn', pos + 1)) break;
|
626
|
+
pos += 6;
|
627
|
+
ch = commentWhitespace();
|
628
|
+
if (ch === 59/*;*/)
|
629
|
+
pos++;
|
630
|
+
ch = commentWhitespace();
|
631
|
+
}
|
632
|
+
}
|
633
|
+
}
|
634
|
+
// `if (` IDENTIFIER$2 `!==` ( `'default'` | `"default"` ) (`&& !` IDENTIFIER `.hasOwnProperty(` IDENTIFIER$2 `)` )? `)`
|
635
|
+
else if (ch === 33/*!*/) {
|
636
|
+
if (!source.startsWith('==', pos + 1)) break;
|
637
|
+
pos += 3;
|
638
|
+
ch = commentWhitespace();
|
639
|
+
if (ch !== 34/*"*/ && ch !== 39/*'*/) break;
|
640
|
+
const quot = ch;
|
641
|
+
if (!source.startsWith('default', pos + 1)) break;
|
642
|
+
pos += 8;
|
643
|
+
ch = commentWhitespace();
|
644
|
+
if (ch !== quot) break;
|
645
|
+
pos += 1;
|
646
|
+
ch = commentWhitespace();
|
647
|
+
if (ch === 38/*&*/) {
|
648
|
+
if (source.charCodeAt(pos + 1) !== 38/*&*/) break;
|
649
|
+
pos += 2;
|
650
|
+
ch = commentWhitespace();
|
651
|
+
if (ch !== 33/*!*/) break;
|
652
|
+
pos += 1;
|
653
|
+
ch = commentWhitespace();
|
654
|
+
if (ch === 79/*O*/ && source.startsWith('bject', pos + 1) && source[pos + 6] === '.') {
|
655
|
+
if (!tryParseObjectHasOwnProperty(it_id)) break;
|
656
|
+
}
|
657
|
+
else if (identifier()) {
|
658
|
+
ch = commentWhitespace();
|
659
|
+
if (ch !== 46/*.*/) break;
|
660
|
+
pos++;
|
661
|
+
ch = commentWhitespace();
|
662
|
+
if (ch !== 104/*h*/ || !source.startsWith('asOwnProperty', pos + 1)) break;
|
663
|
+
pos += 14;
|
664
|
+
ch = commentWhitespace();
|
665
|
+
if (ch !== 40/*(*/) break;
|
666
|
+
pos += 1;
|
667
|
+
ch = commentWhitespace();
|
668
|
+
if (!source.startsWith(it_id, pos)) break;
|
669
|
+
pos += it_id.length;
|
670
|
+
ch = commentWhitespace();
|
671
|
+
if (ch !== 41/*)*/) break;
|
672
|
+
pos += 1;
|
673
|
+
}
|
674
|
+
else break;
|
675
|
+
ch = commentWhitespace();
|
676
|
+
}
|
677
|
+
if (ch !== 41/*)*/) break;
|
678
|
+
pos += 1;
|
679
|
+
ch = commentWhitespace();
|
680
|
+
}
|
681
|
+
else break;
|
682
|
+
|
683
|
+
// EXPORTS_IDENTIFIER `[` IDENTIFIER$2 `] =` IDENTIFIER$1 `[` IDENTIFIER$2 `]`
|
684
|
+
if (readExportsOrModuleDotExports(ch)) {
|
685
|
+
ch = commentWhitespace();
|
686
|
+
if (ch !== 91/*[*/) break;
|
687
|
+
pos++;
|
688
|
+
ch = commentWhitespace();
|
689
|
+
if (source.slice(pos, pos + it_id.length) !== it_id) break;
|
690
|
+
pos += it_id.length;
|
691
|
+
ch = commentWhitespace();
|
692
|
+
if (ch !== 93/*]*/) break;
|
693
|
+
pos++;
|
694
|
+
ch = commentWhitespace();
|
695
|
+
if (ch !== 61/*=*/) break;
|
696
|
+
pos++;
|
697
|
+
ch = commentWhitespace();
|
698
|
+
if (source.slice(pos, pos + id.length) !== id) break;
|
699
|
+
pos += id.length;
|
700
|
+
ch = commentWhitespace();
|
701
|
+
if (ch !== 91/*[*/) break;
|
702
|
+
pos++;
|
703
|
+
ch = commentWhitespace();
|
704
|
+
if (source.slice(pos, pos + it_id.length) !== it_id) break;
|
705
|
+
pos += it_id.length;
|
706
|
+
ch = commentWhitespace();
|
707
|
+
if (ch !== 93/*]*/) break;
|
708
|
+
pos++;
|
709
|
+
ch = commentWhitespace();
|
710
|
+
if (ch === 59/*;*/) {
|
711
|
+
pos++;
|
712
|
+
ch = commentWhitespace();
|
713
|
+
}
|
714
|
+
}
|
715
|
+
// `Object.defineProperty(` EXPORTS_IDENTIFIER `, ` IDENTIFIER$2 `, { enumerable: true, get: function () { return ` IDENTIFIER$1 `[` IDENTIFIER$2 `]; } })`
|
716
|
+
else if (ch === 79/*O*/) {
|
717
|
+
if (source.slice(pos + 1, pos + 6) !== 'bject') break;
|
718
|
+
pos += 6;
|
719
|
+
ch = commentWhitespace();
|
720
|
+
if (ch !== 46/*.*/) break;
|
721
|
+
pos++;
|
722
|
+
ch = commentWhitespace();
|
723
|
+
if (ch !== 100/*d*/ || !source.startsWith('efineProperty', pos + 1)) break;
|
724
|
+
pos += 14;
|
725
|
+
ch = commentWhitespace();
|
726
|
+
if (ch !== 40/*(*/) break;
|
727
|
+
pos++;
|
728
|
+
ch = commentWhitespace();
|
729
|
+
if (!readExportsOrModuleDotExports(ch)) break;
|
730
|
+
ch = commentWhitespace();
|
731
|
+
if (ch !== 44/*,*/) break;
|
732
|
+
pos++;
|
733
|
+
ch = commentWhitespace();
|
734
|
+
if (!source.startsWith(it_id, pos)) break;
|
735
|
+
pos += it_id.length;
|
736
|
+
ch = commentWhitespace();
|
737
|
+
if (ch !== 44/*,*/) break;
|
738
|
+
pos++;
|
739
|
+
ch = commentWhitespace();
|
740
|
+
if (ch !== 123/*{*/) break;
|
741
|
+
pos++;
|
742
|
+
ch = commentWhitespace();
|
743
|
+
if (ch !== 101/*e*/ || !source.startsWith('numerable', pos + 1)) break;
|
744
|
+
pos += 10;
|
745
|
+
ch = commentWhitespace();
|
746
|
+
if (ch !== 58/*:*/) break;
|
747
|
+
pos++;
|
748
|
+
ch = commentWhitespace();
|
749
|
+
if (ch !== 116/*t*/ && !source.startsWith('rue', pos + 1)) break;
|
750
|
+
pos += 4;
|
751
|
+
ch = commentWhitespace();
|
752
|
+
if (ch !== 44/*,*/) break;
|
753
|
+
pos++;
|
754
|
+
ch = commentWhitespace();
|
755
|
+
if (ch !== 103/*g*/ || !source.startsWith('et', pos + 1)) break;
|
756
|
+
pos += 3;
|
757
|
+
ch = commentWhitespace();
|
758
|
+
if (ch === 58/*:*/) {
|
759
|
+
pos++;
|
760
|
+
ch = commentWhitespace();
|
761
|
+
if (ch !== 102/*f*/) break;
|
762
|
+
if (!source.startsWith('unction', pos + 1)) break;
|
763
|
+
pos += 8;
|
764
|
+
let lastPos = pos;
|
765
|
+
ch = commentWhitespace();
|
766
|
+
if (ch !== 40 && (lastPos === pos || !identifier())) break;
|
767
|
+
ch = commentWhitespace();
|
768
|
+
}
|
769
|
+
if (ch !== 40/*(*/) break;
|
770
|
+
pos++;
|
771
|
+
ch = commentWhitespace();
|
772
|
+
if (ch !== 41/*)*/) break;
|
773
|
+
pos++;
|
774
|
+
ch = commentWhitespace();
|
775
|
+
if (ch !== 123/*{*/) break;
|
776
|
+
pos++;
|
777
|
+
ch = commentWhitespace();
|
778
|
+
if (ch !== 114/*r*/ || !source.startsWith('eturn', pos + 1)) break;
|
779
|
+
pos += 6;
|
780
|
+
ch = commentWhitespace();
|
781
|
+
if (!source.startsWith(id, pos)) break;
|
782
|
+
pos += id.length;
|
783
|
+
ch = commentWhitespace();
|
784
|
+
if (ch !== 91/*[*/) break;
|
785
|
+
pos++;
|
786
|
+
ch = commentWhitespace();
|
787
|
+
if (!source.startsWith(it_id, pos)) break;
|
788
|
+
pos += it_id.length;
|
789
|
+
ch = commentWhitespace();
|
790
|
+
if (ch !== 93/*]*/) break;
|
791
|
+
pos++;
|
792
|
+
ch = commentWhitespace();
|
793
|
+
if (ch === 59/*;*/) {
|
794
|
+
pos++;
|
795
|
+
ch = commentWhitespace();
|
796
|
+
}
|
797
|
+
if (ch !== 125/*}*/) break;
|
798
|
+
pos++;
|
799
|
+
ch = commentWhitespace();
|
800
|
+
if (ch === 44/*,*/) {
|
801
|
+
pos++;
|
802
|
+
ch = commentWhitespace();
|
803
|
+
}
|
804
|
+
if (ch !== 125/*}*/) break;
|
805
|
+
pos++;
|
806
|
+
ch = commentWhitespace();
|
807
|
+
if (ch !== 41/*)*/) break;
|
808
|
+
pos++;
|
809
|
+
ch = commentWhitespace();
|
810
|
+
if (ch === 59/*;*/) {
|
811
|
+
pos++;
|
812
|
+
ch = commentWhitespace();
|
813
|
+
}
|
814
|
+
}
|
815
|
+
else break;
|
816
|
+
|
817
|
+
if (ch !== 125/*}*/) break;
|
818
|
+
pos++;
|
819
|
+
ch = commentWhitespace();
|
820
|
+
if (ch !== 41/*)*/) break;
|
821
|
+
|
822
|
+
const starExportSpecifier = starExportMap[id];
|
823
|
+
if (starExportSpecifier) {
|
824
|
+
reexports.add(decode(starExportSpecifier));
|
825
|
+
pos = revertPos;
|
826
|
+
return;
|
827
|
+
}
|
828
|
+
return;
|
829
|
+
}
|
830
|
+
}
|
831
|
+
}
|
832
|
+
pos = revertPos;
|
833
|
+
}
|
834
|
+
|
835
|
+
function readExportsOrModuleDotExports (ch) {
|
836
|
+
const revertPos = pos;
|
837
|
+
if (ch === 109/*m*/ && source.startsWith('odule', pos + 1)) {
|
838
|
+
pos += 6;
|
839
|
+
ch = commentWhitespace();
|
840
|
+
if (ch !== 46/*.*/) {
|
841
|
+
pos = revertPos;
|
842
|
+
return false;
|
843
|
+
}
|
844
|
+
pos++;
|
845
|
+
ch = commentWhitespace();
|
846
|
+
}
|
847
|
+
if (ch === 101/*e*/ && source.startsWith('xports', pos + 1)) {
|
848
|
+
pos += 7;
|
849
|
+
return true;
|
850
|
+
}
|
851
|
+
else {
|
852
|
+
pos = revertPos;
|
853
|
+
return false;
|
854
|
+
}
|
855
|
+
}
|
856
|
+
|
857
|
+
function tryParseModuleExportsDotAssign () {
|
858
|
+
pos += 6;
|
859
|
+
const revertPos = pos - 1;
|
860
|
+
let ch = commentWhitespace();
|
861
|
+
if (ch === 46/*.*/) {
|
862
|
+
pos++;
|
863
|
+
ch = commentWhitespace();
|
864
|
+
if (ch === 101/*e*/ && source.startsWith('xports', pos + 1)) {
|
865
|
+
tryParseExportsDotAssign(true);
|
866
|
+
return;
|
867
|
+
}
|
868
|
+
}
|
869
|
+
pos = revertPos;
|
870
|
+
}
|
871
|
+
|
872
|
+
function tryParseExportsDotAssign (assign) {
|
873
|
+
pos += 7;
|
874
|
+
const revertPos = pos - 1;
|
875
|
+
let ch = commentWhitespace();
|
876
|
+
switch (ch) {
|
877
|
+
// exports.asdf
|
878
|
+
case 46/*.*/: {
|
879
|
+
pos++;
|
880
|
+
ch = commentWhitespace();
|
881
|
+
const startPos = pos;
|
882
|
+
if (identifier()) {
|
883
|
+
const endPos = pos;
|
884
|
+
ch = commentWhitespace();
|
885
|
+
if (ch === 61/*=*/) {
|
886
|
+
_exports.add(decode(source.slice(startPos, endPos)));
|
887
|
+
return;
|
888
|
+
}
|
889
|
+
}
|
890
|
+
break;
|
891
|
+
}
|
892
|
+
// exports['asdf']
|
893
|
+
case 91/*[*/: {
|
894
|
+
pos++;
|
895
|
+
ch = commentWhitespace();
|
896
|
+
if (ch === 39/*'*/ || ch === 34/*"*/) {
|
897
|
+
const startPos = pos;
|
898
|
+
stringLiteral(ch);
|
899
|
+
const endPos = ++pos;
|
900
|
+
ch = commentWhitespace();
|
901
|
+
if (ch !== 93/*]*/) break;
|
902
|
+
pos++;
|
903
|
+
ch = commentWhitespace();
|
904
|
+
if (ch !== 61/*=*/) break;
|
905
|
+
_exports.add(decode(source.slice(startPos, endPos)));
|
906
|
+
}
|
907
|
+
break;
|
908
|
+
}
|
909
|
+
// module.exports =
|
910
|
+
case 61/*=*/: {
|
911
|
+
if (assign) {
|
912
|
+
if (reexports.size)
|
913
|
+
reexports = new Set();
|
914
|
+
pos++;
|
915
|
+
ch = commentWhitespace();
|
916
|
+
// { ... }
|
917
|
+
if (ch === 123/*{*/) {
|
918
|
+
tryParseLiteralExports();
|
919
|
+
return;
|
920
|
+
}
|
921
|
+
|
922
|
+
// require('...')
|
923
|
+
if (ch === 114/*r*/)
|
924
|
+
tryParseRequire(ExportAssign);
|
925
|
+
}
|
926
|
+
}
|
927
|
+
}
|
928
|
+
pos = revertPos;
|
929
|
+
}
|
930
|
+
|
931
|
+
function tryParseRequire (requireType) {
|
932
|
+
// require('...')
|
933
|
+
const revertPos = pos;
|
934
|
+
if (source.startsWith('equire', pos + 1)) {
|
935
|
+
pos += 7;
|
936
|
+
let ch = commentWhitespace();
|
937
|
+
if (ch === 40/*(*/) {
|
938
|
+
pos++;
|
939
|
+
ch = commentWhitespace();
|
940
|
+
const reexportStart = pos;
|
941
|
+
if (ch === 39/*'*/ || ch === 34/*"*/) {
|
942
|
+
stringLiteral(ch);
|
943
|
+
const reexportEnd = ++pos;
|
944
|
+
ch = commentWhitespace();
|
945
|
+
if (ch === 41/*)*/) {
|
946
|
+
switch (requireType) {
|
947
|
+
case ExportAssign:
|
948
|
+
reexports.add(decode(source.slice(reexportStart, reexportEnd)));
|
949
|
+
return true;
|
950
|
+
case ExportStar:
|
951
|
+
reexports.add(decode(source.slice(reexportStart, reexportEnd)));
|
952
|
+
return true;
|
953
|
+
default:
|
954
|
+
lastStarExportSpecifier = decode(source.slice(reexportStart, reexportEnd));
|
955
|
+
return true;
|
956
|
+
}
|
957
|
+
}
|
958
|
+
}
|
959
|
+
}
|
960
|
+
pos = revertPos;
|
961
|
+
}
|
962
|
+
return false;
|
963
|
+
}
|
964
|
+
|
965
|
+
function tryParseLiteralExports () {
|
966
|
+
const revertPos = pos - 1;
|
967
|
+
while (pos++ < end) {
|
968
|
+
let ch = commentWhitespace();
|
969
|
+
const startPos = pos;
|
970
|
+
if (identifier()) {
|
971
|
+
const endPos = pos;
|
972
|
+
ch = commentWhitespace();
|
973
|
+
if (ch === 58/*:*/) {
|
974
|
+
pos++;
|
975
|
+
ch = commentWhitespace();
|
976
|
+
// nothing more complex than identifier expressions for now
|
977
|
+
if (!identifier()) {
|
978
|
+
pos = revertPos;
|
979
|
+
return;
|
980
|
+
}
|
981
|
+
ch = source.charCodeAt(pos);
|
982
|
+
}
|
983
|
+
_exports.add(decode(source.slice(startPos, endPos)));
|
984
|
+
}
|
985
|
+
else if (ch === 46/*.*/ && source.startsWith('..', pos + 1)) {
|
986
|
+
pos += 3;
|
987
|
+
if (source.charCodeAt(pos) === 114/*r*/ && tryParseRequire(ExportAssign)) {
|
988
|
+
pos++;
|
989
|
+
}
|
990
|
+
else if (!identifier()) {
|
991
|
+
pos = revertPos;
|
992
|
+
return;
|
993
|
+
}
|
994
|
+
ch = commentWhitespace();
|
995
|
+
}
|
996
|
+
else if (ch === 39/*'*/ || ch === 34/*"*/) {
|
997
|
+
const startPos = pos;
|
998
|
+
stringLiteral(ch);
|
999
|
+
const endPos = ++pos;
|
1000
|
+
ch = commentWhitespace();
|
1001
|
+
if (ch === 58/*:*/) {
|
1002
|
+
pos++;
|
1003
|
+
ch = commentWhitespace();
|
1004
|
+
// nothing more complex than identifier expressions for now
|
1005
|
+
if (!identifier()) {
|
1006
|
+
pos = revertPos;
|
1007
|
+
return;
|
1008
|
+
}
|
1009
|
+
ch = source.charCodeAt(pos);
|
1010
|
+
_exports.add(decode(source.slice(startPos, endPos)));
|
1011
|
+
}
|
1012
|
+
}
|
1013
|
+
else {
|
1014
|
+
pos = revertPos;
|
1015
|
+
return;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
if (ch === 125/*}*/)
|
1019
|
+
return;
|
1020
|
+
|
1021
|
+
if (ch !== 44/*,*/) {
|
1022
|
+
pos = revertPos;
|
1023
|
+
return;
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
// --- Extracted from AcornJS ---
|
1029
|
+
//(https://github.com/acornjs/acorn/blob/master/acorn/src/identifier.js#L23
|
1030
|
+
//
|
1031
|
+
// MIT License
|
1032
|
+
|
1033
|
+
// Copyright (C) 2012-2018 by various contributors (see AUTHORS)
|
1034
|
+
|
1035
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
1036
|
+
// of this software and associated documentation files (the "Software"), to deal
|
1037
|
+
// in the Software without restriction, including without limitation the rights
|
1038
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1039
|
+
// copies of the Software, and to permit persons to whom the Software is
|
1040
|
+
// furnished to do so, subject to the following conditions:
|
1041
|
+
|
1042
|
+
// The above copyright notice and this permission notice shall be included in
|
1043
|
+
// all copies or substantial portions of the Software.
|
1044
|
+
|
1045
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1046
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1047
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1048
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1049
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1050
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1051
|
+
// THE SOFTWARE.
|
1052
|
+
|
1053
|
+
// ## Character categories
|
1054
|
+
|
1055
|
+
// Big ugly regular expressions that match characters in the
|
1056
|
+
// whitespace, identifier, and identifier-start categories. These
|
1057
|
+
// are only applied when a character is found to actually have a
|
1058
|
+
// code point above 128.
|
1059
|
+
// Generated by `bin/generate-identifier-regex.js`.
|
1060
|
+
let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"
|
1061
|
+
let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"
|
1062
|
+
|
1063
|
+
const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]")
|
1064
|
+
const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]")
|
1065
|
+
|
1066
|
+
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null
|
1067
|
+
|
1068
|
+
// These are a run-length and offset encoded representation of the
|
1069
|
+
// >0xffff code points that are a valid part of identifiers. The
|
1070
|
+
// offset starts at 0x10000, and each pair of numbers represents an
|
1071
|
+
// offset to the next range, and then a size of the range. They were
|
1072
|
+
// generated by bin/generate-identifier-regex.js
|
1073
|
+
|
1074
|
+
// eslint-disable-next-line comma-spacing
|
1075
|
+
const astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938]
|
1076
|
+
|
1077
|
+
// eslint-disable-next-line comma-spacing
|
1078
|
+
const astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239]
|
1079
|
+
|
1080
|
+
// This has a complexity linear to the value of the code. The
|
1081
|
+
// assumption is that looking up astral identifier characters is
|
1082
|
+
// rare.
|
1083
|
+
function isInAstralSet(code, set) {
|
1084
|
+
let pos = 0x10000
|
1085
|
+
for (let i = 0; i < set.length; i += 2) {
|
1086
|
+
pos += set[i]
|
1087
|
+
if (pos > code) return false
|
1088
|
+
pos += set[i + 1]
|
1089
|
+
if (pos >= code) return true
|
1090
|
+
}
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
// Test whether a given character code starts an identifier.
|
1094
|
+
|
1095
|
+
function isIdentifierStart(code, astral) {
|
1096
|
+
if (code < 65) return code === 36
|
1097
|
+
if (code < 91) return true
|
1098
|
+
if (code < 97) return code === 95
|
1099
|
+
if (code < 123) return true
|
1100
|
+
if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))
|
1101
|
+
if (astral === false) return false
|
1102
|
+
return isInAstralSet(code, astralIdentifierStartCodes)
|
1103
|
+
}
|
1104
|
+
|
1105
|
+
// Test whether a given character is part of an identifier.
|
1106
|
+
|
1107
|
+
function isIdentifierChar(code, astral) {
|
1108
|
+
if (code < 48) return code === 36
|
1109
|
+
if (code < 58) return true
|
1110
|
+
if (code < 65) return false
|
1111
|
+
if (code < 91) return true
|
1112
|
+
if (code < 97) return code === 95
|
1113
|
+
if (code < 123) return true
|
1114
|
+
if (code <= 0xffff) return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code))
|
1115
|
+
if (astral === false) return false
|
1116
|
+
return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes)
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
function identifier () {
|
1120
|
+
let ch = source.codePointAt(pos);
|
1121
|
+
if (!isIdentifierStart(ch, true) || ch === '\\')
|
1122
|
+
return false;
|
1123
|
+
pos += codePointLen(ch);
|
1124
|
+
while (ch = source.codePointAt(pos)) {
|
1125
|
+
if (isIdentifierChar(ch, true)) {
|
1126
|
+
pos += codePointLen(ch);
|
1127
|
+
}
|
1128
|
+
else if (ch === '\\') {
|
1129
|
+
// no identifier escapes support for now
|
1130
|
+
return false;
|
1131
|
+
}
|
1132
|
+
else {
|
1133
|
+
break;
|
1134
|
+
}
|
1135
|
+
}
|
1136
|
+
return true;
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
function codePointLen (ch) {
|
1140
|
+
if (ch < 0x10000) return 1;
|
1141
|
+
return 2;
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
function codePointAtLast (bPos) {
|
1145
|
+
// Gives the UTF char for backtracking surrogates
|
1146
|
+
const ch = source.charCodeAt(bPos);
|
1147
|
+
if ((ch & 0xFC00) === 0xDC00)
|
1148
|
+
return (((source.charCodeAt(bPos - 1) & 0x3FF) << 10) | (ch & 0x3FF)) + 0x10000;
|
1149
|
+
return ch;
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
function throwIfImportStatement () {
|
1153
|
+
const startPos = pos;
|
1154
|
+
pos += 6;
|
1155
|
+
const ch = commentWhitespace();
|
1156
|
+
switch (ch) {
|
1157
|
+
// dynamic import
|
1158
|
+
case 40/*(*/:
|
1159
|
+
openTokenPosStack[openTokenDepth++] = startPos;
|
1160
|
+
return;
|
1161
|
+
// import.meta
|
1162
|
+
case 46/*.*/:
|
1163
|
+
throw new Error('Unexpected import.meta in CJS module.');
|
1164
|
+
|
1165
|
+
default:
|
1166
|
+
// no space after "import" -> not an import keyword
|
1167
|
+
if (pos === startPos + 6)
|
1168
|
+
break;
|
1169
|
+
case 34/*"*/:
|
1170
|
+
case 39/*'*/:
|
1171
|
+
case 123/*{*/:
|
1172
|
+
case 42/***/:
|
1173
|
+
// import statement only permitted at base-level
|
1174
|
+
if (openTokenDepth !== 0) {
|
1175
|
+
pos--;
|
1176
|
+
return;
|
1177
|
+
}
|
1178
|
+
// import statements are a syntax error in CommonJS
|
1179
|
+
throw new Error('Unexpected import statement in CJS module.');
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
function throwIfExportStatement () {
|
1184
|
+
pos += 6;
|
1185
|
+
const curPos = pos;
|
1186
|
+
const ch = commentWhitespace();
|
1187
|
+
if (pos === curPos && !isPunctuator(ch))
|
1188
|
+
return;
|
1189
|
+
throw new Error('Unexpected export statement in CJS module.');
|
1190
|
+
}
|
1191
|
+
|
1192
|
+
function commentWhitespace () {
|
1193
|
+
let ch;
|
1194
|
+
do {
|
1195
|
+
ch = source.charCodeAt(pos);
|
1196
|
+
if (ch === 47/*/*/) {
|
1197
|
+
const next_ch = source.charCodeAt(pos + 1);
|
1198
|
+
if (next_ch === 47/*/*/)
|
1199
|
+
lineComment();
|
1200
|
+
else if (next_ch === 42/***/)
|
1201
|
+
blockComment();
|
1202
|
+
else
|
1203
|
+
return ch;
|
1204
|
+
}
|
1205
|
+
else if (!isBrOrWs(ch)) {
|
1206
|
+
return ch;
|
1207
|
+
}
|
1208
|
+
} while (pos++ < end);
|
1209
|
+
return ch;
|
1210
|
+
}
|
1211
|
+
|
1212
|
+
function templateString () {
|
1213
|
+
while (pos++ < end) {
|
1214
|
+
const ch = source.charCodeAt(pos);
|
1215
|
+
if (ch === 36/*$*/ && source.charCodeAt(pos + 1) === 123/*{*/) {
|
1216
|
+
pos++;
|
1217
|
+
templateStack[templateStackDepth++] = templateDepth;
|
1218
|
+
templateDepth = ++openTokenDepth;
|
1219
|
+
return;
|
1220
|
+
}
|
1221
|
+
if (ch === 96/*`*/)
|
1222
|
+
return;
|
1223
|
+
if (ch === 92/*\*/)
|
1224
|
+
pos++;
|
1225
|
+
}
|
1226
|
+
syntaxError();
|
1227
|
+
}
|
1228
|
+
|
1229
|
+
function blockComment () {
|
1230
|
+
pos++;
|
1231
|
+
while (pos++ < end) {
|
1232
|
+
const ch = source.charCodeAt(pos);
|
1233
|
+
if (ch === 42/***/ && source.charCodeAt(pos + 1) === 47/*/*/) {
|
1234
|
+
pos++;
|
1235
|
+
return;
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
function lineComment () {
|
1241
|
+
while (pos++ < end) {
|
1242
|
+
const ch = source.charCodeAt(pos);
|
1243
|
+
if (ch === 10/*\n*/ || ch === 13/*\r*/)
|
1244
|
+
return;
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
function stringLiteral (quote) {
|
1249
|
+
while (pos++ < end) {
|
1250
|
+
let ch = source.charCodeAt(pos);
|
1251
|
+
if (ch === quote)
|
1252
|
+
return;
|
1253
|
+
if (ch === 92/*\*/) {
|
1254
|
+
ch = source.charCodeAt(++pos);
|
1255
|
+
if (ch === 13/*\r*/ && source.charCodeAt(pos + 1) === 10/*\n*/)
|
1256
|
+
pos++;
|
1257
|
+
}
|
1258
|
+
else if (isBr(ch))
|
1259
|
+
break;
|
1260
|
+
}
|
1261
|
+
throw new Error('Unterminated string.');
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
function regexCharacterClass () {
|
1265
|
+
while (pos++ < end) {
|
1266
|
+
let ch = source.charCodeAt(pos);
|
1267
|
+
if (ch === 93/*]*/)
|
1268
|
+
return ch;
|
1269
|
+
if (ch === 92/*\*/)
|
1270
|
+
pos++;
|
1271
|
+
else if (ch === 10/*\n*/ || ch === 13/*\r*/)
|
1272
|
+
break;
|
1273
|
+
}
|
1274
|
+
throw new Error('Syntax error reading regular expression class.');
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
function regularExpression () {
|
1278
|
+
while (pos++ < end) {
|
1279
|
+
let ch = source.charCodeAt(pos);
|
1280
|
+
if (ch === 47/*/*/)
|
1281
|
+
return;
|
1282
|
+
if (ch === 91/*[*/)
|
1283
|
+
ch = regexCharacterClass();
|
1284
|
+
else if (ch === 92/*\*/)
|
1285
|
+
pos++;
|
1286
|
+
else if (ch === 10/*\n*/ || ch === 13/*\r*/)
|
1287
|
+
break;
|
1288
|
+
}
|
1289
|
+
throw new Error('Syntax error reading regular expression.');
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
// Note: non-asii BR and whitespace checks omitted for perf / footprint
|
1293
|
+
// if there is a significant user need this can be reconsidered
|
1294
|
+
function isBr (c) {
|
1295
|
+
return c === 13/*\r*/ || c === 10/*\n*/;
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
function isBrOrWs (c) {
|
1299
|
+
return c > 8 && c < 14 || c === 32 || c === 160;
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
function isBrOrWsOrPunctuatorNotDot (c) {
|
1303
|
+
return c > 8 && c < 14 || c === 32 || c === 160 || isPunctuator(c) && c !== 46/*.*/;
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
function keywordStart (pos) {
|
1307
|
+
return pos === 0 || isBrOrWsOrPunctuatorNotDot(source.charCodeAt(pos - 1));
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
function readPrecedingKeyword (pos, match) {
|
1311
|
+
if (pos < match.length - 1)
|
1312
|
+
return false;
|
1313
|
+
return source.startsWith(match, pos - match.length + 1) && (pos === 0 || isBrOrWsOrPunctuatorNotDot(source.charCodeAt(pos - match.length)));
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
function readPrecedingKeyword1 (pos, ch) {
|
1317
|
+
return source.charCodeAt(pos) === ch && (pos === 0 || isBrOrWsOrPunctuatorNotDot(source.charCodeAt(pos - 1)));
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
// Detects one of case, debugger, delete, do, else, in, instanceof, new,
|
1321
|
+
// return, throw, typeof, void, yield, await
|
1322
|
+
function isExpressionKeyword (pos) {
|
1323
|
+
switch (source.charCodeAt(pos)) {
|
1324
|
+
case 100/*d*/:
|
1325
|
+
switch (source.charCodeAt(pos - 1)) {
|
1326
|
+
case 105/*i*/:
|
1327
|
+
// void
|
1328
|
+
return readPrecedingKeyword(pos - 2, 'vo');
|
1329
|
+
case 108/*l*/:
|
1330
|
+
// yield
|
1331
|
+
return readPrecedingKeyword(pos - 2, 'yie');
|
1332
|
+
default:
|
1333
|
+
return false;
|
1334
|
+
}
|
1335
|
+
case 101/*e*/:
|
1336
|
+
switch (source.charCodeAt(pos - 1)) {
|
1337
|
+
case 115/*s*/:
|
1338
|
+
switch (source.charCodeAt(pos - 2)) {
|
1339
|
+
case 108/*l*/:
|
1340
|
+
// else
|
1341
|
+
return readPrecedingKeyword1(pos - 3, 101/*e*/);
|
1342
|
+
case 97/*a*/:
|
1343
|
+
// case
|
1344
|
+
return readPrecedingKeyword1(pos - 3, 99/*c*/);
|
1345
|
+
default:
|
1346
|
+
return false;
|
1347
|
+
}
|
1348
|
+
case 116/*t*/:
|
1349
|
+
// delete
|
1350
|
+
return readPrecedingKeyword(pos - 2, 'dele');
|
1351
|
+
default:
|
1352
|
+
return false;
|
1353
|
+
}
|
1354
|
+
case 102/*f*/:
|
1355
|
+
if (source.charCodeAt(pos - 1) !== 111/*o*/ || source.charCodeAt(pos - 2) !== 101/*e*/)
|
1356
|
+
return false;
|
1357
|
+
switch (source.charCodeAt(pos - 3)) {
|
1358
|
+
case 99/*c*/:
|
1359
|
+
// instanceof
|
1360
|
+
return readPrecedingKeyword(pos - 4, 'instan');
|
1361
|
+
case 112/*p*/:
|
1362
|
+
// typeof
|
1363
|
+
return readPrecedingKeyword(pos - 4, 'ty');
|
1364
|
+
default:
|
1365
|
+
return false;
|
1366
|
+
}
|
1367
|
+
case 110/*n*/:
|
1368
|
+
// in, return
|
1369
|
+
return readPrecedingKeyword1(pos - 1, 105/*i*/) || readPrecedingKeyword(pos - 1, 'retur');
|
1370
|
+
case 111/*o*/:
|
1371
|
+
// do
|
1372
|
+
return readPrecedingKeyword1(pos - 1, 100/*d*/);
|
1373
|
+
case 114/*r*/:
|
1374
|
+
// debugger
|
1375
|
+
return readPrecedingKeyword(pos - 1, 'debugge');
|
1376
|
+
case 116/*t*/:
|
1377
|
+
// await
|
1378
|
+
return readPrecedingKeyword(pos - 1, 'awai');
|
1379
|
+
case 119/*w*/:
|
1380
|
+
switch (source.charCodeAt(pos - 1)) {
|
1381
|
+
case 101/*e*/:
|
1382
|
+
// new
|
1383
|
+
return readPrecedingKeyword1(pos - 2, 110/*n*/);
|
1384
|
+
case 111/*o*/:
|
1385
|
+
// throw
|
1386
|
+
return readPrecedingKeyword(pos - 2, 'thr');
|
1387
|
+
default:
|
1388
|
+
return false;
|
1389
|
+
}
|
1390
|
+
}
|
1391
|
+
return false;
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
function isParenKeyword (curPos) {
|
1395
|
+
return source.charCodeAt(curPos) === 101/*e*/ && source.startsWith('whil', curPos - 4) ||
|
1396
|
+
source.charCodeAt(curPos) === 114/*r*/ && source.startsWith('fo', curPos - 2) ||
|
1397
|
+
source.charCodeAt(curPos - 1) === 105/*i*/ && source.charCodeAt(curPos) === 102/*f*/;
|
1398
|
+
}
|
1399
|
+
|
1400
|
+
function isPunctuator (ch) {
|
1401
|
+
// 23 possible punctuator endings: !%&()*+,-./:;<=>?[]^{}|~
|
1402
|
+
return ch === 33/*!*/ || ch === 37/*%*/ || ch === 38/*&*/ ||
|
1403
|
+
ch > 39 && ch < 48 || ch > 57 && ch < 64 ||
|
1404
|
+
ch === 91/*[*/ || ch === 93/*]*/ || ch === 94/*^*/ ||
|
1405
|
+
ch > 122 && ch < 127;
|
1406
|
+
}
|
1407
|
+
|
1408
|
+
function isExpressionPunctuator (ch) {
|
1409
|
+
// 20 possible expression endings: !%&(*+,-.:;<=>?[^{|~
|
1410
|
+
return ch === 33/*!*/ || ch === 37/*%*/ || ch === 38/*&*/ ||
|
1411
|
+
ch > 39 && ch < 47 && ch !== 41 || ch > 57 && ch < 64 ||
|
1412
|
+
ch === 91/*[*/ || ch === 94/*^*/ || ch > 122 && ch < 127 && ch !== 125/*}*/;
|
1413
|
+
}
|
1414
|
+
|
1415
|
+
function isExpressionTerminator (curPos) {
|
1416
|
+
// detects:
|
1417
|
+
// => ; ) finally catch else
|
1418
|
+
// as all of these followed by a { will indicate a statement brace
|
1419
|
+
switch (source.charCodeAt(curPos)) {
|
1420
|
+
case 62/*>*/:
|
1421
|
+
return source.charCodeAt(curPos - 1) === 61/*=*/;
|
1422
|
+
case 59/*;*/:
|
1423
|
+
case 41/*)*/:
|
1424
|
+
return true;
|
1425
|
+
case 104/*h*/:
|
1426
|
+
return source.startsWith('catc', curPos - 4);
|
1427
|
+
case 121/*y*/:
|
1428
|
+
return source.startsWith('finall', curPos - 6);
|
1429
|
+
case 101/*e*/:
|
1430
|
+
return source.startsWith('els', curPos - 3);
|
1431
|
+
}
|
1432
|
+
return false;
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
const initPromise = Promise.resolve();
|
1436
|
+
|
1437
|
+
module.exports.init = () => initPromise;
|
1438
|
+
module.exports.parse = parseCJS;
|