decidim 0.26.5 → 0.27.0.rc1
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 +4 -22
- data/babel.config.json +4 -6
- data/decidim-core/lib/decidim/webpacker/thread_safe_compiler.rb +30 -0
- data/decidim-core/lib/decidim/webpacker/webpack/custom.js +15 -3
- data/decidim-core/lib/decidim/webpacker/webpacker.yml +1 -1
- data/docs/README.adoc +3 -14
- data/docs/antora.yml +1 -1
- data/docs/modules/configure/pages/environment_variables.adoc +833 -29
- data/docs/modules/configure/pages/index.adoc +40 -0
- data/docs/modules/configure/pages/initializer.adoc +46 -11
- data/docs/modules/customize/assets/images/error_max_budget.png +0 -0
- data/docs/modules/customize/assets/images/maximum_budget.png +0 -0
- data/docs/modules/customize/pages/code.adoc +0 -12
- data/docs/modules/customize/pages/cookies.adoc +109 -0
- data/docs/modules/customize/pages/index.adoc +28 -0
- data/docs/modules/customize/pages/logic.adoc +103 -0
- data/docs/modules/customize/pages/styles.adoc +2 -2
- data/docs/modules/develop/pages/api.adoc +3 -7
- data/docs/modules/develop/pages/guide_development_app.adoc +5 -3
- data/docs/modules/develop/pages/guide_migrate_webpacker_app.adoc +46 -6
- data/docs/modules/develop/pages/maps.adoc +6 -6
- data/docs/modules/develop/pages/metrics.adoc +4 -0
- data/docs/modules/develop/pages/modules.adoc +1 -1
- data/docs/modules/develop/pages/newsletter_templates.adoc +1 -1
- data/docs/modules/develop/pages/notifications.adoc +1 -1
- data/docs/modules/develop/pages/releases.adoc +3 -2
- data/docs/modules/develop/pages/reminders.adoc +138 -0
- data/docs/modules/develop/pages/testing.adoc +68 -4
- data/docs/modules/install/pages/checklist.adoc +1 -1
- data/docs/modules/install/pages/empty-database.adoc +32 -0
- data/docs/modules/install/pages/index.adoc +26 -17
- data/docs/modules/install/pages/manual.adoc +9 -5
- data/docs/modules/install/pages/update.adoc +3 -3
- data/docs/modules/services/pages/index.adoc +12 -0
- data/docs/modules/services/pages/maps.adoc +2 -2
- data/docs/modules/services/pages/sms.adoc +32 -0
- data/lib/decidim/gem_manager.rb +11 -28
- data/lib/decidim/version.rb +1 -1
- data/lib/tasks/decidim_tasks.rake +2 -2
- data/package-lock.json +12550 -18192
- data/package.json +3 -3
- 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/node_modules/uuid/AUTHORS +5 -0
- data/packages/core/node_modules/uuid/CHANGELOG.md +119 -0
- data/packages/core/node_modules/uuid/LICENSE.md +21 -0
- data/packages/core/node_modules/uuid/README.md +276 -0
- data/packages/core/node_modules/uuid/bin/uuid +65 -0
- data/packages/core/node_modules/uuid/index.js +8 -0
- data/packages/core/node_modules/uuid/lib/bytesToUuid.js +26 -0
- data/packages/core/node_modules/uuid/lib/md5-browser.js +216 -0
- data/packages/core/node_modules/uuid/lib/md5.js +25 -0
- data/packages/core/node_modules/uuid/lib/rng-browser.js +34 -0
- data/packages/core/node_modules/uuid/lib/rng.js +8 -0
- data/packages/core/node_modules/uuid/lib/sha1-browser.js +89 -0
- data/packages/core/node_modules/uuid/lib/sha1.js +25 -0
- data/packages/core/node_modules/uuid/lib/v35.js +57 -0
- data/packages/core/node_modules/uuid/package.json +49 -0
- data/packages/core/node_modules/uuid/v1.js +109 -0
- data/packages/core/node_modules/uuid/v3.js +4 -0
- data/packages/core/node_modules/uuid/v4.js +29 -0
- data/packages/core/node_modules/uuid/v5.js +3 -0
- data/packages/core/package.json +9 -15
- data/packages/dev/package.json +1 -1
- data/packages/elections/package.json +5 -5
- data/packages/eslint-config/package.json +1 -1
- data/packages/stylelint-config/package.json +1 -1
- data/packages/webpacker/index.js +5 -4
- 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 +42 -31
- data/packages/webpacker/src/loaders/decidim-sass-loader.js +88 -0
- data/packages/webpacker/src/override-config.js +42 -41
- metadata +1676 -47
- /data/docs/modules/develop/pages/{how_to_fix_metrics.adoc → troubleshooting_metrics.adoc} +0 -0
@@ -0,0 +1,712 @@
|
|
1
|
+
/**
|
2
|
+
* @fileoverview Main API Class
|
3
|
+
* @author Kai Cataldo
|
4
|
+
* @author Toru Nagashima
|
5
|
+
*/
|
6
|
+
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
//------------------------------------------------------------------------------
|
10
|
+
// Requirements
|
11
|
+
//------------------------------------------------------------------------------
|
12
|
+
|
13
|
+
const path = require("path");
|
14
|
+
const fs = require("fs");
|
15
|
+
const { promisify } = require("util");
|
16
|
+
const { CLIEngine, getCLIEngineInternalSlots } = require("../cli-engine/cli-engine");
|
17
|
+
const BuiltinRules = require("../rules");
|
18
|
+
const {
|
19
|
+
Legacy: {
|
20
|
+
ConfigOps: {
|
21
|
+
getRuleSeverity
|
22
|
+
}
|
23
|
+
}
|
24
|
+
} = require("@eslint/eslintrc");
|
25
|
+
const { version } = require("../../package.json");
|
26
|
+
|
27
|
+
//------------------------------------------------------------------------------
|
28
|
+
// Typedefs
|
29
|
+
//------------------------------------------------------------------------------
|
30
|
+
|
31
|
+
/** @typedef {import("../cli-engine/cli-engine").LintReport} CLIEngineLintReport */
|
32
|
+
/** @typedef {import("../shared/types").DeprecatedRuleInfo} DeprecatedRuleInfo */
|
33
|
+
/** @typedef {import("../shared/types").ConfigData} ConfigData */
|
34
|
+
/** @typedef {import("../shared/types").LintMessage} LintMessage */
|
35
|
+
/** @typedef {import("../shared/types").SuppressedLintMessage} SuppressedLintMessage */
|
36
|
+
/** @typedef {import("../shared/types").Plugin} Plugin */
|
37
|
+
/** @typedef {import("../shared/types").Rule} Rule */
|
38
|
+
|
39
|
+
/**
|
40
|
+
* The main formatter object.
|
41
|
+
* @typedef Formatter
|
42
|
+
* @property {function(LintResult[]): string | Promise<string>} format format function.
|
43
|
+
*/
|
44
|
+
|
45
|
+
/**
|
46
|
+
* The options with which to configure the ESLint instance.
|
47
|
+
* @typedef {Object} ESLintOptions
|
48
|
+
* @property {boolean} [allowInlineConfig] Enable or disable inline configuration comments.
|
49
|
+
* @property {ConfigData} [baseConfig] Base config object, extended by all configs used with this instance
|
50
|
+
* @property {boolean} [cache] Enable result caching.
|
51
|
+
* @property {string} [cacheLocation] The cache file to use instead of .eslintcache.
|
52
|
+
* @property {"metadata" | "content"} [cacheStrategy] The strategy used to detect changed files.
|
53
|
+
* @property {string} [cwd] The value to use for the current working directory.
|
54
|
+
* @property {boolean} [errorOnUnmatchedPattern] If `false` then `ESLint#lintFiles()` doesn't throw even if no target files found. Defaults to `true`.
|
55
|
+
* @property {string[]} [extensions] An array of file extensions to check.
|
56
|
+
* @property {boolean|Function} [fix] Execute in autofix mode. If a function, should return a boolean.
|
57
|
+
* @property {string[]} [fixTypes] Array of rule types to apply fixes for.
|
58
|
+
* @property {boolean} [globInputPaths] Set to false to skip glob resolution of input file paths to lint (default: true). If false, each input file paths is assumed to be a non-glob path to an existing file.
|
59
|
+
* @property {boolean} [ignore] False disables use of .eslintignore.
|
60
|
+
* @property {string} [ignorePath] The ignore file to use instead of .eslintignore.
|
61
|
+
* @property {ConfigData} [overrideConfig] Override config object, overrides all configs used with this instance
|
62
|
+
* @property {string} [overrideConfigFile] The configuration file to use.
|
63
|
+
* @property {Record<string,Plugin>|null} [plugins] Preloaded plugins. This is a map-like object, keys are plugin IDs and each value is implementation.
|
64
|
+
* @property {"error" | "warn" | "off"} [reportUnusedDisableDirectives] the severity to report unused eslint-disable directives.
|
65
|
+
* @property {string} [resolvePluginsRelativeTo] The folder where plugins should be resolved from, defaulting to the CWD.
|
66
|
+
* @property {string[]} [rulePaths] An array of directories to load custom rules from.
|
67
|
+
* @property {boolean} [useEslintrc] False disables looking for .eslintrc.* files.
|
68
|
+
*/
|
69
|
+
|
70
|
+
/**
|
71
|
+
* A rules metadata object.
|
72
|
+
* @typedef {Object} RulesMeta
|
73
|
+
* @property {string} id The plugin ID.
|
74
|
+
* @property {Object} definition The plugin definition.
|
75
|
+
*/
|
76
|
+
|
77
|
+
/**
|
78
|
+
* A linting result.
|
79
|
+
* @typedef {Object} LintResult
|
80
|
+
* @property {string} filePath The path to the file that was linted.
|
81
|
+
* @property {LintMessage[]} messages All of the messages for the result.
|
82
|
+
* @property {SuppressedLintMessage[]} suppressedMessages All of the suppressed messages for the result.
|
83
|
+
* @property {number} errorCount Number of errors for the result.
|
84
|
+
* @property {number} fatalErrorCount Number of fatal errors for the result.
|
85
|
+
* @property {number} warningCount Number of warnings for the result.
|
86
|
+
* @property {number} fixableErrorCount Number of fixable errors for the result.
|
87
|
+
* @property {number} fixableWarningCount Number of fixable warnings for the result.
|
88
|
+
* @property {string} [source] The source code of the file that was linted.
|
89
|
+
* @property {string} [output] The source code of the file that was linted, with as many fixes applied as possible.
|
90
|
+
* @property {DeprecatedRuleInfo[]} usedDeprecatedRules The list of used deprecated rules.
|
91
|
+
*/
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Private members for the `ESLint` instance.
|
95
|
+
* @typedef {Object} ESLintPrivateMembers
|
96
|
+
* @property {CLIEngine} cliEngine The wrapped CLIEngine instance.
|
97
|
+
* @property {ESLintOptions} options The options used to instantiate the ESLint instance.
|
98
|
+
*/
|
99
|
+
|
100
|
+
//------------------------------------------------------------------------------
|
101
|
+
// Helpers
|
102
|
+
//------------------------------------------------------------------------------
|
103
|
+
|
104
|
+
const writeFile = promisify(fs.writeFile);
|
105
|
+
|
106
|
+
/**
|
107
|
+
* The map with which to store private class members.
|
108
|
+
* @type {WeakMap<ESLint, ESLintPrivateMembers>}
|
109
|
+
*/
|
110
|
+
const privateMembersMap = new WeakMap();
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Check if a given value is a non-empty string or not.
|
114
|
+
* @param {any} x The value to check.
|
115
|
+
* @returns {boolean} `true` if `x` is a non-empty string.
|
116
|
+
*/
|
117
|
+
function isNonEmptyString(x) {
|
118
|
+
return typeof x === "string" && x.trim() !== "";
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Check if a given value is an array of non-empty stringss or not.
|
123
|
+
* @param {any} x The value to check.
|
124
|
+
* @returns {boolean} `true` if `x` is an array of non-empty stringss.
|
125
|
+
*/
|
126
|
+
function isArrayOfNonEmptyString(x) {
|
127
|
+
return Array.isArray(x) && x.every(isNonEmptyString);
|
128
|
+
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* Check if a given value is a valid fix type or not.
|
132
|
+
* @param {any} x The value to check.
|
133
|
+
* @returns {boolean} `true` if `x` is valid fix type.
|
134
|
+
*/
|
135
|
+
function isFixType(x) {
|
136
|
+
return x === "directive" || x === "problem" || x === "suggestion" || x === "layout";
|
137
|
+
}
|
138
|
+
|
139
|
+
/**
|
140
|
+
* Check if a given value is an array of fix types or not.
|
141
|
+
* @param {any} x The value to check.
|
142
|
+
* @returns {boolean} `true` if `x` is an array of fix types.
|
143
|
+
*/
|
144
|
+
function isFixTypeArray(x) {
|
145
|
+
return Array.isArray(x) && x.every(isFixType);
|
146
|
+
}
|
147
|
+
|
148
|
+
/**
|
149
|
+
* The error for invalid options.
|
150
|
+
*/
|
151
|
+
class ESLintInvalidOptionsError extends Error {
|
152
|
+
constructor(messages) {
|
153
|
+
super(`Invalid Options:\n- ${messages.join("\n- ")}`);
|
154
|
+
this.code = "ESLINT_INVALID_OPTIONS";
|
155
|
+
Error.captureStackTrace(this, ESLintInvalidOptionsError);
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
/**
|
160
|
+
* Validates and normalizes options for the wrapped CLIEngine instance.
|
161
|
+
* @param {ESLintOptions} options The options to process.
|
162
|
+
* @throws {ESLintInvalidOptionsError} If of any of a variety of type errors.
|
163
|
+
* @returns {ESLintOptions} The normalized options.
|
164
|
+
*/
|
165
|
+
function processOptions({
|
166
|
+
allowInlineConfig = true, // ← we cannot use `overrideConfig.noInlineConfig` instead because `allowInlineConfig` has side-effect that suppress warnings that show inline configs are ignored.
|
167
|
+
baseConfig = null,
|
168
|
+
cache = false,
|
169
|
+
cacheLocation = ".eslintcache",
|
170
|
+
cacheStrategy = "metadata",
|
171
|
+
cwd = process.cwd(),
|
172
|
+
errorOnUnmatchedPattern = true,
|
173
|
+
extensions = null, // ← should be null by default because if it's an array then it suppresses RFC20 feature.
|
174
|
+
fix = false,
|
175
|
+
fixTypes = null, // ← should be null by default because if it's an array then it suppresses rules that don't have the `meta.type` property.
|
176
|
+
globInputPaths = true,
|
177
|
+
ignore = true,
|
178
|
+
ignorePath = null, // ← should be null by default because if it's a string then it may throw ENOENT.
|
179
|
+
overrideConfig = null,
|
180
|
+
overrideConfigFile = null,
|
181
|
+
plugins = {},
|
182
|
+
reportUnusedDisableDirectives = null, // ← should be null by default because if it's a string then it overrides the 'reportUnusedDisableDirectives' setting in config files. And we cannot use `overrideConfig.reportUnusedDisableDirectives` instead because we cannot configure the `error` severity with that.
|
183
|
+
resolvePluginsRelativeTo = null, // ← should be null by default because if it's a string then it suppresses RFC47 feature.
|
184
|
+
rulePaths = [],
|
185
|
+
useEslintrc = true,
|
186
|
+
...unknownOptions
|
187
|
+
}) {
|
188
|
+
const errors = [];
|
189
|
+
const unknownOptionKeys = Object.keys(unknownOptions);
|
190
|
+
|
191
|
+
if (unknownOptionKeys.length >= 1) {
|
192
|
+
errors.push(`Unknown options: ${unknownOptionKeys.join(", ")}`);
|
193
|
+
if (unknownOptionKeys.includes("cacheFile")) {
|
194
|
+
errors.push("'cacheFile' has been removed. Please use the 'cacheLocation' option instead.");
|
195
|
+
}
|
196
|
+
if (unknownOptionKeys.includes("configFile")) {
|
197
|
+
errors.push("'configFile' has been removed. Please use the 'overrideConfigFile' option instead.");
|
198
|
+
}
|
199
|
+
if (unknownOptionKeys.includes("envs")) {
|
200
|
+
errors.push("'envs' has been removed. Please use the 'overrideConfig.env' option instead.");
|
201
|
+
}
|
202
|
+
if (unknownOptionKeys.includes("globals")) {
|
203
|
+
errors.push("'globals' has been removed. Please use the 'overrideConfig.globals' option instead.");
|
204
|
+
}
|
205
|
+
if (unknownOptionKeys.includes("ignorePattern")) {
|
206
|
+
errors.push("'ignorePattern' has been removed. Please use the 'overrideConfig.ignorePatterns' option instead.");
|
207
|
+
}
|
208
|
+
if (unknownOptionKeys.includes("parser")) {
|
209
|
+
errors.push("'parser' has been removed. Please use the 'overrideConfig.parser' option instead.");
|
210
|
+
}
|
211
|
+
if (unknownOptionKeys.includes("parserOptions")) {
|
212
|
+
errors.push("'parserOptions' has been removed. Please use the 'overrideConfig.parserOptions' option instead.");
|
213
|
+
}
|
214
|
+
if (unknownOptionKeys.includes("rules")) {
|
215
|
+
errors.push("'rules' has been removed. Please use the 'overrideConfig.rules' option instead.");
|
216
|
+
}
|
217
|
+
}
|
218
|
+
if (typeof allowInlineConfig !== "boolean") {
|
219
|
+
errors.push("'allowInlineConfig' must be a boolean.");
|
220
|
+
}
|
221
|
+
if (typeof baseConfig !== "object") {
|
222
|
+
errors.push("'baseConfig' must be an object or null.");
|
223
|
+
}
|
224
|
+
if (typeof cache !== "boolean") {
|
225
|
+
errors.push("'cache' must be a boolean.");
|
226
|
+
}
|
227
|
+
if (!isNonEmptyString(cacheLocation)) {
|
228
|
+
errors.push("'cacheLocation' must be a non-empty string.");
|
229
|
+
}
|
230
|
+
if (
|
231
|
+
cacheStrategy !== "metadata" &&
|
232
|
+
cacheStrategy !== "content"
|
233
|
+
) {
|
234
|
+
errors.push("'cacheStrategy' must be any of \"metadata\", \"content\".");
|
235
|
+
}
|
236
|
+
if (!isNonEmptyString(cwd) || !path.isAbsolute(cwd)) {
|
237
|
+
errors.push("'cwd' must be an absolute path.");
|
238
|
+
}
|
239
|
+
if (typeof errorOnUnmatchedPattern !== "boolean") {
|
240
|
+
errors.push("'errorOnUnmatchedPattern' must be a boolean.");
|
241
|
+
}
|
242
|
+
if (!isArrayOfNonEmptyString(extensions) && extensions !== null) {
|
243
|
+
errors.push("'extensions' must be an array of non-empty strings or null.");
|
244
|
+
}
|
245
|
+
if (typeof fix !== "boolean" && typeof fix !== "function") {
|
246
|
+
errors.push("'fix' must be a boolean or a function.");
|
247
|
+
}
|
248
|
+
if (fixTypes !== null && !isFixTypeArray(fixTypes)) {
|
249
|
+
errors.push("'fixTypes' must be an array of any of \"directive\", \"problem\", \"suggestion\", and \"layout\".");
|
250
|
+
}
|
251
|
+
if (typeof globInputPaths !== "boolean") {
|
252
|
+
errors.push("'globInputPaths' must be a boolean.");
|
253
|
+
}
|
254
|
+
if (typeof ignore !== "boolean") {
|
255
|
+
errors.push("'ignore' must be a boolean.");
|
256
|
+
}
|
257
|
+
if (!isNonEmptyString(ignorePath) && ignorePath !== null) {
|
258
|
+
errors.push("'ignorePath' must be a non-empty string or null.");
|
259
|
+
}
|
260
|
+
if (typeof overrideConfig !== "object") {
|
261
|
+
errors.push("'overrideConfig' must be an object or null.");
|
262
|
+
}
|
263
|
+
if (!isNonEmptyString(overrideConfigFile) && overrideConfigFile !== null) {
|
264
|
+
errors.push("'overrideConfigFile' must be a non-empty string or null.");
|
265
|
+
}
|
266
|
+
if (typeof plugins !== "object") {
|
267
|
+
errors.push("'plugins' must be an object or null.");
|
268
|
+
} else if (plugins !== null && Object.keys(plugins).includes("")) {
|
269
|
+
errors.push("'plugins' must not include an empty string.");
|
270
|
+
}
|
271
|
+
if (Array.isArray(plugins)) {
|
272
|
+
errors.push("'plugins' doesn't add plugins to configuration to load. Please use the 'overrideConfig.plugins' option instead.");
|
273
|
+
}
|
274
|
+
if (
|
275
|
+
reportUnusedDisableDirectives !== "error" &&
|
276
|
+
reportUnusedDisableDirectives !== "warn" &&
|
277
|
+
reportUnusedDisableDirectives !== "off" &&
|
278
|
+
reportUnusedDisableDirectives !== null
|
279
|
+
) {
|
280
|
+
errors.push("'reportUnusedDisableDirectives' must be any of \"error\", \"warn\", \"off\", and null.");
|
281
|
+
}
|
282
|
+
if (
|
283
|
+
!isNonEmptyString(resolvePluginsRelativeTo) &&
|
284
|
+
resolvePluginsRelativeTo !== null
|
285
|
+
) {
|
286
|
+
errors.push("'resolvePluginsRelativeTo' must be a non-empty string or null.");
|
287
|
+
}
|
288
|
+
if (!isArrayOfNonEmptyString(rulePaths)) {
|
289
|
+
errors.push("'rulePaths' must be an array of non-empty strings.");
|
290
|
+
}
|
291
|
+
if (typeof useEslintrc !== "boolean") {
|
292
|
+
errors.push("'useEslintrc' must be a boolean.");
|
293
|
+
}
|
294
|
+
|
295
|
+
if (errors.length > 0) {
|
296
|
+
throw new ESLintInvalidOptionsError(errors);
|
297
|
+
}
|
298
|
+
|
299
|
+
return {
|
300
|
+
allowInlineConfig,
|
301
|
+
baseConfig,
|
302
|
+
cache,
|
303
|
+
cacheLocation,
|
304
|
+
cacheStrategy,
|
305
|
+
configFile: overrideConfigFile,
|
306
|
+
cwd,
|
307
|
+
errorOnUnmatchedPattern,
|
308
|
+
extensions,
|
309
|
+
fix,
|
310
|
+
fixTypes,
|
311
|
+
globInputPaths,
|
312
|
+
ignore,
|
313
|
+
ignorePath,
|
314
|
+
reportUnusedDisableDirectives,
|
315
|
+
resolvePluginsRelativeTo,
|
316
|
+
rulePaths,
|
317
|
+
useEslintrc
|
318
|
+
};
|
319
|
+
}
|
320
|
+
|
321
|
+
/**
|
322
|
+
* Check if a value has one or more properties and that value is not undefined.
|
323
|
+
* @param {any} obj The value to check.
|
324
|
+
* @returns {boolean} `true` if `obj` has one or more properties that that value is not undefined.
|
325
|
+
*/
|
326
|
+
function hasDefinedProperty(obj) {
|
327
|
+
if (typeof obj === "object" && obj !== null) {
|
328
|
+
for (const key in obj) {
|
329
|
+
if (typeof obj[key] !== "undefined") {
|
330
|
+
return true;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
}
|
334
|
+
return false;
|
335
|
+
}
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Create rulesMeta object.
|
339
|
+
* @param {Map<string,Rule>} rules a map of rules from which to generate the object.
|
340
|
+
* @returns {Object} metadata for all enabled rules.
|
341
|
+
*/
|
342
|
+
function createRulesMeta(rules) {
|
343
|
+
return Array.from(rules).reduce((retVal, [id, rule]) => {
|
344
|
+
retVal[id] = rule.meta;
|
345
|
+
return retVal;
|
346
|
+
}, {});
|
347
|
+
}
|
348
|
+
|
349
|
+
/** @type {WeakMap<ExtractedConfig, DeprecatedRuleInfo[]>} */
|
350
|
+
const usedDeprecatedRulesCache = new WeakMap();
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Create used deprecated rule list.
|
354
|
+
* @param {CLIEngine} cliEngine The CLIEngine instance.
|
355
|
+
* @param {string} maybeFilePath The absolute path to a lint target file or `"<text>"`.
|
356
|
+
* @returns {DeprecatedRuleInfo[]} The used deprecated rule list.
|
357
|
+
*/
|
358
|
+
function getOrFindUsedDeprecatedRules(cliEngine, maybeFilePath) {
|
359
|
+
const {
|
360
|
+
configArrayFactory,
|
361
|
+
options: { cwd }
|
362
|
+
} = getCLIEngineInternalSlots(cliEngine);
|
363
|
+
const filePath = path.isAbsolute(maybeFilePath)
|
364
|
+
? maybeFilePath
|
365
|
+
: path.join(cwd, "__placeholder__.js");
|
366
|
+
const configArray = configArrayFactory.getConfigArrayForFile(filePath);
|
367
|
+
const config = configArray.extractConfig(filePath);
|
368
|
+
|
369
|
+
// Most files use the same config, so cache it.
|
370
|
+
if (!usedDeprecatedRulesCache.has(config)) {
|
371
|
+
const pluginRules = configArray.pluginRules;
|
372
|
+
const retv = [];
|
373
|
+
|
374
|
+
for (const [ruleId, ruleConf] of Object.entries(config.rules)) {
|
375
|
+
if (getRuleSeverity(ruleConf) === 0) {
|
376
|
+
continue;
|
377
|
+
}
|
378
|
+
const rule = pluginRules.get(ruleId) || BuiltinRules.get(ruleId);
|
379
|
+
const meta = rule && rule.meta;
|
380
|
+
|
381
|
+
if (meta && meta.deprecated) {
|
382
|
+
retv.push({ ruleId, replacedBy: meta.replacedBy || [] });
|
383
|
+
}
|
384
|
+
}
|
385
|
+
|
386
|
+
usedDeprecatedRulesCache.set(config, Object.freeze(retv));
|
387
|
+
}
|
388
|
+
|
389
|
+
return usedDeprecatedRulesCache.get(config);
|
390
|
+
}
|
391
|
+
|
392
|
+
/**
|
393
|
+
* Processes the linting results generated by a CLIEngine linting report to
|
394
|
+
* match the ESLint class's API.
|
395
|
+
* @param {CLIEngine} cliEngine The CLIEngine instance.
|
396
|
+
* @param {CLIEngineLintReport} report The CLIEngine linting report to process.
|
397
|
+
* @returns {LintResult[]} The processed linting results.
|
398
|
+
*/
|
399
|
+
function processCLIEngineLintReport(cliEngine, { results }) {
|
400
|
+
const descriptor = {
|
401
|
+
configurable: true,
|
402
|
+
enumerable: true,
|
403
|
+
get() {
|
404
|
+
return getOrFindUsedDeprecatedRules(cliEngine, this.filePath);
|
405
|
+
}
|
406
|
+
};
|
407
|
+
|
408
|
+
for (const result of results) {
|
409
|
+
Object.defineProperty(result, "usedDeprecatedRules", descriptor);
|
410
|
+
}
|
411
|
+
|
412
|
+
return results;
|
413
|
+
}
|
414
|
+
|
415
|
+
/**
|
416
|
+
* An Array.prototype.sort() compatible compare function to order results by their file path.
|
417
|
+
* @param {LintResult} a The first lint result.
|
418
|
+
* @param {LintResult} b The second lint result.
|
419
|
+
* @returns {number} An integer representing the order in which the two results should occur.
|
420
|
+
*/
|
421
|
+
function compareResultsByFilePath(a, b) {
|
422
|
+
if (a.filePath < b.filePath) {
|
423
|
+
return -1;
|
424
|
+
}
|
425
|
+
|
426
|
+
if (a.filePath > b.filePath) {
|
427
|
+
return 1;
|
428
|
+
}
|
429
|
+
|
430
|
+
return 0;
|
431
|
+
}
|
432
|
+
|
433
|
+
/**
|
434
|
+
* Main API.
|
435
|
+
*/
|
436
|
+
class ESLint {
|
437
|
+
|
438
|
+
/**
|
439
|
+
* Creates a new instance of the main ESLint API.
|
440
|
+
* @param {ESLintOptions} options The options for this instance.
|
441
|
+
*/
|
442
|
+
constructor(options = {}) {
|
443
|
+
const processedOptions = processOptions(options);
|
444
|
+
const cliEngine = new CLIEngine(processedOptions, { preloadedPlugins: options.plugins });
|
445
|
+
const {
|
446
|
+
configArrayFactory,
|
447
|
+
lastConfigArrays
|
448
|
+
} = getCLIEngineInternalSlots(cliEngine);
|
449
|
+
let updated = false;
|
450
|
+
|
451
|
+
/*
|
452
|
+
* Address `overrideConfig` to set override config.
|
453
|
+
* Operate the `configArrayFactory` internal slot directly because this
|
454
|
+
* functionality doesn't exist as the public API of CLIEngine.
|
455
|
+
*/
|
456
|
+
if (hasDefinedProperty(options.overrideConfig)) {
|
457
|
+
configArrayFactory.setOverrideConfig(options.overrideConfig);
|
458
|
+
updated = true;
|
459
|
+
}
|
460
|
+
|
461
|
+
// Update caches.
|
462
|
+
if (updated) {
|
463
|
+
configArrayFactory.clearCache();
|
464
|
+
lastConfigArrays[0] = configArrayFactory.getConfigArrayForFile();
|
465
|
+
}
|
466
|
+
|
467
|
+
// Initialize private properties.
|
468
|
+
privateMembersMap.set(this, {
|
469
|
+
cliEngine,
|
470
|
+
options: processedOptions
|
471
|
+
});
|
472
|
+
}
|
473
|
+
|
474
|
+
/**
|
475
|
+
* The version text.
|
476
|
+
* @type {string}
|
477
|
+
*/
|
478
|
+
static get version() {
|
479
|
+
return version;
|
480
|
+
}
|
481
|
+
|
482
|
+
/**
|
483
|
+
* Outputs fixes from the given results to files.
|
484
|
+
* @param {LintResult[]} results The lint results.
|
485
|
+
* @returns {Promise<void>} Returns a promise that is used to track side effects.
|
486
|
+
*/
|
487
|
+
static async outputFixes(results) {
|
488
|
+
if (!Array.isArray(results)) {
|
489
|
+
throw new Error("'results' must be an array");
|
490
|
+
}
|
491
|
+
|
492
|
+
await Promise.all(
|
493
|
+
results
|
494
|
+
.filter(result => {
|
495
|
+
if (typeof result !== "object" || result === null) {
|
496
|
+
throw new Error("'results' must include only objects");
|
497
|
+
}
|
498
|
+
return (
|
499
|
+
typeof result.output === "string" &&
|
500
|
+
path.isAbsolute(result.filePath)
|
501
|
+
);
|
502
|
+
})
|
503
|
+
.map(r => writeFile(r.filePath, r.output))
|
504
|
+
);
|
505
|
+
}
|
506
|
+
|
507
|
+
/**
|
508
|
+
* Returns results that only contains errors.
|
509
|
+
* @param {LintResult[]} results The results to filter.
|
510
|
+
* @returns {LintResult[]} The filtered results.
|
511
|
+
*/
|
512
|
+
static getErrorResults(results) {
|
513
|
+
return CLIEngine.getErrorResults(results);
|
514
|
+
}
|
515
|
+
|
516
|
+
/**
|
517
|
+
* Returns meta objects for each rule represented in the lint results.
|
518
|
+
* @param {LintResult[]} results The results to fetch rules meta for.
|
519
|
+
* @returns {Object} A mapping of ruleIds to rule meta objects.
|
520
|
+
*/
|
521
|
+
getRulesMetaForResults(results) {
|
522
|
+
|
523
|
+
const resultRuleIds = new Set();
|
524
|
+
|
525
|
+
// first gather all ruleIds from all results
|
526
|
+
|
527
|
+
for (const result of results) {
|
528
|
+
for (const { ruleId } of result.messages) {
|
529
|
+
resultRuleIds.add(ruleId);
|
530
|
+
}
|
531
|
+
for (const { ruleId } of result.suppressedMessages) {
|
532
|
+
resultRuleIds.add(ruleId);
|
533
|
+
}
|
534
|
+
}
|
535
|
+
|
536
|
+
// create a map of all rules in the results
|
537
|
+
|
538
|
+
const { cliEngine } = privateMembersMap.get(this);
|
539
|
+
const rules = cliEngine.getRules();
|
540
|
+
const resultRules = new Map();
|
541
|
+
|
542
|
+
for (const [ruleId, rule] of rules) {
|
543
|
+
if (resultRuleIds.has(ruleId)) {
|
544
|
+
resultRules.set(ruleId, rule);
|
545
|
+
}
|
546
|
+
}
|
547
|
+
|
548
|
+
return createRulesMeta(resultRules);
|
549
|
+
|
550
|
+
}
|
551
|
+
|
552
|
+
/**
|
553
|
+
* Executes the current configuration on an array of file and directory names.
|
554
|
+
* @param {string[]} patterns An array of file and directory names.
|
555
|
+
* @returns {Promise<LintResult[]>} The results of linting the file patterns given.
|
556
|
+
*/
|
557
|
+
async lintFiles(patterns) {
|
558
|
+
if (!isNonEmptyString(patterns) && !isArrayOfNonEmptyString(patterns)) {
|
559
|
+
throw new Error("'patterns' must be a non-empty string or an array of non-empty strings");
|
560
|
+
}
|
561
|
+
const { cliEngine } = privateMembersMap.get(this);
|
562
|
+
|
563
|
+
return processCLIEngineLintReport(
|
564
|
+
cliEngine,
|
565
|
+
cliEngine.executeOnFiles(patterns)
|
566
|
+
);
|
567
|
+
}
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Executes the current configuration on text.
|
571
|
+
* @param {string} code A string of JavaScript code to lint.
|
572
|
+
* @param {Object} [options] The options.
|
573
|
+
* @param {string} [options.filePath] The path to the file of the source code.
|
574
|
+
* @param {boolean} [options.warnIgnored] When set to true, warn if given filePath is an ignored path.
|
575
|
+
* @returns {Promise<LintResult[]>} The results of linting the string of code given.
|
576
|
+
*/
|
577
|
+
async lintText(code, options = {}) {
|
578
|
+
if (typeof code !== "string") {
|
579
|
+
throw new Error("'code' must be a string");
|
580
|
+
}
|
581
|
+
if (typeof options !== "object") {
|
582
|
+
throw new Error("'options' must be an object, null, or undefined");
|
583
|
+
}
|
584
|
+
const {
|
585
|
+
filePath,
|
586
|
+
warnIgnored = false,
|
587
|
+
...unknownOptions
|
588
|
+
} = options || {};
|
589
|
+
|
590
|
+
const unknownOptionKeys = Object.keys(unknownOptions);
|
591
|
+
|
592
|
+
if (unknownOptionKeys.length > 0) {
|
593
|
+
throw new Error(`'options' must not include the unknown option(s): ${unknownOptionKeys.join(", ")}`);
|
594
|
+
}
|
595
|
+
|
596
|
+
if (filePath !== void 0 && !isNonEmptyString(filePath)) {
|
597
|
+
throw new Error("'options.filePath' must be a non-empty string or undefined");
|
598
|
+
}
|
599
|
+
if (typeof warnIgnored !== "boolean") {
|
600
|
+
throw new Error("'options.warnIgnored' must be a boolean or undefined");
|
601
|
+
}
|
602
|
+
|
603
|
+
const { cliEngine } = privateMembersMap.get(this);
|
604
|
+
|
605
|
+
return processCLIEngineLintReport(
|
606
|
+
cliEngine,
|
607
|
+
cliEngine.executeOnText(code, filePath, warnIgnored)
|
608
|
+
);
|
609
|
+
}
|
610
|
+
|
611
|
+
/**
|
612
|
+
* Returns the formatter representing the given formatter name.
|
613
|
+
* @param {string} [name] The name of the formatter to load.
|
614
|
+
* The following values are allowed:
|
615
|
+
* - `undefined` ... Load `stylish` builtin formatter.
|
616
|
+
* - A builtin formatter name ... Load the builtin formatter.
|
617
|
+
* - A thirdparty formatter name:
|
618
|
+
* - `foo` → `eslint-formatter-foo`
|
619
|
+
* - `@foo` → `@foo/eslint-formatter`
|
620
|
+
* - `@foo/bar` → `@foo/eslint-formatter-bar`
|
621
|
+
* - A file path ... Load the file.
|
622
|
+
* @returns {Promise<Formatter>} A promise resolving to the formatter object.
|
623
|
+
* This promise will be rejected if the given formatter was not found or not
|
624
|
+
* a function.
|
625
|
+
*/
|
626
|
+
async loadFormatter(name = "stylish") {
|
627
|
+
if (typeof name !== "string") {
|
628
|
+
throw new Error("'name' must be a string");
|
629
|
+
}
|
630
|
+
|
631
|
+
const { cliEngine, options } = privateMembersMap.get(this);
|
632
|
+
const formatter = cliEngine.getFormatter(name);
|
633
|
+
|
634
|
+
if (typeof formatter !== "function") {
|
635
|
+
throw new Error(`Formatter must be a function, but got a ${typeof formatter}.`);
|
636
|
+
}
|
637
|
+
|
638
|
+
return {
|
639
|
+
|
640
|
+
/**
|
641
|
+
* The main formatter method.
|
642
|
+
* @param {LintResults[]} results The lint results to format.
|
643
|
+
* @returns {string | Promise<string>} The formatted lint results.
|
644
|
+
*/
|
645
|
+
format(results) {
|
646
|
+
let rulesMeta = null;
|
647
|
+
|
648
|
+
results.sort(compareResultsByFilePath);
|
649
|
+
|
650
|
+
return formatter(results, {
|
651
|
+
get cwd() {
|
652
|
+
return options.cwd;
|
653
|
+
},
|
654
|
+
get rulesMeta() {
|
655
|
+
if (!rulesMeta) {
|
656
|
+
rulesMeta = createRulesMeta(cliEngine.getRules());
|
657
|
+
}
|
658
|
+
|
659
|
+
return rulesMeta;
|
660
|
+
}
|
661
|
+
});
|
662
|
+
}
|
663
|
+
};
|
664
|
+
}
|
665
|
+
|
666
|
+
/**
|
667
|
+
* Returns a configuration object for the given file based on the CLI options.
|
668
|
+
* This is the same logic used by the ESLint CLI executable to determine
|
669
|
+
* configuration for each file it processes.
|
670
|
+
* @param {string} filePath The path of the file to retrieve a config object for.
|
671
|
+
* @returns {Promise<ConfigData>} A configuration object for the file.
|
672
|
+
*/
|
673
|
+
async calculateConfigForFile(filePath) {
|
674
|
+
if (!isNonEmptyString(filePath)) {
|
675
|
+
throw new Error("'filePath' must be a non-empty string");
|
676
|
+
}
|
677
|
+
const { cliEngine } = privateMembersMap.get(this);
|
678
|
+
|
679
|
+
return cliEngine.getConfigForFile(filePath);
|
680
|
+
}
|
681
|
+
|
682
|
+
/**
|
683
|
+
* Checks if a given path is ignored by ESLint.
|
684
|
+
* @param {string} filePath The path of the file to check.
|
685
|
+
* @returns {Promise<boolean>} Whether or not the given path is ignored.
|
686
|
+
*/
|
687
|
+
async isPathIgnored(filePath) {
|
688
|
+
if (!isNonEmptyString(filePath)) {
|
689
|
+
throw new Error("'filePath' must be a non-empty string");
|
690
|
+
}
|
691
|
+
const { cliEngine } = privateMembersMap.get(this);
|
692
|
+
|
693
|
+
return cliEngine.isPathIgnored(filePath);
|
694
|
+
}
|
695
|
+
}
|
696
|
+
|
697
|
+
//------------------------------------------------------------------------------
|
698
|
+
// Public Interface
|
699
|
+
//------------------------------------------------------------------------------
|
700
|
+
|
701
|
+
module.exports = {
|
702
|
+
ESLint,
|
703
|
+
|
704
|
+
/**
|
705
|
+
* Get the private class members of a given ESLint instance for tests.
|
706
|
+
* @param {ESLint} instance The ESLint instance to get.
|
707
|
+
* @returns {ESLintPrivateMembers} The instance's private class members.
|
708
|
+
*/
|
709
|
+
getESLintPrivateMembers(instance) {
|
710
|
+
return privateMembersMap.get(instance);
|
711
|
+
}
|
712
|
+
};
|