appmap 0.62.0 → 0.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/ARCHITECTURE.md +4 -4
- data/CHANGELOG.md +35 -0
- data/README.md +2 -2
- data/Rakefile +8 -8
- data/lib/appmap/command/agent_setup/init.rb +1 -0
- data/lib/appmap/config.rb +2 -2
- data/lib/appmap/cucumber.rb +1 -0
- data/lib/appmap/depends/util.rb +2 -0
- data/lib/appmap/minitest.rb +1 -0
- data/lib/appmap/node_cli.rb +1 -1
- data/lib/appmap/rspec.rb +1 -0
- data/lib/appmap/service/validator/config_validator.rb +8 -4
- data/lib/appmap/swagger/rake_tasks.rb +1 -0
- data/lib/appmap/util.rb +1 -1
- data/lib/appmap/version.rb +2 -3
- data/node_modules/@appland/appmap/CHANGELOG.md +136 -0
- data/node_modules/@appland/appmap/package.json +50 -0
- data/node_modules/@appland/appmap/src/agentInstaller/buildToolInstallerBase.js +28 -0
- data/node_modules/@appland/appmap/src/agentInstaller/commandStruct.js +17 -0
- data/node_modules/@appland/appmap/src/agentInstaller/installAgentStep.js +30 -0
- data/node_modules/@appland/appmap/src/agentInstaller/javaAgentInstaller.js +321 -0
- data/node_modules/@appland/appmap/src/agentInstaller/pythonAgentInstaller.js +174 -0
- data/node_modules/@appland/appmap/src/agentInstaller/rubyAgentInstaller.js +129 -0
- data/node_modules/@appland/appmap/src/agentInstaller/types.d.ts +76 -0
- data/node_modules/@appland/appmap/src/appMapCatalog.js +39 -0
- data/node_modules/@appland/appmap/src/appland/getAppMap.js +55 -0
- data/node_modules/@appland/appmap/src/appland/listAppMaps.js +58 -0
- data/node_modules/@appland/appmap/src/appland/settings.js +62 -0
- data/node_modules/@appland/appmap/src/appland/types.d.ts +16 -0
- data/node_modules/@appland/appmap/src/cli.js +729 -0
- data/node_modules/@appland/appmap/src/database.js +197 -0
- data/node_modules/@appland/appmap/src/depends.js +157 -0
- data/node_modules/@appland/appmap/src/errors/abortError.js +5 -0
- data/node_modules/@appland/appmap/src/errors/validationError.js +5 -0
- data/node_modules/@appland/appmap/src/fingerprint/algorithms.js +71 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/base.js +58 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classDependencies.js +36 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classes.js +14 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/eventTree.js +19 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpClientRequests.js +18 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpServerRequests.js +18 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/info.js +55 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/labels.js +10 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packageDependencies.js +36 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packages.js +14 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlNormalized.js +19 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlTables.js +24 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/trace.js +57 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/unique.js +8 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/update.js +85 -0
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize.js +70 -0
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintDirectoryCommand.js +30 -0
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintQueue.js +30 -0
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintWatchCommand.js +64 -0
- data/node_modules/@appland/appmap/src/fingerprint/fingerprinter.js +186 -0
- data/node_modules/@appland/appmap/src/fingerprint/index.js +24 -0
- data/node_modules/@appland/appmap/src/functionStats.js +168 -0
- data/node_modules/@appland/appmap/src/inspect/fields.js +66 -0
- data/node_modules/@appland/appmap/src/inspect/filter.js +105 -0
- data/node_modules/@appland/appmap/src/inspect/home.js +64 -0
- data/node_modules/@appland/appmap/src/inspect/print.js +231 -0
- data/node_modules/@appland/appmap/src/inspect/reset.js +10 -0
- data/node_modules/@appland/appmap/src/inspect/types.d.ts +11 -0
- data/node_modules/@appland/appmap/src/inspect/undoFilter.js +10 -0
- data/node_modules/@appland/appmap/src/inspect.js +7 -0
- data/node_modules/@appland/appmap/src/inventoryCommand.js +59 -0
- data/node_modules/@appland/appmap/src/search/codeObjectMatcher.js +75 -0
- data/node_modules/@appland/appmap/src/search/constants.js +5 -0
- data/node_modules/@appland/appmap/src/search/findCodeObjects.js +293 -0
- data/node_modules/@appland/appmap/src/search/findEvents.js +184 -0
- data/node_modules/@appland/appmap/src/search/matchFilter.js +65 -0
- data/node_modules/@appland/appmap/src/search/matchSpec.js +198 -0
- data/node_modules/@appland/appmap/src/search/trigram.js +107 -0
- data/node_modules/@appland/appmap/src/search/types.d.ts +107 -0
- data/node_modules/@appland/appmap/src/search/utils.js +4 -0
- data/node_modules/@appland/appmap/src/swagger/README.md +75 -0
- data/node_modules/@appland/appmap/src/swagger/command.js +42 -0
- data/node_modules/@appland/appmap/src/swagger/method.js +173 -0
- data/node_modules/@appland/appmap/src/swagger/model.js +54 -0
- data/node_modules/@appland/appmap/src/swagger/path.js +38 -0
- data/node_modules/@appland/appmap/src/swagger/response.js +34 -0
- data/node_modules/@appland/appmap/src/swagger/schema.js +38 -0
- data/node_modules/@appland/appmap/src/swagger/securitySchemes.js +60 -0
- data/node_modules/@appland/appmap/src/swagger/settings.js +9 -0
- data/node_modules/@appland/appmap/src/swagger/util.js +79 -0
- data/node_modules/@appland/appmap/src/utils.js +165 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.js +0 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.spec.js +109 -0
- data/node_modules/@appland/appmap/tests/unit/depends.spec.js +63 -0
- data/node_modules/@appland/appmap/tests/unit/fingerprint/canonicalize.spec.js +42 -0
- data/node_modules/@appland/appmap/tests/unit/fingerprint/sql.spec.js +40 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/pip/requirements.txt +2 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/poetry/poetry.lock +2 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/controllers/organizations_controller.rb +1 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/configuration.rb +1 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/show.rb +1 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/user.rb +1 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.info.json +170 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.trace.json +213 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.update.json +54 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/revoke_api_key.appmap.json +884 -0
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/user_page_scenario.appmap.json +1750 -0
- data/node_modules/@appland/appmap/tests/unit/inspect.spec.js +105 -0
- data/node_modules/@appland/models/CHANGELOG.md +90 -0
- data/node_modules/@appland/models/README.md +8 -0
- data/node_modules/@appland/models/dist/index.cjs +4250 -0
- data/node_modules/@appland/models/dist/index.js +4193 -0
- data/node_modules/@appland/models/package.json +50 -0
- data/node_modules/@tootallnate/once/dist/index.d.ts +14 -0
- data/node_modules/@tootallnate/once/dist/index.js +39 -0
- data/node_modules/@tootallnate/once/dist/index.js.map +1 -0
- data/node_modules/@tootallnate/once/package.json +45 -0
- data/node_modules/abab/CHANGELOG.md +45 -0
- data/node_modules/abab/LICENSE.md +13 -0
- data/node_modules/abab/README.md +51 -0
- data/node_modules/abab/index.d.ts +2 -0
- data/node_modules/abab/index.js +9 -0
- data/node_modules/abab/lib/atob.js +97 -0
- data/node_modules/abab/lib/btoa.js +58 -0
- data/node_modules/abab/package.json +42 -0
- data/node_modules/acorn/CHANGELOG.md +744 -0
- data/node_modules/acorn/LICENSE +21 -0
- data/node_modules/acorn/README.md +280 -0
- data/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/acorn/dist/acorn.d.ts +211 -0
- data/node_modules/acorn/dist/acorn.js +5525 -0
- data/node_modules/acorn/dist/acorn.mjs +5494 -0
- data/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- data/node_modules/acorn/dist/bin.js +65 -0
- data/node_modules/acorn/package.json +46 -0
- data/node_modules/acorn-globals/LICENSE +19 -0
- data/node_modules/acorn-globals/README.md +81 -0
- data/node_modules/acorn-globals/index.js +179 -0
- data/node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md +620 -0
- data/node_modules/acorn-globals/node_modules/acorn/LICENSE +21 -0
- data/node_modules/acorn-globals/node_modules/acorn/README.md +269 -0
- data/node_modules/acorn-globals/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts +209 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js +5186 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map +1 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs +5155 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +1 -0
- data/node_modules/acorn-globals/node_modules/acorn/dist/bin.js +64 -0
- data/node_modules/acorn-globals/node_modules/acorn/package.json +35 -0
- data/node_modules/acorn-globals/package.json +35 -0
- data/node_modules/acorn-walk/CHANGELOG.md +131 -0
- data/node_modules/acorn-walk/LICENSE +19 -0
- data/node_modules/acorn-walk/README.md +126 -0
- data/node_modules/acorn-walk/dist/walk.d.ts +112 -0
- data/node_modules/acorn-walk/dist/walk.js +463 -0
- data/node_modules/acorn-walk/dist/walk.js.map +1 -0
- data/node_modules/acorn-walk/dist/walk.mjs +443 -0
- data/node_modules/acorn-walk/dist/walk.mjs.map +1 -0
- data/node_modules/acorn-walk/package.json +34 -0
- data/node_modules/agent-base/README.md +145 -0
- data/node_modules/agent-base/dist/src/index.d.ts +78 -0
- data/node_modules/agent-base/dist/src/index.js +203 -0
- data/node_modules/agent-base/dist/src/index.js.map +1 -0
- data/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- data/node_modules/agent-base/dist/src/promisify.js +18 -0
- data/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- data/node_modules/agent-base/package.json +64 -0
- data/node_modules/agent-base/src/index.ts +345 -0
- data/node_modules/agent-base/src/promisify.ts +33 -0
- data/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/ansi-regex/license +9 -0
- data/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/ansi-styles/index.d.ts +345 -0
- data/node_modules/ansi-styles/index.js +163 -0
- data/node_modules/ansi-styles/license +9 -0
- data/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/ansi-styles/readme.md +152 -0
- data/node_modules/anymatch/LICENSE +15 -0
- data/node_modules/anymatch/README.md +87 -0
- data/node_modules/anymatch/index.d.ts +19 -0
- data/node_modules/anymatch/index.js +104 -0
- data/node_modules/anymatch/package.json +48 -0
- data/node_modules/argparse/CHANGELOG.md +185 -0
- data/node_modules/argparse/LICENSE +21 -0
- data/node_modules/argparse/README.md +257 -0
- data/node_modules/argparse/index.js +3 -0
- data/node_modules/argparse/lib/action/append/constant.js +47 -0
- data/node_modules/argparse/lib/action/append.js +53 -0
- data/node_modules/argparse/lib/action/count.js +40 -0
- data/node_modules/argparse/lib/action/help.js +47 -0
- data/node_modules/argparse/lib/action/store/constant.js +43 -0
- data/node_modules/argparse/lib/action/store/false.js +27 -0
- data/node_modules/argparse/lib/action/store/true.js +26 -0
- data/node_modules/argparse/lib/action/store.js +50 -0
- data/node_modules/argparse/lib/action/subparsers.js +149 -0
- data/node_modules/argparse/lib/action/version.js +47 -0
- data/node_modules/argparse/lib/action.js +146 -0
- data/node_modules/argparse/lib/action_container.js +482 -0
- data/node_modules/argparse/lib/argparse.js +14 -0
- data/node_modules/argparse/lib/argument/error.js +50 -0
- data/node_modules/argparse/lib/argument/exclusive.js +54 -0
- data/node_modules/argparse/lib/argument/group.js +75 -0
- data/node_modules/argparse/lib/argument_parser.js +1161 -0
- data/node_modules/argparse/lib/const.js +21 -0
- data/node_modules/argparse/lib/help/added_formatters.js +87 -0
- data/node_modules/argparse/lib/help/formatter.js +795 -0
- data/node_modules/argparse/lib/namespace.js +76 -0
- data/node_modules/argparse/lib/utils.js +57 -0
- data/node_modules/argparse/package.json +34 -0
- data/node_modules/async/CHANGELOG.md +331 -0
- data/node_modules/async/LICENSE +19 -0
- data/node_modules/async/README.md +60 -0
- data/node_modules/async/all.js +54 -0
- data/node_modules/async/allLimit.js +46 -0
- data/node_modules/async/allSeries.js +45 -0
- data/node_modules/async/any.js +56 -0
- data/node_modules/async/anyLimit.js +47 -0
- data/node_modules/async/anySeries.js +46 -0
- data/node_modules/async/apply.js +55 -0
- data/node_modules/async/applyEach.js +57 -0
- data/node_modules/async/applyEachSeries.js +37 -0
- data/node_modules/async/asyncify.js +118 -0
- data/node_modules/async/auto.js +267 -0
- data/node_modules/async/autoInject.js +156 -0
- data/node_modules/async/bower.json +17 -0
- data/node_modules/async/cargo.js +63 -0
- data/node_modules/async/cargoQueue.js +71 -0
- data/node_modules/async/compose.js +55 -0
- data/node_modules/async/concat.js +47 -0
- data/node_modules/async/concatLimit.js +60 -0
- data/node_modules/async/concatSeries.js +41 -0
- data/node_modules/async/constant.js +55 -0
- data/node_modules/async/detect.js +61 -0
- data/node_modules/async/detectLimit.js +48 -0
- data/node_modules/async/detectSeries.js +47 -0
- data/node_modules/async/dir.js +43 -0
- data/node_modules/async/dist/async.js +4846 -0
- data/node_modules/async/dist/async.min.js +1 -0
- data/node_modules/async/dist/async.mjs +4734 -0
- data/node_modules/async/doDuring.js +68 -0
- data/node_modules/async/doUntil.js +46 -0
- data/node_modules/async/doWhilst.js +68 -0
- data/node_modules/async/during.js +78 -0
- data/node_modules/async/each.js +88 -0
- data/node_modules/async/eachLimit.js +50 -0
- data/node_modules/async/eachOf.js +116 -0
- data/node_modules/async/eachOfLimit.js +47 -0
- data/node_modules/async/eachOfSeries.js +39 -0
- data/node_modules/async/eachSeries.js +44 -0
- data/node_modules/async/ensureAsync.js +67 -0
- data/node_modules/async/every.js +54 -0
- data/node_modules/async/everyLimit.js +46 -0
- data/node_modules/async/everySeries.js +45 -0
- data/node_modules/async/filter.js +53 -0
- data/node_modules/async/filterLimit.js +45 -0
- data/node_modules/async/filterSeries.js +43 -0
- data/node_modules/async/find.js +61 -0
- data/node_modules/async/findLimit.js +48 -0
- data/node_modules/async/findSeries.js +47 -0
- data/node_modules/async/flatMap.js +47 -0
- data/node_modules/async/flatMapLimit.js +60 -0
- data/node_modules/async/flatMapSeries.js +41 -0
- data/node_modules/async/foldl.js +77 -0
- data/node_modules/async/foldr.js +41 -0
- data/node_modules/async/forEach.js +88 -0
- data/node_modules/async/forEachLimit.js +50 -0
- data/node_modules/async/forEachOf.js +116 -0
- data/node_modules/async/forEachOfLimit.js +47 -0
- data/node_modules/async/forEachOfSeries.js +39 -0
- data/node_modules/async/forEachSeries.js +44 -0
- data/node_modules/async/forever.js +68 -0
- data/node_modules/async/groupBy.js +54 -0
- data/node_modules/async/groupByLimit.js +71 -0
- data/node_modules/async/groupBySeries.js +36 -0
- data/node_modules/async/index.js +588 -0
- data/node_modules/async/inject.js +77 -0
- data/node_modules/async/internal/DoublyLinkedList.js +92 -0
- data/node_modules/async/internal/Heap.js +120 -0
- data/node_modules/async/internal/applyEach.js +29 -0
- data/node_modules/async/internal/asyncEachOfLimit.js +75 -0
- data/node_modules/async/internal/awaitify.js +27 -0
- data/node_modules/async/internal/breakLoop.js +10 -0
- data/node_modules/async/internal/consoleFunc.js +27 -0
- data/node_modules/async/internal/createTester.js +40 -0
- data/node_modules/async/internal/eachOfLimit.js +90 -0
- data/node_modules/async/internal/filter.js +55 -0
- data/node_modules/async/internal/getIterator.js +11 -0
- data/node_modules/async/internal/initialParams.js +14 -0
- data/node_modules/async/internal/isArrayLike.js +10 -0
- data/node_modules/async/internal/iterator.js +54 -0
- data/node_modules/async/internal/map.js +30 -0
- data/node_modules/async/internal/once.js +17 -0
- data/node_modules/async/internal/onlyOnce.js +15 -0
- data/node_modules/async/internal/parallel.js +34 -0
- data/node_modules/async/internal/promiseCallback.js +23 -0
- data/node_modules/async/internal/queue.js +291 -0
- data/node_modules/async/internal/range.js +14 -0
- data/node_modules/async/internal/reject.js +26 -0
- data/node_modules/async/internal/setImmediate.js +30 -0
- data/node_modules/async/internal/withoutIndex.js +10 -0
- data/node_modules/async/internal/wrapAsync.js +34 -0
- data/node_modules/async/log.js +41 -0
- data/node_modules/async/map.js +62 -0
- data/node_modules/async/mapLimit.js +45 -0
- data/node_modules/async/mapSeries.js +44 -0
- data/node_modules/async/mapValues.js +62 -0
- data/node_modules/async/mapValuesLimit.js +61 -0
- data/node_modules/async/mapValuesSeries.js +37 -0
- data/node_modules/async/memoize.js +91 -0
- data/node_modules/async/nextTick.js +52 -0
- data/node_modules/async/package.json +82 -0
- data/node_modules/async/parallel.js +91 -0
- data/node_modules/async/parallelLimit.js +41 -0
- data/node_modules/async/priorityQueue.js +84 -0
- data/node_modules/async/queue.js +167 -0
- data/node_modules/async/race.js +67 -0
- data/node_modules/async/reduce.js +77 -0
- data/node_modules/async/reduceRight.js +41 -0
- data/node_modules/async/reflect.js +78 -0
- data/node_modules/async/reflectAll.js +93 -0
- data/node_modules/async/reject.js +53 -0
- data/node_modules/async/rejectLimit.js +45 -0
- data/node_modules/async/rejectSeries.js +43 -0
- data/node_modules/async/retry.js +159 -0
- data/node_modules/async/retryable.js +77 -0
- data/node_modules/async/select.js +53 -0
- data/node_modules/async/selectLimit.js +45 -0
- data/node_modules/async/selectSeries.js +43 -0
- data/node_modules/async/seq.js +79 -0
- data/node_modules/async/series.js +86 -0
- data/node_modules/async/setImmediate.js +45 -0
- data/node_modules/async/some.js +56 -0
- data/node_modules/async/someLimit.js +47 -0
- data/node_modules/async/someSeries.js +46 -0
- data/node_modules/async/sortBy.js +88 -0
- data/node_modules/async/timeout.js +89 -0
- data/node_modules/async/times.js +50 -0
- data/node_modules/async/timesLimit.js +43 -0
- data/node_modules/async/timesSeries.js +32 -0
- data/node_modules/async/transform.js +81 -0
- data/node_modules/async/tryEach.js +78 -0
- data/node_modules/async/unmemoize.js +25 -0
- data/node_modules/async/until.js +61 -0
- data/node_modules/async/waterfall.js +105 -0
- data/node_modules/async/whilst.js +78 -0
- data/node_modules/async/wrapSync.js +118 -0
- data/node_modules/asynckit/LICENSE +21 -0
- data/node_modules/asynckit/README.md +233 -0
- data/node_modules/asynckit/bench.js +76 -0
- data/node_modules/asynckit/index.js +6 -0
- data/node_modules/asynckit/lib/abort.js +29 -0
- data/node_modules/asynckit/lib/async.js +34 -0
- data/node_modules/asynckit/lib/defer.js +26 -0
- data/node_modules/asynckit/lib/iterate.js +75 -0
- data/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- data/node_modules/asynckit/lib/readable_parallel.js +25 -0
- data/node_modules/asynckit/lib/readable_serial.js +25 -0
- data/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- data/node_modules/asynckit/lib/state.js +37 -0
- data/node_modules/asynckit/lib/streamify.js +141 -0
- data/node_modules/asynckit/lib/terminator.js +29 -0
- data/node_modules/asynckit/package.json +63 -0
- data/node_modules/asynckit/parallel.js +43 -0
- data/node_modules/asynckit/serial.js +17 -0
- data/node_modules/asynckit/serialOrdered.js +75 -0
- data/node_modules/asynckit/stream.js +21 -0
- data/node_modules/at-least-node/LICENSE +6 -0
- data/node_modules/at-least-node/README.md +25 -0
- data/node_modules/at-least-node/index.js +5 -0
- data/node_modules/at-least-node/package.json +32 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/binary-extensions/binary-extensions.json +260 -0
- data/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- data/node_modules/binary-extensions/index.d.ts +14 -0
- data/node_modules/binary-extensions/index.js +1 -0
- data/node_modules/binary-extensions/license +9 -0
- data/node_modules/binary-extensions/package.json +38 -0
- data/node_modules/binary-extensions/readme.md +41 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/braces/CHANGELOG.md +184 -0
- data/node_modules/braces/LICENSE +21 -0
- data/node_modules/braces/README.md +593 -0
- data/node_modules/braces/index.js +170 -0
- data/node_modules/braces/lib/compile.js +57 -0
- data/node_modules/braces/lib/constants.js +57 -0
- data/node_modules/braces/lib/expand.js +113 -0
- data/node_modules/braces/lib/parse.js +333 -0
- data/node_modules/braces/lib/stringify.js +32 -0
- data/node_modules/braces/lib/utils.js +112 -0
- data/node_modules/braces/package.json +77 -0
- data/node_modules/browser-process-hrtime/LICENSE +9 -0
- data/node_modules/browser-process-hrtime/README.md +27 -0
- data/node_modules/browser-process-hrtime/index.d.ts +4 -0
- data/node_modules/browser-process-hrtime/index.js +28 -0
- data/node_modules/browser-process-hrtime/package.json +15 -0
- data/node_modules/chokidar/LICENSE +21 -0
- data/node_modules/chokidar/README.md +308 -0
- data/node_modules/chokidar/index.js +973 -0
- data/node_modules/chokidar/lib/constants.js +65 -0
- data/node_modules/chokidar/lib/fsevents-handler.js +524 -0
- data/node_modules/chokidar/lib/nodefs-handler.js +646 -0
- data/node_modules/chokidar/package.json +78 -0
- data/node_modules/chokidar/types/index.d.ts +187 -0
- data/node_modules/cli-progress/CHANGES.md +169 -0
- data/node_modules/cli-progress/LICENSE.md +24 -0
- data/node_modules/cli-progress/README.md +446 -0
- data/node_modules/cli-progress/cli-progress.js +21 -0
- data/node_modules/cli-progress/lib/eta.js +73 -0
- data/node_modules/cli-progress/lib/format-bar.js +11 -0
- data/node_modules/cli-progress/lib/format-time.js +34 -0
- data/node_modules/cli-progress/lib/format-value.js +22 -0
- data/node_modules/cli-progress/lib/formatter.js +80 -0
- data/node_modules/cli-progress/lib/generic-bar.js +212 -0
- data/node_modules/cli-progress/lib/multi-bar.js +201 -0
- data/node_modules/cli-progress/lib/options.js +95 -0
- data/node_modules/cli-progress/lib/single-bar.js +124 -0
- data/node_modules/cli-progress/lib/terminal.js +159 -0
- data/node_modules/cli-progress/package.json +46 -0
- data/node_modules/cli-progress/presets/index.js +11 -0
- data/node_modules/cli-progress/presets/legacy.js +6 -0
- data/node_modules/cli-progress/presets/rect.js +5 -0
- data/node_modules/cli-progress/presets/shades-classic.js +6 -0
- data/node_modules/cli-progress/presets/shades-grey.js +8 -0
- data/node_modules/cliui/CHANGELOG.md +121 -0
- data/node_modules/cliui/LICENSE.txt +14 -0
- data/node_modules/cliui/README.md +141 -0
- data/node_modules/cliui/build/index.cjs +302 -0
- data/node_modules/cliui/build/lib/index.js +287 -0
- data/node_modules/cliui/build/lib/string-utils.js +27 -0
- data/node_modules/cliui/index.mjs +13 -0
- data/node_modules/cliui/package.json +83 -0
- data/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/color-convert/README.md +68 -0
- data/node_modules/color-convert/conversions.js +839 -0
- data/node_modules/color-convert/index.js +81 -0
- data/node_modules/color-convert/package.json +48 -0
- data/node_modules/color-convert/route.js +97 -0
- data/node_modules/color-name/LICENSE +8 -0
- data/node_modules/color-name/README.md +11 -0
- data/node_modules/color-name/index.js +152 -0
- data/node_modules/color-name/package.json +28 -0
- data/node_modules/colors/LICENSE +25 -0
- data/node_modules/colors/README.md +221 -0
- data/node_modules/colors/examples/normal-usage.js +82 -0
- data/node_modules/colors/examples/safe-string.js +79 -0
- data/node_modules/colors/index.d.ts +136 -0
- data/node_modules/colors/lib/colors.js +211 -0
- data/node_modules/colors/lib/custom/trap.js +46 -0
- data/node_modules/colors/lib/custom/zalgo.js +110 -0
- data/node_modules/colors/lib/extendStringPrototype.js +110 -0
- data/node_modules/colors/lib/index.js +13 -0
- data/node_modules/colors/lib/maps/america.js +10 -0
- data/node_modules/colors/lib/maps/rainbow.js +12 -0
- data/node_modules/colors/lib/maps/random.js +11 -0
- data/node_modules/colors/lib/maps/zebra.js +5 -0
- data/node_modules/colors/lib/styles.js +95 -0
- data/node_modules/colors/lib/system/has-flag.js +35 -0
- data/node_modules/colors/lib/system/supports-colors.js +151 -0
- data/node_modules/colors/package.json +45 -0
- data/node_modules/colors/safe.d.ts +48 -0
- data/node_modules/colors/safe.js +10 -0
- data/node_modules/colors/themes/generic-logging.js +12 -0
- data/node_modules/combined-stream/License +19 -0
- data/node_modules/combined-stream/Readme.md +138 -0
- data/node_modules/combined-stream/lib/combined_stream.js +208 -0
- data/node_modules/combined-stream/package.json +25 -0
- data/node_modules/combined-stream/yarn.lock +17 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/console-table-printer/CHANGELOG.md +96 -0
- data/node_modules/console-table-printer/LICENSE +21 -0
- data/node_modules/console-table-printer/README.md +180 -0
- data/node_modules/console-table-printer/dist/index.d.ts +4 -0
- data/node_modules/console-table-printer/dist/index.js +10 -0
- data/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +14 -0
- data/node_modules/console-table-printer/dist/src/console-table-printer.js +32 -0
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +6 -0
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +15 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +4 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +115 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +25 -0
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +80 -0
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +3 -0
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +43 -0
- data/node_modules/console-table-printer/dist/src/models/common.d.ts +10 -0
- data/node_modules/console-table-printer/dist/src/models/common.js +2 -0
- data/node_modules/console-table-printer/dist/src/models/external-table.d.ts +26 -0
- data/node_modules/console-table-printer/dist/src/models/external-table.js +2 -0
- data/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +21 -0
- data/node_modules/console-table-printer/dist/src/models/internal-table.js +2 -0
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +8 -0
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +29 -0
- data/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +2 -0
- data/node_modules/console-table-printer/dist/src/utils/console-utils.js +8 -0
- data/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +4 -0
- data/node_modules/console-table-printer/dist/src/utils/string-utils.js +54 -0
- data/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +10 -0
- data/node_modules/console-table-printer/dist/src/utils/table-constants.js +49 -0
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +26 -0
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.js +91 -0
- data/node_modules/console-table-printer/package.json +51 -0
- data/node_modules/cross-env/CHANGELOG.md +5 -0
- data/node_modules/cross-env/LICENSE +20 -0
- data/node_modules/cross-env/README.md +291 -0
- data/node_modules/cross-env/package.json +54 -0
- data/node_modules/cross-env/src/bin/cross-env-shell.js +5 -0
- data/node_modules/cross-env/src/bin/cross-env.js +5 -0
- data/node_modules/cross-env/src/command.js +32 -0
- data/node_modules/cross-env/src/index.js +95 -0
- data/node_modules/cross-env/src/is-windows.js +2 -0
- data/node_modules/cross-env/src/variable.js +69 -0
- data/node_modules/cross-spawn/CHANGELOG.md +130 -0
- data/node_modules/cross-spawn/LICENSE +21 -0
- data/node_modules/cross-spawn/README.md +96 -0
- data/node_modules/cross-spawn/index.js +39 -0
- data/node_modules/cross-spawn/lib/enoent.js +59 -0
- data/node_modules/cross-spawn/lib/parse.js +91 -0
- data/node_modules/cross-spawn/lib/util/escape.js +45 -0
- data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- data/node_modules/cross-spawn/package.json +73 -0
- data/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- data/node_modules/crypto-js/LICENSE +24 -0
- data/node_modules/crypto-js/README.md +249 -0
- data/node_modules/crypto-js/aes.js +234 -0
- data/node_modules/crypto-js/bower.json +35 -0
- data/node_modules/crypto-js/cipher-core.js +890 -0
- data/node_modules/crypto-js/core.js +797 -0
- data/node_modules/crypto-js/crypto-js.js +6059 -0
- data/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- data/node_modules/crypto-js/enc-base64.js +136 -0
- data/node_modules/crypto-js/enc-hex.js +18 -0
- data/node_modules/crypto-js/enc-latin1.js +18 -0
- data/node_modules/crypto-js/enc-utf16.js +149 -0
- data/node_modules/crypto-js/enc-utf8.js +18 -0
- data/node_modules/crypto-js/evpkdf.js +134 -0
- data/node_modules/crypto-js/format-hex.js +66 -0
- data/node_modules/crypto-js/format-openssl.js +18 -0
- data/node_modules/crypto-js/hmac-md5.js +18 -0
- data/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- data/node_modules/crypto-js/hmac-sha1.js +18 -0
- data/node_modules/crypto-js/hmac-sha224.js +18 -0
- data/node_modules/crypto-js/hmac-sha256.js +18 -0
- data/node_modules/crypto-js/hmac-sha3.js +18 -0
- data/node_modules/crypto-js/hmac-sha384.js +18 -0
- data/node_modules/crypto-js/hmac-sha512.js +18 -0
- data/node_modules/crypto-js/hmac.js +143 -0
- data/node_modules/crypto-js/index.js +18 -0
- data/node_modules/crypto-js/lib-typedarrays.js +76 -0
- data/node_modules/crypto-js/md5.js +268 -0
- data/node_modules/crypto-js/mode-cfb.js +80 -0
- data/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- data/node_modules/crypto-js/mode-ctr.js +58 -0
- data/node_modules/crypto-js/mode-ecb.js +40 -0
- data/node_modules/crypto-js/mode-ofb.js +54 -0
- data/node_modules/crypto-js/package.json +38 -0
- data/node_modules/crypto-js/pad-ansix923.js +49 -0
- data/node_modules/crypto-js/pad-iso10126.js +44 -0
- data/node_modules/crypto-js/pad-iso97971.js +40 -0
- data/node_modules/crypto-js/pad-nopadding.js +30 -0
- data/node_modules/crypto-js/pad-pkcs7.js +18 -0
- data/node_modules/crypto-js/pad-zeropadding.js +47 -0
- data/node_modules/crypto-js/pbkdf2.js +145 -0
- data/node_modules/crypto-js/rabbit-legacy.js +190 -0
- data/node_modules/crypto-js/rabbit.js +192 -0
- data/node_modules/crypto-js/rc4.js +139 -0
- data/node_modules/crypto-js/ripemd160.js +267 -0
- data/node_modules/crypto-js/sha1.js +150 -0
- data/node_modules/crypto-js/sha224.js +80 -0
- data/node_modules/crypto-js/sha256.js +199 -0
- data/node_modules/crypto-js/sha3.js +326 -0
- data/node_modules/crypto-js/sha384.js +83 -0
- data/node_modules/crypto-js/sha512.js +326 -0
- data/node_modules/crypto-js/tripledes.js +779 -0
- data/node_modules/crypto-js/x64-core.js +304 -0
- data/node_modules/cssom/LICENSE.txt +20 -0
- data/node_modules/cssom/README.mdown +67 -0
- data/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- data/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- data/node_modules/cssom/lib/CSSHostRule.js +37 -0
- data/node_modules/cssom/lib/CSSImportRule.js +132 -0
- data/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- data/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- data/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- data/node_modules/cssom/lib/CSSOM.js +3 -0
- data/node_modules/cssom/lib/CSSRule.js +43 -0
- data/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- data/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- data/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- data/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- data/node_modules/cssom/lib/CSSValue.js +43 -0
- data/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- data/node_modules/cssom/lib/MatcherList.js +62 -0
- data/node_modules/cssom/lib/MediaList.js +61 -0
- data/node_modules/cssom/lib/StyleSheet.js +17 -0
- data/node_modules/cssom/lib/clone.js +71 -0
- data/node_modules/cssom/lib/index.js +21 -0
- data/node_modules/cssom/lib/parse.js +463 -0
- data/node_modules/cssom/package.json +18 -0
- data/node_modules/cssstyle/LICENSE +20 -0
- data/node_modules/cssstyle/README.md +15 -0
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +260 -0
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js +556 -0
- data/node_modules/cssstyle/lib/allExtraProperties.js +67 -0
- data/node_modules/cssstyle/lib/allProperties.js +462 -0
- data/node_modules/cssstyle/lib/allWebkitProperties.js +194 -0
- data/node_modules/cssstyle/lib/constants.js +6 -0
- data/node_modules/cssstyle/lib/implementedProperties.js +90 -0
- data/node_modules/cssstyle/lib/named_colors.json +152 -0
- data/node_modules/cssstyle/lib/parsers.js +722 -0
- data/node_modules/cssstyle/lib/parsers.test.js +139 -0
- data/node_modules/cssstyle/lib/properties/azimuth.js +67 -0
- data/node_modules/cssstyle/lib/properties/background.js +19 -0
- data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +24 -0
- data/node_modules/cssstyle/lib/properties/backgroundColor.js +36 -0
- data/node_modules/cssstyle/lib/properties/backgroundImage.js +32 -0
- data/node_modules/cssstyle/lib/properties/backgroundPosition.js +58 -0
- data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +32 -0
- data/node_modules/cssstyle/lib/properties/border.js +33 -0
- data/node_modules/cssstyle/lib/properties/borderBottom.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderBottomColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderCollapse.js +26 -0
- data/node_modules/cssstyle/lib/properties/borderColor.js +30 -0
- data/node_modules/cssstyle/lib/properties/borderLeft.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderLeftColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRight.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderRightColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderRightStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderRightWidth.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderSpacing.js +41 -0
- data/node_modules/cssstyle/lib/properties/borderStyle.js +38 -0
- data/node_modules/cssstyle/lib/properties/borderTop.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderTopColor.js +16 -0
- data/node_modules/cssstyle/lib/properties/borderTopStyle.js +21 -0
- data/node_modules/cssstyle/lib/properties/borderTopWidth.js +17 -0
- data/node_modules/cssstyle/lib/properties/borderWidth.js +46 -0
- data/node_modules/cssstyle/lib/properties/bottom.js +14 -0
- data/node_modules/cssstyle/lib/properties/clear.js +16 -0
- data/node_modules/cssstyle/lib/properties/clip.js +47 -0
- data/node_modules/cssstyle/lib/properties/color.js +14 -0
- data/node_modules/cssstyle/lib/properties/cssFloat.js +12 -0
- data/node_modules/cssstyle/lib/properties/flex.js +45 -0
- data/node_modules/cssstyle/lib/properties/flexBasis.js +28 -0
- data/node_modules/cssstyle/lib/properties/flexGrow.js +19 -0
- data/node_modules/cssstyle/lib/properties/flexShrink.js +19 -0
- data/node_modules/cssstyle/lib/properties/float.js +12 -0
- data/node_modules/cssstyle/lib/properties/floodColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/font.js +43 -0
- data/node_modules/cssstyle/lib/properties/fontFamily.js +33 -0
- data/node_modules/cssstyle/lib/properties/fontSize.js +38 -0
- data/node_modules/cssstyle/lib/properties/fontStyle.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontVariant.js +18 -0
- data/node_modules/cssstyle/lib/properties/fontWeight.js +33 -0
- data/node_modules/cssstyle/lib/properties/height.js +24 -0
- data/node_modules/cssstyle/lib/properties/left.js +14 -0
- data/node_modules/cssstyle/lib/properties/lightingColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/lineHeight.js +26 -0
- data/node_modules/cssstyle/lib/properties/margin.js +68 -0
- data/node_modules/cssstyle/lib/properties/marginBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/marginTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/opacity.js +14 -0
- data/node_modules/cssstyle/lib/properties/outlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/padding.js +61 -0
- data/node_modules/cssstyle/lib/properties/paddingBottom.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingLeft.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingRight.js +13 -0
- data/node_modules/cssstyle/lib/properties/paddingTop.js +13 -0
- data/node_modules/cssstyle/lib/properties/right.js +14 -0
- data/node_modules/cssstyle/lib/properties/stopColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textOverlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/top.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
- data/node_modules/cssstyle/lib/properties/width.js +24 -0
- data/node_modules/cssstyle/lib/properties.js +1833 -0
- data/node_modules/cssstyle/lib/utils/colorSpace.js +21 -0
- data/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js +14 -0
- data/node_modules/cssstyle/node_modules/cssom/LICENSE.txt +20 -0
- data/node_modules/cssstyle/node_modules/cssom/README.mdown +67 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +39 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +36 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js +37 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js +132 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +37 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +39 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +41 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js +3 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js +43 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +148 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +190 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +88 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +36 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js +43 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +344 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js +62 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/MediaList.js +61 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js +17 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/clone.js +82 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/index.js +21 -0
- data/node_modules/cssstyle/node_modules/cssom/lib/parse.js +464 -0
- data/node_modules/cssstyle/node_modules/cssom/package.json +18 -0
- data/node_modules/cssstyle/package.json +72 -0
- data/node_modules/data-urls/LICENSE.txt +7 -0
- data/node_modules/data-urls/README.md +64 -0
- data/node_modules/data-urls/lib/parser.js +74 -0
- data/node_modules/data-urls/lib/utils.js +23 -0
- data/node_modules/data-urls/package.json +53 -0
- data/node_modules/debug/LICENSE +19 -0
- data/node_modules/debug/README.md +455 -0
- data/node_modules/debug/package.json +59 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +274 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/decimal.js/CHANGELOG.md +231 -0
- data/node_modules/decimal.js/LICENCE.md +23 -0
- data/node_modules/decimal.js/README.md +246 -0
- data/node_modules/decimal.js/decimal.d.ts +300 -0
- data/node_modules/decimal.js/decimal.js +4934 -0
- data/node_modules/decimal.js/decimal.mjs +4898 -0
- data/node_modules/decimal.js/package.json +40 -0
- data/node_modules/deep-is/LICENSE +22 -0
- data/node_modules/deep-is/README.markdown +70 -0
- data/node_modules/deep-is/example/cmp.js +11 -0
- data/node_modules/deep-is/index.js +102 -0
- data/node_modules/deep-is/package.json +61 -0
- data/node_modules/deep-is/test/NaN.js +16 -0
- data/node_modules/deep-is/test/cmp.js +23 -0
- data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- data/node_modules/delayed-stream/License +19 -0
- data/node_modules/delayed-stream/Makefile +7 -0
- data/node_modules/delayed-stream/Readme.md +141 -0
- data/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- data/node_modules/delayed-stream/package.json +27 -0
- data/node_modules/diff/CONTRIBUTING.md +39 -0
- data/node_modules/diff/LICENSE +31 -0
- data/node_modules/diff/README.md +208 -0
- data/node_modules/diff/dist/diff.js +1582 -0
- data/node_modules/diff/lib/convert/dmp.js +32 -0
- data/node_modules/diff/lib/convert/xml.js +42 -0
- data/node_modules/diff/lib/diff/array.js +45 -0
- data/node_modules/diff/lib/diff/base.js +304 -0
- data/node_modules/diff/lib/diff/character.js +37 -0
- data/node_modules/diff/lib/diff/css.js +41 -0
- data/node_modules/diff/lib/diff/json.js +163 -0
- data/node_modules/diff/lib/diff/line.js +89 -0
- data/node_modules/diff/lib/diff/sentence.js +41 -0
- data/node_modules/diff/lib/diff/word.js +108 -0
- data/node_modules/diff/lib/index.es6.js +1553 -0
- data/node_modules/diff/lib/index.js +216 -0
- data/node_modules/diff/lib/index.mjs +1553 -0
- data/node_modules/diff/lib/patch/apply.js +238 -0
- data/node_modules/diff/lib/patch/create.js +267 -0
- data/node_modules/diff/lib/patch/merge.js +613 -0
- data/node_modules/diff/lib/patch/parse.js +167 -0
- data/node_modules/diff/lib/util/array.js +32 -0
- data/node_modules/diff/lib/util/distance-iterator.js +57 -0
- data/node_modules/diff/lib/util/params.js +24 -0
- data/node_modules/diff/package.json +87 -0
- data/node_modules/diff/release-notes.md +303 -0
- data/node_modules/diff/runtime.js +3 -0
- data/node_modules/domexception/LICENSE.txt +21 -0
- data/node_modules/domexception/README.md +31 -0
- data/node_modules/domexception/index.js +7 -0
- data/node_modules/domexception/lib/DOMException-impl.js +22 -0
- data/node_modules/domexception/lib/DOMException.js +205 -0
- data/node_modules/domexception/lib/legacy-error-codes.json +27 -0
- data/node_modules/domexception/lib/utils.js +115 -0
- data/node_modules/domexception/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/domexception/node_modules/webidl-conversions/README.md +79 -0
- data/node_modules/domexception/node_modules/webidl-conversions/lib/index.js +361 -0
- data/node_modules/domexception/node_modules/webidl-conversions/package.json +30 -0
- data/node_modules/domexception/package.json +42 -0
- data/node_modules/domexception/webidl2js-wrapper.js +15 -0
- data/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- data/node_modules/emoji-regex/README.md +73 -0
- data/node_modules/emoji-regex/es2015/index.js +6 -0
- data/node_modules/emoji-regex/es2015/text.js +6 -0
- data/node_modules/emoji-regex/index.d.ts +23 -0
- data/node_modules/emoji-regex/index.js +6 -0
- data/node_modules/emoji-regex/package.json +50 -0
- data/node_modules/emoji-regex/text.js +6 -0
- data/node_modules/escalade/dist/index.js +22 -0
- data/node_modules/escalade/dist/index.mjs +22 -0
- data/node_modules/escalade/index.d.ts +3 -0
- data/node_modules/escalade/license +9 -0
- data/node_modules/escalade/package.json +61 -0
- data/node_modules/escalade/readme.md +211 -0
- data/node_modules/escalade/sync/index.d.ts +2 -0
- data/node_modules/escalade/sync/index.js +18 -0
- data/node_modules/escalade/sync/index.mjs +18 -0
- data/node_modules/escodegen/LICENSE.BSD +21 -0
- data/node_modules/escodegen/README.md +84 -0
- data/node_modules/escodegen/bin/escodegen.js +77 -0
- data/node_modules/escodegen/bin/esgenerate.js +64 -0
- data/node_modules/escodegen/escodegen.js +2647 -0
- data/node_modules/escodegen/package.json +62 -0
- data/node_modules/esprima/ChangeLog +235 -0
- data/node_modules/esprima/LICENSE.BSD +21 -0
- data/node_modules/esprima/README.md +46 -0
- data/node_modules/esprima/bin/esparse.js +139 -0
- data/node_modules/esprima/bin/esvalidate.js +236 -0
- data/node_modules/esprima/dist/esprima.js +6709 -0
- data/node_modules/esprima/package.json +112 -0
- data/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/estraverse/README.md +153 -0
- data/node_modules/estraverse/estraverse.js +801 -0
- data/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/estraverse/package.json +40 -0
- data/node_modules/esutils/LICENSE.BSD +19 -0
- data/node_modules/esutils/README.md +174 -0
- data/node_modules/esutils/lib/ast.js +144 -0
- data/node_modules/esutils/lib/code.js +135 -0
- data/node_modules/esutils/lib/keyword.js +165 -0
- data/node_modules/esutils/lib/utils.js +33 -0
- data/node_modules/esutils/package.json +44 -0
- data/node_modules/fast-levenshtein/LICENSE.md +25 -0
- data/node_modules/fast-levenshtein/README.md +104 -0
- data/node_modules/fast-levenshtein/levenshtein.js +136 -0
- data/node_modules/fast-levenshtein/package.json +39 -0
- data/node_modules/fill-range/LICENSE +21 -0
- data/node_modules/fill-range/README.md +237 -0
- data/node_modules/fill-range/index.js +249 -0
- data/node_modules/fill-range/package.json +69 -0
- data/node_modules/form-data/License +19 -0
- data/node_modules/form-data/README.md.bak +356 -0
- data/node_modules/form-data/Readme.md +356 -0
- data/node_modules/form-data/index.d.ts +62 -0
- data/node_modules/form-data/lib/browser.js +2 -0
- data/node_modules/form-data/lib/form_data.js +498 -0
- data/node_modules/form-data/lib/populate.js +10 -0
- data/node_modules/form-data/package.json +68 -0
- data/node_modules/fs-extra/CHANGELOG.md +902 -0
- data/node_modules/fs-extra/LICENSE +15 -0
- data/node_modules/fs-extra/README.md +264 -0
- data/node_modules/fs-extra/lib/copy/copy.js +232 -0
- data/node_modules/fs-extra/lib/copy/index.js +6 -0
- data/node_modules/fs-extra/lib/copy-sync/copy-sync.js +166 -0
- data/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
- data/node_modules/fs-extra/lib/empty/index.js +48 -0
- data/node_modules/fs-extra/lib/ensure/file.js +69 -0
- data/node_modules/fs-extra/lib/ensure/index.js +23 -0
- data/node_modules/fs-extra/lib/ensure/link.js +61 -0
- data/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- data/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- data/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
- data/node_modules/fs-extra/lib/fs/index.js +130 -0
- data/node_modules/fs-extra/lib/index.js +27 -0
- data/node_modules/fs-extra/lib/json/index.js +16 -0
- data/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- data/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- data/node_modules/fs-extra/lib/json/output-json.js +12 -0
- data/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- data/node_modules/fs-extra/lib/mkdirs/make-dir.js +141 -0
- data/node_modules/fs-extra/lib/move/index.js +6 -0
- data/node_modules/fs-extra/lib/move/move.js +65 -0
- data/node_modules/fs-extra/lib/move-sync/index.js +5 -0
- data/node_modules/fs-extra/lib/move-sync/move-sync.js +47 -0
- data/node_modules/fs-extra/lib/output/index.js +40 -0
- data/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- data/node_modules/fs-extra/lib/remove/index.js +9 -0
- data/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- data/node_modules/fs-extra/lib/util/stat.js +139 -0
- data/node_modules/fs-extra/lib/util/utimes.js +26 -0
- data/node_modules/fs-extra/package.json +70 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/get-caller-file/LICENSE.md +6 -0
- data/node_modules/get-caller-file/README.md +41 -0
- data/node_modules/get-caller-file/index.d.ts +2 -0
- data/node_modules/get-caller-file/index.js +22 -0
- data/node_modules/get-caller-file/index.js.map +1 -0
- data/node_modules/get-caller-file/package.json +42 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +375 -0
- data/node_modules/glob/changelog.md +67 -0
- data/node_modules/glob/common.js +234 -0
- data/node_modules/glob/glob.js +788 -0
- data/node_modules/glob/package.json +51 -0
- data/node_modules/glob/sync.js +484 -0
- data/node_modules/glob-parent/CHANGELOG.md +110 -0
- data/node_modules/glob-parent/LICENSE +15 -0
- data/node_modules/glob-parent/README.md +137 -0
- data/node_modules/glob-parent/index.js +42 -0
- data/node_modules/glob-parent/package.json +48 -0
- data/node_modules/graceful-fs/LICENSE +15 -0
- data/node_modules/graceful-fs/README.md +133 -0
- data/node_modules/graceful-fs/clone.js +23 -0
- data/node_modules/graceful-fs/graceful-fs.js +373 -0
- data/node_modules/graceful-fs/legacy-streams.js +118 -0
- data/node_modules/graceful-fs/package.json +50 -0
- data/node_modules/graceful-fs/polyfills.js +346 -0
- data/node_modules/html-encoding-sniffer/LICENSE.txt +7 -0
- data/node_modules/html-encoding-sniffer/README.md +38 -0
- data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
- data/node_modules/html-encoding-sniffer/package.json +30 -0
- data/node_modules/http-proxy-agent/README.md +74 -0
- data/node_modules/http-proxy-agent/dist/agent.d.ts +32 -0
- data/node_modules/http-proxy-agent/dist/agent.js +145 -0
- data/node_modules/http-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/http-proxy-agent/dist/index.d.ts +21 -0
- data/node_modules/http-proxy-agent/dist/index.js +14 -0
- data/node_modules/http-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/http-proxy-agent/package.json +57 -0
- data/node_modules/https-proxy-agent/README.md +137 -0
- data/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- data/node_modules/https-proxy-agent/dist/agent.js +180 -0
- data/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- data/node_modules/https-proxy-agent/dist/index.js +14 -0
- data/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- data/node_modules/https-proxy-agent/package.json +56 -0
- data/node_modules/iconv-lite/Changelog.md +162 -0
- data/node_modules/iconv-lite/LICENSE +21 -0
- data/node_modules/iconv-lite/README.md +156 -0
- data/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- data/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- data/node_modules/iconv-lite/encodings/index.js +22 -0
- data/node_modules/iconv-lite/encodings/internal.js +188 -0
- data/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- data/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- data/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- data/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- data/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- data/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- data/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- data/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- data/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- data/node_modules/iconv-lite/encodings/utf16.js +177 -0
- data/node_modules/iconv-lite/encodings/utf7.js +290 -0
- data/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- data/node_modules/iconv-lite/lib/extend-node.js +217 -0
- data/node_modules/iconv-lite/lib/index.d.ts +24 -0
- data/node_modules/iconv-lite/lib/index.js +153 -0
- data/node_modules/iconv-lite/lib/streams.js +121 -0
- data/node_modules/iconv-lite/package.json +46 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/is-binary-path/index.d.ts +17 -0
- data/node_modules/is-binary-path/index.js +7 -0
- data/node_modules/is-binary-path/license +9 -0
- data/node_modules/is-binary-path/package.json +40 -0
- data/node_modules/is-binary-path/readme.md +34 -0
- data/node_modules/is-extglob/LICENSE +21 -0
- data/node_modules/is-extglob/README.md +107 -0
- data/node_modules/is-extglob/index.js +20 -0
- data/node_modules/is-extglob/package.json +69 -0
- data/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- data/node_modules/is-fullwidth-code-point/index.js +50 -0
- data/node_modules/is-fullwidth-code-point/license +9 -0
- data/node_modules/is-fullwidth-code-point/package.json +42 -0
- data/node_modules/is-fullwidth-code-point/readme.md +39 -0
- data/node_modules/is-glob/LICENSE +21 -0
- data/node_modules/is-glob/README.md +206 -0
- data/node_modules/is-glob/index.js +48 -0
- data/node_modules/is-glob/package.json +81 -0
- data/node_modules/is-number/LICENSE +21 -0
- data/node_modules/is-number/README.md +187 -0
- data/node_modules/is-number/index.js +18 -0
- data/node_modules/is-number/package.json +82 -0
- data/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
- data/node_modules/is-potential-custom-element-name/README.md +40 -0
- data/node_modules/is-potential-custom-element-name/index.js +9 -0
- data/node_modules/is-potential-custom-element-name/package.json +35 -0
- data/node_modules/isexe/LICENSE +15 -0
- data/node_modules/isexe/README.md +51 -0
- data/node_modules/isexe/index.js +57 -0
- data/node_modules/isexe/mode.js +41 -0
- data/node_modules/isexe/package.json +31 -0
- data/node_modules/isexe/test/basic.js +221 -0
- data/node_modules/isexe/windows.js +42 -0
- data/node_modules/js-yaml/CHANGELOG.md +557 -0
- data/node_modules/js-yaml/LICENSE +21 -0
- data/node_modules/js-yaml/README.md +299 -0
- data/node_modules/js-yaml/bin/js-yaml.js +132 -0
- data/node_modules/js-yaml/dist/js-yaml.js +3989 -0
- data/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
- data/node_modules/js-yaml/index.js +7 -0
- data/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- data/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
- data/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- data/node_modules/js-yaml/lib/js-yaml/loader.js +1644 -0
- data/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- data/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- data/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- data/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- data/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- data/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
- data/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- data/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- data/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- data/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- data/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- data/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- data/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- data/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- data/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- data/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- data/node_modules/js-yaml/lib/js-yaml.js +39 -0
- data/node_modules/js-yaml/package.json +49 -0
- data/node_modules/jsdom/LICENSE.txt +22 -0
- data/node_modules/jsdom/README.md +522 -0
- data/node_modules/jsdom/lib/api.js +333 -0
- data/node_modules/jsdom/lib/jsdom/browser/Window.js +933 -0
- data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +789 -0
- data/node_modules/jsdom/lib/jsdom/browser/js-globals.json +307 -0
- data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/html.js +223 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/index.js +37 -0
- data/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +95 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
- data/node_modules/jsdom/lib/jsdom/level2/style.js +57 -0
- data/node_modules/jsdom/lib/jsdom/level3/xpath.js +1874 -0
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +55 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/attributes.js +312 -0
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
- data/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +265 -0
- data/node_modules/jsdom/lib/jsdom/living/documents.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +58 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
- data/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +45 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +197 -0
- data/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +403 -0
- data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +49 -0
- data/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
- data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +165 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +54 -0
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +159 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +162 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +215 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +118 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +198 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +34 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +436 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +122 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +242 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +200 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +232 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +322 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +531 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +3322 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +325 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +246 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +1609 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +186 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +80 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +390 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +52 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +252 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/External.js +129 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/File.js +176 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +305 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +440 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +142 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +421 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Function.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +915 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +739 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +808 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +487 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +291 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +358 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +128 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +2269 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +346 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +315 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +226 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +457 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +459 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +683 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +300 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +621 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +789 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1696 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +194 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +175 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +496 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +509 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +802 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +338 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +202 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +266 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +839 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +192 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +351 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +533 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +371 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +158 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +209 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +424 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +957 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +310 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +115 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +200 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +635 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +339 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +725 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +386 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +329 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +126 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1088 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +334 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +192 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +310 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +153 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +379 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/History.js +256 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +164 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +413 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +370 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +301 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +94 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +151 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +330 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +463 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +108 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +103 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +216 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +522 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +297 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +736 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +196 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +309 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +145 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +361 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +340 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +142 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +125 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +166 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +56 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Range.js +619 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +143 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +1986 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +144 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +681 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +504 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +173 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +527 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +185 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +126 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +66 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +389 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +305 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +93 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +307 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +169 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +208 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +236 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +228 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +30 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +444 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +183 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +68 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +617 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +341 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +133 -0
- data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +141 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +320 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +270 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/details.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +54 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/events.js +24 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +306 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +254 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/json.js +12 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +15 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/node.js +68 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +76 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +47 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +148 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +114 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +113 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/text.js +19 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
- data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +75 -0
- data/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/interfaces.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
- data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +141 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
- data/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
- data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/node-type.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/node.js +331 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +946 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +578 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +25 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +95 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +130 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +160 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +226 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +261 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +371 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +132 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1128 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +101 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +85 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +265 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +74 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +272 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +1165 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +40 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
- data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/post-message.js +39 -0
- data/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
- data/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +889 -0
- data/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
- data/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
- data/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +342 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +38 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +127 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
- data/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +175 -0
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
- data/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
- data/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
- data/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
- data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +134 -0
- data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +238 -0
- data/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
- data/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
- data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +84 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +171 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1023 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +60 -0
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +438 -0
- data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +158 -0
- data/node_modules/jsdom/lib/jsdom/utils.js +165 -0
- data/node_modules/jsdom/lib/jsdom/virtual-console.js +34 -0
- data/node_modules/jsdom/lib/jsdom/vm-shim.js +106 -0
- data/node_modules/jsdom/package.json +116 -0
- data/node_modules/jsonfile/CHANGELOG.md +171 -0
- data/node_modules/jsonfile/LICENSE +15 -0
- data/node_modules/jsonfile/README.md +230 -0
- data/node_modules/jsonfile/index.js +88 -0
- data/node_modules/jsonfile/package.json +40 -0
- data/node_modules/jsonfile/utils.js +14 -0
- data/node_modules/levn/LICENSE +22 -0
- data/node_modules/levn/README.md +196 -0
- data/node_modules/levn/lib/cast.js +298 -0
- data/node_modules/levn/lib/coerce.js +285 -0
- data/node_modules/levn/lib/index.js +22 -0
- data/node_modules/levn/lib/parse-string.js +113 -0
- data/node_modules/levn/lib/parse.js +102 -0
- data/node_modules/levn/package.json +47 -0
- data/node_modules/lodash/LICENSE +47 -0
- data/node_modules/lodash/README.md +39 -0
- data/node_modules/lodash/_DataView.js +7 -0
- data/node_modules/lodash/_Hash.js +32 -0
- data/node_modules/lodash/_LazyWrapper.js +28 -0
- data/node_modules/lodash/_ListCache.js +32 -0
- data/node_modules/lodash/_LodashWrapper.js +22 -0
- data/node_modules/lodash/_Map.js +7 -0
- data/node_modules/lodash/_MapCache.js +32 -0
- data/node_modules/lodash/_Promise.js +7 -0
- data/node_modules/lodash/_Set.js +7 -0
- data/node_modules/lodash/_SetCache.js +27 -0
- data/node_modules/lodash/_Stack.js +27 -0
- data/node_modules/lodash/_Symbol.js +6 -0
- data/node_modules/lodash/_Uint8Array.js +6 -0
- data/node_modules/lodash/_WeakMap.js +7 -0
- data/node_modules/lodash/_apply.js +21 -0
- data/node_modules/lodash/_arrayAggregator.js +22 -0
- data/node_modules/lodash/_arrayEach.js +22 -0
- data/node_modules/lodash/_arrayEachRight.js +21 -0
- data/node_modules/lodash/_arrayEvery.js +23 -0
- data/node_modules/lodash/_arrayFilter.js +25 -0
- data/node_modules/lodash/_arrayIncludes.js +17 -0
- data/node_modules/lodash/_arrayIncludesWith.js +22 -0
- data/node_modules/lodash/_arrayLikeKeys.js +49 -0
- data/node_modules/lodash/_arrayMap.js +21 -0
- data/node_modules/lodash/_arrayPush.js +20 -0
- data/node_modules/lodash/_arrayReduce.js +26 -0
- data/node_modules/lodash/_arrayReduceRight.js +24 -0
- data/node_modules/lodash/_arraySample.js +15 -0
- data/node_modules/lodash/_arraySampleSize.js +17 -0
- data/node_modules/lodash/_arrayShuffle.js +15 -0
- data/node_modules/lodash/_arraySome.js +23 -0
- data/node_modules/lodash/_asciiSize.js +12 -0
- data/node_modules/lodash/_asciiToArray.js +12 -0
- data/node_modules/lodash/_asciiWords.js +15 -0
- data/node_modules/lodash/_assignMergeValue.js +20 -0
- data/node_modules/lodash/_assignValue.js +28 -0
- data/node_modules/lodash/_assocIndexOf.js +21 -0
- data/node_modules/lodash/_baseAggregator.js +21 -0
- data/node_modules/lodash/_baseAssign.js +17 -0
- data/node_modules/lodash/_baseAssignIn.js +17 -0
- data/node_modules/lodash/_baseAssignValue.js +25 -0
- data/node_modules/lodash/_baseAt.js +23 -0
- data/node_modules/lodash/_baseClamp.js +22 -0
- data/node_modules/lodash/_baseClone.js +166 -0
- data/node_modules/lodash/_baseConforms.js +18 -0
- data/node_modules/lodash/_baseConformsTo.js +27 -0
- data/node_modules/lodash/_baseCreate.js +30 -0
- data/node_modules/lodash/_baseDelay.js +21 -0
- data/node_modules/lodash/_baseDifference.js +67 -0
- data/node_modules/lodash/_baseEach.js +14 -0
- data/node_modules/lodash/_baseEachRight.js +14 -0
- data/node_modules/lodash/_baseEvery.js +21 -0
- data/node_modules/lodash/_baseExtremum.js +32 -0
- data/node_modules/lodash/_baseFill.js +32 -0
- data/node_modules/lodash/_baseFilter.js +21 -0
- data/node_modules/lodash/_baseFindIndex.js +24 -0
- data/node_modules/lodash/_baseFindKey.js +23 -0
- data/node_modules/lodash/_baseFlatten.js +38 -0
- data/node_modules/lodash/_baseFor.js +16 -0
- data/node_modules/lodash/_baseForOwn.js +16 -0
- data/node_modules/lodash/_baseForOwnRight.js +16 -0
- data/node_modules/lodash/_baseForRight.js +15 -0
- data/node_modules/lodash/_baseFunctions.js +19 -0
- data/node_modules/lodash/_baseGet.js +24 -0
- data/node_modules/lodash/_baseGetAllKeys.js +20 -0
- data/node_modules/lodash/_baseGetTag.js +28 -0
- data/node_modules/lodash/_baseGt.js +14 -0
- data/node_modules/lodash/_baseHas.js +19 -0
- data/node_modules/lodash/_baseHasIn.js +13 -0
- data/node_modules/lodash/_baseInRange.js +18 -0
- data/node_modules/lodash/_baseIndexOf.js +20 -0
- data/node_modules/lodash/_baseIndexOfWith.js +23 -0
- data/node_modules/lodash/_baseIntersection.js +74 -0
- data/node_modules/lodash/_baseInverter.js +21 -0
- data/node_modules/lodash/_baseInvoke.js +24 -0
- data/node_modules/lodash/_baseIsArguments.js +18 -0
- data/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- data/node_modules/lodash/_baseIsDate.js +18 -0
- data/node_modules/lodash/_baseIsEqual.js +28 -0
- data/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- data/node_modules/lodash/_baseIsMap.js +18 -0
- data/node_modules/lodash/_baseIsMatch.js +62 -0
- data/node_modules/lodash/_baseIsNaN.js +12 -0
- data/node_modules/lodash/_baseIsNative.js +47 -0
- data/node_modules/lodash/_baseIsRegExp.js +18 -0
- data/node_modules/lodash/_baseIsSet.js +18 -0
- data/node_modules/lodash/_baseIsTypedArray.js +60 -0
- data/node_modules/lodash/_baseIteratee.js +31 -0
- data/node_modules/lodash/_baseKeys.js +30 -0
- data/node_modules/lodash/_baseKeysIn.js +33 -0
- data/node_modules/lodash/_baseLodash.js +10 -0
- data/node_modules/lodash/_baseLt.js +14 -0
- data/node_modules/lodash/_baseMap.js +22 -0
- data/node_modules/lodash/_baseMatches.js +22 -0
- data/node_modules/lodash/_baseMatchesProperty.js +33 -0
- data/node_modules/lodash/_baseMean.js +20 -0
- data/node_modules/lodash/_baseMerge.js +42 -0
- data/node_modules/lodash/_baseMergeDeep.js +94 -0
- data/node_modules/lodash/_baseNth.js +20 -0
- data/node_modules/lodash/_baseOrderBy.js +49 -0
- data/node_modules/lodash/_basePick.js +19 -0
- data/node_modules/lodash/_basePickBy.js +30 -0
- data/node_modules/lodash/_baseProperty.js +14 -0
- data/node_modules/lodash/_basePropertyDeep.js +16 -0
- data/node_modules/lodash/_basePropertyOf.js +14 -0
- data/node_modules/lodash/_basePullAll.js +51 -0
- data/node_modules/lodash/_basePullAt.js +37 -0
- data/node_modules/lodash/_baseRandom.js +18 -0
- data/node_modules/lodash/_baseRange.js +28 -0
- data/node_modules/lodash/_baseReduce.js +23 -0
- data/node_modules/lodash/_baseRepeat.js +35 -0
- data/node_modules/lodash/_baseRest.js +17 -0
- data/node_modules/lodash/_baseSample.js +15 -0
- data/node_modules/lodash/_baseSampleSize.js +18 -0
- data/node_modules/lodash/_baseSet.js +51 -0
- data/node_modules/lodash/_baseSetData.js +17 -0
- data/node_modules/lodash/_baseSetToString.js +22 -0
- data/node_modules/lodash/_baseShuffle.js +15 -0
- data/node_modules/lodash/_baseSlice.js +31 -0
- data/node_modules/lodash/_baseSome.js +22 -0
- data/node_modules/lodash/_baseSortBy.js +21 -0
- data/node_modules/lodash/_baseSortedIndex.js +42 -0
- data/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- data/node_modules/lodash/_baseSortedUniq.js +30 -0
- data/node_modules/lodash/_baseSum.js +24 -0
- data/node_modules/lodash/_baseTimes.js +20 -0
- data/node_modules/lodash/_baseToNumber.js +24 -0
- data/node_modules/lodash/_baseToPairs.js +18 -0
- data/node_modules/lodash/_baseToString.js +37 -0
- data/node_modules/lodash/_baseTrim.js +19 -0
- data/node_modules/lodash/_baseUnary.js +14 -0
- data/node_modules/lodash/_baseUniq.js +72 -0
- data/node_modules/lodash/_baseUnset.js +20 -0
- data/node_modules/lodash/_baseUpdate.js +18 -0
- data/node_modules/lodash/_baseValues.js +19 -0
- data/node_modules/lodash/_baseWhile.js +26 -0
- data/node_modules/lodash/_baseWrapperValue.js +25 -0
- data/node_modules/lodash/_baseXor.js +36 -0
- data/node_modules/lodash/_baseZipObject.js +23 -0
- data/node_modules/lodash/_cacheHas.js +13 -0
- data/node_modules/lodash/_castArrayLikeObject.js +14 -0
- data/node_modules/lodash/_castFunction.js +14 -0
- data/node_modules/lodash/_castPath.js +21 -0
- data/node_modules/lodash/_castRest.js +14 -0
- data/node_modules/lodash/_castSlice.js +18 -0
- data/node_modules/lodash/_charsEndIndex.js +19 -0
- data/node_modules/lodash/_charsStartIndex.js +20 -0
- data/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- data/node_modules/lodash/_cloneBuffer.js +35 -0
- data/node_modules/lodash/_cloneDataView.js +16 -0
- data/node_modules/lodash/_cloneRegExp.js +17 -0
- data/node_modules/lodash/_cloneSymbol.js +18 -0
- data/node_modules/lodash/_cloneTypedArray.js +16 -0
- data/node_modules/lodash/_compareAscending.js +41 -0
- data/node_modules/lodash/_compareMultiple.js +44 -0
- data/node_modules/lodash/_composeArgs.js +39 -0
- data/node_modules/lodash/_composeArgsRight.js +41 -0
- data/node_modules/lodash/_copyArray.js +20 -0
- data/node_modules/lodash/_copyObject.js +40 -0
- data/node_modules/lodash/_copySymbols.js +16 -0
- data/node_modules/lodash/_copySymbolsIn.js +16 -0
- data/node_modules/lodash/_coreJsData.js +6 -0
- data/node_modules/lodash/_countHolders.js +21 -0
- data/node_modules/lodash/_createAggregator.js +23 -0
- data/node_modules/lodash/_createAssigner.js +37 -0
- data/node_modules/lodash/_createBaseEach.js +32 -0
- data/node_modules/lodash/_createBaseFor.js +25 -0
- data/node_modules/lodash/_createBind.js +28 -0
- data/node_modules/lodash/_createCaseFirst.js +33 -0
- data/node_modules/lodash/_createCompounder.js +24 -0
- data/node_modules/lodash/_createCtor.js +37 -0
- data/node_modules/lodash/_createCurry.js +46 -0
- data/node_modules/lodash/_createFind.js +25 -0
- data/node_modules/lodash/_createFlow.js +78 -0
- data/node_modules/lodash/_createHybrid.js +92 -0
- data/node_modules/lodash/_createInverter.js +17 -0
- data/node_modules/lodash/_createMathOperation.js +38 -0
- data/node_modules/lodash/_createOver.js +27 -0
- data/node_modules/lodash/_createPadding.js +33 -0
- data/node_modules/lodash/_createPartial.js +43 -0
- data/node_modules/lodash/_createRange.js +30 -0
- data/node_modules/lodash/_createRecurry.js +56 -0
- data/node_modules/lodash/_createRelationalOperation.js +20 -0
- data/node_modules/lodash/_createRound.js +35 -0
- data/node_modules/lodash/_createSet.js +19 -0
- data/node_modules/lodash/_createToPairs.js +30 -0
- data/node_modules/lodash/_createWrap.js +106 -0
- data/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- data/node_modules/lodash/_customDefaultsMerge.js +28 -0
- data/node_modules/lodash/_customOmitClone.js +16 -0
- data/node_modules/lodash/_deburrLetter.js +71 -0
- data/node_modules/lodash/_defineProperty.js +11 -0
- data/node_modules/lodash/_equalArrays.js +84 -0
- data/node_modules/lodash/_equalByTag.js +112 -0
- data/node_modules/lodash/_equalObjects.js +90 -0
- data/node_modules/lodash/_escapeHtmlChar.js +21 -0
- data/node_modules/lodash/_escapeStringChar.js +22 -0
- data/node_modules/lodash/_flatRest.js +16 -0
- data/node_modules/lodash/_freeGlobal.js +4 -0
- data/node_modules/lodash/_getAllKeys.js +16 -0
- data/node_modules/lodash/_getAllKeysIn.js +17 -0
- data/node_modules/lodash/_getData.js +15 -0
- data/node_modules/lodash/_getFuncName.js +31 -0
- data/node_modules/lodash/_getHolder.js +13 -0
- data/node_modules/lodash/_getMapData.js +18 -0
- data/node_modules/lodash/_getMatchData.js +24 -0
- data/node_modules/lodash/_getNative.js +17 -0
- data/node_modules/lodash/_getPrototype.js +6 -0
- data/node_modules/lodash/_getRawTag.js +46 -0
- data/node_modules/lodash/_getSymbols.js +30 -0
- data/node_modules/lodash/_getSymbolsIn.js +25 -0
- data/node_modules/lodash/_getTag.js +58 -0
- data/node_modules/lodash/_getValue.js +13 -0
- data/node_modules/lodash/_getView.js +33 -0
- data/node_modules/lodash/_getWrapDetails.js +17 -0
- data/node_modules/lodash/_hasPath.js +39 -0
- data/node_modules/lodash/_hasUnicode.js +26 -0
- data/node_modules/lodash/_hasUnicodeWord.js +15 -0
- data/node_modules/lodash/_hashClear.js +15 -0
- data/node_modules/lodash/_hashDelete.js +17 -0
- data/node_modules/lodash/_hashGet.js +30 -0
- data/node_modules/lodash/_hashHas.js +23 -0
- data/node_modules/lodash/_hashSet.js +23 -0
- data/node_modules/lodash/_initCloneArray.js +26 -0
- data/node_modules/lodash/_initCloneByTag.js +77 -0
- data/node_modules/lodash/_initCloneObject.js +18 -0
- data/node_modules/lodash/_insertWrapDetails.js +23 -0
- data/node_modules/lodash/_isFlattenable.js +20 -0
- data/node_modules/lodash/_isIndex.js +25 -0
- data/node_modules/lodash/_isIterateeCall.js +30 -0
- data/node_modules/lodash/_isKey.js +29 -0
- data/node_modules/lodash/_isKeyable.js +15 -0
- data/node_modules/lodash/_isLaziable.js +28 -0
- data/node_modules/lodash/_isMaskable.js +14 -0
- data/node_modules/lodash/_isMasked.js +20 -0
- data/node_modules/lodash/_isPrototype.js +18 -0
- data/node_modules/lodash/_isStrictComparable.js +15 -0
- data/node_modules/lodash/_iteratorToArray.js +18 -0
- data/node_modules/lodash/_lazyClone.js +23 -0
- data/node_modules/lodash/_lazyReverse.js +23 -0
- data/node_modules/lodash/_lazyValue.js +69 -0
- data/node_modules/lodash/_listCacheClear.js +13 -0
- data/node_modules/lodash/_listCacheDelete.js +35 -0
- data/node_modules/lodash/_listCacheGet.js +19 -0
- data/node_modules/lodash/_listCacheHas.js +16 -0
- data/node_modules/lodash/_listCacheSet.js +26 -0
- data/node_modules/lodash/_mapCacheClear.js +21 -0
- data/node_modules/lodash/_mapCacheDelete.js +18 -0
- data/node_modules/lodash/_mapCacheGet.js +16 -0
- data/node_modules/lodash/_mapCacheHas.js +16 -0
- data/node_modules/lodash/_mapCacheSet.js +22 -0
- data/node_modules/lodash/_mapToArray.js +18 -0
- data/node_modules/lodash/_matchesStrictComparable.js +20 -0
- data/node_modules/lodash/_memoizeCapped.js +26 -0
- data/node_modules/lodash/_mergeData.js +90 -0
- data/node_modules/lodash/_metaMap.js +6 -0
- data/node_modules/lodash/_nativeCreate.js +6 -0
- data/node_modules/lodash/_nativeKeys.js +6 -0
- data/node_modules/lodash/_nativeKeysIn.js +20 -0
- data/node_modules/lodash/_nodeUtil.js +30 -0
- data/node_modules/lodash/_objectToString.js +22 -0
- data/node_modules/lodash/_overArg.js +15 -0
- data/node_modules/lodash/_overRest.js +36 -0
- data/node_modules/lodash/_parent.js +16 -0
- data/node_modules/lodash/_reEscape.js +4 -0
- data/node_modules/lodash/_reEvaluate.js +4 -0
- data/node_modules/lodash/_reInterpolate.js +4 -0
- data/node_modules/lodash/_realNames.js +4 -0
- data/node_modules/lodash/_reorder.js +29 -0
- data/node_modules/lodash/_replaceHolders.js +29 -0
- data/node_modules/lodash/_root.js +9 -0
- data/node_modules/lodash/_safeGet.js +21 -0
- data/node_modules/lodash/_setCacheAdd.js +19 -0
- data/node_modules/lodash/_setCacheHas.js +14 -0
- data/node_modules/lodash/_setData.js +20 -0
- data/node_modules/lodash/_setToArray.js +18 -0
- data/node_modules/lodash/_setToPairs.js +18 -0
- data/node_modules/lodash/_setToString.js +14 -0
- data/node_modules/lodash/_setWrapToString.js +21 -0
- data/node_modules/lodash/_shortOut.js +37 -0
- data/node_modules/lodash/_shuffleSelf.js +28 -0
- data/node_modules/lodash/_stackClear.js +15 -0
- data/node_modules/lodash/_stackDelete.js +18 -0
- data/node_modules/lodash/_stackGet.js +14 -0
- data/node_modules/lodash/_stackHas.js +14 -0
- data/node_modules/lodash/_stackSet.js +34 -0
- data/node_modules/lodash/_strictIndexOf.js +23 -0
- data/node_modules/lodash/_strictLastIndexOf.js +21 -0
- data/node_modules/lodash/_stringSize.js +18 -0
- data/node_modules/lodash/_stringToArray.js +18 -0
- data/node_modules/lodash/_stringToPath.js +27 -0
- data/node_modules/lodash/_toKey.js +21 -0
- data/node_modules/lodash/_toSource.js +26 -0
- data/node_modules/lodash/_trimmedEndIndex.js +19 -0
- data/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- data/node_modules/lodash/_unicodeSize.js +44 -0
- data/node_modules/lodash/_unicodeToArray.js +40 -0
- data/node_modules/lodash/_unicodeWords.js +69 -0
- data/node_modules/lodash/_updateWrapDetails.js +46 -0
- data/node_modules/lodash/_wrapperClone.js +23 -0
- data/node_modules/lodash/add.js +22 -0
- data/node_modules/lodash/after.js +42 -0
- data/node_modules/lodash/array.js +67 -0
- data/node_modules/lodash/ary.js +29 -0
- data/node_modules/lodash/assign.js +58 -0
- data/node_modules/lodash/assignIn.js +40 -0
- data/node_modules/lodash/assignInWith.js +38 -0
- data/node_modules/lodash/assignWith.js +37 -0
- data/node_modules/lodash/at.js +23 -0
- data/node_modules/lodash/attempt.js +35 -0
- data/node_modules/lodash/before.js +40 -0
- data/node_modules/lodash/bind.js +57 -0
- data/node_modules/lodash/bindAll.js +41 -0
- data/node_modules/lodash/bindKey.js +68 -0
- data/node_modules/lodash/camelCase.js +29 -0
- data/node_modules/lodash/capitalize.js +23 -0
- data/node_modules/lodash/castArray.js +44 -0
- data/node_modules/lodash/ceil.js +26 -0
- data/node_modules/lodash/chain.js +38 -0
- data/node_modules/lodash/chunk.js +50 -0
- data/node_modules/lodash/clamp.js +39 -0
- data/node_modules/lodash/clone.js +36 -0
- data/node_modules/lodash/cloneDeep.js +29 -0
- data/node_modules/lodash/cloneDeepWith.js +40 -0
- data/node_modules/lodash/cloneWith.js +42 -0
- data/node_modules/lodash/collection.js +30 -0
- data/node_modules/lodash/commit.js +33 -0
- data/node_modules/lodash/compact.js +31 -0
- data/node_modules/lodash/concat.js +43 -0
- data/node_modules/lodash/cond.js +60 -0
- data/node_modules/lodash/conforms.js +35 -0
- data/node_modules/lodash/conformsTo.js +32 -0
- data/node_modules/lodash/constant.js +26 -0
- data/node_modules/lodash/core.js +3877 -0
- data/node_modules/lodash/core.min.js +29 -0
- data/node_modules/lodash/countBy.js +40 -0
- data/node_modules/lodash/create.js +43 -0
- data/node_modules/lodash/curry.js +57 -0
- data/node_modules/lodash/curryRight.js +54 -0
- data/node_modules/lodash/date.js +3 -0
- data/node_modules/lodash/debounce.js +191 -0
- data/node_modules/lodash/deburr.js +45 -0
- data/node_modules/lodash/defaultTo.js +25 -0
- data/node_modules/lodash/defaults.js +64 -0
- data/node_modules/lodash/defaultsDeep.js +30 -0
- data/node_modules/lodash/defer.js +26 -0
- data/node_modules/lodash/delay.js +28 -0
- data/node_modules/lodash/difference.js +33 -0
- data/node_modules/lodash/differenceBy.js +44 -0
- data/node_modules/lodash/differenceWith.js +40 -0
- data/node_modules/lodash/divide.js +22 -0
- data/node_modules/lodash/drop.js +38 -0
- data/node_modules/lodash/dropRight.js +39 -0
- data/node_modules/lodash/dropRightWhile.js +45 -0
- data/node_modules/lodash/dropWhile.js +45 -0
- data/node_modules/lodash/each.js +1 -0
- data/node_modules/lodash/eachRight.js +1 -0
- data/node_modules/lodash/endsWith.js +43 -0
- data/node_modules/lodash/entries.js +1 -0
- data/node_modules/lodash/entriesIn.js +1 -0
- data/node_modules/lodash/eq.js +37 -0
- data/node_modules/lodash/escape.js +43 -0
- data/node_modules/lodash/escapeRegExp.js +32 -0
- data/node_modules/lodash/every.js +56 -0
- data/node_modules/lodash/extend.js +1 -0
- data/node_modules/lodash/extendWith.js +1 -0
- data/node_modules/lodash/fill.js +45 -0
- data/node_modules/lodash/filter.js +52 -0
- data/node_modules/lodash/find.js +42 -0
- data/node_modules/lodash/findIndex.js +55 -0
- data/node_modules/lodash/findKey.js +44 -0
- data/node_modules/lodash/findLast.js +25 -0
- data/node_modules/lodash/findLastIndex.js +59 -0
- data/node_modules/lodash/findLastKey.js +44 -0
- data/node_modules/lodash/first.js +1 -0
- data/node_modules/lodash/flake.lock +40 -0
- data/node_modules/lodash/flake.nix +20 -0
- data/node_modules/lodash/flatMap.js +29 -0
- data/node_modules/lodash/flatMapDeep.js +31 -0
- data/node_modules/lodash/flatMapDepth.js +31 -0
- data/node_modules/lodash/flatten.js +22 -0
- data/node_modules/lodash/flattenDeep.js +25 -0
- data/node_modules/lodash/flattenDepth.js +33 -0
- data/node_modules/lodash/flip.js +28 -0
- data/node_modules/lodash/floor.js +26 -0
- data/node_modules/lodash/flow.js +27 -0
- data/node_modules/lodash/flowRight.js +26 -0
- data/node_modules/lodash/forEach.js +41 -0
- data/node_modules/lodash/forEachRight.js +31 -0
- data/node_modules/lodash/forIn.js +39 -0
- data/node_modules/lodash/forInRight.js +37 -0
- data/node_modules/lodash/forOwn.js +36 -0
- data/node_modules/lodash/forOwnRight.js +34 -0
- data/node_modules/lodash/fp/F.js +1 -0
- data/node_modules/lodash/fp/T.js +1 -0
- data/node_modules/lodash/fp/__.js +1 -0
- data/node_modules/lodash/fp/_baseConvert.js +569 -0
- data/node_modules/lodash/fp/_convertBrowser.js +18 -0
- data/node_modules/lodash/fp/_falseOptions.js +7 -0
- data/node_modules/lodash/fp/_mapping.js +358 -0
- data/node_modules/lodash/fp/_util.js +16 -0
- data/node_modules/lodash/fp/add.js +5 -0
- data/node_modules/lodash/fp/after.js +5 -0
- data/node_modules/lodash/fp/all.js +1 -0
- data/node_modules/lodash/fp/allPass.js +1 -0
- data/node_modules/lodash/fp/always.js +1 -0
- data/node_modules/lodash/fp/any.js +1 -0
- data/node_modules/lodash/fp/anyPass.js +1 -0
- data/node_modules/lodash/fp/apply.js +1 -0
- data/node_modules/lodash/fp/array.js +2 -0
- data/node_modules/lodash/fp/ary.js +5 -0
- data/node_modules/lodash/fp/assign.js +5 -0
- data/node_modules/lodash/fp/assignAll.js +5 -0
- data/node_modules/lodash/fp/assignAllWith.js +5 -0
- data/node_modules/lodash/fp/assignIn.js +5 -0
- data/node_modules/lodash/fp/assignInAll.js +5 -0
- data/node_modules/lodash/fp/assignInAllWith.js +5 -0
- data/node_modules/lodash/fp/assignInWith.js +5 -0
- data/node_modules/lodash/fp/assignWith.js +5 -0
- data/node_modules/lodash/fp/assoc.js +1 -0
- data/node_modules/lodash/fp/assocPath.js +1 -0
- data/node_modules/lodash/fp/at.js +5 -0
- data/node_modules/lodash/fp/attempt.js +5 -0
- data/node_modules/lodash/fp/before.js +5 -0
- data/node_modules/lodash/fp/bind.js +5 -0
- data/node_modules/lodash/fp/bindAll.js +5 -0
- data/node_modules/lodash/fp/bindKey.js +5 -0
- data/node_modules/lodash/fp/camelCase.js +5 -0
- data/node_modules/lodash/fp/capitalize.js +5 -0
- data/node_modules/lodash/fp/castArray.js +5 -0
- data/node_modules/lodash/fp/ceil.js +5 -0
- data/node_modules/lodash/fp/chain.js +5 -0
- data/node_modules/lodash/fp/chunk.js +5 -0
- data/node_modules/lodash/fp/clamp.js +5 -0
- data/node_modules/lodash/fp/clone.js +5 -0
- data/node_modules/lodash/fp/cloneDeep.js +5 -0
- data/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- data/node_modules/lodash/fp/cloneWith.js +5 -0
- data/node_modules/lodash/fp/collection.js +2 -0
- data/node_modules/lodash/fp/commit.js +5 -0
- data/node_modules/lodash/fp/compact.js +5 -0
- data/node_modules/lodash/fp/complement.js +1 -0
- data/node_modules/lodash/fp/compose.js +1 -0
- data/node_modules/lodash/fp/concat.js +5 -0
- data/node_modules/lodash/fp/cond.js +5 -0
- data/node_modules/lodash/fp/conforms.js +1 -0
- data/node_modules/lodash/fp/conformsTo.js +5 -0
- data/node_modules/lodash/fp/constant.js +5 -0
- data/node_modules/lodash/fp/contains.js +1 -0
- data/node_modules/lodash/fp/convert.js +18 -0
- data/node_modules/lodash/fp/countBy.js +5 -0
- data/node_modules/lodash/fp/create.js +5 -0
- data/node_modules/lodash/fp/curry.js +5 -0
- data/node_modules/lodash/fp/curryN.js +5 -0
- data/node_modules/lodash/fp/curryRight.js +5 -0
- data/node_modules/lodash/fp/curryRightN.js +5 -0
- data/node_modules/lodash/fp/date.js +2 -0
- data/node_modules/lodash/fp/debounce.js +5 -0
- data/node_modules/lodash/fp/deburr.js +5 -0
- data/node_modules/lodash/fp/defaultTo.js +5 -0
- data/node_modules/lodash/fp/defaults.js +5 -0
- data/node_modules/lodash/fp/defaultsAll.js +5 -0
- data/node_modules/lodash/fp/defaultsDeep.js +5 -0
- data/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- data/node_modules/lodash/fp/defer.js +5 -0
- data/node_modules/lodash/fp/delay.js +5 -0
- data/node_modules/lodash/fp/difference.js +5 -0
- data/node_modules/lodash/fp/differenceBy.js +5 -0
- data/node_modules/lodash/fp/differenceWith.js +5 -0
- data/node_modules/lodash/fp/dissoc.js +1 -0
- data/node_modules/lodash/fp/dissocPath.js +1 -0
- data/node_modules/lodash/fp/divide.js +5 -0
- data/node_modules/lodash/fp/drop.js +5 -0
- data/node_modules/lodash/fp/dropLast.js +1 -0
- data/node_modules/lodash/fp/dropLastWhile.js +1 -0
- data/node_modules/lodash/fp/dropRight.js +5 -0
- data/node_modules/lodash/fp/dropRightWhile.js +5 -0
- data/node_modules/lodash/fp/dropWhile.js +5 -0
- data/node_modules/lodash/fp/each.js +1 -0
- data/node_modules/lodash/fp/eachRight.js +1 -0
- data/node_modules/lodash/fp/endsWith.js +5 -0
- data/node_modules/lodash/fp/entries.js +1 -0
- data/node_modules/lodash/fp/entriesIn.js +1 -0
- data/node_modules/lodash/fp/eq.js +5 -0
- data/node_modules/lodash/fp/equals.js +1 -0
- data/node_modules/lodash/fp/escape.js +5 -0
- data/node_modules/lodash/fp/escapeRegExp.js +5 -0
- data/node_modules/lodash/fp/every.js +5 -0
- data/node_modules/lodash/fp/extend.js +1 -0
- data/node_modules/lodash/fp/extendAll.js +1 -0
- data/node_modules/lodash/fp/extendAllWith.js +1 -0
- data/node_modules/lodash/fp/extendWith.js +1 -0
- data/node_modules/lodash/fp/fill.js +5 -0
- data/node_modules/lodash/fp/filter.js +5 -0
- data/node_modules/lodash/fp/find.js +5 -0
- data/node_modules/lodash/fp/findFrom.js +5 -0
- data/node_modules/lodash/fp/findIndex.js +5 -0
- data/node_modules/lodash/fp/findIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findKey.js +5 -0
- data/node_modules/lodash/fp/findLast.js +5 -0
- data/node_modules/lodash/fp/findLastFrom.js +5 -0
- data/node_modules/lodash/fp/findLastIndex.js +5 -0
- data/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- data/node_modules/lodash/fp/findLastKey.js +5 -0
- data/node_modules/lodash/fp/first.js +1 -0
- data/node_modules/lodash/fp/flatMap.js +5 -0
- data/node_modules/lodash/fp/flatMapDeep.js +5 -0
- data/node_modules/lodash/fp/flatMapDepth.js +5 -0
- data/node_modules/lodash/fp/flatten.js +5 -0
- data/node_modules/lodash/fp/flattenDeep.js +5 -0
- data/node_modules/lodash/fp/flattenDepth.js +5 -0
- data/node_modules/lodash/fp/flip.js +5 -0
- data/node_modules/lodash/fp/floor.js +5 -0
- data/node_modules/lodash/fp/flow.js +5 -0
- data/node_modules/lodash/fp/flowRight.js +5 -0
- data/node_modules/lodash/fp/forEach.js +5 -0
- data/node_modules/lodash/fp/forEachRight.js +5 -0
- data/node_modules/lodash/fp/forIn.js +5 -0
- data/node_modules/lodash/fp/forInRight.js +5 -0
- data/node_modules/lodash/fp/forOwn.js +5 -0
- data/node_modules/lodash/fp/forOwnRight.js +5 -0
- data/node_modules/lodash/fp/fromPairs.js +5 -0
- data/node_modules/lodash/fp/function.js +2 -0
- data/node_modules/lodash/fp/functions.js +5 -0
- data/node_modules/lodash/fp/functionsIn.js +5 -0
- data/node_modules/lodash/fp/get.js +5 -0
- data/node_modules/lodash/fp/getOr.js +5 -0
- data/node_modules/lodash/fp/groupBy.js +5 -0
- data/node_modules/lodash/fp/gt.js +5 -0
- data/node_modules/lodash/fp/gte.js +5 -0
- data/node_modules/lodash/fp/has.js +5 -0
- data/node_modules/lodash/fp/hasIn.js +5 -0
- data/node_modules/lodash/fp/head.js +5 -0
- data/node_modules/lodash/fp/identical.js +1 -0
- data/node_modules/lodash/fp/identity.js +5 -0
- data/node_modules/lodash/fp/inRange.js +5 -0
- data/node_modules/lodash/fp/includes.js +5 -0
- data/node_modules/lodash/fp/includesFrom.js +5 -0
- data/node_modules/lodash/fp/indexBy.js +1 -0
- data/node_modules/lodash/fp/indexOf.js +5 -0
- data/node_modules/lodash/fp/indexOfFrom.js +5 -0
- data/node_modules/lodash/fp/init.js +1 -0
- data/node_modules/lodash/fp/initial.js +5 -0
- data/node_modules/lodash/fp/intersection.js +5 -0
- data/node_modules/lodash/fp/intersectionBy.js +5 -0
- data/node_modules/lodash/fp/intersectionWith.js +5 -0
- data/node_modules/lodash/fp/invert.js +5 -0
- data/node_modules/lodash/fp/invertBy.js +5 -0
- data/node_modules/lodash/fp/invertObj.js +1 -0
- data/node_modules/lodash/fp/invoke.js +5 -0
- data/node_modules/lodash/fp/invokeArgs.js +5 -0
- data/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- data/node_modules/lodash/fp/invokeMap.js +5 -0
- data/node_modules/lodash/fp/isArguments.js +5 -0
- data/node_modules/lodash/fp/isArray.js +5 -0
- data/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- data/node_modules/lodash/fp/isArrayLike.js +5 -0
- data/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- data/node_modules/lodash/fp/isBoolean.js +5 -0
- data/node_modules/lodash/fp/isBuffer.js +5 -0
- data/node_modules/lodash/fp/isDate.js +5 -0
- data/node_modules/lodash/fp/isElement.js +5 -0
- data/node_modules/lodash/fp/isEmpty.js +5 -0
- data/node_modules/lodash/fp/isEqual.js +5 -0
- data/node_modules/lodash/fp/isEqualWith.js +5 -0
- data/node_modules/lodash/fp/isError.js +5 -0
- data/node_modules/lodash/fp/isFinite.js +5 -0
- data/node_modules/lodash/fp/isFunction.js +5 -0
- data/node_modules/lodash/fp/isInteger.js +5 -0
- data/node_modules/lodash/fp/isLength.js +5 -0
- data/node_modules/lodash/fp/isMap.js +5 -0
- data/node_modules/lodash/fp/isMatch.js +5 -0
- data/node_modules/lodash/fp/isMatchWith.js +5 -0
- data/node_modules/lodash/fp/isNaN.js +5 -0
- data/node_modules/lodash/fp/isNative.js +5 -0
- data/node_modules/lodash/fp/isNil.js +5 -0
- data/node_modules/lodash/fp/isNull.js +5 -0
- data/node_modules/lodash/fp/isNumber.js +5 -0
- data/node_modules/lodash/fp/isObject.js +5 -0
- data/node_modules/lodash/fp/isObjectLike.js +5 -0
- data/node_modules/lodash/fp/isPlainObject.js +5 -0
- data/node_modules/lodash/fp/isRegExp.js +5 -0
- data/node_modules/lodash/fp/isSafeInteger.js +5 -0
- data/node_modules/lodash/fp/isSet.js +5 -0
- data/node_modules/lodash/fp/isString.js +5 -0
- data/node_modules/lodash/fp/isSymbol.js +5 -0
- data/node_modules/lodash/fp/isTypedArray.js +5 -0
- data/node_modules/lodash/fp/isUndefined.js +5 -0
- data/node_modules/lodash/fp/isWeakMap.js +5 -0
- data/node_modules/lodash/fp/isWeakSet.js +5 -0
- data/node_modules/lodash/fp/iteratee.js +5 -0
- data/node_modules/lodash/fp/join.js +5 -0
- data/node_modules/lodash/fp/juxt.js +1 -0
- data/node_modules/lodash/fp/kebabCase.js +5 -0
- data/node_modules/lodash/fp/keyBy.js +5 -0
- data/node_modules/lodash/fp/keys.js +5 -0
- data/node_modules/lodash/fp/keysIn.js +5 -0
- data/node_modules/lodash/fp/lang.js +2 -0
- data/node_modules/lodash/fp/last.js +5 -0
- data/node_modules/lodash/fp/lastIndexOf.js +5 -0
- data/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- data/node_modules/lodash/fp/lowerCase.js +5 -0
- data/node_modules/lodash/fp/lowerFirst.js +5 -0
- data/node_modules/lodash/fp/lt.js +5 -0
- data/node_modules/lodash/fp/lte.js +5 -0
- data/node_modules/lodash/fp/map.js +5 -0
- data/node_modules/lodash/fp/mapKeys.js +5 -0
- data/node_modules/lodash/fp/mapValues.js +5 -0
- data/node_modules/lodash/fp/matches.js +1 -0
- data/node_modules/lodash/fp/matchesProperty.js +5 -0
- data/node_modules/lodash/fp/math.js +2 -0
- data/node_modules/lodash/fp/max.js +5 -0
- data/node_modules/lodash/fp/maxBy.js +5 -0
- data/node_modules/lodash/fp/mean.js +5 -0
- data/node_modules/lodash/fp/meanBy.js +5 -0
- data/node_modules/lodash/fp/memoize.js +5 -0
- data/node_modules/lodash/fp/merge.js +5 -0
- data/node_modules/lodash/fp/mergeAll.js +5 -0
- data/node_modules/lodash/fp/mergeAllWith.js +5 -0
- data/node_modules/lodash/fp/mergeWith.js +5 -0
- data/node_modules/lodash/fp/method.js +5 -0
- data/node_modules/lodash/fp/methodOf.js +5 -0
- data/node_modules/lodash/fp/min.js +5 -0
- data/node_modules/lodash/fp/minBy.js +5 -0
- data/node_modules/lodash/fp/mixin.js +5 -0
- data/node_modules/lodash/fp/multiply.js +5 -0
- data/node_modules/lodash/fp/nAry.js +1 -0
- data/node_modules/lodash/fp/negate.js +5 -0
- data/node_modules/lodash/fp/next.js +5 -0
- data/node_modules/lodash/fp/noop.js +5 -0
- data/node_modules/lodash/fp/now.js +5 -0
- data/node_modules/lodash/fp/nth.js +5 -0
- data/node_modules/lodash/fp/nthArg.js +5 -0
- data/node_modules/lodash/fp/number.js +2 -0
- data/node_modules/lodash/fp/object.js +2 -0
- data/node_modules/lodash/fp/omit.js +5 -0
- data/node_modules/lodash/fp/omitAll.js +1 -0
- data/node_modules/lodash/fp/omitBy.js +5 -0
- data/node_modules/lodash/fp/once.js +5 -0
- data/node_modules/lodash/fp/orderBy.js +5 -0
- data/node_modules/lodash/fp/over.js +5 -0
- data/node_modules/lodash/fp/overArgs.js +5 -0
- data/node_modules/lodash/fp/overEvery.js +5 -0
- data/node_modules/lodash/fp/overSome.js +5 -0
- data/node_modules/lodash/fp/pad.js +5 -0
- data/node_modules/lodash/fp/padChars.js +5 -0
- data/node_modules/lodash/fp/padCharsEnd.js +5 -0
- data/node_modules/lodash/fp/padCharsStart.js +5 -0
- data/node_modules/lodash/fp/padEnd.js +5 -0
- data/node_modules/lodash/fp/padStart.js +5 -0
- data/node_modules/lodash/fp/parseInt.js +5 -0
- data/node_modules/lodash/fp/partial.js +5 -0
- data/node_modules/lodash/fp/partialRight.js +5 -0
- data/node_modules/lodash/fp/partition.js +5 -0
- data/node_modules/lodash/fp/path.js +1 -0
- data/node_modules/lodash/fp/pathEq.js +1 -0
- data/node_modules/lodash/fp/pathOr.js +1 -0
- data/node_modules/lodash/fp/paths.js +1 -0
- data/node_modules/lodash/fp/pick.js +5 -0
- data/node_modules/lodash/fp/pickAll.js +1 -0
- data/node_modules/lodash/fp/pickBy.js +5 -0
- data/node_modules/lodash/fp/pipe.js +1 -0
- data/node_modules/lodash/fp/placeholder.js +6 -0
- data/node_modules/lodash/fp/plant.js +5 -0
- data/node_modules/lodash/fp/pluck.js +1 -0
- data/node_modules/lodash/fp/prop.js +1 -0
- data/node_modules/lodash/fp/propEq.js +1 -0
- data/node_modules/lodash/fp/propOr.js +1 -0
- data/node_modules/lodash/fp/property.js +1 -0
- data/node_modules/lodash/fp/propertyOf.js +5 -0
- data/node_modules/lodash/fp/props.js +1 -0
- data/node_modules/lodash/fp/pull.js +5 -0
- data/node_modules/lodash/fp/pullAll.js +5 -0
- data/node_modules/lodash/fp/pullAllBy.js +5 -0
- data/node_modules/lodash/fp/pullAllWith.js +5 -0
- data/node_modules/lodash/fp/pullAt.js +5 -0
- data/node_modules/lodash/fp/random.js +5 -0
- data/node_modules/lodash/fp/range.js +5 -0
- data/node_modules/lodash/fp/rangeRight.js +5 -0
- data/node_modules/lodash/fp/rangeStep.js +5 -0
- data/node_modules/lodash/fp/rangeStepRight.js +5 -0
- data/node_modules/lodash/fp/rearg.js +5 -0
- data/node_modules/lodash/fp/reduce.js +5 -0
- data/node_modules/lodash/fp/reduceRight.js +5 -0
- data/node_modules/lodash/fp/reject.js +5 -0
- data/node_modules/lodash/fp/remove.js +5 -0
- data/node_modules/lodash/fp/repeat.js +5 -0
- data/node_modules/lodash/fp/replace.js +5 -0
- data/node_modules/lodash/fp/rest.js +5 -0
- data/node_modules/lodash/fp/restFrom.js +5 -0
- data/node_modules/lodash/fp/result.js +5 -0
- data/node_modules/lodash/fp/reverse.js +5 -0
- data/node_modules/lodash/fp/round.js +5 -0
- data/node_modules/lodash/fp/sample.js +5 -0
- data/node_modules/lodash/fp/sampleSize.js +5 -0
- data/node_modules/lodash/fp/seq.js +2 -0
- data/node_modules/lodash/fp/set.js +5 -0
- data/node_modules/lodash/fp/setWith.js +5 -0
- data/node_modules/lodash/fp/shuffle.js +5 -0
- data/node_modules/lodash/fp/size.js +5 -0
- data/node_modules/lodash/fp/slice.js +5 -0
- data/node_modules/lodash/fp/snakeCase.js +5 -0
- data/node_modules/lodash/fp/some.js +5 -0
- data/node_modules/lodash/fp/sortBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndex.js +5 -0
- data/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- data/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- data/node_modules/lodash/fp/sortedUniq.js +5 -0
- data/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- data/node_modules/lodash/fp/split.js +5 -0
- data/node_modules/lodash/fp/spread.js +5 -0
- data/node_modules/lodash/fp/spreadFrom.js +5 -0
- data/node_modules/lodash/fp/startCase.js +5 -0
- data/node_modules/lodash/fp/startsWith.js +5 -0
- data/node_modules/lodash/fp/string.js +2 -0
- data/node_modules/lodash/fp/stubArray.js +5 -0
- data/node_modules/lodash/fp/stubFalse.js +5 -0
- data/node_modules/lodash/fp/stubObject.js +5 -0
- data/node_modules/lodash/fp/stubString.js +5 -0
- data/node_modules/lodash/fp/stubTrue.js +5 -0
- data/node_modules/lodash/fp/subtract.js +5 -0
- data/node_modules/lodash/fp/sum.js +5 -0
- data/node_modules/lodash/fp/sumBy.js +5 -0
- data/node_modules/lodash/fp/symmetricDifference.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- data/node_modules/lodash/fp/tail.js +5 -0
- data/node_modules/lodash/fp/take.js +5 -0
- data/node_modules/lodash/fp/takeLast.js +1 -0
- data/node_modules/lodash/fp/takeLastWhile.js +1 -0
- data/node_modules/lodash/fp/takeRight.js +5 -0
- data/node_modules/lodash/fp/takeRightWhile.js +5 -0
- data/node_modules/lodash/fp/takeWhile.js +5 -0
- data/node_modules/lodash/fp/tap.js +5 -0
- data/node_modules/lodash/fp/template.js +5 -0
- data/node_modules/lodash/fp/templateSettings.js +5 -0
- data/node_modules/lodash/fp/throttle.js +5 -0
- data/node_modules/lodash/fp/thru.js +5 -0
- data/node_modules/lodash/fp/times.js +5 -0
- data/node_modules/lodash/fp/toArray.js +5 -0
- data/node_modules/lodash/fp/toFinite.js +5 -0
- data/node_modules/lodash/fp/toInteger.js +5 -0
- data/node_modules/lodash/fp/toIterator.js +5 -0
- data/node_modules/lodash/fp/toJSON.js +5 -0
- data/node_modules/lodash/fp/toLength.js +5 -0
- data/node_modules/lodash/fp/toLower.js +5 -0
- data/node_modules/lodash/fp/toNumber.js +5 -0
- data/node_modules/lodash/fp/toPairs.js +5 -0
- data/node_modules/lodash/fp/toPairsIn.js +5 -0
- data/node_modules/lodash/fp/toPath.js +5 -0
- data/node_modules/lodash/fp/toPlainObject.js +5 -0
- data/node_modules/lodash/fp/toSafeInteger.js +5 -0
- data/node_modules/lodash/fp/toString.js +5 -0
- data/node_modules/lodash/fp/toUpper.js +5 -0
- data/node_modules/lodash/fp/transform.js +5 -0
- data/node_modules/lodash/fp/trim.js +5 -0
- data/node_modules/lodash/fp/trimChars.js +5 -0
- data/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- data/node_modules/lodash/fp/trimCharsStart.js +5 -0
- data/node_modules/lodash/fp/trimEnd.js +5 -0
- data/node_modules/lodash/fp/trimStart.js +5 -0
- data/node_modules/lodash/fp/truncate.js +5 -0
- data/node_modules/lodash/fp/unapply.js +1 -0
- data/node_modules/lodash/fp/unary.js +5 -0
- data/node_modules/lodash/fp/unescape.js +5 -0
- data/node_modules/lodash/fp/union.js +5 -0
- data/node_modules/lodash/fp/unionBy.js +5 -0
- data/node_modules/lodash/fp/unionWith.js +5 -0
- data/node_modules/lodash/fp/uniq.js +5 -0
- data/node_modules/lodash/fp/uniqBy.js +5 -0
- data/node_modules/lodash/fp/uniqWith.js +5 -0
- data/node_modules/lodash/fp/uniqueId.js +5 -0
- data/node_modules/lodash/fp/unnest.js +1 -0
- data/node_modules/lodash/fp/unset.js +5 -0
- data/node_modules/lodash/fp/unzip.js +5 -0
- data/node_modules/lodash/fp/unzipWith.js +5 -0
- data/node_modules/lodash/fp/update.js +5 -0
- data/node_modules/lodash/fp/updateWith.js +5 -0
- data/node_modules/lodash/fp/upperCase.js +5 -0
- data/node_modules/lodash/fp/upperFirst.js +5 -0
- data/node_modules/lodash/fp/useWith.js +1 -0
- data/node_modules/lodash/fp/util.js +2 -0
- data/node_modules/lodash/fp/value.js +5 -0
- data/node_modules/lodash/fp/valueOf.js +5 -0
- data/node_modules/lodash/fp/values.js +5 -0
- data/node_modules/lodash/fp/valuesIn.js +5 -0
- data/node_modules/lodash/fp/where.js +1 -0
- data/node_modules/lodash/fp/whereEq.js +1 -0
- data/node_modules/lodash/fp/without.js +5 -0
- data/node_modules/lodash/fp/words.js +5 -0
- data/node_modules/lodash/fp/wrap.js +5 -0
- data/node_modules/lodash/fp/wrapperAt.js +5 -0
- data/node_modules/lodash/fp/wrapperChain.js +5 -0
- data/node_modules/lodash/fp/wrapperLodash.js +5 -0
- data/node_modules/lodash/fp/wrapperReverse.js +5 -0
- data/node_modules/lodash/fp/wrapperValue.js +5 -0
- data/node_modules/lodash/fp/xor.js +5 -0
- data/node_modules/lodash/fp/xorBy.js +5 -0
- data/node_modules/lodash/fp/xorWith.js +5 -0
- data/node_modules/lodash/fp/zip.js +5 -0
- data/node_modules/lodash/fp/zipAll.js +5 -0
- data/node_modules/lodash/fp/zipObj.js +1 -0
- data/node_modules/lodash/fp/zipObject.js +5 -0
- data/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- data/node_modules/lodash/fp/zipWith.js +5 -0
- data/node_modules/lodash/fp.js +2 -0
- data/node_modules/lodash/fromPairs.js +28 -0
- data/node_modules/lodash/function.js +25 -0
- data/node_modules/lodash/functions.js +31 -0
- data/node_modules/lodash/functionsIn.js +31 -0
- data/node_modules/lodash/get.js +33 -0
- data/node_modules/lodash/groupBy.js +41 -0
- data/node_modules/lodash/gt.js +29 -0
- data/node_modules/lodash/gte.js +30 -0
- data/node_modules/lodash/has.js +35 -0
- data/node_modules/lodash/hasIn.js +34 -0
- data/node_modules/lodash/head.js +23 -0
- data/node_modules/lodash/identity.js +21 -0
- data/node_modules/lodash/inRange.js +55 -0
- data/node_modules/lodash/includes.js +53 -0
- data/node_modules/lodash/index.js +1 -0
- data/node_modules/lodash/indexOf.js +42 -0
- data/node_modules/lodash/initial.js +22 -0
- data/node_modules/lodash/intersection.js +30 -0
- data/node_modules/lodash/intersectionBy.js +45 -0
- data/node_modules/lodash/intersectionWith.js +41 -0
- data/node_modules/lodash/invert.js +42 -0
- data/node_modules/lodash/invertBy.js +56 -0
- data/node_modules/lodash/invoke.js +24 -0
- data/node_modules/lodash/invokeMap.js +41 -0
- data/node_modules/lodash/isArguments.js +36 -0
- data/node_modules/lodash/isArray.js +26 -0
- data/node_modules/lodash/isArrayBuffer.js +27 -0
- data/node_modules/lodash/isArrayLike.js +33 -0
- data/node_modules/lodash/isArrayLikeObject.js +33 -0
- data/node_modules/lodash/isBoolean.js +29 -0
- data/node_modules/lodash/isBuffer.js +38 -0
- data/node_modules/lodash/isDate.js +27 -0
- data/node_modules/lodash/isElement.js +25 -0
- data/node_modules/lodash/isEmpty.js +77 -0
- data/node_modules/lodash/isEqual.js +35 -0
- data/node_modules/lodash/isEqualWith.js +41 -0
- data/node_modules/lodash/isError.js +36 -0
- data/node_modules/lodash/isFinite.js +36 -0
- data/node_modules/lodash/isFunction.js +37 -0
- data/node_modules/lodash/isInteger.js +33 -0
- data/node_modules/lodash/isLength.js +35 -0
- data/node_modules/lodash/isMap.js +27 -0
- data/node_modules/lodash/isMatch.js +36 -0
- data/node_modules/lodash/isMatchWith.js +41 -0
- data/node_modules/lodash/isNaN.js +38 -0
- data/node_modules/lodash/isNative.js +40 -0
- data/node_modules/lodash/isNil.js +25 -0
- data/node_modules/lodash/isNull.js +22 -0
- data/node_modules/lodash/isNumber.js +38 -0
- data/node_modules/lodash/isObject.js +31 -0
- data/node_modules/lodash/isObjectLike.js +29 -0
- data/node_modules/lodash/isPlainObject.js +62 -0
- data/node_modules/lodash/isRegExp.js +27 -0
- data/node_modules/lodash/isSafeInteger.js +37 -0
- data/node_modules/lodash/isSet.js +27 -0
- data/node_modules/lodash/isString.js +30 -0
- data/node_modules/lodash/isSymbol.js +29 -0
- data/node_modules/lodash/isTypedArray.js +27 -0
- data/node_modules/lodash/isUndefined.js +22 -0
- data/node_modules/lodash/isWeakMap.js +28 -0
- data/node_modules/lodash/isWeakSet.js +28 -0
- data/node_modules/lodash/iteratee.js +53 -0
- data/node_modules/lodash/join.js +26 -0
- data/node_modules/lodash/kebabCase.js +28 -0
- data/node_modules/lodash/keyBy.js +36 -0
- data/node_modules/lodash/keys.js +37 -0
- data/node_modules/lodash/keysIn.js +32 -0
- data/node_modules/lodash/lang.js +58 -0
- data/node_modules/lodash/last.js +20 -0
- data/node_modules/lodash/lastIndexOf.js +46 -0
- data/node_modules/lodash/lodash.js +17209 -0
- data/node_modules/lodash/lodash.min.js +140 -0
- data/node_modules/lodash/lowerCase.js +27 -0
- data/node_modules/lodash/lowerFirst.js +22 -0
- data/node_modules/lodash/lt.js +29 -0
- data/node_modules/lodash/lte.js +30 -0
- data/node_modules/lodash/map.js +53 -0
- data/node_modules/lodash/mapKeys.js +36 -0
- data/node_modules/lodash/mapValues.js +43 -0
- data/node_modules/lodash/matches.js +46 -0
- data/node_modules/lodash/matchesProperty.js +44 -0
- data/node_modules/lodash/math.js +17 -0
- data/node_modules/lodash/max.js +29 -0
- data/node_modules/lodash/maxBy.js +34 -0
- data/node_modules/lodash/mean.js +22 -0
- data/node_modules/lodash/meanBy.js +31 -0
- data/node_modules/lodash/memoize.js +73 -0
- data/node_modules/lodash/merge.js +39 -0
- data/node_modules/lodash/mergeWith.js +39 -0
- data/node_modules/lodash/method.js +34 -0
- data/node_modules/lodash/methodOf.js +33 -0
- data/node_modules/lodash/min.js +29 -0
- data/node_modules/lodash/minBy.js +34 -0
- data/node_modules/lodash/mixin.js +74 -0
- data/node_modules/lodash/multiply.js +22 -0
- data/node_modules/lodash/negate.js +40 -0
- data/node_modules/lodash/next.js +35 -0
- data/node_modules/lodash/noop.js +17 -0
- data/node_modules/lodash/now.js +23 -0
- data/node_modules/lodash/nth.js +29 -0
- data/node_modules/lodash/nthArg.js +32 -0
- data/node_modules/lodash/number.js +5 -0
- data/node_modules/lodash/object.js +49 -0
- data/node_modules/lodash/omit.js +57 -0
- data/node_modules/lodash/omitBy.js +29 -0
- data/node_modules/lodash/once.js +25 -0
- data/node_modules/lodash/orderBy.js +47 -0
- data/node_modules/lodash/over.js +24 -0
- data/node_modules/lodash/overArgs.js +61 -0
- data/node_modules/lodash/overEvery.js +34 -0
- data/node_modules/lodash/overSome.js +37 -0
- data/node_modules/lodash/package.json +17 -0
- data/node_modules/lodash/pad.js +49 -0
- data/node_modules/lodash/padEnd.js +39 -0
- data/node_modules/lodash/padStart.js +39 -0
- data/node_modules/lodash/parseInt.js +43 -0
- data/node_modules/lodash/partial.js +50 -0
- data/node_modules/lodash/partialRight.js +49 -0
- data/node_modules/lodash/partition.js +43 -0
- data/node_modules/lodash/pick.js +25 -0
- data/node_modules/lodash/pickBy.js +37 -0
- data/node_modules/lodash/plant.js +48 -0
- data/node_modules/lodash/property.js +32 -0
- data/node_modules/lodash/propertyOf.js +30 -0
- data/node_modules/lodash/pull.js +29 -0
- data/node_modules/lodash/pullAll.js +29 -0
- data/node_modules/lodash/pullAllBy.js +33 -0
- data/node_modules/lodash/pullAllWith.js +32 -0
- data/node_modules/lodash/pullAt.js +43 -0
- data/node_modules/lodash/random.js +82 -0
- data/node_modules/lodash/range.js +46 -0
- data/node_modules/lodash/rangeRight.js +41 -0
- data/node_modules/lodash/rearg.js +33 -0
- data/node_modules/lodash/reduce.js +51 -0
- data/node_modules/lodash/reduceRight.js +36 -0
- data/node_modules/lodash/reject.js +46 -0
- data/node_modules/lodash/release.md +48 -0
- data/node_modules/lodash/remove.js +53 -0
- data/node_modules/lodash/repeat.js +37 -0
- data/node_modules/lodash/replace.js +29 -0
- data/node_modules/lodash/rest.js +40 -0
- data/node_modules/lodash/result.js +56 -0
- data/node_modules/lodash/reverse.js +34 -0
- data/node_modules/lodash/round.js +26 -0
- data/node_modules/lodash/sample.js +24 -0
- data/node_modules/lodash/sampleSize.js +37 -0
- data/node_modules/lodash/seq.js +16 -0
- data/node_modules/lodash/set.js +35 -0
- data/node_modules/lodash/setWith.js +32 -0
- data/node_modules/lodash/shuffle.js +25 -0
- data/node_modules/lodash/size.js +46 -0
- data/node_modules/lodash/slice.js +37 -0
- data/node_modules/lodash/snakeCase.js +28 -0
- data/node_modules/lodash/some.js +51 -0
- data/node_modules/lodash/sortBy.js +48 -0
- data/node_modules/lodash/sortedIndex.js +24 -0
- data/node_modules/lodash/sortedIndexBy.js +33 -0
- data/node_modules/lodash/sortedIndexOf.js +31 -0
- data/node_modules/lodash/sortedLastIndex.js +25 -0
- data/node_modules/lodash/sortedLastIndexBy.js +33 -0
- data/node_modules/lodash/sortedLastIndexOf.js +31 -0
- data/node_modules/lodash/sortedUniq.js +24 -0
- data/node_modules/lodash/sortedUniqBy.js +26 -0
- data/node_modules/lodash/split.js +52 -0
- data/node_modules/lodash/spread.js +63 -0
- data/node_modules/lodash/startCase.js +29 -0
- data/node_modules/lodash/startsWith.js +39 -0
- data/node_modules/lodash/string.js +33 -0
- data/node_modules/lodash/stubArray.js +23 -0
- data/node_modules/lodash/stubFalse.js +18 -0
- data/node_modules/lodash/stubObject.js +23 -0
- data/node_modules/lodash/stubString.js +18 -0
- data/node_modules/lodash/stubTrue.js +18 -0
- data/node_modules/lodash/subtract.js +22 -0
- data/node_modules/lodash/sum.js +24 -0
- data/node_modules/lodash/sumBy.js +33 -0
- data/node_modules/lodash/tail.js +22 -0
- data/node_modules/lodash/take.js +37 -0
- data/node_modules/lodash/takeRight.js +39 -0
- data/node_modules/lodash/takeRightWhile.js +45 -0
- data/node_modules/lodash/takeWhile.js +45 -0
- data/node_modules/lodash/tap.js +29 -0
- data/node_modules/lodash/template.js +272 -0
- data/node_modules/lodash/templateSettings.js +67 -0
- data/node_modules/lodash/throttle.js +69 -0
- data/node_modules/lodash/thru.js +28 -0
- data/node_modules/lodash/times.js +51 -0
- data/node_modules/lodash/toArray.js +58 -0
- data/node_modules/lodash/toFinite.js +42 -0
- data/node_modules/lodash/toInteger.js +36 -0
- data/node_modules/lodash/toIterator.js +23 -0
- data/node_modules/lodash/toJSON.js +1 -0
- data/node_modules/lodash/toLength.js +38 -0
- data/node_modules/lodash/toLower.js +28 -0
- data/node_modules/lodash/toNumber.js +64 -0
- data/node_modules/lodash/toPairs.js +30 -0
- data/node_modules/lodash/toPairsIn.js +30 -0
- data/node_modules/lodash/toPath.js +33 -0
- data/node_modules/lodash/toPlainObject.js +32 -0
- data/node_modules/lodash/toSafeInteger.js +37 -0
- data/node_modules/lodash/toString.js +28 -0
- data/node_modules/lodash/toUpper.js +28 -0
- data/node_modules/lodash/transform.js +65 -0
- data/node_modules/lodash/trim.js +47 -0
- data/node_modules/lodash/trimEnd.js +41 -0
- data/node_modules/lodash/trimStart.js +43 -0
- data/node_modules/lodash/truncate.js +111 -0
- data/node_modules/lodash/unary.js +22 -0
- data/node_modules/lodash/unescape.js +34 -0
- data/node_modules/lodash/union.js +26 -0
- data/node_modules/lodash/unionBy.js +39 -0
- data/node_modules/lodash/unionWith.js +34 -0
- data/node_modules/lodash/uniq.js +25 -0
- data/node_modules/lodash/uniqBy.js +31 -0
- data/node_modules/lodash/uniqWith.js +28 -0
- data/node_modules/lodash/uniqueId.js +28 -0
- data/node_modules/lodash/unset.js +34 -0
- data/node_modules/lodash/unzip.js +45 -0
- data/node_modules/lodash/unzipWith.js +39 -0
- data/node_modules/lodash/update.js +35 -0
- data/node_modules/lodash/updateWith.js +33 -0
- data/node_modules/lodash/upperCase.js +27 -0
- data/node_modules/lodash/upperFirst.js +22 -0
- data/node_modules/lodash/util.js +34 -0
- data/node_modules/lodash/value.js +1 -0
- data/node_modules/lodash/valueOf.js +1 -0
- data/node_modules/lodash/values.js +34 -0
- data/node_modules/lodash/valuesIn.js +32 -0
- data/node_modules/lodash/without.js +31 -0
- data/node_modules/lodash/words.js +35 -0
- data/node_modules/lodash/wrap.js +30 -0
- data/node_modules/lodash/wrapperAt.js +48 -0
- data/node_modules/lodash/wrapperChain.js +34 -0
- data/node_modules/lodash/wrapperLodash.js +147 -0
- data/node_modules/lodash/wrapperReverse.js +44 -0
- data/node_modules/lodash/wrapperValue.js +21 -0
- data/node_modules/lodash/xor.js +28 -0
- data/node_modules/lodash/xorBy.js +39 -0
- data/node_modules/lodash/xorWith.js +34 -0
- data/node_modules/lodash/zip.js +22 -0
- data/node_modules/lodash/zipObject.js +24 -0
- data/node_modules/lodash/zipObjectDeep.js +23 -0
- data/node_modules/lodash/zipWith.js +32 -0
- data/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/lru-cache/README.md +166 -0
- data/node_modules/lru-cache/index.js +334 -0
- data/node_modules/lru-cache/package.json +34 -0
- data/node_modules/mime-db/HISTORY.md +486 -0
- data/node_modules/mime-db/LICENSE +22 -0
- data/node_modules/mime-db/README.md +100 -0
- data/node_modules/mime-db/db.json +8417 -0
- data/node_modules/mime-db/index.js +11 -0
- data/node_modules/mime-db/package.json +59 -0
- data/node_modules/mime-types/HISTORY.md +378 -0
- data/node_modules/mime-types/LICENSE +23 -0
- data/node_modules/mime-types/README.md +113 -0
- data/node_modules/mime-types/index.js +188 -0
- data/node_modules/mime-types/package.json +44 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +209 -0
- data/node_modules/minimatch/minimatch.js +923 -0
- data/node_modules/minimatch/package.json +30 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/normalize-path/LICENSE +21 -0
- data/node_modules/normalize-path/README.md +127 -0
- data/node_modules/normalize-path/index.js +35 -0
- data/node_modules/normalize-path/package.json +77 -0
- data/node_modules/nwsapi/LICENSE +22 -0
- data/node_modules/nwsapi/README.md +132 -0
- data/node_modules/nwsapi/dist/lint.log +0 -0
- data/node_modules/nwsapi/package.json +38 -0
- data/node_modules/nwsapi/src/modules/nwsapi-jquery.js +135 -0
- data/node_modules/nwsapi/src/modules/nwsapi-traversal.js +90 -0
- data/node_modules/nwsapi/src/nwsapi.js +1800 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/optionator/CHANGELOG.md +56 -0
- data/node_modules/optionator/LICENSE +22 -0
- data/node_modules/optionator/README.md +238 -0
- data/node_modules/optionator/lib/help.js +260 -0
- data/node_modules/optionator/lib/index.js +465 -0
- data/node_modules/optionator/lib/util.js +54 -0
- data/node_modules/optionator/package.json +44 -0
- data/node_modules/parse5/LICENSE +19 -0
- data/node_modules/parse5/README.md +38 -0
- data/node_modules/parse5/lib/common/doctype.js +162 -0
- data/node_modules/parse5/lib/common/error-codes.js +65 -0
- data/node_modules/parse5/lib/common/foreign-content.js +265 -0
- data/node_modules/parse5/lib/common/html.js +272 -0
- data/node_modules/parse5/lib/common/unicode.js +109 -0
- data/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +43 -0
- data/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +52 -0
- data/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +24 -0
- data/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +17 -0
- data/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +35 -0
- data/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +223 -0
- data/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +146 -0
- data/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +64 -0
- data/node_modules/parse5/lib/index.js +29 -0
- data/node_modules/parse5/lib/parser/formatting-element-list.js +181 -0
- data/node_modules/parse5/lib/parser/index.js +2956 -0
- data/node_modules/parse5/lib/parser/open-element-stack.js +482 -0
- data/node_modules/parse5/lib/serializer/index.js +176 -0
- data/node_modules/parse5/lib/tokenizer/index.js +2196 -0
- data/node_modules/parse5/lib/tokenizer/named-entity-data.js +5 -0
- data/node_modules/parse5/lib/tokenizer/preprocessor.js +159 -0
- data/node_modules/parse5/lib/tree-adapters/default.js +221 -0
- data/node_modules/parse5/lib/utils/merge-options.js +13 -0
- data/node_modules/parse5/lib/utils/mixin.js +39 -0
- data/node_modules/parse5/package.json +35 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/path-key/index.d.ts +40 -0
- data/node_modules/path-key/index.js +16 -0
- data/node_modules/path-key/license +9 -0
- data/node_modules/path-key/package.json +39 -0
- data/node_modules/path-key/readme.md +61 -0
- data/node_modules/picomatch/CHANGELOG.md +126 -0
- data/node_modules/picomatch/LICENSE +21 -0
- data/node_modules/picomatch/README.md +707 -0
- data/node_modules/picomatch/index.js +3 -0
- data/node_modules/picomatch/lib/constants.js +179 -0
- data/node_modules/picomatch/lib/parse.js +1084 -0
- data/node_modules/picomatch/lib/picomatch.js +342 -0
- data/node_modules/picomatch/lib/scan.js +391 -0
- data/node_modules/picomatch/lib/utils.js +64 -0
- data/node_modules/picomatch/package.json +81 -0
- data/node_modules/prelude-ls/CHANGELOG.md +99 -0
- data/node_modules/prelude-ls/LICENSE +22 -0
- data/node_modules/prelude-ls/README.md +15 -0
- data/node_modules/prelude-ls/lib/Func.js +65 -0
- data/node_modules/prelude-ls/lib/List.js +686 -0
- data/node_modules/prelude-ls/lib/Num.js +130 -0
- data/node_modules/prelude-ls/lib/Obj.js +154 -0
- data/node_modules/prelude-ls/lib/Str.js +92 -0
- data/node_modules/prelude-ls/lib/index.js +178 -0
- data/node_modules/prelude-ls/package.json +52 -0
- data/node_modules/psl/LICENSE +9 -0
- data/node_modules/psl/README.md +215 -0
- data/node_modules/psl/browserstack-logo.svg +90 -0
- data/node_modules/psl/data/rules.json +8834 -0
- data/node_modules/psl/dist/psl.js +9645 -0
- data/node_modules/psl/dist/psl.min.js +1 -0
- data/node_modules/psl/index.js +269 -0
- data/node_modules/psl/package.json +44 -0
- data/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/node_modules/punycode/README.md +122 -0
- data/node_modules/punycode/package.json +58 -0
- data/node_modules/punycode/punycode.es6.js +441 -0
- data/node_modules/punycode/punycode.js +440 -0
- data/node_modules/readdirp/LICENSE +21 -0
- data/node_modules/readdirp/README.md +122 -0
- data/node_modules/readdirp/index.d.ts +43 -0
- data/node_modules/readdirp/index.js +287 -0
- data/node_modules/readdirp/package.json +122 -0
- data/node_modules/require-directory/LICENSE +22 -0
- data/node_modules/require-directory/README.markdown +184 -0
- data/node_modules/require-directory/index.js +86 -0
- data/node_modules/require-directory/package.json +40 -0
- data/node_modules/safer-buffer/LICENSE +21 -0
- data/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- data/node_modules/safer-buffer/Readme.md +156 -0
- data/node_modules/safer-buffer/dangerous.js +58 -0
- data/node_modules/safer-buffer/package.json +34 -0
- data/node_modules/safer-buffer/safer.js +77 -0
- data/node_modules/safer-buffer/tests.js +406 -0
- data/node_modules/saxes/README.md +323 -0
- data/node_modules/saxes/package.json +70 -0
- data/node_modules/saxes/saxes.d.ts +635 -0
- data/node_modules/saxes/saxes.js +2064 -0
- data/node_modules/saxes/saxes.js.map +1 -0
- data/node_modules/semver/CHANGELOG.md +111 -0
- data/node_modules/semver/LICENSE +15 -0
- data/node_modules/semver/README.md +566 -0
- data/node_modules/semver/bin/semver.js +173 -0
- data/node_modules/semver/classes/comparator.js +135 -0
- data/node_modules/semver/classes/index.js +5 -0
- data/node_modules/semver/classes/range.js +510 -0
- data/node_modules/semver/classes/semver.js +287 -0
- data/node_modules/semver/functions/clean.js +6 -0
- data/node_modules/semver/functions/cmp.js +48 -0
- data/node_modules/semver/functions/coerce.js +51 -0
- data/node_modules/semver/functions/compare-build.js +7 -0
- data/node_modules/semver/functions/compare-loose.js +3 -0
- data/node_modules/semver/functions/compare.js +5 -0
- data/node_modules/semver/functions/diff.js +23 -0
- data/node_modules/semver/functions/eq.js +3 -0
- data/node_modules/semver/functions/gt.js +3 -0
- data/node_modules/semver/functions/gte.js +3 -0
- data/node_modules/semver/functions/inc.js +15 -0
- data/node_modules/semver/functions/lt.js +3 -0
- data/node_modules/semver/functions/lte.js +3 -0
- data/node_modules/semver/functions/major.js +3 -0
- data/node_modules/semver/functions/minor.js +3 -0
- data/node_modules/semver/functions/neq.js +3 -0
- data/node_modules/semver/functions/parse.js +33 -0
- data/node_modules/semver/functions/patch.js +3 -0
- data/node_modules/semver/functions/prerelease.js +6 -0
- data/node_modules/semver/functions/rcompare.js +3 -0
- data/node_modules/semver/functions/rsort.js +3 -0
- data/node_modules/semver/functions/satisfies.js +10 -0
- data/node_modules/semver/functions/sort.js +3 -0
- data/node_modules/semver/functions/valid.js +6 -0
- data/node_modules/semver/index.js +48 -0
- data/node_modules/semver/internal/constants.js +17 -0
- data/node_modules/semver/internal/debug.js +9 -0
- data/node_modules/semver/internal/identifiers.js +23 -0
- data/node_modules/semver/internal/parse-options.js +11 -0
- data/node_modules/semver/internal/re.js +182 -0
- data/node_modules/semver/package.json +41 -0
- data/node_modules/semver/preload.js +2 -0
- data/node_modules/semver/range.bnf +16 -0
- data/node_modules/semver/ranges/gtr.js +4 -0
- data/node_modules/semver/ranges/intersects.js +7 -0
- data/node_modules/semver/ranges/ltr.js +4 -0
- data/node_modules/semver/ranges/max-satisfying.js +25 -0
- data/node_modules/semver/ranges/min-satisfying.js +24 -0
- data/node_modules/semver/ranges/min-version.js +60 -0
- data/node_modules/semver/ranges/outside.js +80 -0
- data/node_modules/semver/ranges/simplify.js +44 -0
- data/node_modules/semver/ranges/subset.js +222 -0
- data/node_modules/semver/ranges/to-comparators.js +8 -0
- data/node_modules/semver/ranges/valid.js +11 -0
- data/node_modules/shebang-command/index.js +19 -0
- data/node_modules/shebang-command/license +9 -0
- data/node_modules/shebang-command/package.json +34 -0
- data/node_modules/shebang-command/readme.md +34 -0
- data/node_modules/shebang-regex/index.d.ts +22 -0
- data/node_modules/shebang-regex/index.js +2 -0
- data/node_modules/shebang-regex/license +9 -0
- data/node_modules/shebang-regex/package.json +35 -0
- data/node_modules/shebang-regex/readme.md +33 -0
- data/node_modules/simple-wcswidth/CHANGELOG.md +13 -0
- data/node_modules/simple-wcswidth/LICENSE +21 -0
- data/node_modules/simple-wcswidth/README.md +100 -0
- data/node_modules/simple-wcswidth/dist/index.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/index.js +10 -0
- data/node_modules/simple-wcswidth/dist/src/binary-search.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/src/binary-search.js +24 -0
- data/node_modules/simple-wcswidth/dist/src/models.d.ts +4 -0
- data/node_modules/simple-wcswidth/dist/src/models.js +2 -0
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.d.ts +3 -0
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +149 -0
- data/node_modules/simple-wcswidth/dist/src/wcswidth.d.ts +2 -0
- data/node_modules/simple-wcswidth/dist/src/wcswidth.js +20 -0
- data/node_modules/simple-wcswidth/dist/src/wcwidth.d.ts +2 -0
- data/node_modules/simple-wcswidth/dist/src/wcwidth.js +67 -0
- data/node_modules/simple-wcswidth/package.json +44 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/sprintf-js/LICENSE +24 -0
- data/node_modules/sprintf-js/README.md +88 -0
- data/node_modules/sprintf-js/bower.json +14 -0
- data/node_modules/sprintf-js/demo/angular.html +20 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- data/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- data/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- data/node_modules/sprintf-js/gruntfile.js +36 -0
- data/node_modules/sprintf-js/package.json +22 -0
- data/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- data/node_modules/sprintf-js/src/sprintf.js +208 -0
- data/node_modules/sprintf-js/test/test.js +82 -0
- data/node_modules/sqlite-parser/CHANGELOG.md +1263 -0
- data/node_modules/sqlite-parser/LICENSE +22 -0
- data/node_modules/sqlite-parser/README.md +187 -0
- data/node_modules/sqlite-parser/bin/sqlite-parser +7 -0
- data/node_modules/sqlite-parser/dist/sqlite-parser.js +19 -0
- data/node_modules/sqlite-parser/lib/index.js +6 -0
- data/node_modules/sqlite-parser/lib/parser.js +6 -0
- data/node_modules/sqlite-parser/lib/streaming-shim.js +6 -0
- data/node_modules/sqlite-parser/lib/streaming.js +6 -0
- data/node_modules/sqlite-parser/lib/tracer.js +6 -0
- data/node_modules/sqlite-parser/package.json +75 -0
- data/node_modules/string-width/index.d.ts +29 -0
- data/node_modules/string-width/index.js +47 -0
- data/node_modules/string-width/license +9 -0
- data/node_modules/string-width/package.json +56 -0
- data/node_modules/string-width/readme.md +50 -0
- data/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/strip-ansi/license +9 -0
- data/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/symbol-tree/LICENSE +21 -0
- data/node_modules/symbol-tree/README.md +545 -0
- data/node_modules/symbol-tree/lib/SymbolTree.js +838 -0
- data/node_modules/symbol-tree/lib/SymbolTreeNode.js +54 -0
- data/node_modules/symbol-tree/lib/TreeIterator.js +69 -0
- data/node_modules/symbol-tree/lib/TreePosition.js +11 -0
- data/node_modules/symbol-tree/package.json +47 -0
- data/node_modules/to-regex-range/LICENSE +21 -0
- data/node_modules/to-regex-range/README.md +305 -0
- data/node_modules/to-regex-range/index.js +288 -0
- data/node_modules/to-regex-range/package.json +88 -0
- data/node_modules/tough-cookie/LICENSE +12 -0
- data/node_modules/tough-cookie/README.md +582 -0
- data/node_modules/tough-cookie/lib/cookie.js +1671 -0
- data/node_modules/tough-cookie/lib/memstore.js +190 -0
- data/node_modules/tough-cookie/lib/pathMatch.js +61 -0
- data/node_modules/tough-cookie/lib/permuteDomain.js +70 -0
- data/node_modules/tough-cookie/lib/pubsuffix-psl.js +38 -0
- data/node_modules/tough-cookie/lib/store.js +76 -0
- data/node_modules/tough-cookie/lib/version.js +2 -0
- data/node_modules/tough-cookie/node_modules/universalify/LICENSE +20 -0
- data/node_modules/tough-cookie/node_modules/universalify/README.md +76 -0
- data/node_modules/tough-cookie/node_modules/universalify/index.js +25 -0
- data/node_modules/tough-cookie/node_modules/universalify/package.json +34 -0
- data/node_modules/tough-cookie/package.json +109 -0
- data/node_modules/tr46/LICENSE.md +21 -0
- data/node_modules/tr46/README.md +72 -0
- data/node_modules/tr46/index.js +297 -0
- data/node_modules/tr46/lib/mappingTable.json +1 -0
- data/node_modules/tr46/lib/regexes.js +29 -0
- data/node_modules/tr46/lib/statusMapping.js +11 -0
- data/node_modules/tr46/package.json +46 -0
- data/node_modules/type-check/LICENSE +22 -0
- data/node_modules/type-check/README.md +210 -0
- data/node_modules/type-check/lib/check.js +126 -0
- data/node_modules/type-check/lib/index.js +16 -0
- data/node_modules/type-check/lib/parse-type.js +196 -0
- data/node_modules/type-check/package.json +40 -0
- data/node_modules/universalify/LICENSE +20 -0
- data/node_modules/universalify/README.md +76 -0
- data/node_modules/universalify/index.js +24 -0
- data/node_modules/universalify/package.json +34 -0
- data/node_modules/w3c-hr-time/CHANGELOG.md +19 -0
- data/node_modules/w3c-hr-time/LICENSE.md +21 -0
- data/node_modules/w3c-hr-time/README.md +130 -0
- data/node_modules/w3c-hr-time/index.js +11 -0
- data/node_modules/w3c-hr-time/lib/calculate-clock-offset.js +39 -0
- data/node_modules/w3c-hr-time/lib/clock-is-accurate.js +61 -0
- data/node_modules/w3c-hr-time/lib/global-monotonic-clock.js +10 -0
- data/node_modules/w3c-hr-time/lib/performance.js +53 -0
- data/node_modules/w3c-hr-time/lib/utils.js +11 -0
- data/node_modules/w3c-hr-time/package.json +26 -0
- data/node_modules/w3c-xmlserializer/LICENSE.md +25 -0
- data/node_modules/w3c-xmlserializer/README.md +41 -0
- data/node_modules/w3c-xmlserializer/lib/attributes.js +128 -0
- data/node_modules/w3c-xmlserializer/lib/constants.js +44 -0
- data/node_modules/w3c-xmlserializer/lib/serialize.js +371 -0
- data/node_modules/w3c-xmlserializer/package.json +32 -0
- data/node_modules/webidl-conversions/LICENSE.md +12 -0
- data/node_modules/webidl-conversions/README.md +101 -0
- data/node_modules/webidl-conversions/lib/index.js +489 -0
- data/node_modules/webidl-conversions/package.json +30 -0
- data/node_modules/whatwg-encoding/LICENSE.txt +7 -0
- data/node_modules/whatwg-encoding/README.md +50 -0
- data/node_modules/whatwg-encoding/lib/labels-to-names.json +207 -0
- data/node_modules/whatwg-encoding/lib/supported-names.json +37 -0
- data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +47 -0
- data/node_modules/whatwg-encoding/package.json +29 -0
- data/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
- data/node_modules/whatwg-mimetype/README.md +101 -0
- data/node_modules/whatwg-mimetype/lib/mime-type.js +191 -0
- data/node_modules/whatwg-mimetype/lib/parser.js +124 -0
- data/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
- data/node_modules/whatwg-mimetype/lib/utils.js +25 -0
- data/node_modules/whatwg-mimetype/package.json +43 -0
- data/node_modules/whatwg-url/LICENSE.txt +21 -0
- data/node_modules/whatwg-url/README.md +104 -0
- data/node_modules/whatwg-url/dist/Function.js +46 -0
- data/node_modules/whatwg-url/dist/URL-impl.js +217 -0
- data/node_modules/whatwg-url/dist/URL.js +417 -0
- data/node_modules/whatwg-url/dist/URLSearchParams-impl.js +122 -0
- data/node_modules/whatwg-url/dist/URLSearchParams.js +457 -0
- data/node_modules/whatwg-url/dist/VoidFunction.js +30 -0
- data/node_modules/whatwg-url/dist/encoding.js +26 -0
- data/node_modules/whatwg-url/dist/infra.js +26 -0
- data/node_modules/whatwg-url/dist/percent-encoding.js +141 -0
- data/node_modules/whatwg-url/dist/url-state-machine.js +1210 -0
- data/node_modules/whatwg-url/dist/urlencoded.js +102 -0
- data/node_modules/whatwg-url/dist/utils.js +141 -0
- data/node_modules/whatwg-url/index.js +24 -0
- data/node_modules/whatwg-url/package.json +60 -0
- data/node_modules/whatwg-url/webidl2js-wrapper.js +7 -0
- data/node_modules/which/CHANGELOG.md +166 -0
- data/node_modules/which/LICENSE +15 -0
- data/node_modules/which/README.md +54 -0
- data/node_modules/which/bin/node-which +52 -0
- data/node_modules/which/package.json +43 -0
- data/node_modules/which/which.js +125 -0
- data/node_modules/word-wrap/LICENSE +21 -0
- data/node_modules/word-wrap/README.md +182 -0
- data/node_modules/word-wrap/index.d.ts +50 -0
- data/node_modules/word-wrap/index.js +46 -0
- data/node_modules/word-wrap/package.json +77 -0
- data/node_modules/wrap-ansi/index.js +216 -0
- data/node_modules/wrap-ansi/license +9 -0
- data/node_modules/wrap-ansi/package.json +62 -0
- data/node_modules/wrap-ansi/readme.md +91 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/ws/LICENSE +21 -0
- data/node_modules/ws/README.md +496 -0
- data/node_modules/ws/browser.js +8 -0
- data/node_modules/ws/index.js +10 -0
- data/node_modules/ws/lib/buffer-util.js +129 -0
- data/node_modules/ws/lib/constants.js +10 -0
- data/node_modules/ws/lib/event-target.js +184 -0
- data/node_modules/ws/lib/extension.js +223 -0
- data/node_modules/ws/lib/limiter.js +55 -0
- data/node_modules/ws/lib/permessage-deflate.js +518 -0
- data/node_modules/ws/lib/receiver.js +607 -0
- data/node_modules/ws/lib/sender.js +409 -0
- data/node_modules/ws/lib/stream.js +177 -0
- data/node_modules/ws/lib/validation.js +104 -0
- data/node_modules/ws/lib/websocket-server.js +447 -0
- data/node_modules/ws/lib/websocket.js +1078 -0
- data/node_modules/ws/package.json +56 -0
- data/node_modules/xml-name-validator/LICENSE.txt +176 -0
- data/node_modules/xml-name-validator/README.md +36 -0
- data/node_modules/xml-name-validator/lib/generated-parser.js +504 -0
- data/node_modules/xml-name-validator/lib/grammar.pegjs +35 -0
- data/node_modules/xml-name-validator/lib/xml-name-validator.js +17 -0
- data/node_modules/xml-name-validator/package.json +28 -0
- data/node_modules/xmlchars/LICENSE +18 -0
- data/node_modules/xmlchars/README.md +33 -0
- data/node_modules/xmlchars/package.json +51 -0
- data/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
- data/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- data/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
- data/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
- data/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- data/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
- data/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
- data/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- data/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
- data/node_modules/xmlchars/xmlchars.d.ts +170 -0
- data/node_modules/xmlchars/xmlchars.js +191 -0
- data/node_modules/xmlchars/xmlchars.js.map +1 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- data/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- data/node_modules/y18n/CHANGELOG.md +100 -0
- data/node_modules/y18n/LICENSE +13 -0
- data/node_modules/y18n/README.md +127 -0
- data/node_modules/y18n/build/index.cjs +203 -0
- data/node_modules/y18n/build/lib/cjs.js +6 -0
- data/node_modules/y18n/build/lib/index.js +174 -0
- data/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- data/node_modules/y18n/index.mjs +8 -0
- data/node_modules/y18n/package.json +70 -0
- data/node_modules/yallist/LICENSE +15 -0
- data/node_modules/yallist/README.md +204 -0
- data/node_modules/yallist/iterator.js +8 -0
- data/node_modules/yallist/package.json +29 -0
- data/node_modules/yallist/yallist.js +426 -0
- data/node_modules/yargs/CHANGELOG.md +151 -0
- data/node_modules/yargs/LICENSE +21 -0
- data/node_modules/yargs/README.md +204 -0
- data/node_modules/yargs/browser.mjs +7 -0
- data/node_modules/yargs/build/index.cjs +1 -0
- data/node_modules/yargs/build/lib/argsert.js +62 -0
- data/node_modules/yargs/build/lib/command.js +436 -0
- data/node_modules/yargs/build/lib/completion-templates.js +48 -0
- data/node_modules/yargs/build/lib/completion.js +166 -0
- data/node_modules/yargs/build/lib/middleware.js +85 -0
- data/node_modules/yargs/build/lib/parse-command.js +32 -0
- data/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- data/node_modules/yargs/build/lib/usage.js +567 -0
- data/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- data/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- data/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- data/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- data/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- data/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- data/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- data/node_modules/yargs/build/lib/validation.js +279 -0
- data/node_modules/yargs/build/lib/yargs-factory.js +1452 -0
- data/node_modules/yargs/build/lib/yerror.js +7 -0
- data/node_modules/yargs/helpers/helpers.mjs +10 -0
- data/node_modules/yargs/helpers/index.js +14 -0
- data/node_modules/yargs/helpers/package.json +3 -0
- data/node_modules/yargs/index.cjs +43 -0
- data/node_modules/yargs/index.mjs +8 -0
- data/node_modules/yargs/lib/platform-shims/browser.mjs +94 -0
- data/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
- data/node_modules/yargs/locales/be.json +46 -0
- data/node_modules/yargs/locales/de.json +46 -0
- data/node_modules/yargs/locales/en.json +51 -0
- data/node_modules/yargs/locales/es.json +46 -0
- data/node_modules/yargs/locales/fi.json +49 -0
- data/node_modules/yargs/locales/fr.json +53 -0
- data/node_modules/yargs/locales/hi.json +49 -0
- data/node_modules/yargs/locales/hu.json +46 -0
- data/node_modules/yargs/locales/id.json +50 -0
- data/node_modules/yargs/locales/it.json +46 -0
- data/node_modules/yargs/locales/ja.json +51 -0
- data/node_modules/yargs/locales/ko.json +49 -0
- data/node_modules/yargs/locales/nb.json +44 -0
- data/node_modules/yargs/locales/nl.json +49 -0
- data/node_modules/yargs/locales/nn.json +44 -0
- data/node_modules/yargs/locales/pirate.json +13 -0
- data/node_modules/yargs/locales/pl.json +49 -0
- data/node_modules/yargs/locales/pt.json +45 -0
- data/node_modules/yargs/locales/pt_BR.json +48 -0
- data/node_modules/yargs/locales/ru.json +46 -0
- data/node_modules/yargs/locales/th.json +46 -0
- data/node_modules/yargs/locales/tr.json +48 -0
- data/node_modules/yargs/locales/uk_UA.json +51 -0
- data/node_modules/yargs/locales/zh_CN.json +48 -0
- data/node_modules/yargs/locales/zh_TW.json +47 -0
- data/node_modules/yargs/package.json +116 -0
- data/node_modules/yargs/yargs +9 -0
- data/node_modules/yargs-parser/CHANGELOG.md +263 -0
- data/node_modules/yargs-parser/LICENSE.txt +14 -0
- data/node_modules/yargs-parser/README.md +518 -0
- data/node_modules/yargs-parser/browser.js +29 -0
- data/node_modules/yargs-parser/build/index.cjs +1042 -0
- data/node_modules/yargs-parser/build/lib/index.js +59 -0
- data/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
- data/node_modules/yargs-parser/package.json +87 -0
- data/package.json +1 -1
- data/release.sh +2 -1
- data/spec/depends/api_spec.rb +1 -1
- data/spec/fixtures/rails6_users_app/Gemfile +1 -1
- data/spec/fixtures/rails6_users_app/docker-compose.yml +1 -1
- data/spec/hook_spec.rb +6 -4
- data/spec/rails_recording_spec.rb +5 -2
- data/spec/railtie_spec.rb +3 -3
- data/spec/record_sql_rails_pg_spec.rb +1 -1
- data/spec/remote_recording_spec.rb +3 -3
- data/spec/spec_helper.rb +4 -0
- data/test/agent_setup_validate_test.rb +3 -3
- data/yarn.lock +408 -20
- metadata +3070 -2
@@ -0,0 +1,107 @@
|
|
1
|
+
var Stream = require('stream').Stream;
|
2
|
+
var util = require('util');
|
3
|
+
|
4
|
+
module.exports = DelayedStream;
|
5
|
+
function DelayedStream() {
|
6
|
+
this.source = null;
|
7
|
+
this.dataSize = 0;
|
8
|
+
this.maxDataSize = 1024 * 1024;
|
9
|
+
this.pauseStream = true;
|
10
|
+
|
11
|
+
this._maxDataSizeExceeded = false;
|
12
|
+
this._released = false;
|
13
|
+
this._bufferedEvents = [];
|
14
|
+
}
|
15
|
+
util.inherits(DelayedStream, Stream);
|
16
|
+
|
17
|
+
DelayedStream.create = function(source, options) {
|
18
|
+
var delayedStream = new this();
|
19
|
+
|
20
|
+
options = options || {};
|
21
|
+
for (var option in options) {
|
22
|
+
delayedStream[option] = options[option];
|
23
|
+
}
|
24
|
+
|
25
|
+
delayedStream.source = source;
|
26
|
+
|
27
|
+
var realEmit = source.emit;
|
28
|
+
source.emit = function() {
|
29
|
+
delayedStream._handleEmit(arguments);
|
30
|
+
return realEmit.apply(source, arguments);
|
31
|
+
};
|
32
|
+
|
33
|
+
source.on('error', function() {});
|
34
|
+
if (delayedStream.pauseStream) {
|
35
|
+
source.pause();
|
36
|
+
}
|
37
|
+
|
38
|
+
return delayedStream;
|
39
|
+
};
|
40
|
+
|
41
|
+
Object.defineProperty(DelayedStream.prototype, 'readable', {
|
42
|
+
configurable: true,
|
43
|
+
enumerable: true,
|
44
|
+
get: function() {
|
45
|
+
return this.source.readable;
|
46
|
+
}
|
47
|
+
});
|
48
|
+
|
49
|
+
DelayedStream.prototype.setEncoding = function() {
|
50
|
+
return this.source.setEncoding.apply(this.source, arguments);
|
51
|
+
};
|
52
|
+
|
53
|
+
DelayedStream.prototype.resume = function() {
|
54
|
+
if (!this._released) {
|
55
|
+
this.release();
|
56
|
+
}
|
57
|
+
|
58
|
+
this.source.resume();
|
59
|
+
};
|
60
|
+
|
61
|
+
DelayedStream.prototype.pause = function() {
|
62
|
+
this.source.pause();
|
63
|
+
};
|
64
|
+
|
65
|
+
DelayedStream.prototype.release = function() {
|
66
|
+
this._released = true;
|
67
|
+
|
68
|
+
this._bufferedEvents.forEach(function(args) {
|
69
|
+
this.emit.apply(this, args);
|
70
|
+
}.bind(this));
|
71
|
+
this._bufferedEvents = [];
|
72
|
+
};
|
73
|
+
|
74
|
+
DelayedStream.prototype.pipe = function() {
|
75
|
+
var r = Stream.prototype.pipe.apply(this, arguments);
|
76
|
+
this.resume();
|
77
|
+
return r;
|
78
|
+
};
|
79
|
+
|
80
|
+
DelayedStream.prototype._handleEmit = function(args) {
|
81
|
+
if (this._released) {
|
82
|
+
this.emit.apply(this, args);
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
|
86
|
+
if (args[0] === 'data') {
|
87
|
+
this.dataSize += args[1].length;
|
88
|
+
this._checkIfMaxDataSizeExceeded();
|
89
|
+
}
|
90
|
+
|
91
|
+
this._bufferedEvents.push(args);
|
92
|
+
};
|
93
|
+
|
94
|
+
DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
|
95
|
+
if (this._maxDataSizeExceeded) {
|
96
|
+
return;
|
97
|
+
}
|
98
|
+
|
99
|
+
if (this.dataSize <= this.maxDataSize) {
|
100
|
+
return;
|
101
|
+
}
|
102
|
+
|
103
|
+
this._maxDataSizeExceeded = true;
|
104
|
+
var message =
|
105
|
+
'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'
|
106
|
+
this.emit('error', new Error(message));
|
107
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)",
|
3
|
+
"contributors": [
|
4
|
+
"Mike Atkins <apeherder@gmail.com>"
|
5
|
+
],
|
6
|
+
"name": "delayed-stream",
|
7
|
+
"description": "Buffers events from a stream until you are ready to handle them.",
|
8
|
+
"license": "MIT",
|
9
|
+
"version": "1.0.0",
|
10
|
+
"homepage": "https://github.com/felixge/node-delayed-stream",
|
11
|
+
"repository": {
|
12
|
+
"type": "git",
|
13
|
+
"url": "git://github.com/felixge/node-delayed-stream.git"
|
14
|
+
},
|
15
|
+
"main": "./lib/delayed_stream",
|
16
|
+
"engines": {
|
17
|
+
"node": ">=0.4.0"
|
18
|
+
},
|
19
|
+
"scripts": {
|
20
|
+
"test": "make test"
|
21
|
+
},
|
22
|
+
"dependencies": {},
|
23
|
+
"devDependencies": {
|
24
|
+
"fake": "0.2.0",
|
25
|
+
"far": "0.0.1"
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# How to Contribute
|
2
|
+
|
3
|
+
## Pull Requests
|
4
|
+
|
5
|
+
We also accept [pull requests][pull-request]!
|
6
|
+
|
7
|
+
Generally we like to see pull requests that
|
8
|
+
|
9
|
+
- Maintain the existing code style
|
10
|
+
- Are focused on a single change (i.e. avoid large refactoring or style adjustments in untouched code if not the primary goal of the pull request)
|
11
|
+
- Have [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
|
12
|
+
- Have tests
|
13
|
+
- Don't decrease the current code coverage (see coverage/lcov-report/index.html)
|
14
|
+
|
15
|
+
## Building
|
16
|
+
|
17
|
+
```
|
18
|
+
npm install
|
19
|
+
npm test
|
20
|
+
```
|
21
|
+
|
22
|
+
The `npm test -- dev` implements watching for tests within Node and `karma start` may be used for manual testing in browsers.
|
23
|
+
|
24
|
+
If you notice any problems, please report them to the GitHub issue tracker at
|
25
|
+
[http://github.com/kpdecker/jsdiff/issues](http://github.com/kpdecker/jsdiff/issues).
|
26
|
+
|
27
|
+
## Releasing
|
28
|
+
|
29
|
+
JsDiff utilizes the [release yeoman generator][generator-release] to perform most release tasks.
|
30
|
+
|
31
|
+
A full release may be completed with the following:
|
32
|
+
|
33
|
+
```
|
34
|
+
yo release
|
35
|
+
npm publish
|
36
|
+
```
|
37
|
+
|
38
|
+
[generator-release]: https://github.com/walmartlabs/generator-release
|
39
|
+
[pull-request]: https://github.com/kpdecker/jsdiff/pull/new/master
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Software License Agreement (BSD License)
|
2
|
+
|
3
|
+
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
|
4
|
+
|
5
|
+
All rights reserved.
|
6
|
+
|
7
|
+
Redistribution and use of this software in source and binary forms, with or without modification,
|
8
|
+
are permitted provided that the following conditions are met:
|
9
|
+
|
10
|
+
* Redistributions of source code must retain the above
|
11
|
+
copyright notice, this list of conditions and the
|
12
|
+
following disclaimer.
|
13
|
+
|
14
|
+
* Redistributions in binary form must reproduce the above
|
15
|
+
copyright notice, this list of conditions and the
|
16
|
+
following disclaimer in the documentation and/or other
|
17
|
+
materials provided with the distribution.
|
18
|
+
|
19
|
+
* Neither the name of Kevin Decker nor the names of its
|
20
|
+
contributors may be used to endorse or promote products
|
21
|
+
derived from this software without specific prior
|
22
|
+
written permission.
|
23
|
+
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
25
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
27
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
28
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
29
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
30
|
+
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
31
|
+
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -0,0 +1,208 @@
|
|
1
|
+
# jsdiff
|
2
|
+
|
3
|
+
[![Build Status](https://secure.travis-ci.org/kpdecker/jsdiff.svg)](http://travis-ci.org/kpdecker/jsdiff)
|
4
|
+
[![Sauce Test Status](https://saucelabs.com/buildstatus/jsdiff)](https://saucelabs.com/u/jsdiff)
|
5
|
+
|
6
|
+
A javascript text differencing implementation.
|
7
|
+
|
8
|
+
Based on the algorithm proposed in
|
9
|
+
["An O(ND) Difference Algorithm and its Variations" (Myers, 1986)](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927).
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
```bash
|
13
|
+
npm install diff --save
|
14
|
+
```
|
15
|
+
|
16
|
+
## API
|
17
|
+
|
18
|
+
* `Diff.diffChars(oldStr, newStr[, options])` - diffs two blocks of text, comparing character by character.
|
19
|
+
|
20
|
+
Returns a list of change objects (See below).
|
21
|
+
|
22
|
+
Options
|
23
|
+
* `ignoreCase`: `true` to ignore casing difference. Defaults to `false`.
|
24
|
+
|
25
|
+
* `Diff.diffWords(oldStr, newStr[, options])` - diffs two blocks of text, comparing word by word, ignoring whitespace.
|
26
|
+
|
27
|
+
Returns a list of change objects (See below).
|
28
|
+
|
29
|
+
Options
|
30
|
+
* `ignoreCase`: Same as in `diffChars`.
|
31
|
+
|
32
|
+
* `Diff.diffWordsWithSpace(oldStr, newStr[, options])` - diffs two blocks of text, comparing word by word, treating whitespace as significant.
|
33
|
+
|
34
|
+
Returns a list of change objects (See below).
|
35
|
+
|
36
|
+
* `Diff.diffLines(oldStr, newStr[, options])` - diffs two blocks of text, comparing line by line.
|
37
|
+
|
38
|
+
Options
|
39
|
+
* `ignoreWhitespace`: `true` to ignore leading and trailing whitespace. This is the same as `diffTrimmedLines`
|
40
|
+
* `newlineIsToken`: `true` to treat newline characters as separate tokens. This allows for changes to the newline structure to occur independently of the line content and to be treated as such. In general this is the more human friendly form of `diffLines` and `diffLines` is better suited for patches and other computer friendly output.
|
41
|
+
|
42
|
+
Returns a list of change objects (See below).
|
43
|
+
|
44
|
+
* `Diff.diffTrimmedLines(oldStr, newStr[, options])` - diffs two blocks of text, comparing line by line, ignoring leading and trailing whitespace.
|
45
|
+
|
46
|
+
Returns a list of change objects (See below).
|
47
|
+
|
48
|
+
* `Diff.diffSentences(oldStr, newStr[, options])` - diffs two blocks of text, comparing sentence by sentence.
|
49
|
+
|
50
|
+
Returns a list of change objects (See below).
|
51
|
+
|
52
|
+
* `Diff.diffCss(oldStr, newStr[, options])` - diffs two blocks of text, comparing CSS tokens.
|
53
|
+
|
54
|
+
Returns a list of change objects (See below).
|
55
|
+
|
56
|
+
* `Diff.diffJson(oldObj, newObj[, options])` - diffs two JSON objects, comparing the fields defined on each. The order of fields, etc does not matter in this comparison.
|
57
|
+
|
58
|
+
Returns a list of change objects (See below).
|
59
|
+
|
60
|
+
* `Diff.diffArrays(oldArr, newArr[, options])` - diffs two arrays, comparing each item for strict equality (===).
|
61
|
+
|
62
|
+
Options
|
63
|
+
* `comparator`: `function(left, right)` for custom equality checks
|
64
|
+
|
65
|
+
Returns a list of change objects (See below).
|
66
|
+
|
67
|
+
* `Diff.createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader)` - creates a unified diff patch.
|
68
|
+
|
69
|
+
Parameters:
|
70
|
+
* `oldFileName` : String to be output in the filename section of the patch for the removals
|
71
|
+
* `newFileName` : String to be output in the filename section of the patch for the additions
|
72
|
+
* `oldStr` : Original string value
|
73
|
+
* `newStr` : New string value
|
74
|
+
* `oldHeader` : Additional information to include in the old file header
|
75
|
+
* `newHeader` : Additional information to include in the new file header
|
76
|
+
* `options` : An object with options. Currently, only `context` is supported and describes how many lines of context should be included.
|
77
|
+
|
78
|
+
* `Diff.createPatch(fileName, oldStr, newStr, oldHeader, newHeader)` - creates a unified diff patch.
|
79
|
+
|
80
|
+
Just like Diff.createTwoFilesPatch, but with oldFileName being equal to newFileName.
|
81
|
+
|
82
|
+
|
83
|
+
* `Diff.structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)` - returns an object with an array of hunk objects.
|
84
|
+
|
85
|
+
This method is similar to createTwoFilesPatch, but returns a data structure
|
86
|
+
suitable for further processing. Parameters are the same as createTwoFilesPatch. The data structure returned may look like this:
|
87
|
+
|
88
|
+
```js
|
89
|
+
{
|
90
|
+
oldFileName: 'oldfile', newFileName: 'newfile',
|
91
|
+
oldHeader: 'header1', newHeader: 'header2',
|
92
|
+
hunks: [{
|
93
|
+
oldStart: 1, oldLines: 3, newStart: 1, newLines: 3,
|
94
|
+
lines: [' line2', ' line3', '-line4', '+line5', '\'],
|
95
|
+
}]
|
96
|
+
}
|
97
|
+
```
|
98
|
+
|
99
|
+
* `Diff.applyPatch(source, patch[, options])` - applies a unified diff patch.
|
100
|
+
|
101
|
+
Return a string containing new version of provided data. `patch` may be a string diff or the output from the `parsePatch` or `structuredPatch` methods.
|
102
|
+
|
103
|
+
The optional `options` object may have the following keys:
|
104
|
+
|
105
|
+
- `fuzzFactor`: Number of lines that are allowed to differ before rejecting a patch. Defaults to 0.
|
106
|
+
- `compareLine(lineNumber, line, operation, patchContent)`: Callback used to compare to given lines to determine if they should be considered equal when patching. Defaults to strict equality but may be overridden to provide fuzzier comparison. Should return false if the lines should be rejected.
|
107
|
+
|
108
|
+
* `Diff.applyPatches(patch, options)` - applies one or more patches.
|
109
|
+
|
110
|
+
This method will iterate over the contents of the patch and apply to data provided through callbacks. The general flow for each patch index is:
|
111
|
+
|
112
|
+
- `options.loadFile(index, callback)` is called. The caller should then load the contents of the file and then pass that to the `callback(err, data)` callback. Passing an `err` will terminate further patch execution.
|
113
|
+
- `options.patched(index, content, callback)` is called once the patch has been applied. `content` will be the return value from `applyPatch`. When it's ready, the caller should call `callback(err)` callback. Passing an `err` will terminate further patch execution.
|
114
|
+
|
115
|
+
Once all patches have been applied or an error occurs, the `options.complete(err)` callback is made.
|
116
|
+
|
117
|
+
* `Diff.parsePatch(diffStr)` - Parses a patch into structured data
|
118
|
+
|
119
|
+
Return a JSON object representation of the a patch, suitable for use with the `applyPatch` method. This parses to the same structure returned by `Diff.structuredPatch`.
|
120
|
+
|
121
|
+
* `convertChangesToXML(changes)` - converts a list of changes to a serialized XML format
|
122
|
+
|
123
|
+
|
124
|
+
All methods above which accept the optional `callback` method will run in sync mode when that parameter is omitted and in async mode when supplied. This allows for larger diffs without blocking the event loop. This may be passed either directly as the final parameter or as the `callback` field in the `options` object.
|
125
|
+
|
126
|
+
### Change Objects
|
127
|
+
Many of the methods above return change objects. These objects consist of the following fields:
|
128
|
+
|
129
|
+
* `value`: Text content
|
130
|
+
* `added`: True if the value was inserted into the new string
|
131
|
+
* `removed`: True if the value was removed from the old string
|
132
|
+
|
133
|
+
Note that some cases may omit a particular flag field. Comparison on the flag fields should always be done in a truthy or falsy manner.
|
134
|
+
|
135
|
+
## Examples
|
136
|
+
|
137
|
+
Basic example in Node
|
138
|
+
|
139
|
+
```js
|
140
|
+
require('colors');
|
141
|
+
const Diff = require('diff');
|
142
|
+
|
143
|
+
const one = 'beep boop';
|
144
|
+
const other = 'beep boob blah';
|
145
|
+
|
146
|
+
const diff = Diff.diffChars(one, other);
|
147
|
+
|
148
|
+
diff.forEach((part) => {
|
149
|
+
// green for additions, red for deletions
|
150
|
+
// grey for common parts
|
151
|
+
const color = part.added ? 'green' :
|
152
|
+
part.removed ? 'red' : 'grey';
|
153
|
+
process.stderr.write(part.value[color]);
|
154
|
+
});
|
155
|
+
|
156
|
+
console.log();
|
157
|
+
```
|
158
|
+
Running the above program should yield
|
159
|
+
|
160
|
+
<img src="images/node_example.png" alt="Node Example">
|
161
|
+
|
162
|
+
Basic example in a web page
|
163
|
+
|
164
|
+
```html
|
165
|
+
<pre id="display"></pre>
|
166
|
+
<script src="diff.js"></script>
|
167
|
+
<script>
|
168
|
+
const one = 'beep boop',
|
169
|
+
other = 'beep boob blah',
|
170
|
+
color = '';
|
171
|
+
|
172
|
+
let span = null;
|
173
|
+
|
174
|
+
const diff = Diff.diffChars(one, other),
|
175
|
+
display = document.getElementById('display'),
|
176
|
+
fragment = document.createDocumentFragment();
|
177
|
+
|
178
|
+
diff.forEach((part) => {
|
179
|
+
// green for additions, red for deletions
|
180
|
+
// grey for common parts
|
181
|
+
const color = part.added ? 'green' :
|
182
|
+
part.removed ? 'red' : 'grey';
|
183
|
+
span = document.createElement('span');
|
184
|
+
span.style.color = color;
|
185
|
+
span.appendChild(document
|
186
|
+
.createTextNode(part.value));
|
187
|
+
fragment.appendChild(span);
|
188
|
+
});
|
189
|
+
|
190
|
+
display.appendChild(fragment);
|
191
|
+
</script>
|
192
|
+
```
|
193
|
+
|
194
|
+
Open the above .html file in a browser and you should see
|
195
|
+
|
196
|
+
<img src="images/web_example.png" alt="Node Example">
|
197
|
+
|
198
|
+
**[Full online demo](http://kpdecker.github.com/jsdiff)**
|
199
|
+
|
200
|
+
## Compatibility
|
201
|
+
|
202
|
+
[![Sauce Test Status](https://saucelabs.com/browser-matrix/jsdiff.svg)](https://saucelabs.com/u/jsdiff)
|
203
|
+
|
204
|
+
jsdiff supports all ES3 environments with some known issues on IE8 and below. Under these browsers some diff algorithms such as word diff and others may fail due to lack of support for capturing groups in the `split` operation.
|
205
|
+
|
206
|
+
## License
|
207
|
+
|
208
|
+
See [LICENSE](https://github.com/kpdecker/jsdiff/blob/master/LICENSE).
|
@@ -0,0 +1,1582 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.Diff = {}));
|
5
|
+
}(this, (function (exports) { 'use strict';
|
6
|
+
|
7
|
+
function Diff() {}
|
8
|
+
Diff.prototype = {
|
9
|
+
diff: function diff(oldString, newString) {
|
10
|
+
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
11
|
+
var callback = options.callback;
|
12
|
+
|
13
|
+
if (typeof options === 'function') {
|
14
|
+
callback = options;
|
15
|
+
options = {};
|
16
|
+
}
|
17
|
+
|
18
|
+
this.options = options;
|
19
|
+
var self = this;
|
20
|
+
|
21
|
+
function done(value) {
|
22
|
+
if (callback) {
|
23
|
+
setTimeout(function () {
|
24
|
+
callback(undefined, value);
|
25
|
+
}, 0);
|
26
|
+
return true;
|
27
|
+
} else {
|
28
|
+
return value;
|
29
|
+
}
|
30
|
+
} // Allow subclasses to massage the input prior to running
|
31
|
+
|
32
|
+
|
33
|
+
oldString = this.castInput(oldString);
|
34
|
+
newString = this.castInput(newString);
|
35
|
+
oldString = this.removeEmpty(this.tokenize(oldString));
|
36
|
+
newString = this.removeEmpty(this.tokenize(newString));
|
37
|
+
var newLen = newString.length,
|
38
|
+
oldLen = oldString.length;
|
39
|
+
var editLength = 1;
|
40
|
+
var maxEditLength = newLen + oldLen;
|
41
|
+
var bestPath = [{
|
42
|
+
newPos: -1,
|
43
|
+
components: []
|
44
|
+
}]; // Seed editLength = 0, i.e. the content starts with the same values
|
45
|
+
|
46
|
+
var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);
|
47
|
+
|
48
|
+
if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {
|
49
|
+
// Identity per the equality and tokenizer
|
50
|
+
return done([{
|
51
|
+
value: this.join(newString),
|
52
|
+
count: newString.length
|
53
|
+
}]);
|
54
|
+
} // Main worker method. checks all permutations of a given edit length for acceptance.
|
55
|
+
|
56
|
+
|
57
|
+
function execEditLength() {
|
58
|
+
for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {
|
59
|
+
var basePath = void 0;
|
60
|
+
|
61
|
+
var addPath = bestPath[diagonalPath - 1],
|
62
|
+
removePath = bestPath[diagonalPath + 1],
|
63
|
+
_oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
|
64
|
+
|
65
|
+
if (addPath) {
|
66
|
+
// No one else is going to attempt to use this value, clear it
|
67
|
+
bestPath[diagonalPath - 1] = undefined;
|
68
|
+
}
|
69
|
+
|
70
|
+
var canAdd = addPath && addPath.newPos + 1 < newLen,
|
71
|
+
canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;
|
72
|
+
|
73
|
+
if (!canAdd && !canRemove) {
|
74
|
+
// If this path is a terminal then prune
|
75
|
+
bestPath[diagonalPath] = undefined;
|
76
|
+
continue;
|
77
|
+
} // Select the diagonal that we want to branch from. We select the prior
|
78
|
+
// path whose position in the new string is the farthest from the origin
|
79
|
+
// and does not pass the bounds of the diff graph
|
80
|
+
|
81
|
+
|
82
|
+
if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
|
83
|
+
basePath = clonePath(removePath);
|
84
|
+
self.pushComponent(basePath.components, undefined, true);
|
85
|
+
} else {
|
86
|
+
basePath = addPath; // No need to clone, we've pulled it from the list
|
87
|
+
|
88
|
+
basePath.newPos++;
|
89
|
+
self.pushComponent(basePath.components, true, undefined);
|
90
|
+
}
|
91
|
+
|
92
|
+
_oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done
|
93
|
+
|
94
|
+
if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {
|
95
|
+
return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));
|
96
|
+
} else {
|
97
|
+
// Otherwise track this path as a potential candidate and continue.
|
98
|
+
bestPath[diagonalPath] = basePath;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
editLength++;
|
103
|
+
} // Performs the length of edit iteration. Is a bit fugly as this has to support the
|
104
|
+
// sync and async mode which is never fun. Loops over execEditLength until a value
|
105
|
+
// is produced.
|
106
|
+
|
107
|
+
|
108
|
+
if (callback) {
|
109
|
+
(function exec() {
|
110
|
+
setTimeout(function () {
|
111
|
+
// This should not happen, but we want to be safe.
|
112
|
+
|
113
|
+
/* istanbul ignore next */
|
114
|
+
if (editLength > maxEditLength) {
|
115
|
+
return callback();
|
116
|
+
}
|
117
|
+
|
118
|
+
if (!execEditLength()) {
|
119
|
+
exec();
|
120
|
+
}
|
121
|
+
}, 0);
|
122
|
+
})();
|
123
|
+
} else {
|
124
|
+
while (editLength <= maxEditLength) {
|
125
|
+
var ret = execEditLength();
|
126
|
+
|
127
|
+
if (ret) {
|
128
|
+
return ret;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
},
|
133
|
+
pushComponent: function pushComponent(components, added, removed) {
|
134
|
+
var last = components[components.length - 1];
|
135
|
+
|
136
|
+
if (last && last.added === added && last.removed === removed) {
|
137
|
+
// We need to clone here as the component clone operation is just
|
138
|
+
// as shallow array clone
|
139
|
+
components[components.length - 1] = {
|
140
|
+
count: last.count + 1,
|
141
|
+
added: added,
|
142
|
+
removed: removed
|
143
|
+
};
|
144
|
+
} else {
|
145
|
+
components.push({
|
146
|
+
count: 1,
|
147
|
+
added: added,
|
148
|
+
removed: removed
|
149
|
+
});
|
150
|
+
}
|
151
|
+
},
|
152
|
+
extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {
|
153
|
+
var newLen = newString.length,
|
154
|
+
oldLen = oldString.length,
|
155
|
+
newPos = basePath.newPos,
|
156
|
+
oldPos = newPos - diagonalPath,
|
157
|
+
commonCount = 0;
|
158
|
+
|
159
|
+
while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
|
160
|
+
newPos++;
|
161
|
+
oldPos++;
|
162
|
+
commonCount++;
|
163
|
+
}
|
164
|
+
|
165
|
+
if (commonCount) {
|
166
|
+
basePath.components.push({
|
167
|
+
count: commonCount
|
168
|
+
});
|
169
|
+
}
|
170
|
+
|
171
|
+
basePath.newPos = newPos;
|
172
|
+
return oldPos;
|
173
|
+
},
|
174
|
+
equals: function equals(left, right) {
|
175
|
+
if (this.options.comparator) {
|
176
|
+
return this.options.comparator(left, right);
|
177
|
+
} else {
|
178
|
+
return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();
|
179
|
+
}
|
180
|
+
},
|
181
|
+
removeEmpty: function removeEmpty(array) {
|
182
|
+
var ret = [];
|
183
|
+
|
184
|
+
for (var i = 0; i < array.length; i++) {
|
185
|
+
if (array[i]) {
|
186
|
+
ret.push(array[i]);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
return ret;
|
191
|
+
},
|
192
|
+
castInput: function castInput(value) {
|
193
|
+
return value;
|
194
|
+
},
|
195
|
+
tokenize: function tokenize(value) {
|
196
|
+
return value.split('');
|
197
|
+
},
|
198
|
+
join: function join(chars) {
|
199
|
+
return chars.join('');
|
200
|
+
}
|
201
|
+
};
|
202
|
+
|
203
|
+
function buildValues(diff, components, newString, oldString, useLongestToken) {
|
204
|
+
var componentPos = 0,
|
205
|
+
componentLen = components.length,
|
206
|
+
newPos = 0,
|
207
|
+
oldPos = 0;
|
208
|
+
|
209
|
+
for (; componentPos < componentLen; componentPos++) {
|
210
|
+
var component = components[componentPos];
|
211
|
+
|
212
|
+
if (!component.removed) {
|
213
|
+
if (!component.added && useLongestToken) {
|
214
|
+
var value = newString.slice(newPos, newPos + component.count);
|
215
|
+
value = value.map(function (value, i) {
|
216
|
+
var oldValue = oldString[oldPos + i];
|
217
|
+
return oldValue.length > value.length ? oldValue : value;
|
218
|
+
});
|
219
|
+
component.value = diff.join(value);
|
220
|
+
} else {
|
221
|
+
component.value = diff.join(newString.slice(newPos, newPos + component.count));
|
222
|
+
}
|
223
|
+
|
224
|
+
newPos += component.count; // Common case
|
225
|
+
|
226
|
+
if (!component.added) {
|
227
|
+
oldPos += component.count;
|
228
|
+
}
|
229
|
+
} else {
|
230
|
+
component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
|
231
|
+
oldPos += component.count; // Reverse add and remove so removes are output first to match common convention
|
232
|
+
// The diffing algorithm is tied to add then remove output and this is the simplest
|
233
|
+
// route to get the desired output with minimal overhead.
|
234
|
+
|
235
|
+
if (componentPos && components[componentPos - 1].added) {
|
236
|
+
var tmp = components[componentPos - 1];
|
237
|
+
components[componentPos - 1] = components[componentPos];
|
238
|
+
components[componentPos] = tmp;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
} // Special case handle for when one terminal is ignored (i.e. whitespace).
|
242
|
+
// For this case we merge the terminal into the prior string and drop the change.
|
243
|
+
// This is only available for string mode.
|
244
|
+
|
245
|
+
|
246
|
+
var lastComponent = components[componentLen - 1];
|
247
|
+
|
248
|
+
if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) {
|
249
|
+
components[componentLen - 2].value += lastComponent.value;
|
250
|
+
components.pop();
|
251
|
+
}
|
252
|
+
|
253
|
+
return components;
|
254
|
+
}
|
255
|
+
|
256
|
+
function clonePath(path) {
|
257
|
+
return {
|
258
|
+
newPos: path.newPos,
|
259
|
+
components: path.components.slice(0)
|
260
|
+
};
|
261
|
+
}
|
262
|
+
|
263
|
+
var characterDiff = new Diff();
|
264
|
+
function diffChars(oldStr, newStr, options) {
|
265
|
+
return characterDiff.diff(oldStr, newStr, options);
|
266
|
+
}
|
267
|
+
|
268
|
+
function generateOptions(options, defaults) {
|
269
|
+
if (typeof options === 'function') {
|
270
|
+
defaults.callback = options;
|
271
|
+
} else if (options) {
|
272
|
+
for (var name in options) {
|
273
|
+
/* istanbul ignore else */
|
274
|
+
if (options.hasOwnProperty(name)) {
|
275
|
+
defaults[name] = options[name];
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
return defaults;
|
281
|
+
}
|
282
|
+
|
283
|
+
//
|
284
|
+
// Ranges and exceptions:
|
285
|
+
// Latin-1 Supplement, 0080–00FF
|
286
|
+
// - U+00D7 × Multiplication sign
|
287
|
+
// - U+00F7 ÷ Division sign
|
288
|
+
// Latin Extended-A, 0100–017F
|
289
|
+
// Latin Extended-B, 0180–024F
|
290
|
+
// IPA Extensions, 0250–02AF
|
291
|
+
// Spacing Modifier Letters, 02B0–02FF
|
292
|
+
// - U+02C7 ˇ ˇ Caron
|
293
|
+
// - U+02D8 ˘ ˘ Breve
|
294
|
+
// - U+02D9 ˙ ˙ Dot Above
|
295
|
+
// - U+02DA ˚ ˚ Ring Above
|
296
|
+
// - U+02DB ˛ ˛ Ogonek
|
297
|
+
// - U+02DC ˜ ˜ Small Tilde
|
298
|
+
// - U+02DD ˝ ˝ Double Acute Accent
|
299
|
+
// Latin Extended Additional, 1E00–1EFF
|
300
|
+
|
301
|
+
var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/;
|
302
|
+
var reWhitespace = /\S/;
|
303
|
+
var wordDiff = new Diff();
|
304
|
+
|
305
|
+
wordDiff.equals = function (left, right) {
|
306
|
+
if (this.options.ignoreCase) {
|
307
|
+
left = left.toLowerCase();
|
308
|
+
right = right.toLowerCase();
|
309
|
+
}
|
310
|
+
|
311
|
+
return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right);
|
312
|
+
};
|
313
|
+
|
314
|
+
wordDiff.tokenize = function (value) {
|
315
|
+
// All whitespace symbols except newline group into one token, each newline - in separate token
|
316
|
+
var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.
|
317
|
+
|
318
|
+
for (var i = 0; i < tokens.length - 1; i++) {
|
319
|
+
// If we have an empty string in the next field and we have only word chars before and after, merge
|
320
|
+
if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) {
|
321
|
+
tokens[i] += tokens[i + 2];
|
322
|
+
tokens.splice(i + 1, 2);
|
323
|
+
i--;
|
324
|
+
}
|
325
|
+
}
|
326
|
+
|
327
|
+
return tokens;
|
328
|
+
};
|
329
|
+
|
330
|
+
function diffWords(oldStr, newStr, options) {
|
331
|
+
options = generateOptions(options, {
|
332
|
+
ignoreWhitespace: true
|
333
|
+
});
|
334
|
+
return wordDiff.diff(oldStr, newStr, options);
|
335
|
+
}
|
336
|
+
function diffWordsWithSpace(oldStr, newStr, options) {
|
337
|
+
return wordDiff.diff(oldStr, newStr, options);
|
338
|
+
}
|
339
|
+
|
340
|
+
var lineDiff = new Diff();
|
341
|
+
|
342
|
+
lineDiff.tokenize = function (value) {
|
343
|
+
var retLines = [],
|
344
|
+
linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line
|
345
|
+
|
346
|
+
if (!linesAndNewlines[linesAndNewlines.length - 1]) {
|
347
|
+
linesAndNewlines.pop();
|
348
|
+
} // Merge the content and line separators into single tokens
|
349
|
+
|
350
|
+
|
351
|
+
for (var i = 0; i < linesAndNewlines.length; i++) {
|
352
|
+
var line = linesAndNewlines[i];
|
353
|
+
|
354
|
+
if (i % 2 && !this.options.newlineIsToken) {
|
355
|
+
retLines[retLines.length - 1] += line;
|
356
|
+
} else {
|
357
|
+
if (this.options.ignoreWhitespace) {
|
358
|
+
line = line.trim();
|
359
|
+
}
|
360
|
+
|
361
|
+
retLines.push(line);
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
return retLines;
|
366
|
+
};
|
367
|
+
|
368
|
+
function diffLines(oldStr, newStr, callback) {
|
369
|
+
return lineDiff.diff(oldStr, newStr, callback);
|
370
|
+
}
|
371
|
+
function diffTrimmedLines(oldStr, newStr, callback) {
|
372
|
+
var options = generateOptions(callback, {
|
373
|
+
ignoreWhitespace: true
|
374
|
+
});
|
375
|
+
return lineDiff.diff(oldStr, newStr, options);
|
376
|
+
}
|
377
|
+
|
378
|
+
var sentenceDiff = new Diff();
|
379
|
+
|
380
|
+
sentenceDiff.tokenize = function (value) {
|
381
|
+
return value.split(/(\S.+?[.!?])(?=\s+|$)/);
|
382
|
+
};
|
383
|
+
|
384
|
+
function diffSentences(oldStr, newStr, callback) {
|
385
|
+
return sentenceDiff.diff(oldStr, newStr, callback);
|
386
|
+
}
|
387
|
+
|
388
|
+
var cssDiff = new Diff();
|
389
|
+
|
390
|
+
cssDiff.tokenize = function (value) {
|
391
|
+
return value.split(/([{}:;,]|\s+)/);
|
392
|
+
};
|
393
|
+
|
394
|
+
function diffCss(oldStr, newStr, callback) {
|
395
|
+
return cssDiff.diff(oldStr, newStr, callback);
|
396
|
+
}
|
397
|
+
|
398
|
+
function _typeof(obj) {
|
399
|
+
"@babel/helpers - typeof";
|
400
|
+
|
401
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
402
|
+
_typeof = function (obj) {
|
403
|
+
return typeof obj;
|
404
|
+
};
|
405
|
+
} else {
|
406
|
+
_typeof = function (obj) {
|
407
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
408
|
+
};
|
409
|
+
}
|
410
|
+
|
411
|
+
return _typeof(obj);
|
412
|
+
}
|
413
|
+
|
414
|
+
function _toConsumableArray(arr) {
|
415
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
416
|
+
}
|
417
|
+
|
418
|
+
function _arrayWithoutHoles(arr) {
|
419
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
420
|
+
}
|
421
|
+
|
422
|
+
function _iterableToArray(iter) {
|
423
|
+
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
424
|
+
}
|
425
|
+
|
426
|
+
function _unsupportedIterableToArray(o, minLen) {
|
427
|
+
if (!o) return;
|
428
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
429
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
430
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
431
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
432
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
433
|
+
}
|
434
|
+
|
435
|
+
function _arrayLikeToArray(arr, len) {
|
436
|
+
if (len == null || len > arr.length) len = arr.length;
|
437
|
+
|
438
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
439
|
+
|
440
|
+
return arr2;
|
441
|
+
}
|
442
|
+
|
443
|
+
function _nonIterableSpread() {
|
444
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
445
|
+
}
|
446
|
+
|
447
|
+
var objectPrototypeToString = Object.prototype.toString;
|
448
|
+
var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
|
449
|
+
// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
|
450
|
+
|
451
|
+
jsonDiff.useLongestToken = true;
|
452
|
+
jsonDiff.tokenize = lineDiff.tokenize;
|
453
|
+
|
454
|
+
jsonDiff.castInput = function (value) {
|
455
|
+
var _this$options = this.options,
|
456
|
+
undefinedReplacement = _this$options.undefinedReplacement,
|
457
|
+
_this$options$stringi = _this$options.stringifyReplacer,
|
458
|
+
stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) {
|
459
|
+
return typeof v === 'undefined' ? undefinedReplacement : v;
|
460
|
+
} : _this$options$stringi;
|
461
|
+
return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');
|
462
|
+
};
|
463
|
+
|
464
|
+
jsonDiff.equals = function (left, right) {
|
465
|
+
return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1'));
|
466
|
+
};
|
467
|
+
|
468
|
+
function diffJson(oldObj, newObj, options) {
|
469
|
+
return jsonDiff.diff(oldObj, newObj, options);
|
470
|
+
} // This function handles the presence of circular references by bailing out when encountering an
|
471
|
+
// object that is already on the "stack" of items being processed. Accepts an optional replacer
|
472
|
+
|
473
|
+
function canonicalize(obj, stack, replacementStack, replacer, key) {
|
474
|
+
stack = stack || [];
|
475
|
+
replacementStack = replacementStack || [];
|
476
|
+
|
477
|
+
if (replacer) {
|
478
|
+
obj = replacer(key, obj);
|
479
|
+
}
|
480
|
+
|
481
|
+
var i;
|
482
|
+
|
483
|
+
for (i = 0; i < stack.length; i += 1) {
|
484
|
+
if (stack[i] === obj) {
|
485
|
+
return replacementStack[i];
|
486
|
+
}
|
487
|
+
}
|
488
|
+
|
489
|
+
var canonicalizedObj;
|
490
|
+
|
491
|
+
if ('[object Array]' === objectPrototypeToString.call(obj)) {
|
492
|
+
stack.push(obj);
|
493
|
+
canonicalizedObj = new Array(obj.length);
|
494
|
+
replacementStack.push(canonicalizedObj);
|
495
|
+
|
496
|
+
for (i = 0; i < obj.length; i += 1) {
|
497
|
+
canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);
|
498
|
+
}
|
499
|
+
|
500
|
+
stack.pop();
|
501
|
+
replacementStack.pop();
|
502
|
+
return canonicalizedObj;
|
503
|
+
}
|
504
|
+
|
505
|
+
if (obj && obj.toJSON) {
|
506
|
+
obj = obj.toJSON();
|
507
|
+
}
|
508
|
+
|
509
|
+
if (_typeof(obj) === 'object' && obj !== null) {
|
510
|
+
stack.push(obj);
|
511
|
+
canonicalizedObj = {};
|
512
|
+
replacementStack.push(canonicalizedObj);
|
513
|
+
|
514
|
+
var sortedKeys = [],
|
515
|
+
_key;
|
516
|
+
|
517
|
+
for (_key in obj) {
|
518
|
+
/* istanbul ignore else */
|
519
|
+
if (obj.hasOwnProperty(_key)) {
|
520
|
+
sortedKeys.push(_key);
|
521
|
+
}
|
522
|
+
}
|
523
|
+
|
524
|
+
sortedKeys.sort();
|
525
|
+
|
526
|
+
for (i = 0; i < sortedKeys.length; i += 1) {
|
527
|
+
_key = sortedKeys[i];
|
528
|
+
canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);
|
529
|
+
}
|
530
|
+
|
531
|
+
stack.pop();
|
532
|
+
replacementStack.pop();
|
533
|
+
} else {
|
534
|
+
canonicalizedObj = obj;
|
535
|
+
}
|
536
|
+
|
537
|
+
return canonicalizedObj;
|
538
|
+
}
|
539
|
+
|
540
|
+
var arrayDiff = new Diff();
|
541
|
+
|
542
|
+
arrayDiff.tokenize = function (value) {
|
543
|
+
return value.slice();
|
544
|
+
};
|
545
|
+
|
546
|
+
arrayDiff.join = arrayDiff.removeEmpty = function (value) {
|
547
|
+
return value;
|
548
|
+
};
|
549
|
+
|
550
|
+
function diffArrays(oldArr, newArr, callback) {
|
551
|
+
return arrayDiff.diff(oldArr, newArr, callback);
|
552
|
+
}
|
553
|
+
|
554
|
+
function parsePatch(uniDiff) {
|
555
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
556
|
+
var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
|
557
|
+
delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
|
558
|
+
list = [],
|
559
|
+
i = 0;
|
560
|
+
|
561
|
+
function parseIndex() {
|
562
|
+
var index = {};
|
563
|
+
list.push(index); // Parse diff metadata
|
564
|
+
|
565
|
+
while (i < diffstr.length) {
|
566
|
+
var line = diffstr[i]; // File header found, end parsing diff metadata
|
567
|
+
|
568
|
+
if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
|
569
|
+
break;
|
570
|
+
} // Diff index
|
571
|
+
|
572
|
+
|
573
|
+
var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
|
574
|
+
|
575
|
+
if (header) {
|
576
|
+
index.index = header[1];
|
577
|
+
}
|
578
|
+
|
579
|
+
i++;
|
580
|
+
} // Parse file headers if they are defined. Unified diff requires them, but
|
581
|
+
// there's no technical issues to have an isolated hunk without file header
|
582
|
+
|
583
|
+
|
584
|
+
parseFileHeader(index);
|
585
|
+
parseFileHeader(index); // Parse hunks
|
586
|
+
|
587
|
+
index.hunks = [];
|
588
|
+
|
589
|
+
while (i < diffstr.length) {
|
590
|
+
var _line = diffstr[i];
|
591
|
+
|
592
|
+
if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) {
|
593
|
+
break;
|
594
|
+
} else if (/^@@/.test(_line)) {
|
595
|
+
index.hunks.push(parseHunk());
|
596
|
+
} else if (_line && options.strict) {
|
597
|
+
// Ignore unexpected content unless in strict mode
|
598
|
+
throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));
|
599
|
+
} else {
|
600
|
+
i++;
|
601
|
+
}
|
602
|
+
}
|
603
|
+
} // Parses the --- and +++ headers, if none are found, no lines
|
604
|
+
// are consumed.
|
605
|
+
|
606
|
+
|
607
|
+
function parseFileHeader(index) {
|
608
|
+
var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]);
|
609
|
+
|
610
|
+
if (fileHeader) {
|
611
|
+
var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';
|
612
|
+
var data = fileHeader[2].split('\t', 2);
|
613
|
+
var fileName = data[0].replace(/\\\\/g, '\\');
|
614
|
+
|
615
|
+
if (/^".*"$/.test(fileName)) {
|
616
|
+
fileName = fileName.substr(1, fileName.length - 2);
|
617
|
+
}
|
618
|
+
|
619
|
+
index[keyPrefix + 'FileName'] = fileName;
|
620
|
+
index[keyPrefix + 'Header'] = (data[1] || '').trim();
|
621
|
+
i++;
|
622
|
+
}
|
623
|
+
} // Parses a hunk
|
624
|
+
// This assumes that we are at the start of a hunk.
|
625
|
+
|
626
|
+
|
627
|
+
function parseHunk() {
|
628
|
+
var chunkHeaderIndex = i,
|
629
|
+
chunkHeaderLine = diffstr[i++],
|
630
|
+
chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
|
631
|
+
var hunk = {
|
632
|
+
oldStart: +chunkHeader[1],
|
633
|
+
oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],
|
634
|
+
newStart: +chunkHeader[3],
|
635
|
+
newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],
|
636
|
+
lines: [],
|
637
|
+
linedelimiters: []
|
638
|
+
}; // Unified Diff Format quirk: If the chunk size is 0,
|
639
|
+
// the first number is one lower than one would expect.
|
640
|
+
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
641
|
+
|
642
|
+
if (hunk.oldLines === 0) {
|
643
|
+
hunk.oldStart += 1;
|
644
|
+
}
|
645
|
+
|
646
|
+
if (hunk.newLines === 0) {
|
647
|
+
hunk.newStart += 1;
|
648
|
+
}
|
649
|
+
|
650
|
+
var addCount = 0,
|
651
|
+
removeCount = 0;
|
652
|
+
|
653
|
+
for (; i < diffstr.length; i++) {
|
654
|
+
// Lines starting with '---' could be mistaken for the "remove line" operation
|
655
|
+
// But they could be the header for the next file. Therefore prune such cases out.
|
656
|
+
if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) {
|
657
|
+
break;
|
658
|
+
}
|
659
|
+
|
660
|
+
var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];
|
661
|
+
|
662
|
+
if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
|
663
|
+
hunk.lines.push(diffstr[i]);
|
664
|
+
hunk.linedelimiters.push(delimiters[i] || '\n');
|
665
|
+
|
666
|
+
if (operation === '+') {
|
667
|
+
addCount++;
|
668
|
+
} else if (operation === '-') {
|
669
|
+
removeCount++;
|
670
|
+
} else if (operation === ' ') {
|
671
|
+
addCount++;
|
672
|
+
removeCount++;
|
673
|
+
}
|
674
|
+
} else {
|
675
|
+
break;
|
676
|
+
}
|
677
|
+
} // Handle the empty block count case
|
678
|
+
|
679
|
+
|
680
|
+
if (!addCount && hunk.newLines === 1) {
|
681
|
+
hunk.newLines = 0;
|
682
|
+
}
|
683
|
+
|
684
|
+
if (!removeCount && hunk.oldLines === 1) {
|
685
|
+
hunk.oldLines = 0;
|
686
|
+
} // Perform optional sanity checking
|
687
|
+
|
688
|
+
|
689
|
+
if (options.strict) {
|
690
|
+
if (addCount !== hunk.newLines) {
|
691
|
+
throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
692
|
+
}
|
693
|
+
|
694
|
+
if (removeCount !== hunk.oldLines) {
|
695
|
+
throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
696
|
+
}
|
697
|
+
}
|
698
|
+
|
699
|
+
return hunk;
|
700
|
+
}
|
701
|
+
|
702
|
+
while (i < diffstr.length) {
|
703
|
+
parseIndex();
|
704
|
+
}
|
705
|
+
|
706
|
+
return list;
|
707
|
+
}
|
708
|
+
|
709
|
+
// Iterator that traverses in the range of [min, max], stepping
|
710
|
+
// by distance from a given start position. I.e. for [0, 4], with
|
711
|
+
// start of 2, this will iterate 2, 3, 1, 4, 0.
|
712
|
+
function distanceIterator (start, minLine, maxLine) {
|
713
|
+
var wantForward = true,
|
714
|
+
backwardExhausted = false,
|
715
|
+
forwardExhausted = false,
|
716
|
+
localOffset = 1;
|
717
|
+
return function iterator() {
|
718
|
+
if (wantForward && !forwardExhausted) {
|
719
|
+
if (backwardExhausted) {
|
720
|
+
localOffset++;
|
721
|
+
} else {
|
722
|
+
wantForward = false;
|
723
|
+
} // Check if trying to fit beyond text length, and if not, check it fits
|
724
|
+
// after offset location (or desired location on first iteration)
|
725
|
+
|
726
|
+
|
727
|
+
if (start + localOffset <= maxLine) {
|
728
|
+
return localOffset;
|
729
|
+
}
|
730
|
+
|
731
|
+
forwardExhausted = true;
|
732
|
+
}
|
733
|
+
|
734
|
+
if (!backwardExhausted) {
|
735
|
+
if (!forwardExhausted) {
|
736
|
+
wantForward = true;
|
737
|
+
} // Check if trying to fit before text beginning, and if not, check it fits
|
738
|
+
// before offset location
|
739
|
+
|
740
|
+
|
741
|
+
if (minLine <= start - localOffset) {
|
742
|
+
return -localOffset++;
|
743
|
+
}
|
744
|
+
|
745
|
+
backwardExhausted = true;
|
746
|
+
return iterator();
|
747
|
+
} // We tried to fit hunk before text beginning and beyond text length, then
|
748
|
+
// hunk can't fit on the text. Return undefined
|
749
|
+
|
750
|
+
};
|
751
|
+
}
|
752
|
+
|
753
|
+
function applyPatch(source, uniDiff) {
|
754
|
+
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
755
|
+
|
756
|
+
if (typeof uniDiff === 'string') {
|
757
|
+
uniDiff = parsePatch(uniDiff);
|
758
|
+
}
|
759
|
+
|
760
|
+
if (Array.isArray(uniDiff)) {
|
761
|
+
if (uniDiff.length > 1) {
|
762
|
+
throw new Error('applyPatch only works with a single input.');
|
763
|
+
}
|
764
|
+
|
765
|
+
uniDiff = uniDiff[0];
|
766
|
+
} // Apply the diff to the input
|
767
|
+
|
768
|
+
|
769
|
+
var lines = source.split(/\r\n|[\n\v\f\r\x85]/),
|
770
|
+
delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [],
|
771
|
+
hunks = uniDiff.hunks,
|
772
|
+
compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) {
|
773
|
+
return line === patchContent;
|
774
|
+
},
|
775
|
+
errorCount = 0,
|
776
|
+
fuzzFactor = options.fuzzFactor || 0,
|
777
|
+
minLine = 0,
|
778
|
+
offset = 0,
|
779
|
+
removeEOFNL,
|
780
|
+
addEOFNL;
|
781
|
+
/**
|
782
|
+
* Checks if the hunk exactly fits on the provided location
|
783
|
+
*/
|
784
|
+
|
785
|
+
|
786
|
+
function hunkFits(hunk, toPos) {
|
787
|
+
for (var j = 0; j < hunk.lines.length; j++) {
|
788
|
+
var line = hunk.lines[j],
|
789
|
+
operation = line.length > 0 ? line[0] : ' ',
|
790
|
+
content = line.length > 0 ? line.substr(1) : line;
|
791
|
+
|
792
|
+
if (operation === ' ' || operation === '-') {
|
793
|
+
// Context sanity check
|
794
|
+
if (!compareLine(toPos + 1, lines[toPos], operation, content)) {
|
795
|
+
errorCount++;
|
796
|
+
|
797
|
+
if (errorCount > fuzzFactor) {
|
798
|
+
return false;
|
799
|
+
}
|
800
|
+
}
|
801
|
+
|
802
|
+
toPos++;
|
803
|
+
}
|
804
|
+
}
|
805
|
+
|
806
|
+
return true;
|
807
|
+
} // Search best fit offsets for each hunk based on the previous ones
|
808
|
+
|
809
|
+
|
810
|
+
for (var i = 0; i < hunks.length; i++) {
|
811
|
+
var hunk = hunks[i],
|
812
|
+
maxLine = lines.length - hunk.oldLines,
|
813
|
+
localOffset = 0,
|
814
|
+
toPos = offset + hunk.oldStart - 1;
|
815
|
+
var iterator = distanceIterator(toPos, minLine, maxLine);
|
816
|
+
|
817
|
+
for (; localOffset !== undefined; localOffset = iterator()) {
|
818
|
+
if (hunkFits(hunk, toPos + localOffset)) {
|
819
|
+
hunk.offset = offset += localOffset;
|
820
|
+
break;
|
821
|
+
}
|
822
|
+
}
|
823
|
+
|
824
|
+
if (localOffset === undefined) {
|
825
|
+
return false;
|
826
|
+
} // Set lower text limit to end of the current hunk, so next ones don't try
|
827
|
+
// to fit over already patched text
|
828
|
+
|
829
|
+
|
830
|
+
minLine = hunk.offset + hunk.oldStart + hunk.oldLines;
|
831
|
+
} // Apply patch hunks
|
832
|
+
|
833
|
+
|
834
|
+
var diffOffset = 0;
|
835
|
+
|
836
|
+
for (var _i = 0; _i < hunks.length; _i++) {
|
837
|
+
var _hunk = hunks[_i],
|
838
|
+
_toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1;
|
839
|
+
|
840
|
+
diffOffset += _hunk.newLines - _hunk.oldLines;
|
841
|
+
|
842
|
+
for (var j = 0; j < _hunk.lines.length; j++) {
|
843
|
+
var line = _hunk.lines[j],
|
844
|
+
operation = line.length > 0 ? line[0] : ' ',
|
845
|
+
content = line.length > 0 ? line.substr(1) : line,
|
846
|
+
delimiter = _hunk.linedelimiters[j];
|
847
|
+
|
848
|
+
if (operation === ' ') {
|
849
|
+
_toPos++;
|
850
|
+
} else if (operation === '-') {
|
851
|
+
lines.splice(_toPos, 1);
|
852
|
+
delimiters.splice(_toPos, 1);
|
853
|
+
/* istanbul ignore else */
|
854
|
+
} else if (operation === '+') {
|
855
|
+
lines.splice(_toPos, 0, content);
|
856
|
+
delimiters.splice(_toPos, 0, delimiter);
|
857
|
+
_toPos++;
|
858
|
+
} else if (operation === '\\') {
|
859
|
+
var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null;
|
860
|
+
|
861
|
+
if (previousOperation === '+') {
|
862
|
+
removeEOFNL = true;
|
863
|
+
} else if (previousOperation === '-') {
|
864
|
+
addEOFNL = true;
|
865
|
+
}
|
866
|
+
}
|
867
|
+
}
|
868
|
+
} // Handle EOFNL insertion/removal
|
869
|
+
|
870
|
+
|
871
|
+
if (removeEOFNL) {
|
872
|
+
while (!lines[lines.length - 1]) {
|
873
|
+
lines.pop();
|
874
|
+
delimiters.pop();
|
875
|
+
}
|
876
|
+
} else if (addEOFNL) {
|
877
|
+
lines.push('');
|
878
|
+
delimiters.push('\n');
|
879
|
+
}
|
880
|
+
|
881
|
+
for (var _k = 0; _k < lines.length - 1; _k++) {
|
882
|
+
lines[_k] = lines[_k] + delimiters[_k];
|
883
|
+
}
|
884
|
+
|
885
|
+
return lines.join('');
|
886
|
+
} // Wrapper that supports multiple file patches via callbacks.
|
887
|
+
|
888
|
+
function applyPatches(uniDiff, options) {
|
889
|
+
if (typeof uniDiff === 'string') {
|
890
|
+
uniDiff = parsePatch(uniDiff);
|
891
|
+
}
|
892
|
+
|
893
|
+
var currentIndex = 0;
|
894
|
+
|
895
|
+
function processIndex() {
|
896
|
+
var index = uniDiff[currentIndex++];
|
897
|
+
|
898
|
+
if (!index) {
|
899
|
+
return options.complete();
|
900
|
+
}
|
901
|
+
|
902
|
+
options.loadFile(index, function (err, data) {
|
903
|
+
if (err) {
|
904
|
+
return options.complete(err);
|
905
|
+
}
|
906
|
+
|
907
|
+
var updatedContent = applyPatch(data, index, options);
|
908
|
+
options.patched(index, updatedContent, function (err) {
|
909
|
+
if (err) {
|
910
|
+
return options.complete(err);
|
911
|
+
}
|
912
|
+
|
913
|
+
processIndex();
|
914
|
+
});
|
915
|
+
});
|
916
|
+
}
|
917
|
+
|
918
|
+
processIndex();
|
919
|
+
}
|
920
|
+
|
921
|
+
function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
922
|
+
if (!options) {
|
923
|
+
options = {};
|
924
|
+
}
|
925
|
+
|
926
|
+
if (typeof options.context === 'undefined') {
|
927
|
+
options.context = 4;
|
928
|
+
}
|
929
|
+
|
930
|
+
var diff = diffLines(oldStr, newStr, options);
|
931
|
+
diff.push({
|
932
|
+
value: '',
|
933
|
+
lines: []
|
934
|
+
}); // Append an empty value to make cleanup easier
|
935
|
+
|
936
|
+
function contextLines(lines) {
|
937
|
+
return lines.map(function (entry) {
|
938
|
+
return ' ' + entry;
|
939
|
+
});
|
940
|
+
}
|
941
|
+
|
942
|
+
var hunks = [];
|
943
|
+
var oldRangeStart = 0,
|
944
|
+
newRangeStart = 0,
|
945
|
+
curRange = [],
|
946
|
+
oldLine = 1,
|
947
|
+
newLine = 1;
|
948
|
+
|
949
|
+
var _loop = function _loop(i) {
|
950
|
+
var current = diff[i],
|
951
|
+
lines = current.lines || current.value.replace(/\n$/, '').split('\n');
|
952
|
+
current.lines = lines;
|
953
|
+
|
954
|
+
if (current.added || current.removed) {
|
955
|
+
var _curRange;
|
956
|
+
|
957
|
+
// If we have previous context, start with that
|
958
|
+
if (!oldRangeStart) {
|
959
|
+
var prev = diff[i - 1];
|
960
|
+
oldRangeStart = oldLine;
|
961
|
+
newRangeStart = newLine;
|
962
|
+
|
963
|
+
if (prev) {
|
964
|
+
curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];
|
965
|
+
oldRangeStart -= curRange.length;
|
966
|
+
newRangeStart -= curRange.length;
|
967
|
+
}
|
968
|
+
} // Output our changes
|
969
|
+
|
970
|
+
|
971
|
+
(_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) {
|
972
|
+
return (current.added ? '+' : '-') + entry;
|
973
|
+
}))); // Track the updated file position
|
974
|
+
|
975
|
+
|
976
|
+
if (current.added) {
|
977
|
+
newLine += lines.length;
|
978
|
+
} else {
|
979
|
+
oldLine += lines.length;
|
980
|
+
}
|
981
|
+
} else {
|
982
|
+
// Identical context lines. Track line changes
|
983
|
+
if (oldRangeStart) {
|
984
|
+
// Close out any changes that have been output (or join overlapping)
|
985
|
+
if (lines.length <= options.context * 2 && i < diff.length - 2) {
|
986
|
+
var _curRange2;
|
987
|
+
|
988
|
+
// Overlapping
|
989
|
+
(_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines)));
|
990
|
+
} else {
|
991
|
+
var _curRange3;
|
992
|
+
|
993
|
+
// end the range and output
|
994
|
+
var contextSize = Math.min(lines.length, options.context);
|
995
|
+
|
996
|
+
(_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize))));
|
997
|
+
|
998
|
+
var hunk = {
|
999
|
+
oldStart: oldRangeStart,
|
1000
|
+
oldLines: oldLine - oldRangeStart + contextSize,
|
1001
|
+
newStart: newRangeStart,
|
1002
|
+
newLines: newLine - newRangeStart + contextSize,
|
1003
|
+
lines: curRange
|
1004
|
+
};
|
1005
|
+
|
1006
|
+
if (i >= diff.length - 2 && lines.length <= options.context) {
|
1007
|
+
// EOF is inside this hunk
|
1008
|
+
var oldEOFNewline = /\n$/.test(oldStr);
|
1009
|
+
var newEOFNewline = /\n$/.test(newStr);
|
1010
|
+
var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines;
|
1011
|
+
|
1012
|
+
if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) {
|
1013
|
+
// special case: old has no eol and no trailing context; no-nl can end up before adds
|
1014
|
+
// however, if the old file is empty, do not output the no-nl line
|
1015
|
+
curRange.splice(hunk.oldLines, 0, '\');
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) {
|
1019
|
+
curRange.push('\');
|
1020
|
+
}
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
hunks.push(hunk);
|
1024
|
+
oldRangeStart = 0;
|
1025
|
+
newRangeStart = 0;
|
1026
|
+
curRange = [];
|
1027
|
+
}
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
oldLine += lines.length;
|
1031
|
+
newLine += lines.length;
|
1032
|
+
}
|
1033
|
+
};
|
1034
|
+
|
1035
|
+
for (var i = 0; i < diff.length; i++) {
|
1036
|
+
_loop(i);
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
return {
|
1040
|
+
oldFileName: oldFileName,
|
1041
|
+
newFileName: newFileName,
|
1042
|
+
oldHeader: oldHeader,
|
1043
|
+
newHeader: newHeader,
|
1044
|
+
hunks: hunks
|
1045
|
+
};
|
1046
|
+
}
|
1047
|
+
function formatPatch(diff) {
|
1048
|
+
var ret = [];
|
1049
|
+
|
1050
|
+
if (diff.oldFileName == diff.newFileName) {
|
1051
|
+
ret.push('Index: ' + diff.oldFileName);
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
ret.push('===================================================================');
|
1055
|
+
ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader));
|
1056
|
+
ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader));
|
1057
|
+
|
1058
|
+
for (var i = 0; i < diff.hunks.length; i++) {
|
1059
|
+
var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0,
|
1060
|
+
// the first number is one lower than one would expect.
|
1061
|
+
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
1062
|
+
|
1063
|
+
if (hunk.oldLines === 0) {
|
1064
|
+
hunk.oldStart -= 1;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
if (hunk.newLines === 0) {
|
1068
|
+
hunk.newStart -= 1;
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@');
|
1072
|
+
ret.push.apply(ret, hunk.lines);
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
return ret.join('\n') + '\n';
|
1076
|
+
}
|
1077
|
+
function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
1078
|
+
return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options));
|
1079
|
+
}
|
1080
|
+
function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {
|
1081
|
+
return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
function arrayEqual(a, b) {
|
1085
|
+
if (a.length !== b.length) {
|
1086
|
+
return false;
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
return arrayStartsWith(a, b);
|
1090
|
+
}
|
1091
|
+
function arrayStartsWith(array, start) {
|
1092
|
+
if (start.length > array.length) {
|
1093
|
+
return false;
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
for (var i = 0; i < start.length; i++) {
|
1097
|
+
if (start[i] !== array[i]) {
|
1098
|
+
return false;
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
return true;
|
1103
|
+
}
|
1104
|
+
|
1105
|
+
function calcLineCount(hunk) {
|
1106
|
+
var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines),
|
1107
|
+
oldLines = _calcOldNewLineCount.oldLines,
|
1108
|
+
newLines = _calcOldNewLineCount.newLines;
|
1109
|
+
|
1110
|
+
if (oldLines !== undefined) {
|
1111
|
+
hunk.oldLines = oldLines;
|
1112
|
+
} else {
|
1113
|
+
delete hunk.oldLines;
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
if (newLines !== undefined) {
|
1117
|
+
hunk.newLines = newLines;
|
1118
|
+
} else {
|
1119
|
+
delete hunk.newLines;
|
1120
|
+
}
|
1121
|
+
}
|
1122
|
+
function merge(mine, theirs, base) {
|
1123
|
+
mine = loadPatch(mine, base);
|
1124
|
+
theirs = loadPatch(theirs, base);
|
1125
|
+
var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning.
|
1126
|
+
// Leaving sanity checks on this to the API consumer that may know more about the
|
1127
|
+
// meaning in their own context.
|
1128
|
+
|
1129
|
+
if (mine.index || theirs.index) {
|
1130
|
+
ret.index = mine.index || theirs.index;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
if (mine.newFileName || theirs.newFileName) {
|
1134
|
+
if (!fileNameChanged(mine)) {
|
1135
|
+
// No header or no change in ours, use theirs (and ours if theirs does not exist)
|
1136
|
+
ret.oldFileName = theirs.oldFileName || mine.oldFileName;
|
1137
|
+
ret.newFileName = theirs.newFileName || mine.newFileName;
|
1138
|
+
ret.oldHeader = theirs.oldHeader || mine.oldHeader;
|
1139
|
+
ret.newHeader = theirs.newHeader || mine.newHeader;
|
1140
|
+
} else if (!fileNameChanged(theirs)) {
|
1141
|
+
// No header or no change in theirs, use ours
|
1142
|
+
ret.oldFileName = mine.oldFileName;
|
1143
|
+
ret.newFileName = mine.newFileName;
|
1144
|
+
ret.oldHeader = mine.oldHeader;
|
1145
|
+
ret.newHeader = mine.newHeader;
|
1146
|
+
} else {
|
1147
|
+
// Both changed... figure it out
|
1148
|
+
ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);
|
1149
|
+
ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);
|
1150
|
+
ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);
|
1151
|
+
ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);
|
1152
|
+
}
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
ret.hunks = [];
|
1156
|
+
var mineIndex = 0,
|
1157
|
+
theirsIndex = 0,
|
1158
|
+
mineOffset = 0,
|
1159
|
+
theirsOffset = 0;
|
1160
|
+
|
1161
|
+
while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {
|
1162
|
+
var mineCurrent = mine.hunks[mineIndex] || {
|
1163
|
+
oldStart: Infinity
|
1164
|
+
},
|
1165
|
+
theirsCurrent = theirs.hunks[theirsIndex] || {
|
1166
|
+
oldStart: Infinity
|
1167
|
+
};
|
1168
|
+
|
1169
|
+
if (hunkBefore(mineCurrent, theirsCurrent)) {
|
1170
|
+
// This patch does not overlap with any of the others, yay.
|
1171
|
+
ret.hunks.push(cloneHunk(mineCurrent, mineOffset));
|
1172
|
+
mineIndex++;
|
1173
|
+
theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;
|
1174
|
+
} else if (hunkBefore(theirsCurrent, mineCurrent)) {
|
1175
|
+
// This patch does not overlap with any of the others, yay.
|
1176
|
+
ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));
|
1177
|
+
theirsIndex++;
|
1178
|
+
mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;
|
1179
|
+
} else {
|
1180
|
+
// Overlap, merge as best we can
|
1181
|
+
var mergedHunk = {
|
1182
|
+
oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),
|
1183
|
+
oldLines: 0,
|
1184
|
+
newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),
|
1185
|
+
newLines: 0,
|
1186
|
+
lines: []
|
1187
|
+
};
|
1188
|
+
mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);
|
1189
|
+
theirsIndex++;
|
1190
|
+
mineIndex++;
|
1191
|
+
ret.hunks.push(mergedHunk);
|
1192
|
+
}
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
return ret;
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
function loadPatch(param, base) {
|
1199
|
+
if (typeof param === 'string') {
|
1200
|
+
if (/^@@/m.test(param) || /^Index:/m.test(param)) {
|
1201
|
+
return parsePatch(param)[0];
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
if (!base) {
|
1205
|
+
throw new Error('Must provide a base reference or pass in a patch');
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
return structuredPatch(undefined, undefined, base, param);
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
return param;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
function fileNameChanged(patch) {
|
1215
|
+
return patch.newFileName && patch.newFileName !== patch.oldFileName;
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
function selectField(index, mine, theirs) {
|
1219
|
+
if (mine === theirs) {
|
1220
|
+
return mine;
|
1221
|
+
} else {
|
1222
|
+
index.conflict = true;
|
1223
|
+
return {
|
1224
|
+
mine: mine,
|
1225
|
+
theirs: theirs
|
1226
|
+
};
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
function hunkBefore(test, check) {
|
1231
|
+
return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
function cloneHunk(hunk, offset) {
|
1235
|
+
return {
|
1236
|
+
oldStart: hunk.oldStart,
|
1237
|
+
oldLines: hunk.oldLines,
|
1238
|
+
newStart: hunk.newStart + offset,
|
1239
|
+
newLines: hunk.newLines,
|
1240
|
+
lines: hunk.lines
|
1241
|
+
};
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {
|
1245
|
+
// This will generally result in a conflicted hunk, but there are cases where the context
|
1246
|
+
// is the only overlap where we can successfully merge the content here.
|
1247
|
+
var mine = {
|
1248
|
+
offset: mineOffset,
|
1249
|
+
lines: mineLines,
|
1250
|
+
index: 0
|
1251
|
+
},
|
1252
|
+
their = {
|
1253
|
+
offset: theirOffset,
|
1254
|
+
lines: theirLines,
|
1255
|
+
index: 0
|
1256
|
+
}; // Handle any leading content
|
1257
|
+
|
1258
|
+
insertLeading(hunk, mine, their);
|
1259
|
+
insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each.
|
1260
|
+
|
1261
|
+
while (mine.index < mine.lines.length && their.index < their.lines.length) {
|
1262
|
+
var mineCurrent = mine.lines[mine.index],
|
1263
|
+
theirCurrent = their.lines[their.index];
|
1264
|
+
|
1265
|
+
if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {
|
1266
|
+
// Both modified ...
|
1267
|
+
mutualChange(hunk, mine, their);
|
1268
|
+
} else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {
|
1269
|
+
var _hunk$lines;
|
1270
|
+
|
1271
|
+
// Mine inserted
|
1272
|
+
(_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine)));
|
1273
|
+
} else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {
|
1274
|
+
var _hunk$lines2;
|
1275
|
+
|
1276
|
+
// Theirs inserted
|
1277
|
+
(_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their)));
|
1278
|
+
} else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {
|
1279
|
+
// Mine removed or edited
|
1280
|
+
removal(hunk, mine, their);
|
1281
|
+
} else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {
|
1282
|
+
// Their removed or edited
|
1283
|
+
removal(hunk, their, mine, true);
|
1284
|
+
} else if (mineCurrent === theirCurrent) {
|
1285
|
+
// Context identity
|
1286
|
+
hunk.lines.push(mineCurrent);
|
1287
|
+
mine.index++;
|
1288
|
+
their.index++;
|
1289
|
+
} else {
|
1290
|
+
// Context mismatch
|
1291
|
+
conflict(hunk, collectChange(mine), collectChange(their));
|
1292
|
+
}
|
1293
|
+
} // Now push anything that may be remaining
|
1294
|
+
|
1295
|
+
|
1296
|
+
insertTrailing(hunk, mine);
|
1297
|
+
insertTrailing(hunk, their);
|
1298
|
+
calcLineCount(hunk);
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
function mutualChange(hunk, mine, their) {
|
1302
|
+
var myChanges = collectChange(mine),
|
1303
|
+
theirChanges = collectChange(their);
|
1304
|
+
|
1305
|
+
if (allRemoves(myChanges) && allRemoves(theirChanges)) {
|
1306
|
+
// Special case for remove changes that are supersets of one another
|
1307
|
+
if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {
|
1308
|
+
var _hunk$lines3;
|
1309
|
+
|
1310
|
+
(_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges));
|
1311
|
+
|
1312
|
+
return;
|
1313
|
+
} else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {
|
1314
|
+
var _hunk$lines4;
|
1315
|
+
|
1316
|
+
(_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges));
|
1317
|
+
|
1318
|
+
return;
|
1319
|
+
}
|
1320
|
+
} else if (arrayEqual(myChanges, theirChanges)) {
|
1321
|
+
var _hunk$lines5;
|
1322
|
+
|
1323
|
+
(_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges));
|
1324
|
+
|
1325
|
+
return;
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
conflict(hunk, myChanges, theirChanges);
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
function removal(hunk, mine, their, swap) {
|
1332
|
+
var myChanges = collectChange(mine),
|
1333
|
+
theirChanges = collectContext(their, myChanges);
|
1334
|
+
|
1335
|
+
if (theirChanges.merged) {
|
1336
|
+
var _hunk$lines6;
|
1337
|
+
|
1338
|
+
(_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged));
|
1339
|
+
} else {
|
1340
|
+
conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);
|
1341
|
+
}
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
function conflict(hunk, mine, their) {
|
1345
|
+
hunk.conflict = true;
|
1346
|
+
hunk.lines.push({
|
1347
|
+
conflict: true,
|
1348
|
+
mine: mine,
|
1349
|
+
theirs: their
|
1350
|
+
});
|
1351
|
+
}
|
1352
|
+
|
1353
|
+
function insertLeading(hunk, insert, their) {
|
1354
|
+
while (insert.offset < their.offset && insert.index < insert.lines.length) {
|
1355
|
+
var line = insert.lines[insert.index++];
|
1356
|
+
hunk.lines.push(line);
|
1357
|
+
insert.offset++;
|
1358
|
+
}
|
1359
|
+
}
|
1360
|
+
|
1361
|
+
function insertTrailing(hunk, insert) {
|
1362
|
+
while (insert.index < insert.lines.length) {
|
1363
|
+
var line = insert.lines[insert.index++];
|
1364
|
+
hunk.lines.push(line);
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
|
1368
|
+
function collectChange(state) {
|
1369
|
+
var ret = [],
|
1370
|
+
operation = state.lines[state.index][0];
|
1371
|
+
|
1372
|
+
while (state.index < state.lines.length) {
|
1373
|
+
var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change.
|
1374
|
+
|
1375
|
+
if (operation === '-' && line[0] === '+') {
|
1376
|
+
operation = '+';
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
if (operation === line[0]) {
|
1380
|
+
ret.push(line);
|
1381
|
+
state.index++;
|
1382
|
+
} else {
|
1383
|
+
break;
|
1384
|
+
}
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
return ret;
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
function collectContext(state, matchChanges) {
|
1391
|
+
var changes = [],
|
1392
|
+
merged = [],
|
1393
|
+
matchIndex = 0,
|
1394
|
+
contextChanges = false,
|
1395
|
+
conflicted = false;
|
1396
|
+
|
1397
|
+
while (matchIndex < matchChanges.length && state.index < state.lines.length) {
|
1398
|
+
var change = state.lines[state.index],
|
1399
|
+
match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
|
1400
|
+
|
1401
|
+
if (match[0] === '+') {
|
1402
|
+
break;
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
contextChanges = contextChanges || change[0] !== ' ';
|
1406
|
+
merged.push(match);
|
1407
|
+
matchIndex++; // Consume any additions in the other block as a conflict to attempt
|
1408
|
+
// to pull in the remaining context after this
|
1409
|
+
|
1410
|
+
if (change[0] === '+') {
|
1411
|
+
conflicted = true;
|
1412
|
+
|
1413
|
+
while (change[0] === '+') {
|
1414
|
+
changes.push(change);
|
1415
|
+
change = state.lines[++state.index];
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
if (match.substr(1) === change.substr(1)) {
|
1420
|
+
changes.push(change);
|
1421
|
+
state.index++;
|
1422
|
+
} else {
|
1423
|
+
conflicted = true;
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
|
1428
|
+
conflicted = true;
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
if (conflicted) {
|
1432
|
+
return changes;
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
while (matchIndex < matchChanges.length) {
|
1436
|
+
merged.push(matchChanges[matchIndex++]);
|
1437
|
+
}
|
1438
|
+
|
1439
|
+
return {
|
1440
|
+
merged: merged,
|
1441
|
+
changes: changes
|
1442
|
+
};
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
function allRemoves(changes) {
|
1446
|
+
return changes.reduce(function (prev, change) {
|
1447
|
+
return prev && change[0] === '-';
|
1448
|
+
}, true);
|
1449
|
+
}
|
1450
|
+
|
1451
|
+
function skipRemoveSuperset(state, removeChanges, delta) {
|
1452
|
+
for (var i = 0; i < delta; i++) {
|
1453
|
+
var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
|
1454
|
+
|
1455
|
+
if (state.lines[state.index + i] !== ' ' + changeContent) {
|
1456
|
+
return false;
|
1457
|
+
}
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
state.index += delta;
|
1461
|
+
return true;
|
1462
|
+
}
|
1463
|
+
|
1464
|
+
function calcOldNewLineCount(lines) {
|
1465
|
+
var oldLines = 0;
|
1466
|
+
var newLines = 0;
|
1467
|
+
lines.forEach(function (line) {
|
1468
|
+
if (typeof line !== 'string') {
|
1469
|
+
var myCount = calcOldNewLineCount(line.mine);
|
1470
|
+
var theirCount = calcOldNewLineCount(line.theirs);
|
1471
|
+
|
1472
|
+
if (oldLines !== undefined) {
|
1473
|
+
if (myCount.oldLines === theirCount.oldLines) {
|
1474
|
+
oldLines += myCount.oldLines;
|
1475
|
+
} else {
|
1476
|
+
oldLines = undefined;
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
if (newLines !== undefined) {
|
1481
|
+
if (myCount.newLines === theirCount.newLines) {
|
1482
|
+
newLines += myCount.newLines;
|
1483
|
+
} else {
|
1484
|
+
newLines = undefined;
|
1485
|
+
}
|
1486
|
+
}
|
1487
|
+
} else {
|
1488
|
+
if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {
|
1489
|
+
newLines++;
|
1490
|
+
}
|
1491
|
+
|
1492
|
+
if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {
|
1493
|
+
oldLines++;
|
1494
|
+
}
|
1495
|
+
}
|
1496
|
+
});
|
1497
|
+
return {
|
1498
|
+
oldLines: oldLines,
|
1499
|
+
newLines: newLines
|
1500
|
+
};
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
// See: http://code.google.com/p/google-diff-match-patch/wiki/API
|
1504
|
+
function convertChangesToDMP(changes) {
|
1505
|
+
var ret = [],
|
1506
|
+
change,
|
1507
|
+
operation;
|
1508
|
+
|
1509
|
+
for (var i = 0; i < changes.length; i++) {
|
1510
|
+
change = changes[i];
|
1511
|
+
|
1512
|
+
if (change.added) {
|
1513
|
+
operation = 1;
|
1514
|
+
} else if (change.removed) {
|
1515
|
+
operation = -1;
|
1516
|
+
} else {
|
1517
|
+
operation = 0;
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
ret.push([operation, change.value]);
|
1521
|
+
}
|
1522
|
+
|
1523
|
+
return ret;
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
function convertChangesToXML(changes) {
|
1527
|
+
var ret = [];
|
1528
|
+
|
1529
|
+
for (var i = 0; i < changes.length; i++) {
|
1530
|
+
var change = changes[i];
|
1531
|
+
|
1532
|
+
if (change.added) {
|
1533
|
+
ret.push('<ins>');
|
1534
|
+
} else if (change.removed) {
|
1535
|
+
ret.push('<del>');
|
1536
|
+
}
|
1537
|
+
|
1538
|
+
ret.push(escapeHTML(change.value));
|
1539
|
+
|
1540
|
+
if (change.added) {
|
1541
|
+
ret.push('</ins>');
|
1542
|
+
} else if (change.removed) {
|
1543
|
+
ret.push('</del>');
|
1544
|
+
}
|
1545
|
+
}
|
1546
|
+
|
1547
|
+
return ret.join('');
|
1548
|
+
}
|
1549
|
+
|
1550
|
+
function escapeHTML(s) {
|
1551
|
+
var n = s;
|
1552
|
+
n = n.replace(/&/g, '&');
|
1553
|
+
n = n.replace(/</g, '<');
|
1554
|
+
n = n.replace(/>/g, '>');
|
1555
|
+
n = n.replace(/"/g, '"');
|
1556
|
+
return n;
|
1557
|
+
}
|
1558
|
+
|
1559
|
+
exports.Diff = Diff;
|
1560
|
+
exports.applyPatch = applyPatch;
|
1561
|
+
exports.applyPatches = applyPatches;
|
1562
|
+
exports.canonicalize = canonicalize;
|
1563
|
+
exports.convertChangesToDMP = convertChangesToDMP;
|
1564
|
+
exports.convertChangesToXML = convertChangesToXML;
|
1565
|
+
exports.createPatch = createPatch;
|
1566
|
+
exports.createTwoFilesPatch = createTwoFilesPatch;
|
1567
|
+
exports.diffArrays = diffArrays;
|
1568
|
+
exports.diffChars = diffChars;
|
1569
|
+
exports.diffCss = diffCss;
|
1570
|
+
exports.diffJson = diffJson;
|
1571
|
+
exports.diffLines = diffLines;
|
1572
|
+
exports.diffSentences = diffSentences;
|
1573
|
+
exports.diffTrimmedLines = diffTrimmedLines;
|
1574
|
+
exports.diffWords = diffWords;
|
1575
|
+
exports.diffWordsWithSpace = diffWordsWithSpace;
|
1576
|
+
exports.merge = merge;
|
1577
|
+
exports.parsePatch = parsePatch;
|
1578
|
+
exports.structuredPatch = structuredPatch;
|
1579
|
+
|
1580
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
1581
|
+
|
1582
|
+
})));
|