appmap 0.72.2 → 0.72.3
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 -2
- data/CHANGELOG.md +7 -0
- data/Rakefile +6 -17
- data/appmap.gemspec +0 -6
- data/lib/appmap/command/index.rb +1 -1
- data/lib/appmap/command/inspect.rb +1 -1
- data/lib/appmap/node_cli.rb +2 -2
- data/lib/appmap/version.rb +1 -1
- data/package.json +1 -1
- data/release.sh +0 -1
- data/spec/fixtures/depends/revoke_api_key.appmap.json +3 -3
- data/spec/fixtures/depends/user_page_scenario.appmap.json +2 -2
- data/spec/fixtures/rails6_users_app/Dockerfile +8 -1
- data/spec/fixtures/rails6_users_app/package.json +8 -0
- data/spec/fixtures/rails6_users_app/yarn.lock +2020 -0
- data/spec/swagger/swagger_spec.rb +66 -13
- data/yarn.lock +1254 -86
- metadata +4 -3070
- data/node_modules/@appland/appmap/CHANGELOG.md +0 -136
- data/node_modules/@appland/appmap/package.json +0 -50
- data/node_modules/@appland/appmap/src/agentInstaller/buildToolInstallerBase.js +0 -28
- data/node_modules/@appland/appmap/src/agentInstaller/commandStruct.js +0 -17
- data/node_modules/@appland/appmap/src/agentInstaller/installAgentStep.js +0 -30
- data/node_modules/@appland/appmap/src/agentInstaller/javaAgentInstaller.js +0 -321
- data/node_modules/@appland/appmap/src/agentInstaller/pythonAgentInstaller.js +0 -174
- data/node_modules/@appland/appmap/src/agentInstaller/rubyAgentInstaller.js +0 -129
- data/node_modules/@appland/appmap/src/agentInstaller/types.d.ts +0 -76
- data/node_modules/@appland/appmap/src/appMapCatalog.js +0 -39
- data/node_modules/@appland/appmap/src/appland/getAppMap.js +0 -55
- data/node_modules/@appland/appmap/src/appland/listAppMaps.js +0 -58
- data/node_modules/@appland/appmap/src/appland/settings.js +0 -62
- data/node_modules/@appland/appmap/src/appland/types.d.ts +0 -16
- data/node_modules/@appland/appmap/src/cli.js +0 -729
- data/node_modules/@appland/appmap/src/database.js +0 -197
- data/node_modules/@appland/appmap/src/depends.js +0 -157
- data/node_modules/@appland/appmap/src/errors/abortError.js +0 -5
- data/node_modules/@appland/appmap/src/errors/validationError.js +0 -5
- data/node_modules/@appland/appmap/src/fingerprint/algorithms.js +0 -71
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/base.js +0 -58
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classDependencies.js +0 -36
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/classes.js +0 -14
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/eventTree.js +0 -19
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpClientRequests.js +0 -18
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/httpServerRequests.js +0 -18
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/info.js +0 -55
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/labels.js +0 -10
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packageDependencies.js +0 -36
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/packages.js +0 -14
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlNormalized.js +0 -19
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/sqlTables.js +0 -24
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/trace.js +0 -57
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/unique.js +0 -8
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize/update.js +0 -85
- data/node_modules/@appland/appmap/src/fingerprint/canonicalize.js +0 -70
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintDirectoryCommand.js +0 -30
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintQueue.js +0 -30
- data/node_modules/@appland/appmap/src/fingerprint/fingerprintWatchCommand.js +0 -64
- data/node_modules/@appland/appmap/src/fingerprint/fingerprinter.js +0 -186
- data/node_modules/@appland/appmap/src/fingerprint/index.js +0 -24
- data/node_modules/@appland/appmap/src/functionStats.js +0 -168
- data/node_modules/@appland/appmap/src/inspect/fields.js +0 -66
- data/node_modules/@appland/appmap/src/inspect/filter.js +0 -105
- data/node_modules/@appland/appmap/src/inspect/home.js +0 -64
- data/node_modules/@appland/appmap/src/inspect/print.js +0 -231
- data/node_modules/@appland/appmap/src/inspect/reset.js +0 -10
- data/node_modules/@appland/appmap/src/inspect/types.d.ts +0 -11
- data/node_modules/@appland/appmap/src/inspect/undoFilter.js +0 -10
- data/node_modules/@appland/appmap/src/inspect.js +0 -7
- data/node_modules/@appland/appmap/src/inventoryCommand.js +0 -59
- data/node_modules/@appland/appmap/src/search/codeObjectMatcher.js +0 -75
- data/node_modules/@appland/appmap/src/search/constants.js +0 -5
- data/node_modules/@appland/appmap/src/search/findCodeObjects.js +0 -293
- data/node_modules/@appland/appmap/src/search/findEvents.js +0 -184
- data/node_modules/@appland/appmap/src/search/matchFilter.js +0 -65
- data/node_modules/@appland/appmap/src/search/matchSpec.js +0 -198
- data/node_modules/@appland/appmap/src/search/trigram.js +0 -107
- data/node_modules/@appland/appmap/src/search/types.d.ts +0 -107
- data/node_modules/@appland/appmap/src/search/utils.js +0 -4
- data/node_modules/@appland/appmap/src/swagger/README.md +0 -75
- data/node_modules/@appland/appmap/src/swagger/command.js +0 -42
- data/node_modules/@appland/appmap/src/swagger/method.js +0 -173
- data/node_modules/@appland/appmap/src/swagger/model.js +0 -54
- data/node_modules/@appland/appmap/src/swagger/path.js +0 -38
- data/node_modules/@appland/appmap/src/swagger/response.js +0 -34
- data/node_modules/@appland/appmap/src/swagger/schema.js +0 -38
- data/node_modules/@appland/appmap/src/swagger/securitySchemes.js +0 -60
- data/node_modules/@appland/appmap/src/swagger/settings.js +0 -9
- data/node_modules/@appland/appmap/src/swagger/util.js +0 -79
- data/node_modules/@appland/appmap/src/utils.js +0 -165
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.js +0 -0
- data/node_modules/@appland/appmap/tests/unit/agentInstall/python.spec.js +0 -109
- data/node_modules/@appland/appmap/tests/unit/depends.spec.js +0 -63
- data/node_modules/@appland/appmap/tests/unit/fingerprint/canonicalize.spec.js +0 -42
- data/node_modules/@appland/appmap/tests/unit/fingerprint/sql.spec.js +0 -40
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/pip/requirements.txt +0 -2
- data/node_modules/@appland/appmap/tests/unit/fixtures/python/poetry/poetry.lock +0 -2
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/controllers/organizations_controller.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/configuration.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/show.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/app/models/user.rb +0 -1
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.info.json +0 -170
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.trace.json +0 -213
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/canonicalize/revoke_api_key.update.json +0 -54
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/revoke_api_key.appmap.json +0 -884
- data/node_modules/@appland/appmap/tests/unit/fixtures/ruby/user_page_scenario.appmap.json +0 -1750
- data/node_modules/@appland/appmap/tests/unit/inspect.spec.js +0 -105
- data/node_modules/@appland/models/CHANGELOG.md +0 -90
- data/node_modules/@appland/models/README.md +0 -8
- data/node_modules/@appland/models/dist/index.cjs +0 -4250
- data/node_modules/@appland/models/dist/index.js +0 -4193
- data/node_modules/@appland/models/package.json +0 -50
- data/node_modules/@tootallnate/once/dist/index.d.ts +0 -14
- data/node_modules/@tootallnate/once/dist/index.js +0 -39
- data/node_modules/@tootallnate/once/dist/index.js.map +0 -1
- data/node_modules/@tootallnate/once/package.json +0 -45
- data/node_modules/abab/CHANGELOG.md +0 -45
- data/node_modules/abab/LICENSE.md +0 -13
- data/node_modules/abab/README.md +0 -51
- data/node_modules/abab/index.d.ts +0 -2
- data/node_modules/abab/index.js +0 -9
- data/node_modules/abab/lib/atob.js +0 -97
- data/node_modules/abab/lib/btoa.js +0 -58
- data/node_modules/abab/package.json +0 -42
- data/node_modules/acorn/CHANGELOG.md +0 -744
- data/node_modules/acorn/LICENSE +0 -21
- data/node_modules/acorn/README.md +0 -280
- data/node_modules/acorn/bin/acorn +0 -4
- data/node_modules/acorn/dist/acorn.d.ts +0 -211
- data/node_modules/acorn/dist/acorn.js +0 -5525
- data/node_modules/acorn/dist/acorn.mjs +0 -5494
- data/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- data/node_modules/acorn/dist/bin.js +0 -65
- data/node_modules/acorn/package.json +0 -46
- data/node_modules/acorn-globals/LICENSE +0 -19
- data/node_modules/acorn-globals/README.md +0 -81
- data/node_modules/acorn-globals/index.js +0 -179
- data/node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md +0 -620
- data/node_modules/acorn-globals/node_modules/acorn/LICENSE +0 -21
- data/node_modules/acorn-globals/node_modules/acorn/README.md +0 -269
- data/node_modules/acorn-globals/node_modules/acorn/bin/acorn +0 -4
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts +0 -209
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js +0 -5186
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map +0 -1
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs +0 -5155
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
- data/node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map +0 -1
- data/node_modules/acorn-globals/node_modules/acorn/dist/bin.js +0 -64
- data/node_modules/acorn-globals/node_modules/acorn/package.json +0 -35
- data/node_modules/acorn-globals/package.json +0 -35
- data/node_modules/acorn-walk/CHANGELOG.md +0 -131
- data/node_modules/acorn-walk/LICENSE +0 -19
- data/node_modules/acorn-walk/README.md +0 -126
- data/node_modules/acorn-walk/dist/walk.d.ts +0 -112
- data/node_modules/acorn-walk/dist/walk.js +0 -463
- data/node_modules/acorn-walk/dist/walk.js.map +0 -1
- data/node_modules/acorn-walk/dist/walk.mjs +0 -443
- data/node_modules/acorn-walk/dist/walk.mjs.map +0 -1
- data/node_modules/acorn-walk/package.json +0 -34
- data/node_modules/agent-base/README.md +0 -145
- data/node_modules/agent-base/dist/src/index.d.ts +0 -78
- data/node_modules/agent-base/dist/src/index.js +0 -203
- data/node_modules/agent-base/dist/src/index.js.map +0 -1
- data/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- data/node_modules/agent-base/dist/src/promisify.js +0 -18
- data/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- data/node_modules/agent-base/package.json +0 -64
- data/node_modules/agent-base/src/index.ts +0 -345
- data/node_modules/agent-base/src/promisify.ts +0 -33
- data/node_modules/ansi-regex/index.d.ts +0 -37
- data/node_modules/ansi-regex/index.js +0 -10
- data/node_modules/ansi-regex/license +0 -9
- data/node_modules/ansi-regex/package.json +0 -55
- data/node_modules/ansi-regex/readme.md +0 -78
- data/node_modules/ansi-styles/index.d.ts +0 -345
- data/node_modules/ansi-styles/index.js +0 -163
- data/node_modules/ansi-styles/license +0 -9
- data/node_modules/ansi-styles/package.json +0 -56
- data/node_modules/ansi-styles/readme.md +0 -152
- data/node_modules/anymatch/LICENSE +0 -15
- data/node_modules/anymatch/README.md +0 -87
- data/node_modules/anymatch/index.d.ts +0 -19
- data/node_modules/anymatch/index.js +0 -104
- data/node_modules/anymatch/package.json +0 -48
- data/node_modules/argparse/CHANGELOG.md +0 -185
- data/node_modules/argparse/LICENSE +0 -21
- data/node_modules/argparse/README.md +0 -257
- data/node_modules/argparse/index.js +0 -3
- data/node_modules/argparse/lib/action/append/constant.js +0 -47
- data/node_modules/argparse/lib/action/append.js +0 -53
- data/node_modules/argparse/lib/action/count.js +0 -40
- data/node_modules/argparse/lib/action/help.js +0 -47
- data/node_modules/argparse/lib/action/store/constant.js +0 -43
- data/node_modules/argparse/lib/action/store/false.js +0 -27
- data/node_modules/argparse/lib/action/store/true.js +0 -26
- data/node_modules/argparse/lib/action/store.js +0 -50
- data/node_modules/argparse/lib/action/subparsers.js +0 -149
- data/node_modules/argparse/lib/action/version.js +0 -47
- data/node_modules/argparse/lib/action.js +0 -146
- data/node_modules/argparse/lib/action_container.js +0 -482
- data/node_modules/argparse/lib/argparse.js +0 -14
- data/node_modules/argparse/lib/argument/error.js +0 -50
- data/node_modules/argparse/lib/argument/exclusive.js +0 -54
- data/node_modules/argparse/lib/argument/group.js +0 -75
- data/node_modules/argparse/lib/argument_parser.js +0 -1161
- data/node_modules/argparse/lib/const.js +0 -21
- data/node_modules/argparse/lib/help/added_formatters.js +0 -87
- data/node_modules/argparse/lib/help/formatter.js +0 -795
- data/node_modules/argparse/lib/namespace.js +0 -76
- data/node_modules/argparse/lib/utils.js +0 -57
- data/node_modules/argparse/package.json +0 -34
- data/node_modules/async/CHANGELOG.md +0 -331
- data/node_modules/async/LICENSE +0 -19
- data/node_modules/async/README.md +0 -60
- data/node_modules/async/all.js +0 -54
- data/node_modules/async/allLimit.js +0 -46
- data/node_modules/async/allSeries.js +0 -45
- data/node_modules/async/any.js +0 -56
- data/node_modules/async/anyLimit.js +0 -47
- data/node_modules/async/anySeries.js +0 -46
- data/node_modules/async/apply.js +0 -55
- data/node_modules/async/applyEach.js +0 -57
- data/node_modules/async/applyEachSeries.js +0 -37
- data/node_modules/async/asyncify.js +0 -118
- data/node_modules/async/auto.js +0 -267
- data/node_modules/async/autoInject.js +0 -156
- data/node_modules/async/bower.json +0 -17
- data/node_modules/async/cargo.js +0 -63
- data/node_modules/async/cargoQueue.js +0 -71
- data/node_modules/async/compose.js +0 -55
- data/node_modules/async/concat.js +0 -47
- data/node_modules/async/concatLimit.js +0 -60
- data/node_modules/async/concatSeries.js +0 -41
- data/node_modules/async/constant.js +0 -55
- data/node_modules/async/detect.js +0 -61
- data/node_modules/async/detectLimit.js +0 -48
- data/node_modules/async/detectSeries.js +0 -47
- data/node_modules/async/dir.js +0 -43
- data/node_modules/async/dist/async.js +0 -4846
- data/node_modules/async/dist/async.min.js +0 -1
- data/node_modules/async/dist/async.mjs +0 -4734
- data/node_modules/async/doDuring.js +0 -68
- data/node_modules/async/doUntil.js +0 -46
- data/node_modules/async/doWhilst.js +0 -68
- data/node_modules/async/during.js +0 -78
- data/node_modules/async/each.js +0 -88
- data/node_modules/async/eachLimit.js +0 -50
- data/node_modules/async/eachOf.js +0 -116
- data/node_modules/async/eachOfLimit.js +0 -47
- data/node_modules/async/eachOfSeries.js +0 -39
- data/node_modules/async/eachSeries.js +0 -44
- data/node_modules/async/ensureAsync.js +0 -67
- data/node_modules/async/every.js +0 -54
- data/node_modules/async/everyLimit.js +0 -46
- data/node_modules/async/everySeries.js +0 -45
- data/node_modules/async/filter.js +0 -53
- data/node_modules/async/filterLimit.js +0 -45
- data/node_modules/async/filterSeries.js +0 -43
- data/node_modules/async/find.js +0 -61
- data/node_modules/async/findLimit.js +0 -48
- data/node_modules/async/findSeries.js +0 -47
- data/node_modules/async/flatMap.js +0 -47
- data/node_modules/async/flatMapLimit.js +0 -60
- data/node_modules/async/flatMapSeries.js +0 -41
- data/node_modules/async/foldl.js +0 -77
- data/node_modules/async/foldr.js +0 -41
- data/node_modules/async/forEach.js +0 -88
- data/node_modules/async/forEachLimit.js +0 -50
- data/node_modules/async/forEachOf.js +0 -116
- data/node_modules/async/forEachOfLimit.js +0 -47
- data/node_modules/async/forEachOfSeries.js +0 -39
- data/node_modules/async/forEachSeries.js +0 -44
- data/node_modules/async/forever.js +0 -68
- data/node_modules/async/groupBy.js +0 -54
- data/node_modules/async/groupByLimit.js +0 -71
- data/node_modules/async/groupBySeries.js +0 -36
- data/node_modules/async/index.js +0 -588
- data/node_modules/async/inject.js +0 -77
- data/node_modules/async/internal/DoublyLinkedList.js +0 -92
- data/node_modules/async/internal/Heap.js +0 -120
- data/node_modules/async/internal/applyEach.js +0 -29
- data/node_modules/async/internal/asyncEachOfLimit.js +0 -75
- data/node_modules/async/internal/awaitify.js +0 -27
- data/node_modules/async/internal/breakLoop.js +0 -10
- data/node_modules/async/internal/consoleFunc.js +0 -27
- data/node_modules/async/internal/createTester.js +0 -40
- data/node_modules/async/internal/eachOfLimit.js +0 -90
- data/node_modules/async/internal/filter.js +0 -55
- data/node_modules/async/internal/getIterator.js +0 -11
- data/node_modules/async/internal/initialParams.js +0 -14
- data/node_modules/async/internal/isArrayLike.js +0 -10
- data/node_modules/async/internal/iterator.js +0 -54
- data/node_modules/async/internal/map.js +0 -30
- data/node_modules/async/internal/once.js +0 -17
- data/node_modules/async/internal/onlyOnce.js +0 -15
- data/node_modules/async/internal/parallel.js +0 -34
- data/node_modules/async/internal/promiseCallback.js +0 -23
- data/node_modules/async/internal/queue.js +0 -291
- data/node_modules/async/internal/range.js +0 -14
- data/node_modules/async/internal/reject.js +0 -26
- data/node_modules/async/internal/setImmediate.js +0 -30
- data/node_modules/async/internal/withoutIndex.js +0 -10
- data/node_modules/async/internal/wrapAsync.js +0 -34
- data/node_modules/async/log.js +0 -41
- data/node_modules/async/map.js +0 -62
- data/node_modules/async/mapLimit.js +0 -45
- data/node_modules/async/mapSeries.js +0 -44
- data/node_modules/async/mapValues.js +0 -62
- data/node_modules/async/mapValuesLimit.js +0 -61
- data/node_modules/async/mapValuesSeries.js +0 -37
- data/node_modules/async/memoize.js +0 -91
- data/node_modules/async/nextTick.js +0 -52
- data/node_modules/async/package.json +0 -82
- data/node_modules/async/parallel.js +0 -91
- data/node_modules/async/parallelLimit.js +0 -41
- data/node_modules/async/priorityQueue.js +0 -84
- data/node_modules/async/queue.js +0 -167
- data/node_modules/async/race.js +0 -67
- data/node_modules/async/reduce.js +0 -77
- data/node_modules/async/reduceRight.js +0 -41
- data/node_modules/async/reflect.js +0 -78
- data/node_modules/async/reflectAll.js +0 -93
- data/node_modules/async/reject.js +0 -53
- data/node_modules/async/rejectLimit.js +0 -45
- data/node_modules/async/rejectSeries.js +0 -43
- data/node_modules/async/retry.js +0 -159
- data/node_modules/async/retryable.js +0 -77
- data/node_modules/async/select.js +0 -53
- data/node_modules/async/selectLimit.js +0 -45
- data/node_modules/async/selectSeries.js +0 -43
- data/node_modules/async/seq.js +0 -79
- data/node_modules/async/series.js +0 -86
- data/node_modules/async/setImmediate.js +0 -45
- data/node_modules/async/some.js +0 -56
- data/node_modules/async/someLimit.js +0 -47
- data/node_modules/async/someSeries.js +0 -46
- data/node_modules/async/sortBy.js +0 -88
- data/node_modules/async/timeout.js +0 -89
- data/node_modules/async/times.js +0 -50
- data/node_modules/async/timesLimit.js +0 -43
- data/node_modules/async/timesSeries.js +0 -32
- data/node_modules/async/transform.js +0 -81
- data/node_modules/async/tryEach.js +0 -78
- data/node_modules/async/unmemoize.js +0 -25
- data/node_modules/async/until.js +0 -61
- data/node_modules/async/waterfall.js +0 -105
- data/node_modules/async/whilst.js +0 -78
- data/node_modules/async/wrapSync.js +0 -118
- data/node_modules/asynckit/LICENSE +0 -21
- data/node_modules/asynckit/README.md +0 -233
- data/node_modules/asynckit/bench.js +0 -76
- data/node_modules/asynckit/index.js +0 -6
- data/node_modules/asynckit/lib/abort.js +0 -29
- data/node_modules/asynckit/lib/async.js +0 -34
- data/node_modules/asynckit/lib/defer.js +0 -26
- data/node_modules/asynckit/lib/iterate.js +0 -75
- data/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- data/node_modules/asynckit/lib/readable_parallel.js +0 -25
- data/node_modules/asynckit/lib/readable_serial.js +0 -25
- data/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- data/node_modules/asynckit/lib/state.js +0 -37
- data/node_modules/asynckit/lib/streamify.js +0 -141
- data/node_modules/asynckit/lib/terminator.js +0 -29
- data/node_modules/asynckit/package.json +0 -63
- data/node_modules/asynckit/parallel.js +0 -43
- data/node_modules/asynckit/serial.js +0 -17
- data/node_modules/asynckit/serialOrdered.js +0 -75
- data/node_modules/asynckit/stream.js +0 -21
- data/node_modules/at-least-node/LICENSE +0 -6
- data/node_modules/at-least-node/README.md +0 -25
- data/node_modules/at-least-node/index.js +0 -5
- data/node_modules/at-least-node/package.json +0 -32
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -97
- data/node_modules/balanced-match/index.js +0 -62
- data/node_modules/balanced-match/package.json +0 -48
- data/node_modules/binary-extensions/binary-extensions.json +0 -260
- data/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
- data/node_modules/binary-extensions/index.d.ts +0 -14
- data/node_modules/binary-extensions/index.js +0 -1
- data/node_modules/binary-extensions/license +0 -9
- data/node_modules/binary-extensions/package.json +0 -38
- data/node_modules/binary-extensions/readme.md +0 -41
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/braces/CHANGELOG.md +0 -184
- data/node_modules/braces/LICENSE +0 -21
- data/node_modules/braces/README.md +0 -593
- data/node_modules/braces/index.js +0 -170
- data/node_modules/braces/lib/compile.js +0 -57
- data/node_modules/braces/lib/constants.js +0 -57
- data/node_modules/braces/lib/expand.js +0 -113
- data/node_modules/braces/lib/parse.js +0 -333
- data/node_modules/braces/lib/stringify.js +0 -32
- data/node_modules/braces/lib/utils.js +0 -112
- data/node_modules/braces/package.json +0 -77
- data/node_modules/browser-process-hrtime/LICENSE +0 -9
- data/node_modules/browser-process-hrtime/README.md +0 -27
- data/node_modules/browser-process-hrtime/index.d.ts +0 -4
- data/node_modules/browser-process-hrtime/index.js +0 -28
- data/node_modules/browser-process-hrtime/package.json +0 -15
- data/node_modules/chokidar/LICENSE +0 -21
- data/node_modules/chokidar/README.md +0 -308
- data/node_modules/chokidar/index.js +0 -973
- data/node_modules/chokidar/lib/constants.js +0 -65
- data/node_modules/chokidar/lib/fsevents-handler.js +0 -524
- data/node_modules/chokidar/lib/nodefs-handler.js +0 -646
- data/node_modules/chokidar/package.json +0 -78
- data/node_modules/chokidar/types/index.d.ts +0 -187
- data/node_modules/cli-progress/CHANGES.md +0 -169
- data/node_modules/cli-progress/LICENSE.md +0 -24
- data/node_modules/cli-progress/README.md +0 -446
- data/node_modules/cli-progress/cli-progress.js +0 -21
- data/node_modules/cli-progress/lib/eta.js +0 -73
- data/node_modules/cli-progress/lib/format-bar.js +0 -11
- data/node_modules/cli-progress/lib/format-time.js +0 -34
- data/node_modules/cli-progress/lib/format-value.js +0 -22
- data/node_modules/cli-progress/lib/formatter.js +0 -80
- data/node_modules/cli-progress/lib/generic-bar.js +0 -212
- data/node_modules/cli-progress/lib/multi-bar.js +0 -201
- data/node_modules/cli-progress/lib/options.js +0 -95
- data/node_modules/cli-progress/lib/single-bar.js +0 -124
- data/node_modules/cli-progress/lib/terminal.js +0 -159
- data/node_modules/cli-progress/package.json +0 -46
- data/node_modules/cli-progress/presets/index.js +0 -11
- data/node_modules/cli-progress/presets/legacy.js +0 -6
- data/node_modules/cli-progress/presets/rect.js +0 -5
- data/node_modules/cli-progress/presets/shades-classic.js +0 -6
- data/node_modules/cli-progress/presets/shades-grey.js +0 -8
- data/node_modules/cliui/CHANGELOG.md +0 -121
- data/node_modules/cliui/LICENSE.txt +0 -14
- data/node_modules/cliui/README.md +0 -141
- data/node_modules/cliui/build/index.cjs +0 -302
- data/node_modules/cliui/build/lib/index.js +0 -287
- data/node_modules/cliui/build/lib/string-utils.js +0 -27
- data/node_modules/cliui/index.mjs +0 -13
- data/node_modules/cliui/package.json +0 -83
- data/node_modules/color-convert/CHANGELOG.md +0 -54
- data/node_modules/color-convert/LICENSE +0 -21
- data/node_modules/color-convert/README.md +0 -68
- data/node_modules/color-convert/conversions.js +0 -839
- data/node_modules/color-convert/index.js +0 -81
- data/node_modules/color-convert/package.json +0 -48
- data/node_modules/color-convert/route.js +0 -97
- data/node_modules/color-name/LICENSE +0 -8
- data/node_modules/color-name/README.md +0 -11
- data/node_modules/color-name/index.js +0 -152
- data/node_modules/color-name/package.json +0 -28
- data/node_modules/colors/LICENSE +0 -25
- data/node_modules/colors/README.md +0 -221
- data/node_modules/colors/examples/normal-usage.js +0 -82
- data/node_modules/colors/examples/safe-string.js +0 -79
- data/node_modules/colors/index.d.ts +0 -136
- data/node_modules/colors/lib/colors.js +0 -211
- data/node_modules/colors/lib/custom/trap.js +0 -46
- data/node_modules/colors/lib/custom/zalgo.js +0 -110
- data/node_modules/colors/lib/extendStringPrototype.js +0 -110
- data/node_modules/colors/lib/index.js +0 -13
- data/node_modules/colors/lib/maps/america.js +0 -10
- data/node_modules/colors/lib/maps/rainbow.js +0 -12
- data/node_modules/colors/lib/maps/random.js +0 -11
- data/node_modules/colors/lib/maps/zebra.js +0 -5
- data/node_modules/colors/lib/styles.js +0 -95
- data/node_modules/colors/lib/system/has-flag.js +0 -35
- data/node_modules/colors/lib/system/supports-colors.js +0 -151
- data/node_modules/colors/package.json +0 -45
- data/node_modules/colors/safe.d.ts +0 -48
- data/node_modules/colors/safe.js +0 -10
- data/node_modules/colors/themes/generic-logging.js +0 -12
- data/node_modules/combined-stream/License +0 -19
- data/node_modules/combined-stream/Readme.md +0 -138
- data/node_modules/combined-stream/lib/combined_stream.js +0 -208
- data/node_modules/combined-stream/package.json +0 -25
- data/node_modules/combined-stream/yarn.lock +0 -17
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/console-table-printer/CHANGELOG.md +0 -96
- data/node_modules/console-table-printer/LICENSE +0 -21
- data/node_modules/console-table-printer/README.md +0 -180
- data/node_modules/console-table-printer/dist/index.d.ts +0 -4
- data/node_modules/console-table-printer/dist/index.js +0 -10
- data/node_modules/console-table-printer/dist/src/console-table-printer.d.ts +0 -14
- data/node_modules/console-table-printer/dist/src/console-table-printer.js +0 -32
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.d.ts +0 -6
- data/node_modules/console-table-printer/dist/src/internalTable/input-converter.js +0 -15
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.d.ts +0 -4
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table-printer.js +0 -115
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.d.ts +0 -25
- data/node_modules/console-table-printer/dist/src/internalTable/internal-table.js +0 -80
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.d.ts +0 -3
- data/node_modules/console-table-printer/dist/src/internalTable/table-pre-processors.js +0 -43
- data/node_modules/console-table-printer/dist/src/models/common.d.ts +0 -10
- data/node_modules/console-table-printer/dist/src/models/common.js +0 -2
- data/node_modules/console-table-printer/dist/src/models/external-table.d.ts +0 -26
- data/node_modules/console-table-printer/dist/src/models/external-table.js +0 -2
- data/node_modules/console-table-printer/dist/src/models/internal-table.d.ts +0 -21
- data/node_modules/console-table-printer/dist/src/models/internal-table.js +0 -2
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.d.ts +0 -8
- data/node_modules/console-table-printer/dist/src/utils/colored-console-line.js +0 -29
- data/node_modules/console-table-printer/dist/src/utils/console-utils.d.ts +0 -2
- data/node_modules/console-table-printer/dist/src/utils/console-utils.js +0 -8
- data/node_modules/console-table-printer/dist/src/utils/string-utils.d.ts +0 -4
- data/node_modules/console-table-printer/dist/src/utils/string-utils.js +0 -54
- data/node_modules/console-table-printer/dist/src/utils/table-constants.d.ts +0 -10
- data/node_modules/console-table-printer/dist/src/utils/table-constants.js +0 -49
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.d.ts +0 -26
- data/node_modules/console-table-printer/dist/src/utils/table-helpers.js +0 -91
- data/node_modules/console-table-printer/package.json +0 -51
- data/node_modules/cross-env/CHANGELOG.md +0 -5
- data/node_modules/cross-env/LICENSE +0 -20
- data/node_modules/cross-env/README.md +0 -291
- data/node_modules/cross-env/package.json +0 -54
- data/node_modules/cross-env/src/bin/cross-env-shell.js +0 -5
- data/node_modules/cross-env/src/bin/cross-env.js +0 -5
- data/node_modules/cross-env/src/command.js +0 -32
- data/node_modules/cross-env/src/index.js +0 -95
- data/node_modules/cross-env/src/is-windows.js +0 -2
- data/node_modules/cross-env/src/variable.js +0 -69
- data/node_modules/cross-spawn/CHANGELOG.md +0 -130
- data/node_modules/cross-spawn/LICENSE +0 -21
- data/node_modules/cross-spawn/README.md +0 -96
- data/node_modules/cross-spawn/index.js +0 -39
- data/node_modules/cross-spawn/lib/enoent.js +0 -59
- data/node_modules/cross-spawn/lib/parse.js +0 -91
- data/node_modules/cross-spawn/lib/util/escape.js +0 -45
- data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- data/node_modules/cross-spawn/package.json +0 -73
- data/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- data/node_modules/crypto-js/LICENSE +0 -24
- data/node_modules/crypto-js/README.md +0 -249
- data/node_modules/crypto-js/aes.js +0 -234
- data/node_modules/crypto-js/bower.json +0 -35
- data/node_modules/crypto-js/cipher-core.js +0 -890
- data/node_modules/crypto-js/core.js +0 -797
- data/node_modules/crypto-js/crypto-js.js +0 -6059
- data/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- data/node_modules/crypto-js/enc-base64.js +0 -136
- data/node_modules/crypto-js/enc-hex.js +0 -18
- data/node_modules/crypto-js/enc-latin1.js +0 -18
- data/node_modules/crypto-js/enc-utf16.js +0 -149
- data/node_modules/crypto-js/enc-utf8.js +0 -18
- data/node_modules/crypto-js/evpkdf.js +0 -134
- data/node_modules/crypto-js/format-hex.js +0 -66
- data/node_modules/crypto-js/format-openssl.js +0 -18
- data/node_modules/crypto-js/hmac-md5.js +0 -18
- data/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- data/node_modules/crypto-js/hmac-sha1.js +0 -18
- data/node_modules/crypto-js/hmac-sha224.js +0 -18
- data/node_modules/crypto-js/hmac-sha256.js +0 -18
- data/node_modules/crypto-js/hmac-sha3.js +0 -18
- data/node_modules/crypto-js/hmac-sha384.js +0 -18
- data/node_modules/crypto-js/hmac-sha512.js +0 -18
- data/node_modules/crypto-js/hmac.js +0 -143
- data/node_modules/crypto-js/index.js +0 -18
- data/node_modules/crypto-js/lib-typedarrays.js +0 -76
- data/node_modules/crypto-js/md5.js +0 -268
- data/node_modules/crypto-js/mode-cfb.js +0 -80
- data/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- data/node_modules/crypto-js/mode-ctr.js +0 -58
- data/node_modules/crypto-js/mode-ecb.js +0 -40
- data/node_modules/crypto-js/mode-ofb.js +0 -54
- data/node_modules/crypto-js/package.json +0 -38
- data/node_modules/crypto-js/pad-ansix923.js +0 -49
- data/node_modules/crypto-js/pad-iso10126.js +0 -44
- data/node_modules/crypto-js/pad-iso97971.js +0 -40
- data/node_modules/crypto-js/pad-nopadding.js +0 -30
- data/node_modules/crypto-js/pad-pkcs7.js +0 -18
- data/node_modules/crypto-js/pad-zeropadding.js +0 -47
- data/node_modules/crypto-js/pbkdf2.js +0 -145
- data/node_modules/crypto-js/rabbit-legacy.js +0 -190
- data/node_modules/crypto-js/rabbit.js +0 -192
- data/node_modules/crypto-js/rc4.js +0 -139
- data/node_modules/crypto-js/ripemd160.js +0 -267
- data/node_modules/crypto-js/sha1.js +0 -150
- data/node_modules/crypto-js/sha224.js +0 -80
- data/node_modules/crypto-js/sha256.js +0 -199
- data/node_modules/crypto-js/sha3.js +0 -326
- data/node_modules/crypto-js/sha384.js +0 -83
- data/node_modules/crypto-js/sha512.js +0 -326
- data/node_modules/crypto-js/tripledes.js +0 -779
- data/node_modules/crypto-js/x64-core.js +0 -304
- data/node_modules/cssom/LICENSE.txt +0 -20
- data/node_modules/cssom/README.mdown +0 -67
- data/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
- data/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
- data/node_modules/cssom/lib/CSSHostRule.js +0 -37
- data/node_modules/cssom/lib/CSSImportRule.js +0 -132
- data/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
- data/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
- data/node_modules/cssom/lib/CSSMediaRule.js +0 -41
- data/node_modules/cssom/lib/CSSOM.js +0 -3
- data/node_modules/cssom/lib/CSSRule.js +0 -43
- data/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
- data/node_modules/cssom/lib/CSSStyleRule.js +0 -190
- data/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
- data/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
- data/node_modules/cssom/lib/CSSValue.js +0 -43
- data/node_modules/cssom/lib/CSSValueExpression.js +0 -344
- data/node_modules/cssom/lib/MatcherList.js +0 -62
- data/node_modules/cssom/lib/MediaList.js +0 -61
- data/node_modules/cssom/lib/StyleSheet.js +0 -17
- data/node_modules/cssom/lib/clone.js +0 -71
- data/node_modules/cssom/lib/index.js +0 -21
- data/node_modules/cssom/lib/parse.js +0 -463
- data/node_modules/cssom/package.json +0 -18
- data/node_modules/cssstyle/LICENSE +0 -20
- data/node_modules/cssstyle/README.md +0 -15
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.js +0 -260
- data/node_modules/cssstyle/lib/CSSStyleDeclaration.test.js +0 -556
- data/node_modules/cssstyle/lib/allExtraProperties.js +0 -67
- data/node_modules/cssstyle/lib/allProperties.js +0 -462
- data/node_modules/cssstyle/lib/allWebkitProperties.js +0 -194
- data/node_modules/cssstyle/lib/constants.js +0 -6
- data/node_modules/cssstyle/lib/implementedProperties.js +0 -90
- data/node_modules/cssstyle/lib/named_colors.json +0 -152
- data/node_modules/cssstyle/lib/parsers.js +0 -722
- data/node_modules/cssstyle/lib/parsers.test.js +0 -139
- data/node_modules/cssstyle/lib/properties/azimuth.js +0 -67
- data/node_modules/cssstyle/lib/properties/background.js +0 -19
- data/node_modules/cssstyle/lib/properties/backgroundAttachment.js +0 -24
- data/node_modules/cssstyle/lib/properties/backgroundColor.js +0 -36
- data/node_modules/cssstyle/lib/properties/backgroundImage.js +0 -32
- data/node_modules/cssstyle/lib/properties/backgroundPosition.js +0 -58
- data/node_modules/cssstyle/lib/properties/backgroundRepeat.js +0 -32
- data/node_modules/cssstyle/lib/properties/border.js +0 -33
- data/node_modules/cssstyle/lib/properties/borderBottom.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderBottomColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderBottomStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderBottomWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderCollapse.js +0 -26
- data/node_modules/cssstyle/lib/properties/borderColor.js +0 -30
- data/node_modules/cssstyle/lib/properties/borderLeft.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderLeftColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderLeftStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderLeftWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderRight.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderRightColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderRightStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderRightWidth.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderSpacing.js +0 -41
- data/node_modules/cssstyle/lib/properties/borderStyle.js +0 -38
- data/node_modules/cssstyle/lib/properties/borderTop.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderTopColor.js +0 -16
- data/node_modules/cssstyle/lib/properties/borderTopStyle.js +0 -21
- data/node_modules/cssstyle/lib/properties/borderTopWidth.js +0 -17
- data/node_modules/cssstyle/lib/properties/borderWidth.js +0 -46
- data/node_modules/cssstyle/lib/properties/bottom.js +0 -14
- data/node_modules/cssstyle/lib/properties/clear.js +0 -16
- data/node_modules/cssstyle/lib/properties/clip.js +0 -47
- data/node_modules/cssstyle/lib/properties/color.js +0 -14
- data/node_modules/cssstyle/lib/properties/cssFloat.js +0 -12
- data/node_modules/cssstyle/lib/properties/flex.js +0 -45
- data/node_modules/cssstyle/lib/properties/flexBasis.js +0 -28
- data/node_modules/cssstyle/lib/properties/flexGrow.js +0 -19
- data/node_modules/cssstyle/lib/properties/flexShrink.js +0 -19
- data/node_modules/cssstyle/lib/properties/float.js +0 -12
- data/node_modules/cssstyle/lib/properties/floodColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/font.js +0 -43
- data/node_modules/cssstyle/lib/properties/fontFamily.js +0 -33
- data/node_modules/cssstyle/lib/properties/fontSize.js +0 -38
- data/node_modules/cssstyle/lib/properties/fontStyle.js +0 -18
- data/node_modules/cssstyle/lib/properties/fontVariant.js +0 -18
- data/node_modules/cssstyle/lib/properties/fontWeight.js +0 -33
- data/node_modules/cssstyle/lib/properties/height.js +0 -24
- data/node_modules/cssstyle/lib/properties/left.js +0 -14
- data/node_modules/cssstyle/lib/properties/lightingColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/lineHeight.js +0 -26
- data/node_modules/cssstyle/lib/properties/margin.js +0 -68
- data/node_modules/cssstyle/lib/properties/marginBottom.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginLeft.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginRight.js +0 -13
- data/node_modules/cssstyle/lib/properties/marginTop.js +0 -13
- data/node_modules/cssstyle/lib/properties/opacity.js +0 -14
- data/node_modules/cssstyle/lib/properties/outlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/padding.js +0 -61
- data/node_modules/cssstyle/lib/properties/paddingBottom.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingLeft.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingRight.js +0 -13
- data/node_modules/cssstyle/lib/properties/paddingTop.js +0 -13
- data/node_modules/cssstyle/lib/properties/right.js +0 -14
- data/node_modules/cssstyle/lib/properties/stopColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textLineThroughColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textOverlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/textUnderlineColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/top.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -14
- data/node_modules/cssstyle/lib/properties/width.js +0 -24
- data/node_modules/cssstyle/lib/properties.js +0 -1833
- data/node_modules/cssstyle/lib/utils/colorSpace.js +0 -21
- data/node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js +0 -14
- data/node_modules/cssstyle/node_modules/cssom/LICENSE.txt +0 -20
- data/node_modules/cssstyle/node_modules/cssom/README.mdown +0 -67
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js +0 -39
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js +0 -36
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js +0 -37
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js +0 -132
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js +0 -37
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js +0 -39
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js +0 -41
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js +0 -3
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js +0 -43
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js +0 -148
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js +0 -190
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js +0 -88
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js +0 -36
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js +0 -43
- data/node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js +0 -344
- data/node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js +0 -62
- data/node_modules/cssstyle/node_modules/cssom/lib/MediaList.js +0 -61
- data/node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js +0 -17
- data/node_modules/cssstyle/node_modules/cssom/lib/clone.js +0 -82
- data/node_modules/cssstyle/node_modules/cssom/lib/index.js +0 -21
- data/node_modules/cssstyle/node_modules/cssom/lib/parse.js +0 -464
- data/node_modules/cssstyle/node_modules/cssom/package.json +0 -18
- data/node_modules/cssstyle/package.json +0 -72
- data/node_modules/data-urls/LICENSE.txt +0 -7
- data/node_modules/data-urls/README.md +0 -64
- data/node_modules/data-urls/lib/parser.js +0 -74
- data/node_modules/data-urls/lib/utils.js +0 -23
- data/node_modules/data-urls/package.json +0 -53
- data/node_modules/debug/LICENSE +0 -19
- data/node_modules/debug/README.md +0 -455
- data/node_modules/debug/package.json +0 -59
- data/node_modules/debug/src/browser.js +0 -269
- data/node_modules/debug/src/common.js +0 -274
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -263
- data/node_modules/decimal.js/CHANGELOG.md +0 -231
- data/node_modules/decimal.js/LICENCE.md +0 -23
- data/node_modules/decimal.js/README.md +0 -246
- data/node_modules/decimal.js/decimal.d.ts +0 -300
- data/node_modules/decimal.js/decimal.js +0 -4934
- data/node_modules/decimal.js/decimal.mjs +0 -4898
- data/node_modules/decimal.js/package.json +0 -40
- data/node_modules/deep-is/LICENSE +0 -22
- data/node_modules/deep-is/README.markdown +0 -70
- data/node_modules/deep-is/example/cmp.js +0 -11
- data/node_modules/deep-is/index.js +0 -102
- data/node_modules/deep-is/package.json +0 -61
- data/node_modules/deep-is/test/NaN.js +0 -16
- data/node_modules/deep-is/test/cmp.js +0 -23
- data/node_modules/deep-is/test/neg-vs-pos-0.js +0 -15
- data/node_modules/delayed-stream/License +0 -19
- data/node_modules/delayed-stream/Makefile +0 -7
- data/node_modules/delayed-stream/Readme.md +0 -141
- data/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- data/node_modules/delayed-stream/package.json +0 -27
- data/node_modules/diff/CONTRIBUTING.md +0 -39
- data/node_modules/diff/LICENSE +0 -31
- data/node_modules/diff/README.md +0 -208
- data/node_modules/diff/dist/diff.js +0 -1582
- data/node_modules/diff/lib/convert/dmp.js +0 -32
- data/node_modules/diff/lib/convert/xml.js +0 -42
- data/node_modules/diff/lib/diff/array.js +0 -45
- data/node_modules/diff/lib/diff/base.js +0 -304
- data/node_modules/diff/lib/diff/character.js +0 -37
- data/node_modules/diff/lib/diff/css.js +0 -41
- data/node_modules/diff/lib/diff/json.js +0 -163
- data/node_modules/diff/lib/diff/line.js +0 -89
- data/node_modules/diff/lib/diff/sentence.js +0 -41
- data/node_modules/diff/lib/diff/word.js +0 -108
- data/node_modules/diff/lib/index.es6.js +0 -1553
- data/node_modules/diff/lib/index.js +0 -216
- data/node_modules/diff/lib/index.mjs +0 -1553
- data/node_modules/diff/lib/patch/apply.js +0 -238
- data/node_modules/diff/lib/patch/create.js +0 -267
- data/node_modules/diff/lib/patch/merge.js +0 -613
- data/node_modules/diff/lib/patch/parse.js +0 -167
- data/node_modules/diff/lib/util/array.js +0 -32
- data/node_modules/diff/lib/util/distance-iterator.js +0 -57
- data/node_modules/diff/lib/util/params.js +0 -24
- data/node_modules/diff/package.json +0 -87
- data/node_modules/diff/release-notes.md +0 -303
- data/node_modules/diff/runtime.js +0 -3
- data/node_modules/domexception/LICENSE.txt +0 -21
- data/node_modules/domexception/README.md +0 -31
- data/node_modules/domexception/index.js +0 -7
- data/node_modules/domexception/lib/DOMException-impl.js +0 -22
- data/node_modules/domexception/lib/DOMException.js +0 -205
- data/node_modules/domexception/lib/legacy-error-codes.json +0 -27
- data/node_modules/domexception/lib/utils.js +0 -115
- data/node_modules/domexception/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/domexception/node_modules/webidl-conversions/README.md +0 -79
- data/node_modules/domexception/node_modules/webidl-conversions/lib/index.js +0 -361
- data/node_modules/domexception/node_modules/webidl-conversions/package.json +0 -30
- data/node_modules/domexception/package.json +0 -42
- data/node_modules/domexception/webidl2js-wrapper.js +0 -15
- data/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- data/node_modules/emoji-regex/README.md +0 -73
- data/node_modules/emoji-regex/es2015/index.js +0 -6
- data/node_modules/emoji-regex/es2015/text.js +0 -6
- data/node_modules/emoji-regex/index.d.ts +0 -23
- data/node_modules/emoji-regex/index.js +0 -6
- data/node_modules/emoji-regex/package.json +0 -50
- data/node_modules/emoji-regex/text.js +0 -6
- data/node_modules/escalade/dist/index.js +0 -22
- data/node_modules/escalade/dist/index.mjs +0 -22
- data/node_modules/escalade/index.d.ts +0 -3
- data/node_modules/escalade/license +0 -9
- data/node_modules/escalade/package.json +0 -61
- data/node_modules/escalade/readme.md +0 -211
- data/node_modules/escalade/sync/index.d.ts +0 -2
- data/node_modules/escalade/sync/index.js +0 -18
- data/node_modules/escalade/sync/index.mjs +0 -18
- data/node_modules/escodegen/LICENSE.BSD +0 -21
- data/node_modules/escodegen/README.md +0 -84
- data/node_modules/escodegen/bin/escodegen.js +0 -77
- data/node_modules/escodegen/bin/esgenerate.js +0 -64
- data/node_modules/escodegen/escodegen.js +0 -2647
- data/node_modules/escodegen/package.json +0 -62
- data/node_modules/esprima/ChangeLog +0 -235
- data/node_modules/esprima/LICENSE.BSD +0 -21
- data/node_modules/esprima/README.md +0 -46
- data/node_modules/esprima/bin/esparse.js +0 -139
- data/node_modules/esprima/bin/esvalidate.js +0 -236
- data/node_modules/esprima/dist/esprima.js +0 -6709
- data/node_modules/esprima/package.json +0 -112
- data/node_modules/estraverse/LICENSE.BSD +0 -19
- data/node_modules/estraverse/README.md +0 -153
- data/node_modules/estraverse/estraverse.js +0 -801
- data/node_modules/estraverse/gulpfile.js +0 -70
- data/node_modules/estraverse/package.json +0 -40
- data/node_modules/esutils/LICENSE.BSD +0 -19
- data/node_modules/esutils/README.md +0 -174
- data/node_modules/esutils/lib/ast.js +0 -144
- data/node_modules/esutils/lib/code.js +0 -135
- data/node_modules/esutils/lib/keyword.js +0 -165
- data/node_modules/esutils/lib/utils.js +0 -33
- data/node_modules/esutils/package.json +0 -44
- data/node_modules/fast-levenshtein/LICENSE.md +0 -25
- data/node_modules/fast-levenshtein/README.md +0 -104
- data/node_modules/fast-levenshtein/levenshtein.js +0 -136
- data/node_modules/fast-levenshtein/package.json +0 -39
- data/node_modules/fill-range/LICENSE +0 -21
- data/node_modules/fill-range/README.md +0 -237
- data/node_modules/fill-range/index.js +0 -249
- data/node_modules/fill-range/package.json +0 -69
- data/node_modules/form-data/License +0 -19
- data/node_modules/form-data/README.md.bak +0 -356
- data/node_modules/form-data/Readme.md +0 -356
- data/node_modules/form-data/index.d.ts +0 -62
- data/node_modules/form-data/lib/browser.js +0 -2
- data/node_modules/form-data/lib/form_data.js +0 -498
- data/node_modules/form-data/lib/populate.js +0 -10
- data/node_modules/form-data/package.json +0 -68
- data/node_modules/fs-extra/CHANGELOG.md +0 -902
- data/node_modules/fs-extra/LICENSE +0 -15
- data/node_modules/fs-extra/README.md +0 -264
- data/node_modules/fs-extra/lib/copy/copy.js +0 -232
- data/node_modules/fs-extra/lib/copy/index.js +0 -6
- data/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -166
- data/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- data/node_modules/fs-extra/lib/empty/index.js +0 -48
- data/node_modules/fs-extra/lib/ensure/file.js +0 -69
- data/node_modules/fs-extra/lib/ensure/index.js +0 -23
- data/node_modules/fs-extra/lib/ensure/link.js +0 -61
- data/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
- data/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
- data/node_modules/fs-extra/lib/ensure/symlink.js +0 -63
- data/node_modules/fs-extra/lib/fs/index.js +0 -130
- data/node_modules/fs-extra/lib/index.js +0 -27
- data/node_modules/fs-extra/lib/json/index.js +0 -16
- data/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
- data/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
- data/node_modules/fs-extra/lib/json/output-json.js +0 -12
- data/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
- data/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -141
- data/node_modules/fs-extra/lib/move/index.js +0 -6
- data/node_modules/fs-extra/lib/move/move.js +0 -65
- data/node_modules/fs-extra/lib/move-sync/index.js +0 -5
- data/node_modules/fs-extra/lib/move-sync/move-sync.js +0 -47
- data/node_modules/fs-extra/lib/output/index.js +0 -40
- data/node_modules/fs-extra/lib/path-exists/index.js +0 -12
- data/node_modules/fs-extra/lib/remove/index.js +0 -9
- data/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
- data/node_modules/fs-extra/lib/util/stat.js +0 -139
- data/node_modules/fs-extra/lib/util/utimes.js +0 -26
- data/node_modules/fs-extra/package.json +0 -70
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/get-caller-file/LICENSE.md +0 -6
- data/node_modules/get-caller-file/README.md +0 -41
- data/node_modules/get-caller-file/index.d.ts +0 -2
- data/node_modules/get-caller-file/index.js +0 -22
- data/node_modules/get-caller-file/index.js.map +0 -1
- data/node_modules/get-caller-file/package.json +0 -42
- data/node_modules/glob/LICENSE +0 -21
- data/node_modules/glob/README.md +0 -375
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -234
- data/node_modules/glob/glob.js +0 -788
- data/node_modules/glob/package.json +0 -51
- data/node_modules/glob/sync.js +0 -484
- data/node_modules/glob-parent/CHANGELOG.md +0 -110
- data/node_modules/glob-parent/LICENSE +0 -15
- data/node_modules/glob-parent/README.md +0 -137
- data/node_modules/glob-parent/index.js +0 -42
- data/node_modules/glob-parent/package.json +0 -48
- data/node_modules/graceful-fs/LICENSE +0 -15
- data/node_modules/graceful-fs/README.md +0 -133
- data/node_modules/graceful-fs/clone.js +0 -23
- data/node_modules/graceful-fs/graceful-fs.js +0 -373
- data/node_modules/graceful-fs/legacy-streams.js +0 -118
- data/node_modules/graceful-fs/package.json +0 -50
- data/node_modules/graceful-fs/polyfills.js +0 -346
- data/node_modules/html-encoding-sniffer/LICENSE.txt +0 -7
- data/node_modules/html-encoding-sniffer/README.md +0 -38
- data/node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js +0 -295
- data/node_modules/html-encoding-sniffer/package.json +0 -30
- data/node_modules/http-proxy-agent/README.md +0 -74
- data/node_modules/http-proxy-agent/dist/agent.d.ts +0 -32
- data/node_modules/http-proxy-agent/dist/agent.js +0 -145
- data/node_modules/http-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/http-proxy-agent/dist/index.d.ts +0 -21
- data/node_modules/http-proxy-agent/dist/index.js +0 -14
- data/node_modules/http-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/http-proxy-agent/package.json +0 -57
- data/node_modules/https-proxy-agent/README.md +0 -137
- data/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- data/node_modules/https-proxy-agent/dist/agent.js +0 -180
- data/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- data/node_modules/https-proxy-agent/dist/index.js +0 -14
- data/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- data/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- data/node_modules/https-proxy-agent/package.json +0 -56
- data/node_modules/iconv-lite/Changelog.md +0 -162
- data/node_modules/iconv-lite/LICENSE +0 -21
- data/node_modules/iconv-lite/README.md +0 -156
- data/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- data/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- data/node_modules/iconv-lite/encodings/index.js +0 -22
- data/node_modules/iconv-lite/encodings/internal.js +0 -188
- data/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- data/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- data/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
- data/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- data/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- data/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- data/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- data/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- data/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- data/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- data/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- data/node_modules/iconv-lite/encodings/utf16.js +0 -177
- data/node_modules/iconv-lite/encodings/utf7.js +0 -290
- data/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- data/node_modules/iconv-lite/lib/extend-node.js +0 -217
- data/node_modules/iconv-lite/lib/index.d.ts +0 -24
- data/node_modules/iconv-lite/lib/index.js +0 -153
- data/node_modules/iconv-lite/lib/streams.js +0 -121
- data/node_modules/iconv-lite/package.json +0 -46
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -9
- data/node_modules/inherits/inherits_browser.js +0 -27
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/is-binary-path/index.d.ts +0 -17
- data/node_modules/is-binary-path/index.js +0 -7
- data/node_modules/is-binary-path/license +0 -9
- data/node_modules/is-binary-path/package.json +0 -40
- data/node_modules/is-binary-path/readme.md +0 -34
- data/node_modules/is-extglob/LICENSE +0 -21
- data/node_modules/is-extglob/README.md +0 -107
- data/node_modules/is-extglob/index.js +0 -20
- data/node_modules/is-extglob/package.json +0 -69
- data/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- data/node_modules/is-fullwidth-code-point/index.js +0 -50
- data/node_modules/is-fullwidth-code-point/license +0 -9
- data/node_modules/is-fullwidth-code-point/package.json +0 -42
- data/node_modules/is-fullwidth-code-point/readme.md +0 -39
- data/node_modules/is-glob/LICENSE +0 -21
- data/node_modules/is-glob/README.md +0 -206
- data/node_modules/is-glob/index.js +0 -48
- data/node_modules/is-glob/package.json +0 -81
- data/node_modules/is-number/LICENSE +0 -21
- data/node_modules/is-number/README.md +0 -187
- data/node_modules/is-number/index.js +0 -18
- data/node_modules/is-number/package.json +0 -82
- data/node_modules/is-potential-custom-element-name/LICENSE-MIT.txt +0 -20
- data/node_modules/is-potential-custom-element-name/README.md +0 -40
- data/node_modules/is-potential-custom-element-name/index.js +0 -9
- data/node_modules/is-potential-custom-element-name/package.json +0 -35
- data/node_modules/isexe/LICENSE +0 -15
- data/node_modules/isexe/README.md +0 -51
- data/node_modules/isexe/index.js +0 -57
- data/node_modules/isexe/mode.js +0 -41
- data/node_modules/isexe/package.json +0 -31
- data/node_modules/isexe/test/basic.js +0 -221
- data/node_modules/isexe/windows.js +0 -42
- data/node_modules/js-yaml/CHANGELOG.md +0 -557
- data/node_modules/js-yaml/LICENSE +0 -21
- data/node_modules/js-yaml/README.md +0 -299
- data/node_modules/js-yaml/bin/js-yaml.js +0 -132
- data/node_modules/js-yaml/dist/js-yaml.js +0 -3989
- data/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
- data/node_modules/js-yaml/index.js +0 -7
- data/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
- data/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
- data/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
- data/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
- data/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
- data/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
- data/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
- data/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
- data/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
- data/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
- data/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
- data/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
- data/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
- data/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
- data/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
- data/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
- data/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
- data/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
- data/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
- data/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
- data/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
- data/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
- data/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
- data/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
- data/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
- data/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
- data/node_modules/js-yaml/lib/js-yaml.js +0 -39
- data/node_modules/js-yaml/package.json +0 -49
- data/node_modules/jsdom/LICENSE.txt +0 -22
- data/node_modules/jsdom/README.md +0 -522
- data/node_modules/jsdom/lib/api.js +0 -333
- data/node_modules/jsdom/lib/jsdom/browser/Window.js +0 -933
- data/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
- data/node_modules/jsdom/lib/jsdom/browser/js-globals.json +0 -307
- data/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
- data/node_modules/jsdom/lib/jsdom/browser/parser/html.js +0 -223
- data/node_modules/jsdom/lib/jsdom/browser/parser/index.js +0 -37
- data/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
- data/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
- data/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
- data/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -95
- data/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
- data/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
- data/node_modules/jsdom/lib/jsdom/level2/style.js +0 -57
- data/node_modules/jsdom/lib/jsdom/level3/xpath.js +0 -1874
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -55
- data/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
- data/node_modules/jsdom/lib/jsdom/living/attributes.js +0 -312
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
- data/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
- data/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -265
- data/node_modules/jsdom/lib/jsdom/living/documents.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -58
- data/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
- data/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -45
- data/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
- data/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
- data/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -403
- data/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
- data/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -49
- data/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
- data/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -165
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +0 -54
- data/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
- data/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
- data/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -159
- data/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -162
- data/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +0 -215
- data/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +0 -118
- data/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +0 -198
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -34
- data/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -436
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -56
- data/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +0 -122
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -200
- data/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -232
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -322
- data/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -531
- data/node_modules/jsdom/lib/jsdom/living/generated/Document.js +0 -3322
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -325
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -246
- data/node_modules/jsdom/lib/jsdom/living/generated/Element.js +0 -1609
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -186
- data/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -80
- data/node_modules/jsdom/lib/jsdom/living/generated/Event.js +0 -390
- data/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -40
- data/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +0 -52
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
- data/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -252
- data/node_modules/jsdom/lib/jsdom/living/generated/External.js +0 -129
- data/node_modules/jsdom/lib/jsdom/living/generated/File.js +0 -176
- data/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +0 -305
- data/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +0 -440
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -142
- data/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
- data/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +0 -421
- data/node_modules/jsdom/lib/jsdom/living/generated/Function.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -915
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -739
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -808
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -487
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -291
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -358
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -128
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -2269
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -346
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -315
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -226
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -457
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -459
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -683
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -300
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -621
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -789
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1696
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -194
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -175
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -496
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -509
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -802
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -338
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -202
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -266
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -839
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -192
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -351
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -533
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -371
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -158
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -209
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -424
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -957
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -310
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -115
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -200
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -635
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -339
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -725
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -386
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -329
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -126
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1088
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -334
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -192
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -310
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -153
- data/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +0 -379
- data/node_modules/jsdom/lib/jsdom/living/generated/History.js +0 -256
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -164
- data/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -413
- data/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/generated/Location.js +0 -370
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -301
- data/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -94
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +0 -151
- data/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -330
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -463
- data/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -108
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -103
- data/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -216
- data/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -522
- data/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +0 -297
- data/node_modules/jsdom/lib/jsdom/living/generated/Node.js +0 -736
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -196
- data/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +0 -309
- data/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -146
- data/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +0 -145
- data/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +0 -361
- data/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -340
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -142
- data/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
- data/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -125
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -166
- data/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -56
- data/node_modules/jsdom/lib/jsdom/living/generated/Range.js +0 -619
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -143
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -1986
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -144
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -681
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -504
- data/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +0 -173
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +0 -527
- data/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -185
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -126
- data/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -66
- data/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +0 -389
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -305
- data/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -93
- data/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -307
- data/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/generated/Text.js +0 -169
- data/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -208
- data/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
- data/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -236
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
- data/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -228
- data/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -30
- data/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -444
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -183
- data/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -68
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -617
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -341
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -133
- data/node_modules/jsdom/lib/jsdom/living/generated/utils.js +0 -141
- data/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +0 -320
- data/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
- data/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -270
- data/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
- data/node_modules/jsdom/lib/jsdom/living/helpers/details.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js +0 -54
- data/node_modules/jsdom/lib/jsdom/living/helpers/events.js +0 -24
- data/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -306
- data/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
- data/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +0 -254
- data/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/helpers/json.js +0 -12
- data/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
- data/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -15
- data/node_modules/jsdom/lib/jsdom/living/helpers/node.js +0 -68
- data/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
- data/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
- data/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
- data/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
- data/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
- data/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +0 -148
- data/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -114
- data/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -113
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
- data/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
- data/node_modules/jsdom/lib/jsdom/living/helpers/text.js +0 -19
- data/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
- data/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -75
- data/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/interfaces.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
- data/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
- data/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
- data/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
- data/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
- data/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
- data/node_modules/jsdom/lib/jsdom/living/node-document-position.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/node-type.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/node.js +0 -331
- data/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
- data/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
- data/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -946
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
- data/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -578
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -25
- data/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
- data/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -95
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -27
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -160
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -226
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -261
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -371
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -132
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1128
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -101
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -85
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -265
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -74
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -272
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
- data/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1165
- data/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
- data/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
- data/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -91
- data/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
- data/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -40
- data/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
- data/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
- data/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
- data/node_modules/jsdom/lib/jsdom/living/post-message.js +0 -39
- data/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
- data/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +0 -889
- data/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
- data/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
- data/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -342
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -38
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
- data/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
- data/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -127
- data/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
- data/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +0 -175
- data/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
- data/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
- data/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
- data/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
- data/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +0 -134
- data/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +0 -238
- data/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
- data/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
- data/node_modules/jsdom/lib/jsdom/living/window/navigation.js +0 -84
- data/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -171
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1023
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
- data/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -60
- data/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -438
- data/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
- data/node_modules/jsdom/lib/jsdom/utils.js +0 -165
- data/node_modules/jsdom/lib/jsdom/virtual-console.js +0 -34
- data/node_modules/jsdom/lib/jsdom/vm-shim.js +0 -106
- data/node_modules/jsdom/package.json +0 -116
- data/node_modules/jsonfile/CHANGELOG.md +0 -171
- data/node_modules/jsonfile/LICENSE +0 -15
- data/node_modules/jsonfile/README.md +0 -230
- data/node_modules/jsonfile/index.js +0 -88
- data/node_modules/jsonfile/package.json +0 -40
- data/node_modules/jsonfile/utils.js +0 -14
- data/node_modules/levn/LICENSE +0 -22
- data/node_modules/levn/README.md +0 -196
- data/node_modules/levn/lib/cast.js +0 -298
- data/node_modules/levn/lib/coerce.js +0 -285
- data/node_modules/levn/lib/index.js +0 -22
- data/node_modules/levn/lib/parse-string.js +0 -113
- data/node_modules/levn/lib/parse.js +0 -102
- data/node_modules/levn/package.json +0 -47
- data/node_modules/lodash/LICENSE +0 -47
- data/node_modules/lodash/README.md +0 -39
- data/node_modules/lodash/_DataView.js +0 -7
- data/node_modules/lodash/_Hash.js +0 -32
- data/node_modules/lodash/_LazyWrapper.js +0 -28
- data/node_modules/lodash/_ListCache.js +0 -32
- data/node_modules/lodash/_LodashWrapper.js +0 -22
- data/node_modules/lodash/_Map.js +0 -7
- data/node_modules/lodash/_MapCache.js +0 -32
- data/node_modules/lodash/_Promise.js +0 -7
- data/node_modules/lodash/_Set.js +0 -7
- data/node_modules/lodash/_SetCache.js +0 -27
- data/node_modules/lodash/_Stack.js +0 -27
- data/node_modules/lodash/_Symbol.js +0 -6
- data/node_modules/lodash/_Uint8Array.js +0 -6
- data/node_modules/lodash/_WeakMap.js +0 -7
- data/node_modules/lodash/_apply.js +0 -21
- data/node_modules/lodash/_arrayAggregator.js +0 -22
- data/node_modules/lodash/_arrayEach.js +0 -22
- data/node_modules/lodash/_arrayEachRight.js +0 -21
- data/node_modules/lodash/_arrayEvery.js +0 -23
- data/node_modules/lodash/_arrayFilter.js +0 -25
- data/node_modules/lodash/_arrayIncludes.js +0 -17
- data/node_modules/lodash/_arrayIncludesWith.js +0 -22
- data/node_modules/lodash/_arrayLikeKeys.js +0 -49
- data/node_modules/lodash/_arrayMap.js +0 -21
- data/node_modules/lodash/_arrayPush.js +0 -20
- data/node_modules/lodash/_arrayReduce.js +0 -26
- data/node_modules/lodash/_arrayReduceRight.js +0 -24
- data/node_modules/lodash/_arraySample.js +0 -15
- data/node_modules/lodash/_arraySampleSize.js +0 -17
- data/node_modules/lodash/_arrayShuffle.js +0 -15
- data/node_modules/lodash/_arraySome.js +0 -23
- data/node_modules/lodash/_asciiSize.js +0 -12
- data/node_modules/lodash/_asciiToArray.js +0 -12
- data/node_modules/lodash/_asciiWords.js +0 -15
- data/node_modules/lodash/_assignMergeValue.js +0 -20
- data/node_modules/lodash/_assignValue.js +0 -28
- data/node_modules/lodash/_assocIndexOf.js +0 -21
- data/node_modules/lodash/_baseAggregator.js +0 -21
- data/node_modules/lodash/_baseAssign.js +0 -17
- data/node_modules/lodash/_baseAssignIn.js +0 -17
- data/node_modules/lodash/_baseAssignValue.js +0 -25
- data/node_modules/lodash/_baseAt.js +0 -23
- data/node_modules/lodash/_baseClamp.js +0 -22
- data/node_modules/lodash/_baseClone.js +0 -166
- data/node_modules/lodash/_baseConforms.js +0 -18
- data/node_modules/lodash/_baseConformsTo.js +0 -27
- data/node_modules/lodash/_baseCreate.js +0 -30
- data/node_modules/lodash/_baseDelay.js +0 -21
- data/node_modules/lodash/_baseDifference.js +0 -67
- data/node_modules/lodash/_baseEach.js +0 -14
- data/node_modules/lodash/_baseEachRight.js +0 -14
- data/node_modules/lodash/_baseEvery.js +0 -21
- data/node_modules/lodash/_baseExtremum.js +0 -32
- data/node_modules/lodash/_baseFill.js +0 -32
- data/node_modules/lodash/_baseFilter.js +0 -21
- data/node_modules/lodash/_baseFindIndex.js +0 -24
- data/node_modules/lodash/_baseFindKey.js +0 -23
- data/node_modules/lodash/_baseFlatten.js +0 -38
- data/node_modules/lodash/_baseFor.js +0 -16
- data/node_modules/lodash/_baseForOwn.js +0 -16
- data/node_modules/lodash/_baseForOwnRight.js +0 -16
- data/node_modules/lodash/_baseForRight.js +0 -15
- data/node_modules/lodash/_baseFunctions.js +0 -19
- data/node_modules/lodash/_baseGet.js +0 -24
- data/node_modules/lodash/_baseGetAllKeys.js +0 -20
- data/node_modules/lodash/_baseGetTag.js +0 -28
- data/node_modules/lodash/_baseGt.js +0 -14
- data/node_modules/lodash/_baseHas.js +0 -19
- data/node_modules/lodash/_baseHasIn.js +0 -13
- data/node_modules/lodash/_baseInRange.js +0 -18
- data/node_modules/lodash/_baseIndexOf.js +0 -20
- data/node_modules/lodash/_baseIndexOfWith.js +0 -23
- data/node_modules/lodash/_baseIntersection.js +0 -74
- data/node_modules/lodash/_baseInverter.js +0 -21
- data/node_modules/lodash/_baseInvoke.js +0 -24
- data/node_modules/lodash/_baseIsArguments.js +0 -18
- data/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- data/node_modules/lodash/_baseIsDate.js +0 -18
- data/node_modules/lodash/_baseIsEqual.js +0 -28
- data/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- data/node_modules/lodash/_baseIsMap.js +0 -18
- data/node_modules/lodash/_baseIsMatch.js +0 -62
- data/node_modules/lodash/_baseIsNaN.js +0 -12
- data/node_modules/lodash/_baseIsNative.js +0 -47
- data/node_modules/lodash/_baseIsRegExp.js +0 -18
- data/node_modules/lodash/_baseIsSet.js +0 -18
- data/node_modules/lodash/_baseIsTypedArray.js +0 -60
- data/node_modules/lodash/_baseIteratee.js +0 -31
- data/node_modules/lodash/_baseKeys.js +0 -30
- data/node_modules/lodash/_baseKeysIn.js +0 -33
- data/node_modules/lodash/_baseLodash.js +0 -10
- data/node_modules/lodash/_baseLt.js +0 -14
- data/node_modules/lodash/_baseMap.js +0 -22
- data/node_modules/lodash/_baseMatches.js +0 -22
- data/node_modules/lodash/_baseMatchesProperty.js +0 -33
- data/node_modules/lodash/_baseMean.js +0 -20
- data/node_modules/lodash/_baseMerge.js +0 -42
- data/node_modules/lodash/_baseMergeDeep.js +0 -94
- data/node_modules/lodash/_baseNth.js +0 -20
- data/node_modules/lodash/_baseOrderBy.js +0 -49
- data/node_modules/lodash/_basePick.js +0 -19
- data/node_modules/lodash/_basePickBy.js +0 -30
- data/node_modules/lodash/_baseProperty.js +0 -14
- data/node_modules/lodash/_basePropertyDeep.js +0 -16
- data/node_modules/lodash/_basePropertyOf.js +0 -14
- data/node_modules/lodash/_basePullAll.js +0 -51
- data/node_modules/lodash/_basePullAt.js +0 -37
- data/node_modules/lodash/_baseRandom.js +0 -18
- data/node_modules/lodash/_baseRange.js +0 -28
- data/node_modules/lodash/_baseReduce.js +0 -23
- data/node_modules/lodash/_baseRepeat.js +0 -35
- data/node_modules/lodash/_baseRest.js +0 -17
- data/node_modules/lodash/_baseSample.js +0 -15
- data/node_modules/lodash/_baseSampleSize.js +0 -18
- data/node_modules/lodash/_baseSet.js +0 -51
- data/node_modules/lodash/_baseSetData.js +0 -17
- data/node_modules/lodash/_baseSetToString.js +0 -22
- data/node_modules/lodash/_baseShuffle.js +0 -15
- data/node_modules/lodash/_baseSlice.js +0 -31
- data/node_modules/lodash/_baseSome.js +0 -22
- data/node_modules/lodash/_baseSortBy.js +0 -21
- data/node_modules/lodash/_baseSortedIndex.js +0 -42
- data/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- data/node_modules/lodash/_baseSortedUniq.js +0 -30
- data/node_modules/lodash/_baseSum.js +0 -24
- data/node_modules/lodash/_baseTimes.js +0 -20
- data/node_modules/lodash/_baseToNumber.js +0 -24
- data/node_modules/lodash/_baseToPairs.js +0 -18
- data/node_modules/lodash/_baseToString.js +0 -37
- data/node_modules/lodash/_baseTrim.js +0 -19
- data/node_modules/lodash/_baseUnary.js +0 -14
- data/node_modules/lodash/_baseUniq.js +0 -72
- data/node_modules/lodash/_baseUnset.js +0 -20
- data/node_modules/lodash/_baseUpdate.js +0 -18
- data/node_modules/lodash/_baseValues.js +0 -19
- data/node_modules/lodash/_baseWhile.js +0 -26
- data/node_modules/lodash/_baseWrapperValue.js +0 -25
- data/node_modules/lodash/_baseXor.js +0 -36
- data/node_modules/lodash/_baseZipObject.js +0 -23
- data/node_modules/lodash/_cacheHas.js +0 -13
- data/node_modules/lodash/_castArrayLikeObject.js +0 -14
- data/node_modules/lodash/_castFunction.js +0 -14
- data/node_modules/lodash/_castPath.js +0 -21
- data/node_modules/lodash/_castRest.js +0 -14
- data/node_modules/lodash/_castSlice.js +0 -18
- data/node_modules/lodash/_charsEndIndex.js +0 -19
- data/node_modules/lodash/_charsStartIndex.js +0 -20
- data/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- data/node_modules/lodash/_cloneBuffer.js +0 -35
- data/node_modules/lodash/_cloneDataView.js +0 -16
- data/node_modules/lodash/_cloneRegExp.js +0 -17
- data/node_modules/lodash/_cloneSymbol.js +0 -18
- data/node_modules/lodash/_cloneTypedArray.js +0 -16
- data/node_modules/lodash/_compareAscending.js +0 -41
- data/node_modules/lodash/_compareMultiple.js +0 -44
- data/node_modules/lodash/_composeArgs.js +0 -39
- data/node_modules/lodash/_composeArgsRight.js +0 -41
- data/node_modules/lodash/_copyArray.js +0 -20
- data/node_modules/lodash/_copyObject.js +0 -40
- data/node_modules/lodash/_copySymbols.js +0 -16
- data/node_modules/lodash/_copySymbolsIn.js +0 -16
- data/node_modules/lodash/_coreJsData.js +0 -6
- data/node_modules/lodash/_countHolders.js +0 -21
- data/node_modules/lodash/_createAggregator.js +0 -23
- data/node_modules/lodash/_createAssigner.js +0 -37
- data/node_modules/lodash/_createBaseEach.js +0 -32
- data/node_modules/lodash/_createBaseFor.js +0 -25
- data/node_modules/lodash/_createBind.js +0 -28
- data/node_modules/lodash/_createCaseFirst.js +0 -33
- data/node_modules/lodash/_createCompounder.js +0 -24
- data/node_modules/lodash/_createCtor.js +0 -37
- data/node_modules/lodash/_createCurry.js +0 -46
- data/node_modules/lodash/_createFind.js +0 -25
- data/node_modules/lodash/_createFlow.js +0 -78
- data/node_modules/lodash/_createHybrid.js +0 -92
- data/node_modules/lodash/_createInverter.js +0 -17
- data/node_modules/lodash/_createMathOperation.js +0 -38
- data/node_modules/lodash/_createOver.js +0 -27
- data/node_modules/lodash/_createPadding.js +0 -33
- data/node_modules/lodash/_createPartial.js +0 -43
- data/node_modules/lodash/_createRange.js +0 -30
- data/node_modules/lodash/_createRecurry.js +0 -56
- data/node_modules/lodash/_createRelationalOperation.js +0 -20
- data/node_modules/lodash/_createRound.js +0 -35
- data/node_modules/lodash/_createSet.js +0 -19
- data/node_modules/lodash/_createToPairs.js +0 -30
- data/node_modules/lodash/_createWrap.js +0 -106
- data/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- data/node_modules/lodash/_customDefaultsMerge.js +0 -28
- data/node_modules/lodash/_customOmitClone.js +0 -16
- data/node_modules/lodash/_deburrLetter.js +0 -71
- data/node_modules/lodash/_defineProperty.js +0 -11
- data/node_modules/lodash/_equalArrays.js +0 -84
- data/node_modules/lodash/_equalByTag.js +0 -112
- data/node_modules/lodash/_equalObjects.js +0 -90
- data/node_modules/lodash/_escapeHtmlChar.js +0 -21
- data/node_modules/lodash/_escapeStringChar.js +0 -22
- data/node_modules/lodash/_flatRest.js +0 -16
- data/node_modules/lodash/_freeGlobal.js +0 -4
- data/node_modules/lodash/_getAllKeys.js +0 -16
- data/node_modules/lodash/_getAllKeysIn.js +0 -17
- data/node_modules/lodash/_getData.js +0 -15
- data/node_modules/lodash/_getFuncName.js +0 -31
- data/node_modules/lodash/_getHolder.js +0 -13
- data/node_modules/lodash/_getMapData.js +0 -18
- data/node_modules/lodash/_getMatchData.js +0 -24
- data/node_modules/lodash/_getNative.js +0 -17
- data/node_modules/lodash/_getPrototype.js +0 -6
- data/node_modules/lodash/_getRawTag.js +0 -46
- data/node_modules/lodash/_getSymbols.js +0 -30
- data/node_modules/lodash/_getSymbolsIn.js +0 -25
- data/node_modules/lodash/_getTag.js +0 -58
- data/node_modules/lodash/_getValue.js +0 -13
- data/node_modules/lodash/_getView.js +0 -33
- data/node_modules/lodash/_getWrapDetails.js +0 -17
- data/node_modules/lodash/_hasPath.js +0 -39
- data/node_modules/lodash/_hasUnicode.js +0 -26
- data/node_modules/lodash/_hasUnicodeWord.js +0 -15
- data/node_modules/lodash/_hashClear.js +0 -15
- data/node_modules/lodash/_hashDelete.js +0 -17
- data/node_modules/lodash/_hashGet.js +0 -30
- data/node_modules/lodash/_hashHas.js +0 -23
- data/node_modules/lodash/_hashSet.js +0 -23
- data/node_modules/lodash/_initCloneArray.js +0 -26
- data/node_modules/lodash/_initCloneByTag.js +0 -77
- data/node_modules/lodash/_initCloneObject.js +0 -18
- data/node_modules/lodash/_insertWrapDetails.js +0 -23
- data/node_modules/lodash/_isFlattenable.js +0 -20
- data/node_modules/lodash/_isIndex.js +0 -25
- data/node_modules/lodash/_isIterateeCall.js +0 -30
- data/node_modules/lodash/_isKey.js +0 -29
- data/node_modules/lodash/_isKeyable.js +0 -15
- data/node_modules/lodash/_isLaziable.js +0 -28
- data/node_modules/lodash/_isMaskable.js +0 -14
- data/node_modules/lodash/_isMasked.js +0 -20
- data/node_modules/lodash/_isPrototype.js +0 -18
- data/node_modules/lodash/_isStrictComparable.js +0 -15
- data/node_modules/lodash/_iteratorToArray.js +0 -18
- data/node_modules/lodash/_lazyClone.js +0 -23
- data/node_modules/lodash/_lazyReverse.js +0 -23
- data/node_modules/lodash/_lazyValue.js +0 -69
- data/node_modules/lodash/_listCacheClear.js +0 -13
- data/node_modules/lodash/_listCacheDelete.js +0 -35
- data/node_modules/lodash/_listCacheGet.js +0 -19
- data/node_modules/lodash/_listCacheHas.js +0 -16
- data/node_modules/lodash/_listCacheSet.js +0 -26
- data/node_modules/lodash/_mapCacheClear.js +0 -21
- data/node_modules/lodash/_mapCacheDelete.js +0 -18
- data/node_modules/lodash/_mapCacheGet.js +0 -16
- data/node_modules/lodash/_mapCacheHas.js +0 -16
- data/node_modules/lodash/_mapCacheSet.js +0 -22
- data/node_modules/lodash/_mapToArray.js +0 -18
- data/node_modules/lodash/_matchesStrictComparable.js +0 -20
- data/node_modules/lodash/_memoizeCapped.js +0 -26
- data/node_modules/lodash/_mergeData.js +0 -90
- data/node_modules/lodash/_metaMap.js +0 -6
- data/node_modules/lodash/_nativeCreate.js +0 -6
- data/node_modules/lodash/_nativeKeys.js +0 -6
- data/node_modules/lodash/_nativeKeysIn.js +0 -20
- data/node_modules/lodash/_nodeUtil.js +0 -30
- data/node_modules/lodash/_objectToString.js +0 -22
- data/node_modules/lodash/_overArg.js +0 -15
- data/node_modules/lodash/_overRest.js +0 -36
- data/node_modules/lodash/_parent.js +0 -16
- data/node_modules/lodash/_reEscape.js +0 -4
- data/node_modules/lodash/_reEvaluate.js +0 -4
- data/node_modules/lodash/_reInterpolate.js +0 -4
- data/node_modules/lodash/_realNames.js +0 -4
- data/node_modules/lodash/_reorder.js +0 -29
- data/node_modules/lodash/_replaceHolders.js +0 -29
- data/node_modules/lodash/_root.js +0 -9
- data/node_modules/lodash/_safeGet.js +0 -21
- data/node_modules/lodash/_setCacheAdd.js +0 -19
- data/node_modules/lodash/_setCacheHas.js +0 -14
- data/node_modules/lodash/_setData.js +0 -20
- data/node_modules/lodash/_setToArray.js +0 -18
- data/node_modules/lodash/_setToPairs.js +0 -18
- data/node_modules/lodash/_setToString.js +0 -14
- data/node_modules/lodash/_setWrapToString.js +0 -21
- data/node_modules/lodash/_shortOut.js +0 -37
- data/node_modules/lodash/_shuffleSelf.js +0 -28
- data/node_modules/lodash/_stackClear.js +0 -15
- data/node_modules/lodash/_stackDelete.js +0 -18
- data/node_modules/lodash/_stackGet.js +0 -14
- data/node_modules/lodash/_stackHas.js +0 -14
- data/node_modules/lodash/_stackSet.js +0 -34
- data/node_modules/lodash/_strictIndexOf.js +0 -23
- data/node_modules/lodash/_strictLastIndexOf.js +0 -21
- data/node_modules/lodash/_stringSize.js +0 -18
- data/node_modules/lodash/_stringToArray.js +0 -18
- data/node_modules/lodash/_stringToPath.js +0 -27
- data/node_modules/lodash/_toKey.js +0 -21
- data/node_modules/lodash/_toSource.js +0 -26
- data/node_modules/lodash/_trimmedEndIndex.js +0 -19
- data/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- data/node_modules/lodash/_unicodeSize.js +0 -44
- data/node_modules/lodash/_unicodeToArray.js +0 -40
- data/node_modules/lodash/_unicodeWords.js +0 -69
- data/node_modules/lodash/_updateWrapDetails.js +0 -46
- data/node_modules/lodash/_wrapperClone.js +0 -23
- data/node_modules/lodash/add.js +0 -22
- data/node_modules/lodash/after.js +0 -42
- data/node_modules/lodash/array.js +0 -67
- data/node_modules/lodash/ary.js +0 -29
- data/node_modules/lodash/assign.js +0 -58
- data/node_modules/lodash/assignIn.js +0 -40
- data/node_modules/lodash/assignInWith.js +0 -38
- data/node_modules/lodash/assignWith.js +0 -37
- data/node_modules/lodash/at.js +0 -23
- data/node_modules/lodash/attempt.js +0 -35
- data/node_modules/lodash/before.js +0 -40
- data/node_modules/lodash/bind.js +0 -57
- data/node_modules/lodash/bindAll.js +0 -41
- data/node_modules/lodash/bindKey.js +0 -68
- data/node_modules/lodash/camelCase.js +0 -29
- data/node_modules/lodash/capitalize.js +0 -23
- data/node_modules/lodash/castArray.js +0 -44
- data/node_modules/lodash/ceil.js +0 -26
- data/node_modules/lodash/chain.js +0 -38
- data/node_modules/lodash/chunk.js +0 -50
- data/node_modules/lodash/clamp.js +0 -39
- data/node_modules/lodash/clone.js +0 -36
- data/node_modules/lodash/cloneDeep.js +0 -29
- data/node_modules/lodash/cloneDeepWith.js +0 -40
- data/node_modules/lodash/cloneWith.js +0 -42
- data/node_modules/lodash/collection.js +0 -30
- data/node_modules/lodash/commit.js +0 -33
- data/node_modules/lodash/compact.js +0 -31
- data/node_modules/lodash/concat.js +0 -43
- data/node_modules/lodash/cond.js +0 -60
- data/node_modules/lodash/conforms.js +0 -35
- data/node_modules/lodash/conformsTo.js +0 -32
- data/node_modules/lodash/constant.js +0 -26
- data/node_modules/lodash/core.js +0 -3877
- data/node_modules/lodash/core.min.js +0 -29
- data/node_modules/lodash/countBy.js +0 -40
- data/node_modules/lodash/create.js +0 -43
- data/node_modules/lodash/curry.js +0 -57
- data/node_modules/lodash/curryRight.js +0 -54
- data/node_modules/lodash/date.js +0 -3
- data/node_modules/lodash/debounce.js +0 -191
- data/node_modules/lodash/deburr.js +0 -45
- data/node_modules/lodash/defaultTo.js +0 -25
- data/node_modules/lodash/defaults.js +0 -64
- data/node_modules/lodash/defaultsDeep.js +0 -30
- data/node_modules/lodash/defer.js +0 -26
- data/node_modules/lodash/delay.js +0 -28
- data/node_modules/lodash/difference.js +0 -33
- data/node_modules/lodash/differenceBy.js +0 -44
- data/node_modules/lodash/differenceWith.js +0 -40
- data/node_modules/lodash/divide.js +0 -22
- data/node_modules/lodash/drop.js +0 -38
- data/node_modules/lodash/dropRight.js +0 -39
- data/node_modules/lodash/dropRightWhile.js +0 -45
- data/node_modules/lodash/dropWhile.js +0 -45
- data/node_modules/lodash/each.js +0 -1
- data/node_modules/lodash/eachRight.js +0 -1
- data/node_modules/lodash/endsWith.js +0 -43
- data/node_modules/lodash/entries.js +0 -1
- data/node_modules/lodash/entriesIn.js +0 -1
- data/node_modules/lodash/eq.js +0 -37
- data/node_modules/lodash/escape.js +0 -43
- data/node_modules/lodash/escapeRegExp.js +0 -32
- data/node_modules/lodash/every.js +0 -56
- data/node_modules/lodash/extend.js +0 -1
- data/node_modules/lodash/extendWith.js +0 -1
- data/node_modules/lodash/fill.js +0 -45
- data/node_modules/lodash/filter.js +0 -52
- data/node_modules/lodash/find.js +0 -42
- data/node_modules/lodash/findIndex.js +0 -55
- data/node_modules/lodash/findKey.js +0 -44
- data/node_modules/lodash/findLast.js +0 -25
- data/node_modules/lodash/findLastIndex.js +0 -59
- data/node_modules/lodash/findLastKey.js +0 -44
- data/node_modules/lodash/first.js +0 -1
- data/node_modules/lodash/flake.lock +0 -40
- data/node_modules/lodash/flake.nix +0 -20
- data/node_modules/lodash/flatMap.js +0 -29
- data/node_modules/lodash/flatMapDeep.js +0 -31
- data/node_modules/lodash/flatMapDepth.js +0 -31
- data/node_modules/lodash/flatten.js +0 -22
- data/node_modules/lodash/flattenDeep.js +0 -25
- data/node_modules/lodash/flattenDepth.js +0 -33
- data/node_modules/lodash/flip.js +0 -28
- data/node_modules/lodash/floor.js +0 -26
- data/node_modules/lodash/flow.js +0 -27
- data/node_modules/lodash/flowRight.js +0 -26
- data/node_modules/lodash/forEach.js +0 -41
- data/node_modules/lodash/forEachRight.js +0 -31
- data/node_modules/lodash/forIn.js +0 -39
- data/node_modules/lodash/forInRight.js +0 -37
- data/node_modules/lodash/forOwn.js +0 -36
- data/node_modules/lodash/forOwnRight.js +0 -34
- data/node_modules/lodash/fp/F.js +0 -1
- data/node_modules/lodash/fp/T.js +0 -1
- data/node_modules/lodash/fp/__.js +0 -1
- data/node_modules/lodash/fp/_baseConvert.js +0 -569
- data/node_modules/lodash/fp/_convertBrowser.js +0 -18
- data/node_modules/lodash/fp/_falseOptions.js +0 -7
- data/node_modules/lodash/fp/_mapping.js +0 -358
- data/node_modules/lodash/fp/_util.js +0 -16
- data/node_modules/lodash/fp/add.js +0 -5
- data/node_modules/lodash/fp/after.js +0 -5
- data/node_modules/lodash/fp/all.js +0 -1
- data/node_modules/lodash/fp/allPass.js +0 -1
- data/node_modules/lodash/fp/always.js +0 -1
- data/node_modules/lodash/fp/any.js +0 -1
- data/node_modules/lodash/fp/anyPass.js +0 -1
- data/node_modules/lodash/fp/apply.js +0 -1
- data/node_modules/lodash/fp/array.js +0 -2
- data/node_modules/lodash/fp/ary.js +0 -5
- data/node_modules/lodash/fp/assign.js +0 -5
- data/node_modules/lodash/fp/assignAll.js +0 -5
- data/node_modules/lodash/fp/assignAllWith.js +0 -5
- data/node_modules/lodash/fp/assignIn.js +0 -5
- data/node_modules/lodash/fp/assignInAll.js +0 -5
- data/node_modules/lodash/fp/assignInAllWith.js +0 -5
- data/node_modules/lodash/fp/assignInWith.js +0 -5
- data/node_modules/lodash/fp/assignWith.js +0 -5
- data/node_modules/lodash/fp/assoc.js +0 -1
- data/node_modules/lodash/fp/assocPath.js +0 -1
- data/node_modules/lodash/fp/at.js +0 -5
- data/node_modules/lodash/fp/attempt.js +0 -5
- data/node_modules/lodash/fp/before.js +0 -5
- data/node_modules/lodash/fp/bind.js +0 -5
- data/node_modules/lodash/fp/bindAll.js +0 -5
- data/node_modules/lodash/fp/bindKey.js +0 -5
- data/node_modules/lodash/fp/camelCase.js +0 -5
- data/node_modules/lodash/fp/capitalize.js +0 -5
- data/node_modules/lodash/fp/castArray.js +0 -5
- data/node_modules/lodash/fp/ceil.js +0 -5
- data/node_modules/lodash/fp/chain.js +0 -5
- data/node_modules/lodash/fp/chunk.js +0 -5
- data/node_modules/lodash/fp/clamp.js +0 -5
- data/node_modules/lodash/fp/clone.js +0 -5
- data/node_modules/lodash/fp/cloneDeep.js +0 -5
- data/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- data/node_modules/lodash/fp/cloneWith.js +0 -5
- data/node_modules/lodash/fp/collection.js +0 -2
- data/node_modules/lodash/fp/commit.js +0 -5
- data/node_modules/lodash/fp/compact.js +0 -5
- data/node_modules/lodash/fp/complement.js +0 -1
- data/node_modules/lodash/fp/compose.js +0 -1
- data/node_modules/lodash/fp/concat.js +0 -5
- data/node_modules/lodash/fp/cond.js +0 -5
- data/node_modules/lodash/fp/conforms.js +0 -1
- data/node_modules/lodash/fp/conformsTo.js +0 -5
- data/node_modules/lodash/fp/constant.js +0 -5
- data/node_modules/lodash/fp/contains.js +0 -1
- data/node_modules/lodash/fp/convert.js +0 -18
- data/node_modules/lodash/fp/countBy.js +0 -5
- data/node_modules/lodash/fp/create.js +0 -5
- data/node_modules/lodash/fp/curry.js +0 -5
- data/node_modules/lodash/fp/curryN.js +0 -5
- data/node_modules/lodash/fp/curryRight.js +0 -5
- data/node_modules/lodash/fp/curryRightN.js +0 -5
- data/node_modules/lodash/fp/date.js +0 -2
- data/node_modules/lodash/fp/debounce.js +0 -5
- data/node_modules/lodash/fp/deburr.js +0 -5
- data/node_modules/lodash/fp/defaultTo.js +0 -5
- data/node_modules/lodash/fp/defaults.js +0 -5
- data/node_modules/lodash/fp/defaultsAll.js +0 -5
- data/node_modules/lodash/fp/defaultsDeep.js +0 -5
- data/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- data/node_modules/lodash/fp/defer.js +0 -5
- data/node_modules/lodash/fp/delay.js +0 -5
- data/node_modules/lodash/fp/difference.js +0 -5
- data/node_modules/lodash/fp/differenceBy.js +0 -5
- data/node_modules/lodash/fp/differenceWith.js +0 -5
- data/node_modules/lodash/fp/dissoc.js +0 -1
- data/node_modules/lodash/fp/dissocPath.js +0 -1
- data/node_modules/lodash/fp/divide.js +0 -5
- data/node_modules/lodash/fp/drop.js +0 -5
- data/node_modules/lodash/fp/dropLast.js +0 -1
- data/node_modules/lodash/fp/dropLastWhile.js +0 -1
- data/node_modules/lodash/fp/dropRight.js +0 -5
- data/node_modules/lodash/fp/dropRightWhile.js +0 -5
- data/node_modules/lodash/fp/dropWhile.js +0 -5
- data/node_modules/lodash/fp/each.js +0 -1
- data/node_modules/lodash/fp/eachRight.js +0 -1
- data/node_modules/lodash/fp/endsWith.js +0 -5
- data/node_modules/lodash/fp/entries.js +0 -1
- data/node_modules/lodash/fp/entriesIn.js +0 -1
- data/node_modules/lodash/fp/eq.js +0 -5
- data/node_modules/lodash/fp/equals.js +0 -1
- data/node_modules/lodash/fp/escape.js +0 -5
- data/node_modules/lodash/fp/escapeRegExp.js +0 -5
- data/node_modules/lodash/fp/every.js +0 -5
- data/node_modules/lodash/fp/extend.js +0 -1
- data/node_modules/lodash/fp/extendAll.js +0 -1
- data/node_modules/lodash/fp/extendAllWith.js +0 -1
- data/node_modules/lodash/fp/extendWith.js +0 -1
- data/node_modules/lodash/fp/fill.js +0 -5
- data/node_modules/lodash/fp/filter.js +0 -5
- data/node_modules/lodash/fp/find.js +0 -5
- data/node_modules/lodash/fp/findFrom.js +0 -5
- data/node_modules/lodash/fp/findIndex.js +0 -5
- data/node_modules/lodash/fp/findIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findKey.js +0 -5
- data/node_modules/lodash/fp/findLast.js +0 -5
- data/node_modules/lodash/fp/findLastFrom.js +0 -5
- data/node_modules/lodash/fp/findLastIndex.js +0 -5
- data/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- data/node_modules/lodash/fp/findLastKey.js +0 -5
- data/node_modules/lodash/fp/first.js +0 -1
- data/node_modules/lodash/fp/flatMap.js +0 -5
- data/node_modules/lodash/fp/flatMapDeep.js +0 -5
- data/node_modules/lodash/fp/flatMapDepth.js +0 -5
- data/node_modules/lodash/fp/flatten.js +0 -5
- data/node_modules/lodash/fp/flattenDeep.js +0 -5
- data/node_modules/lodash/fp/flattenDepth.js +0 -5
- data/node_modules/lodash/fp/flip.js +0 -5
- data/node_modules/lodash/fp/floor.js +0 -5
- data/node_modules/lodash/fp/flow.js +0 -5
- data/node_modules/lodash/fp/flowRight.js +0 -5
- data/node_modules/lodash/fp/forEach.js +0 -5
- data/node_modules/lodash/fp/forEachRight.js +0 -5
- data/node_modules/lodash/fp/forIn.js +0 -5
- data/node_modules/lodash/fp/forInRight.js +0 -5
- data/node_modules/lodash/fp/forOwn.js +0 -5
- data/node_modules/lodash/fp/forOwnRight.js +0 -5
- data/node_modules/lodash/fp/fromPairs.js +0 -5
- data/node_modules/lodash/fp/function.js +0 -2
- data/node_modules/lodash/fp/functions.js +0 -5
- data/node_modules/lodash/fp/functionsIn.js +0 -5
- data/node_modules/lodash/fp/get.js +0 -5
- data/node_modules/lodash/fp/getOr.js +0 -5
- data/node_modules/lodash/fp/groupBy.js +0 -5
- data/node_modules/lodash/fp/gt.js +0 -5
- data/node_modules/lodash/fp/gte.js +0 -5
- data/node_modules/lodash/fp/has.js +0 -5
- data/node_modules/lodash/fp/hasIn.js +0 -5
- data/node_modules/lodash/fp/head.js +0 -5
- data/node_modules/lodash/fp/identical.js +0 -1
- data/node_modules/lodash/fp/identity.js +0 -5
- data/node_modules/lodash/fp/inRange.js +0 -5
- data/node_modules/lodash/fp/includes.js +0 -5
- data/node_modules/lodash/fp/includesFrom.js +0 -5
- data/node_modules/lodash/fp/indexBy.js +0 -1
- data/node_modules/lodash/fp/indexOf.js +0 -5
- data/node_modules/lodash/fp/indexOfFrom.js +0 -5
- data/node_modules/lodash/fp/init.js +0 -1
- data/node_modules/lodash/fp/initial.js +0 -5
- data/node_modules/lodash/fp/intersection.js +0 -5
- data/node_modules/lodash/fp/intersectionBy.js +0 -5
- data/node_modules/lodash/fp/intersectionWith.js +0 -5
- data/node_modules/lodash/fp/invert.js +0 -5
- data/node_modules/lodash/fp/invertBy.js +0 -5
- data/node_modules/lodash/fp/invertObj.js +0 -1
- data/node_modules/lodash/fp/invoke.js +0 -5
- data/node_modules/lodash/fp/invokeArgs.js +0 -5
- data/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- data/node_modules/lodash/fp/invokeMap.js +0 -5
- data/node_modules/lodash/fp/isArguments.js +0 -5
- data/node_modules/lodash/fp/isArray.js +0 -5
- data/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- data/node_modules/lodash/fp/isArrayLike.js +0 -5
- data/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- data/node_modules/lodash/fp/isBoolean.js +0 -5
- data/node_modules/lodash/fp/isBuffer.js +0 -5
- data/node_modules/lodash/fp/isDate.js +0 -5
- data/node_modules/lodash/fp/isElement.js +0 -5
- data/node_modules/lodash/fp/isEmpty.js +0 -5
- data/node_modules/lodash/fp/isEqual.js +0 -5
- data/node_modules/lodash/fp/isEqualWith.js +0 -5
- data/node_modules/lodash/fp/isError.js +0 -5
- data/node_modules/lodash/fp/isFinite.js +0 -5
- data/node_modules/lodash/fp/isFunction.js +0 -5
- data/node_modules/lodash/fp/isInteger.js +0 -5
- data/node_modules/lodash/fp/isLength.js +0 -5
- data/node_modules/lodash/fp/isMap.js +0 -5
- data/node_modules/lodash/fp/isMatch.js +0 -5
- data/node_modules/lodash/fp/isMatchWith.js +0 -5
- data/node_modules/lodash/fp/isNaN.js +0 -5
- data/node_modules/lodash/fp/isNative.js +0 -5
- data/node_modules/lodash/fp/isNil.js +0 -5
- data/node_modules/lodash/fp/isNull.js +0 -5
- data/node_modules/lodash/fp/isNumber.js +0 -5
- data/node_modules/lodash/fp/isObject.js +0 -5
- data/node_modules/lodash/fp/isObjectLike.js +0 -5
- data/node_modules/lodash/fp/isPlainObject.js +0 -5
- data/node_modules/lodash/fp/isRegExp.js +0 -5
- data/node_modules/lodash/fp/isSafeInteger.js +0 -5
- data/node_modules/lodash/fp/isSet.js +0 -5
- data/node_modules/lodash/fp/isString.js +0 -5
- data/node_modules/lodash/fp/isSymbol.js +0 -5
- data/node_modules/lodash/fp/isTypedArray.js +0 -5
- data/node_modules/lodash/fp/isUndefined.js +0 -5
- data/node_modules/lodash/fp/isWeakMap.js +0 -5
- data/node_modules/lodash/fp/isWeakSet.js +0 -5
- data/node_modules/lodash/fp/iteratee.js +0 -5
- data/node_modules/lodash/fp/join.js +0 -5
- data/node_modules/lodash/fp/juxt.js +0 -1
- data/node_modules/lodash/fp/kebabCase.js +0 -5
- data/node_modules/lodash/fp/keyBy.js +0 -5
- data/node_modules/lodash/fp/keys.js +0 -5
- data/node_modules/lodash/fp/keysIn.js +0 -5
- data/node_modules/lodash/fp/lang.js +0 -2
- data/node_modules/lodash/fp/last.js +0 -5
- data/node_modules/lodash/fp/lastIndexOf.js +0 -5
- data/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- data/node_modules/lodash/fp/lowerCase.js +0 -5
- data/node_modules/lodash/fp/lowerFirst.js +0 -5
- data/node_modules/lodash/fp/lt.js +0 -5
- data/node_modules/lodash/fp/lte.js +0 -5
- data/node_modules/lodash/fp/map.js +0 -5
- data/node_modules/lodash/fp/mapKeys.js +0 -5
- data/node_modules/lodash/fp/mapValues.js +0 -5
- data/node_modules/lodash/fp/matches.js +0 -1
- data/node_modules/lodash/fp/matchesProperty.js +0 -5
- data/node_modules/lodash/fp/math.js +0 -2
- data/node_modules/lodash/fp/max.js +0 -5
- data/node_modules/lodash/fp/maxBy.js +0 -5
- data/node_modules/lodash/fp/mean.js +0 -5
- data/node_modules/lodash/fp/meanBy.js +0 -5
- data/node_modules/lodash/fp/memoize.js +0 -5
- data/node_modules/lodash/fp/merge.js +0 -5
- data/node_modules/lodash/fp/mergeAll.js +0 -5
- data/node_modules/lodash/fp/mergeAllWith.js +0 -5
- data/node_modules/lodash/fp/mergeWith.js +0 -5
- data/node_modules/lodash/fp/method.js +0 -5
- data/node_modules/lodash/fp/methodOf.js +0 -5
- data/node_modules/lodash/fp/min.js +0 -5
- data/node_modules/lodash/fp/minBy.js +0 -5
- data/node_modules/lodash/fp/mixin.js +0 -5
- data/node_modules/lodash/fp/multiply.js +0 -5
- data/node_modules/lodash/fp/nAry.js +0 -1
- data/node_modules/lodash/fp/negate.js +0 -5
- data/node_modules/lodash/fp/next.js +0 -5
- data/node_modules/lodash/fp/noop.js +0 -5
- data/node_modules/lodash/fp/now.js +0 -5
- data/node_modules/lodash/fp/nth.js +0 -5
- data/node_modules/lodash/fp/nthArg.js +0 -5
- data/node_modules/lodash/fp/number.js +0 -2
- data/node_modules/lodash/fp/object.js +0 -2
- data/node_modules/lodash/fp/omit.js +0 -5
- data/node_modules/lodash/fp/omitAll.js +0 -1
- data/node_modules/lodash/fp/omitBy.js +0 -5
- data/node_modules/lodash/fp/once.js +0 -5
- data/node_modules/lodash/fp/orderBy.js +0 -5
- data/node_modules/lodash/fp/over.js +0 -5
- data/node_modules/lodash/fp/overArgs.js +0 -5
- data/node_modules/lodash/fp/overEvery.js +0 -5
- data/node_modules/lodash/fp/overSome.js +0 -5
- data/node_modules/lodash/fp/pad.js +0 -5
- data/node_modules/lodash/fp/padChars.js +0 -5
- data/node_modules/lodash/fp/padCharsEnd.js +0 -5
- data/node_modules/lodash/fp/padCharsStart.js +0 -5
- data/node_modules/lodash/fp/padEnd.js +0 -5
- data/node_modules/lodash/fp/padStart.js +0 -5
- data/node_modules/lodash/fp/parseInt.js +0 -5
- data/node_modules/lodash/fp/partial.js +0 -5
- data/node_modules/lodash/fp/partialRight.js +0 -5
- data/node_modules/lodash/fp/partition.js +0 -5
- data/node_modules/lodash/fp/path.js +0 -1
- data/node_modules/lodash/fp/pathEq.js +0 -1
- data/node_modules/lodash/fp/pathOr.js +0 -1
- data/node_modules/lodash/fp/paths.js +0 -1
- data/node_modules/lodash/fp/pick.js +0 -5
- data/node_modules/lodash/fp/pickAll.js +0 -1
- data/node_modules/lodash/fp/pickBy.js +0 -5
- data/node_modules/lodash/fp/pipe.js +0 -1
- data/node_modules/lodash/fp/placeholder.js +0 -6
- data/node_modules/lodash/fp/plant.js +0 -5
- data/node_modules/lodash/fp/pluck.js +0 -1
- data/node_modules/lodash/fp/prop.js +0 -1
- data/node_modules/lodash/fp/propEq.js +0 -1
- data/node_modules/lodash/fp/propOr.js +0 -1
- data/node_modules/lodash/fp/property.js +0 -1
- data/node_modules/lodash/fp/propertyOf.js +0 -5
- data/node_modules/lodash/fp/props.js +0 -1
- data/node_modules/lodash/fp/pull.js +0 -5
- data/node_modules/lodash/fp/pullAll.js +0 -5
- data/node_modules/lodash/fp/pullAllBy.js +0 -5
- data/node_modules/lodash/fp/pullAllWith.js +0 -5
- data/node_modules/lodash/fp/pullAt.js +0 -5
- data/node_modules/lodash/fp/random.js +0 -5
- data/node_modules/lodash/fp/range.js +0 -5
- data/node_modules/lodash/fp/rangeRight.js +0 -5
- data/node_modules/lodash/fp/rangeStep.js +0 -5
- data/node_modules/lodash/fp/rangeStepRight.js +0 -5
- data/node_modules/lodash/fp/rearg.js +0 -5
- data/node_modules/lodash/fp/reduce.js +0 -5
- data/node_modules/lodash/fp/reduceRight.js +0 -5
- data/node_modules/lodash/fp/reject.js +0 -5
- data/node_modules/lodash/fp/remove.js +0 -5
- data/node_modules/lodash/fp/repeat.js +0 -5
- data/node_modules/lodash/fp/replace.js +0 -5
- data/node_modules/lodash/fp/rest.js +0 -5
- data/node_modules/lodash/fp/restFrom.js +0 -5
- data/node_modules/lodash/fp/result.js +0 -5
- data/node_modules/lodash/fp/reverse.js +0 -5
- data/node_modules/lodash/fp/round.js +0 -5
- data/node_modules/lodash/fp/sample.js +0 -5
- data/node_modules/lodash/fp/sampleSize.js +0 -5
- data/node_modules/lodash/fp/seq.js +0 -2
- data/node_modules/lodash/fp/set.js +0 -5
- data/node_modules/lodash/fp/setWith.js +0 -5
- data/node_modules/lodash/fp/shuffle.js +0 -5
- data/node_modules/lodash/fp/size.js +0 -5
- data/node_modules/lodash/fp/slice.js +0 -5
- data/node_modules/lodash/fp/snakeCase.js +0 -5
- data/node_modules/lodash/fp/some.js +0 -5
- data/node_modules/lodash/fp/sortBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndex.js +0 -5
- data/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- data/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- data/node_modules/lodash/fp/sortedUniq.js +0 -5
- data/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- data/node_modules/lodash/fp/split.js +0 -5
- data/node_modules/lodash/fp/spread.js +0 -5
- data/node_modules/lodash/fp/spreadFrom.js +0 -5
- data/node_modules/lodash/fp/startCase.js +0 -5
- data/node_modules/lodash/fp/startsWith.js +0 -5
- data/node_modules/lodash/fp/string.js +0 -2
- data/node_modules/lodash/fp/stubArray.js +0 -5
- data/node_modules/lodash/fp/stubFalse.js +0 -5
- data/node_modules/lodash/fp/stubObject.js +0 -5
- data/node_modules/lodash/fp/stubString.js +0 -5
- data/node_modules/lodash/fp/stubTrue.js +0 -5
- data/node_modules/lodash/fp/subtract.js +0 -5
- data/node_modules/lodash/fp/sum.js +0 -5
- data/node_modules/lodash/fp/sumBy.js +0 -5
- data/node_modules/lodash/fp/symmetricDifference.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- data/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- data/node_modules/lodash/fp/tail.js +0 -5
- data/node_modules/lodash/fp/take.js +0 -5
- data/node_modules/lodash/fp/takeLast.js +0 -1
- data/node_modules/lodash/fp/takeLastWhile.js +0 -1
- data/node_modules/lodash/fp/takeRight.js +0 -5
- data/node_modules/lodash/fp/takeRightWhile.js +0 -5
- data/node_modules/lodash/fp/takeWhile.js +0 -5
- data/node_modules/lodash/fp/tap.js +0 -5
- data/node_modules/lodash/fp/template.js +0 -5
- data/node_modules/lodash/fp/templateSettings.js +0 -5
- data/node_modules/lodash/fp/throttle.js +0 -5
- data/node_modules/lodash/fp/thru.js +0 -5
- data/node_modules/lodash/fp/times.js +0 -5
- data/node_modules/lodash/fp/toArray.js +0 -5
- data/node_modules/lodash/fp/toFinite.js +0 -5
- data/node_modules/lodash/fp/toInteger.js +0 -5
- data/node_modules/lodash/fp/toIterator.js +0 -5
- data/node_modules/lodash/fp/toJSON.js +0 -5
- data/node_modules/lodash/fp/toLength.js +0 -5
- data/node_modules/lodash/fp/toLower.js +0 -5
- data/node_modules/lodash/fp/toNumber.js +0 -5
- data/node_modules/lodash/fp/toPairs.js +0 -5
- data/node_modules/lodash/fp/toPairsIn.js +0 -5
- data/node_modules/lodash/fp/toPath.js +0 -5
- data/node_modules/lodash/fp/toPlainObject.js +0 -5
- data/node_modules/lodash/fp/toSafeInteger.js +0 -5
- data/node_modules/lodash/fp/toString.js +0 -5
- data/node_modules/lodash/fp/toUpper.js +0 -5
- data/node_modules/lodash/fp/transform.js +0 -5
- data/node_modules/lodash/fp/trim.js +0 -5
- data/node_modules/lodash/fp/trimChars.js +0 -5
- data/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- data/node_modules/lodash/fp/trimCharsStart.js +0 -5
- data/node_modules/lodash/fp/trimEnd.js +0 -5
- data/node_modules/lodash/fp/trimStart.js +0 -5
- data/node_modules/lodash/fp/truncate.js +0 -5
- data/node_modules/lodash/fp/unapply.js +0 -1
- data/node_modules/lodash/fp/unary.js +0 -5
- data/node_modules/lodash/fp/unescape.js +0 -5
- data/node_modules/lodash/fp/union.js +0 -5
- data/node_modules/lodash/fp/unionBy.js +0 -5
- data/node_modules/lodash/fp/unionWith.js +0 -5
- data/node_modules/lodash/fp/uniq.js +0 -5
- data/node_modules/lodash/fp/uniqBy.js +0 -5
- data/node_modules/lodash/fp/uniqWith.js +0 -5
- data/node_modules/lodash/fp/uniqueId.js +0 -5
- data/node_modules/lodash/fp/unnest.js +0 -1
- data/node_modules/lodash/fp/unset.js +0 -5
- data/node_modules/lodash/fp/unzip.js +0 -5
- data/node_modules/lodash/fp/unzipWith.js +0 -5
- data/node_modules/lodash/fp/update.js +0 -5
- data/node_modules/lodash/fp/updateWith.js +0 -5
- data/node_modules/lodash/fp/upperCase.js +0 -5
- data/node_modules/lodash/fp/upperFirst.js +0 -5
- data/node_modules/lodash/fp/useWith.js +0 -1
- data/node_modules/lodash/fp/util.js +0 -2
- data/node_modules/lodash/fp/value.js +0 -5
- data/node_modules/lodash/fp/valueOf.js +0 -5
- data/node_modules/lodash/fp/values.js +0 -5
- data/node_modules/lodash/fp/valuesIn.js +0 -5
- data/node_modules/lodash/fp/where.js +0 -1
- data/node_modules/lodash/fp/whereEq.js +0 -1
- data/node_modules/lodash/fp/without.js +0 -5
- data/node_modules/lodash/fp/words.js +0 -5
- data/node_modules/lodash/fp/wrap.js +0 -5
- data/node_modules/lodash/fp/wrapperAt.js +0 -5
- data/node_modules/lodash/fp/wrapperChain.js +0 -5
- data/node_modules/lodash/fp/wrapperLodash.js +0 -5
- data/node_modules/lodash/fp/wrapperReverse.js +0 -5
- data/node_modules/lodash/fp/wrapperValue.js +0 -5
- data/node_modules/lodash/fp/xor.js +0 -5
- data/node_modules/lodash/fp/xorBy.js +0 -5
- data/node_modules/lodash/fp/xorWith.js +0 -5
- data/node_modules/lodash/fp/zip.js +0 -5
- data/node_modules/lodash/fp/zipAll.js +0 -5
- data/node_modules/lodash/fp/zipObj.js +0 -1
- data/node_modules/lodash/fp/zipObject.js +0 -5
- data/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- data/node_modules/lodash/fp/zipWith.js +0 -5
- data/node_modules/lodash/fp.js +0 -2
- data/node_modules/lodash/fromPairs.js +0 -28
- data/node_modules/lodash/function.js +0 -25
- data/node_modules/lodash/functions.js +0 -31
- data/node_modules/lodash/functionsIn.js +0 -31
- data/node_modules/lodash/get.js +0 -33
- data/node_modules/lodash/groupBy.js +0 -41
- data/node_modules/lodash/gt.js +0 -29
- data/node_modules/lodash/gte.js +0 -30
- data/node_modules/lodash/has.js +0 -35
- data/node_modules/lodash/hasIn.js +0 -34
- data/node_modules/lodash/head.js +0 -23
- data/node_modules/lodash/identity.js +0 -21
- data/node_modules/lodash/inRange.js +0 -55
- data/node_modules/lodash/includes.js +0 -53
- data/node_modules/lodash/index.js +0 -1
- data/node_modules/lodash/indexOf.js +0 -42
- data/node_modules/lodash/initial.js +0 -22
- data/node_modules/lodash/intersection.js +0 -30
- data/node_modules/lodash/intersectionBy.js +0 -45
- data/node_modules/lodash/intersectionWith.js +0 -41
- data/node_modules/lodash/invert.js +0 -42
- data/node_modules/lodash/invertBy.js +0 -56
- data/node_modules/lodash/invoke.js +0 -24
- data/node_modules/lodash/invokeMap.js +0 -41
- data/node_modules/lodash/isArguments.js +0 -36
- data/node_modules/lodash/isArray.js +0 -26
- data/node_modules/lodash/isArrayBuffer.js +0 -27
- data/node_modules/lodash/isArrayLike.js +0 -33
- data/node_modules/lodash/isArrayLikeObject.js +0 -33
- data/node_modules/lodash/isBoolean.js +0 -29
- data/node_modules/lodash/isBuffer.js +0 -38
- data/node_modules/lodash/isDate.js +0 -27
- data/node_modules/lodash/isElement.js +0 -25
- data/node_modules/lodash/isEmpty.js +0 -77
- data/node_modules/lodash/isEqual.js +0 -35
- data/node_modules/lodash/isEqualWith.js +0 -41
- data/node_modules/lodash/isError.js +0 -36
- data/node_modules/lodash/isFinite.js +0 -36
- data/node_modules/lodash/isFunction.js +0 -37
- data/node_modules/lodash/isInteger.js +0 -33
- data/node_modules/lodash/isLength.js +0 -35
- data/node_modules/lodash/isMap.js +0 -27
- data/node_modules/lodash/isMatch.js +0 -36
- data/node_modules/lodash/isMatchWith.js +0 -41
- data/node_modules/lodash/isNaN.js +0 -38
- data/node_modules/lodash/isNative.js +0 -40
- data/node_modules/lodash/isNil.js +0 -25
- data/node_modules/lodash/isNull.js +0 -22
- data/node_modules/lodash/isNumber.js +0 -38
- data/node_modules/lodash/isObject.js +0 -31
- data/node_modules/lodash/isObjectLike.js +0 -29
- data/node_modules/lodash/isPlainObject.js +0 -62
- data/node_modules/lodash/isRegExp.js +0 -27
- data/node_modules/lodash/isSafeInteger.js +0 -37
- data/node_modules/lodash/isSet.js +0 -27
- data/node_modules/lodash/isString.js +0 -30
- data/node_modules/lodash/isSymbol.js +0 -29
- data/node_modules/lodash/isTypedArray.js +0 -27
- data/node_modules/lodash/isUndefined.js +0 -22
- data/node_modules/lodash/isWeakMap.js +0 -28
- data/node_modules/lodash/isWeakSet.js +0 -28
- data/node_modules/lodash/iteratee.js +0 -53
- data/node_modules/lodash/join.js +0 -26
- data/node_modules/lodash/kebabCase.js +0 -28
- data/node_modules/lodash/keyBy.js +0 -36
- data/node_modules/lodash/keys.js +0 -37
- data/node_modules/lodash/keysIn.js +0 -32
- data/node_modules/lodash/lang.js +0 -58
- data/node_modules/lodash/last.js +0 -20
- data/node_modules/lodash/lastIndexOf.js +0 -46
- data/node_modules/lodash/lodash.js +0 -17209
- data/node_modules/lodash/lodash.min.js +0 -140
- data/node_modules/lodash/lowerCase.js +0 -27
- data/node_modules/lodash/lowerFirst.js +0 -22
- data/node_modules/lodash/lt.js +0 -29
- data/node_modules/lodash/lte.js +0 -30
- data/node_modules/lodash/map.js +0 -53
- data/node_modules/lodash/mapKeys.js +0 -36
- data/node_modules/lodash/mapValues.js +0 -43
- data/node_modules/lodash/matches.js +0 -46
- data/node_modules/lodash/matchesProperty.js +0 -44
- data/node_modules/lodash/math.js +0 -17
- data/node_modules/lodash/max.js +0 -29
- data/node_modules/lodash/maxBy.js +0 -34
- data/node_modules/lodash/mean.js +0 -22
- data/node_modules/lodash/meanBy.js +0 -31
- data/node_modules/lodash/memoize.js +0 -73
- data/node_modules/lodash/merge.js +0 -39
- data/node_modules/lodash/mergeWith.js +0 -39
- data/node_modules/lodash/method.js +0 -34
- data/node_modules/lodash/methodOf.js +0 -33
- data/node_modules/lodash/min.js +0 -29
- data/node_modules/lodash/minBy.js +0 -34
- data/node_modules/lodash/mixin.js +0 -74
- data/node_modules/lodash/multiply.js +0 -22
- data/node_modules/lodash/negate.js +0 -40
- data/node_modules/lodash/next.js +0 -35
- data/node_modules/lodash/noop.js +0 -17
- data/node_modules/lodash/now.js +0 -23
- data/node_modules/lodash/nth.js +0 -29
- data/node_modules/lodash/nthArg.js +0 -32
- data/node_modules/lodash/number.js +0 -5
- data/node_modules/lodash/object.js +0 -49
- data/node_modules/lodash/omit.js +0 -57
- data/node_modules/lodash/omitBy.js +0 -29
- data/node_modules/lodash/once.js +0 -25
- data/node_modules/lodash/orderBy.js +0 -47
- data/node_modules/lodash/over.js +0 -24
- data/node_modules/lodash/overArgs.js +0 -61
- data/node_modules/lodash/overEvery.js +0 -34
- data/node_modules/lodash/overSome.js +0 -37
- data/node_modules/lodash/package.json +0 -17
- data/node_modules/lodash/pad.js +0 -49
- data/node_modules/lodash/padEnd.js +0 -39
- data/node_modules/lodash/padStart.js +0 -39
- data/node_modules/lodash/parseInt.js +0 -43
- data/node_modules/lodash/partial.js +0 -50
- data/node_modules/lodash/partialRight.js +0 -49
- data/node_modules/lodash/partition.js +0 -43
- data/node_modules/lodash/pick.js +0 -25
- data/node_modules/lodash/pickBy.js +0 -37
- data/node_modules/lodash/plant.js +0 -48
- data/node_modules/lodash/property.js +0 -32
- data/node_modules/lodash/propertyOf.js +0 -30
- data/node_modules/lodash/pull.js +0 -29
- data/node_modules/lodash/pullAll.js +0 -29
- data/node_modules/lodash/pullAllBy.js +0 -33
- data/node_modules/lodash/pullAllWith.js +0 -32
- data/node_modules/lodash/pullAt.js +0 -43
- data/node_modules/lodash/random.js +0 -82
- data/node_modules/lodash/range.js +0 -46
- data/node_modules/lodash/rangeRight.js +0 -41
- data/node_modules/lodash/rearg.js +0 -33
- data/node_modules/lodash/reduce.js +0 -51
- data/node_modules/lodash/reduceRight.js +0 -36
- data/node_modules/lodash/reject.js +0 -46
- data/node_modules/lodash/release.md +0 -48
- data/node_modules/lodash/remove.js +0 -53
- data/node_modules/lodash/repeat.js +0 -37
- data/node_modules/lodash/replace.js +0 -29
- data/node_modules/lodash/rest.js +0 -40
- data/node_modules/lodash/result.js +0 -56
- data/node_modules/lodash/reverse.js +0 -34
- data/node_modules/lodash/round.js +0 -26
- data/node_modules/lodash/sample.js +0 -24
- data/node_modules/lodash/sampleSize.js +0 -37
- data/node_modules/lodash/seq.js +0 -16
- data/node_modules/lodash/set.js +0 -35
- data/node_modules/lodash/setWith.js +0 -32
- data/node_modules/lodash/shuffle.js +0 -25
- data/node_modules/lodash/size.js +0 -46
- data/node_modules/lodash/slice.js +0 -37
- data/node_modules/lodash/snakeCase.js +0 -28
- data/node_modules/lodash/some.js +0 -51
- data/node_modules/lodash/sortBy.js +0 -48
- data/node_modules/lodash/sortedIndex.js +0 -24
- data/node_modules/lodash/sortedIndexBy.js +0 -33
- data/node_modules/lodash/sortedIndexOf.js +0 -31
- data/node_modules/lodash/sortedLastIndex.js +0 -25
- data/node_modules/lodash/sortedLastIndexBy.js +0 -33
- data/node_modules/lodash/sortedLastIndexOf.js +0 -31
- data/node_modules/lodash/sortedUniq.js +0 -24
- data/node_modules/lodash/sortedUniqBy.js +0 -26
- data/node_modules/lodash/split.js +0 -52
- data/node_modules/lodash/spread.js +0 -63
- data/node_modules/lodash/startCase.js +0 -29
- data/node_modules/lodash/startsWith.js +0 -39
- data/node_modules/lodash/string.js +0 -33
- data/node_modules/lodash/stubArray.js +0 -23
- data/node_modules/lodash/stubFalse.js +0 -18
- data/node_modules/lodash/stubObject.js +0 -23
- data/node_modules/lodash/stubString.js +0 -18
- data/node_modules/lodash/stubTrue.js +0 -18
- data/node_modules/lodash/subtract.js +0 -22
- data/node_modules/lodash/sum.js +0 -24
- data/node_modules/lodash/sumBy.js +0 -33
- data/node_modules/lodash/tail.js +0 -22
- data/node_modules/lodash/take.js +0 -37
- data/node_modules/lodash/takeRight.js +0 -39
- data/node_modules/lodash/takeRightWhile.js +0 -45
- data/node_modules/lodash/takeWhile.js +0 -45
- data/node_modules/lodash/tap.js +0 -29
- data/node_modules/lodash/template.js +0 -272
- data/node_modules/lodash/templateSettings.js +0 -67
- data/node_modules/lodash/throttle.js +0 -69
- data/node_modules/lodash/thru.js +0 -28
- data/node_modules/lodash/times.js +0 -51
- data/node_modules/lodash/toArray.js +0 -58
- data/node_modules/lodash/toFinite.js +0 -42
- data/node_modules/lodash/toInteger.js +0 -36
- data/node_modules/lodash/toIterator.js +0 -23
- data/node_modules/lodash/toJSON.js +0 -1
- data/node_modules/lodash/toLength.js +0 -38
- data/node_modules/lodash/toLower.js +0 -28
- data/node_modules/lodash/toNumber.js +0 -64
- data/node_modules/lodash/toPairs.js +0 -30
- data/node_modules/lodash/toPairsIn.js +0 -30
- data/node_modules/lodash/toPath.js +0 -33
- data/node_modules/lodash/toPlainObject.js +0 -32
- data/node_modules/lodash/toSafeInteger.js +0 -37
- data/node_modules/lodash/toString.js +0 -28
- data/node_modules/lodash/toUpper.js +0 -28
- data/node_modules/lodash/transform.js +0 -65
- data/node_modules/lodash/trim.js +0 -47
- data/node_modules/lodash/trimEnd.js +0 -41
- data/node_modules/lodash/trimStart.js +0 -43
- data/node_modules/lodash/truncate.js +0 -111
- data/node_modules/lodash/unary.js +0 -22
- data/node_modules/lodash/unescape.js +0 -34
- data/node_modules/lodash/union.js +0 -26
- data/node_modules/lodash/unionBy.js +0 -39
- data/node_modules/lodash/unionWith.js +0 -34
- data/node_modules/lodash/uniq.js +0 -25
- data/node_modules/lodash/uniqBy.js +0 -31
- data/node_modules/lodash/uniqWith.js +0 -28
- data/node_modules/lodash/uniqueId.js +0 -28
- data/node_modules/lodash/unset.js +0 -34
- data/node_modules/lodash/unzip.js +0 -45
- data/node_modules/lodash/unzipWith.js +0 -39
- data/node_modules/lodash/update.js +0 -35
- data/node_modules/lodash/updateWith.js +0 -33
- data/node_modules/lodash/upperCase.js +0 -27
- data/node_modules/lodash/upperFirst.js +0 -22
- data/node_modules/lodash/util.js +0 -34
- data/node_modules/lodash/value.js +0 -1
- data/node_modules/lodash/valueOf.js +0 -1
- data/node_modules/lodash/values.js +0 -34
- data/node_modules/lodash/valuesIn.js +0 -32
- data/node_modules/lodash/without.js +0 -31
- data/node_modules/lodash/words.js +0 -35
- data/node_modules/lodash/wrap.js +0 -30
- data/node_modules/lodash/wrapperAt.js +0 -48
- data/node_modules/lodash/wrapperChain.js +0 -34
- data/node_modules/lodash/wrapperLodash.js +0 -147
- data/node_modules/lodash/wrapperReverse.js +0 -44
- data/node_modules/lodash/wrapperValue.js +0 -21
- data/node_modules/lodash/xor.js +0 -28
- data/node_modules/lodash/xorBy.js +0 -39
- data/node_modules/lodash/xorWith.js +0 -34
- data/node_modules/lodash/zip.js +0 -22
- data/node_modules/lodash/zipObject.js +0 -24
- data/node_modules/lodash/zipObjectDeep.js +0 -23
- data/node_modules/lodash/zipWith.js +0 -32
- data/node_modules/lru-cache/LICENSE +0 -15
- data/node_modules/lru-cache/README.md +0 -166
- data/node_modules/lru-cache/index.js +0 -334
- data/node_modules/lru-cache/package.json +0 -34
- data/node_modules/mime-db/HISTORY.md +0 -486
- data/node_modules/mime-db/LICENSE +0 -22
- data/node_modules/mime-db/README.md +0 -100
- data/node_modules/mime-db/db.json +0 -8417
- data/node_modules/mime-db/index.js +0 -11
- data/node_modules/mime-db/package.json +0 -59
- data/node_modules/mime-types/HISTORY.md +0 -378
- data/node_modules/mime-types/LICENSE +0 -23
- data/node_modules/mime-types/README.md +0 -113
- data/node_modules/mime-types/index.js +0 -188
- data/node_modules/mime-types/package.json +0 -44
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/ms/index.js +0 -162
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -60
- data/node_modules/normalize-path/LICENSE +0 -21
- data/node_modules/normalize-path/README.md +0 -127
- data/node_modules/normalize-path/index.js +0 -35
- data/node_modules/normalize-path/package.json +0 -77
- data/node_modules/nwsapi/LICENSE +0 -22
- data/node_modules/nwsapi/README.md +0 -132
- data/node_modules/nwsapi/dist/lint.log +0 -0
- data/node_modules/nwsapi/package.json +0 -38
- data/node_modules/nwsapi/src/modules/nwsapi-jquery.js +0 -135
- data/node_modules/nwsapi/src/modules/nwsapi-traversal.js +0 -90
- data/node_modules/nwsapi/src/nwsapi.js +0 -1800
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/optionator/CHANGELOG.md +0 -56
- data/node_modules/optionator/LICENSE +0 -22
- data/node_modules/optionator/README.md +0 -238
- data/node_modules/optionator/lib/help.js +0 -260
- data/node_modules/optionator/lib/index.js +0 -465
- data/node_modules/optionator/lib/util.js +0 -54
- data/node_modules/optionator/package.json +0 -44
- data/node_modules/parse5/LICENSE +0 -19
- data/node_modules/parse5/README.md +0 -38
- data/node_modules/parse5/lib/common/doctype.js +0 -162
- data/node_modules/parse5/lib/common/error-codes.js +0 -65
- data/node_modules/parse5/lib/common/foreign-content.js +0 -265
- data/node_modules/parse5/lib/common/html.js +0 -272
- data/node_modules/parse5/lib/common/unicode.js +0 -109
- data/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
- data/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
- data/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
- data/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
- data/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
- data/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
- data/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
- data/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
- data/node_modules/parse5/lib/index.js +0 -29
- data/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
- data/node_modules/parse5/lib/parser/index.js +0 -2956
- data/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
- data/node_modules/parse5/lib/serializer/index.js +0 -176
- data/node_modules/parse5/lib/tokenizer/index.js +0 -2196
- data/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
- data/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
- data/node_modules/parse5/lib/tree-adapters/default.js +0 -221
- data/node_modules/parse5/lib/utils/merge-options.js +0 -13
- data/node_modules/parse5/lib/utils/mixin.js +0 -39
- data/node_modules/parse5/package.json +0 -35
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/path-key/index.d.ts +0 -40
- data/node_modules/path-key/index.js +0 -16
- data/node_modules/path-key/license +0 -9
- data/node_modules/path-key/package.json +0 -39
- data/node_modules/path-key/readme.md +0 -61
- data/node_modules/picomatch/CHANGELOG.md +0 -126
- data/node_modules/picomatch/LICENSE +0 -21
- data/node_modules/picomatch/README.md +0 -707
- data/node_modules/picomatch/index.js +0 -3
- data/node_modules/picomatch/lib/constants.js +0 -179
- data/node_modules/picomatch/lib/parse.js +0 -1084
- data/node_modules/picomatch/lib/picomatch.js +0 -342
- data/node_modules/picomatch/lib/scan.js +0 -391
- data/node_modules/picomatch/lib/utils.js +0 -64
- data/node_modules/picomatch/package.json +0 -81
- data/node_modules/prelude-ls/CHANGELOG.md +0 -99
- data/node_modules/prelude-ls/LICENSE +0 -22
- data/node_modules/prelude-ls/README.md +0 -15
- data/node_modules/prelude-ls/lib/Func.js +0 -65
- data/node_modules/prelude-ls/lib/List.js +0 -686
- data/node_modules/prelude-ls/lib/Num.js +0 -130
- data/node_modules/prelude-ls/lib/Obj.js +0 -154
- data/node_modules/prelude-ls/lib/Str.js +0 -92
- data/node_modules/prelude-ls/lib/index.js +0 -178
- data/node_modules/prelude-ls/package.json +0 -52
- data/node_modules/psl/LICENSE +0 -9
- data/node_modules/psl/README.md +0 -215
- data/node_modules/psl/browserstack-logo.svg +0 -90
- data/node_modules/psl/data/rules.json +0 -8834
- data/node_modules/psl/dist/psl.js +0 -9645
- data/node_modules/psl/dist/psl.min.js +0 -1
- data/node_modules/psl/index.js +0 -269
- data/node_modules/psl/package.json +0 -44
- data/node_modules/punycode/LICENSE-MIT.txt +0 -20
- data/node_modules/punycode/README.md +0 -122
- data/node_modules/punycode/package.json +0 -58
- data/node_modules/punycode/punycode.es6.js +0 -441
- data/node_modules/punycode/punycode.js +0 -440
- data/node_modules/readdirp/LICENSE +0 -21
- data/node_modules/readdirp/README.md +0 -122
- data/node_modules/readdirp/index.d.ts +0 -43
- data/node_modules/readdirp/index.js +0 -287
- data/node_modules/readdirp/package.json +0 -122
- data/node_modules/require-directory/LICENSE +0 -22
- data/node_modules/require-directory/README.markdown +0 -184
- data/node_modules/require-directory/index.js +0 -86
- data/node_modules/require-directory/package.json +0 -40
- data/node_modules/safer-buffer/LICENSE +0 -21
- data/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- data/node_modules/safer-buffer/Readme.md +0 -156
- data/node_modules/safer-buffer/dangerous.js +0 -58
- data/node_modules/safer-buffer/package.json +0 -34
- data/node_modules/safer-buffer/safer.js +0 -77
- data/node_modules/safer-buffer/tests.js +0 -406
- data/node_modules/saxes/README.md +0 -323
- data/node_modules/saxes/package.json +0 -70
- data/node_modules/saxes/saxes.d.ts +0 -635
- data/node_modules/saxes/saxes.js +0 -2064
- data/node_modules/saxes/saxes.js.map +0 -1
- data/node_modules/semver/CHANGELOG.md +0 -111
- data/node_modules/semver/LICENSE +0 -15
- data/node_modules/semver/README.md +0 -566
- data/node_modules/semver/bin/semver.js +0 -173
- data/node_modules/semver/classes/comparator.js +0 -135
- data/node_modules/semver/classes/index.js +0 -5
- data/node_modules/semver/classes/range.js +0 -510
- data/node_modules/semver/classes/semver.js +0 -287
- data/node_modules/semver/functions/clean.js +0 -6
- data/node_modules/semver/functions/cmp.js +0 -48
- data/node_modules/semver/functions/coerce.js +0 -51
- data/node_modules/semver/functions/compare-build.js +0 -7
- data/node_modules/semver/functions/compare-loose.js +0 -3
- data/node_modules/semver/functions/compare.js +0 -5
- data/node_modules/semver/functions/diff.js +0 -23
- data/node_modules/semver/functions/eq.js +0 -3
- data/node_modules/semver/functions/gt.js +0 -3
- data/node_modules/semver/functions/gte.js +0 -3
- data/node_modules/semver/functions/inc.js +0 -15
- data/node_modules/semver/functions/lt.js +0 -3
- data/node_modules/semver/functions/lte.js +0 -3
- data/node_modules/semver/functions/major.js +0 -3
- data/node_modules/semver/functions/minor.js +0 -3
- data/node_modules/semver/functions/neq.js +0 -3
- data/node_modules/semver/functions/parse.js +0 -33
- data/node_modules/semver/functions/patch.js +0 -3
- data/node_modules/semver/functions/prerelease.js +0 -6
- data/node_modules/semver/functions/rcompare.js +0 -3
- data/node_modules/semver/functions/rsort.js +0 -3
- data/node_modules/semver/functions/satisfies.js +0 -10
- data/node_modules/semver/functions/sort.js +0 -3
- data/node_modules/semver/functions/valid.js +0 -6
- data/node_modules/semver/index.js +0 -48
- data/node_modules/semver/internal/constants.js +0 -17
- data/node_modules/semver/internal/debug.js +0 -9
- data/node_modules/semver/internal/identifiers.js +0 -23
- data/node_modules/semver/internal/parse-options.js +0 -11
- data/node_modules/semver/internal/re.js +0 -182
- data/node_modules/semver/package.json +0 -41
- data/node_modules/semver/preload.js +0 -2
- data/node_modules/semver/range.bnf +0 -16
- data/node_modules/semver/ranges/gtr.js +0 -4
- data/node_modules/semver/ranges/intersects.js +0 -7
- data/node_modules/semver/ranges/ltr.js +0 -4
- data/node_modules/semver/ranges/max-satisfying.js +0 -25
- data/node_modules/semver/ranges/min-satisfying.js +0 -24
- data/node_modules/semver/ranges/min-version.js +0 -60
- data/node_modules/semver/ranges/outside.js +0 -80
- data/node_modules/semver/ranges/simplify.js +0 -44
- data/node_modules/semver/ranges/subset.js +0 -222
- data/node_modules/semver/ranges/to-comparators.js +0 -8
- data/node_modules/semver/ranges/valid.js +0 -11
- data/node_modules/shebang-command/index.js +0 -19
- data/node_modules/shebang-command/license +0 -9
- data/node_modules/shebang-command/package.json +0 -34
- data/node_modules/shebang-command/readme.md +0 -34
- data/node_modules/shebang-regex/index.d.ts +0 -22
- data/node_modules/shebang-regex/index.js +0 -2
- data/node_modules/shebang-regex/license +0 -9
- data/node_modules/shebang-regex/package.json +0 -35
- data/node_modules/shebang-regex/readme.md +0 -33
- data/node_modules/simple-wcswidth/CHANGELOG.md +0 -13
- data/node_modules/simple-wcswidth/LICENSE +0 -21
- data/node_modules/simple-wcswidth/README.md +0 -100
- data/node_modules/simple-wcswidth/dist/index.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/index.js +0 -10
- data/node_modules/simple-wcswidth/dist/src/binary-search.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/src/binary-search.js +0 -24
- data/node_modules/simple-wcswidth/dist/src/models.d.ts +0 -4
- data/node_modules/simple-wcswidth/dist/src/models.js +0 -2
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.d.ts +0 -3
- data/node_modules/simple-wcswidth/dist/src/non-spacing-chars.js +0 -149
- data/node_modules/simple-wcswidth/dist/src/wcswidth.d.ts +0 -2
- data/node_modules/simple-wcswidth/dist/src/wcswidth.js +0 -20
- data/node_modules/simple-wcswidth/dist/src/wcwidth.d.ts +0 -2
- data/node_modules/simple-wcswidth/dist/src/wcwidth.js +0 -67
- data/node_modules/simple-wcswidth/package.json +0 -44
- data/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/source-map/LICENSE +0 -28
- data/node_modules/source-map/README.md +0 -742
- data/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/node_modules/source-map/dist/source-map.js +0 -3233
- data/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/source-map/lib/array-set.js +0 -121
- data/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/node_modules/source-map/lib/source-node.js +0 -413
- data/node_modules/source-map/lib/util.js +0 -488
- data/node_modules/source-map/package.json +0 -73
- data/node_modules/source-map/source-map.d.ts +0 -98
- data/node_modules/source-map/source-map.js +0 -8
- data/node_modules/sprintf-js/LICENSE +0 -24
- data/node_modules/sprintf-js/README.md +0 -88
- data/node_modules/sprintf-js/bower.json +0 -14
- data/node_modules/sprintf-js/demo/angular.html +0 -20
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
- data/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
- data/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
- data/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
- data/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
- data/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
- data/node_modules/sprintf-js/gruntfile.js +0 -36
- data/node_modules/sprintf-js/package.json +0 -22
- data/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
- data/node_modules/sprintf-js/src/sprintf.js +0 -208
- data/node_modules/sprintf-js/test/test.js +0 -82
- data/node_modules/sqlite-parser/CHANGELOG.md +0 -1263
- data/node_modules/sqlite-parser/LICENSE +0 -22
- data/node_modules/sqlite-parser/README.md +0 -187
- data/node_modules/sqlite-parser/bin/sqlite-parser +0 -7
- data/node_modules/sqlite-parser/dist/sqlite-parser.js +0 -19
- data/node_modules/sqlite-parser/lib/index.js +0 -6
- data/node_modules/sqlite-parser/lib/parser.js +0 -6
- data/node_modules/sqlite-parser/lib/streaming-shim.js +0 -6
- data/node_modules/sqlite-parser/lib/streaming.js +0 -6
- data/node_modules/sqlite-parser/lib/tracer.js +0 -6
- data/node_modules/sqlite-parser/package.json +0 -75
- data/node_modules/string-width/index.d.ts +0 -29
- data/node_modules/string-width/index.js +0 -47
- data/node_modules/string-width/license +0 -9
- data/node_modules/string-width/package.json +0 -56
- data/node_modules/string-width/readme.md +0 -50
- data/node_modules/strip-ansi/index.d.ts +0 -17
- data/node_modules/strip-ansi/index.js +0 -4
- data/node_modules/strip-ansi/license +0 -9
- data/node_modules/strip-ansi/package.json +0 -54
- data/node_modules/strip-ansi/readme.md +0 -46
- data/node_modules/symbol-tree/LICENSE +0 -21
- data/node_modules/symbol-tree/README.md +0 -545
- data/node_modules/symbol-tree/lib/SymbolTree.js +0 -838
- data/node_modules/symbol-tree/lib/SymbolTreeNode.js +0 -54
- data/node_modules/symbol-tree/lib/TreeIterator.js +0 -69
- data/node_modules/symbol-tree/lib/TreePosition.js +0 -11
- data/node_modules/symbol-tree/package.json +0 -47
- data/node_modules/to-regex-range/LICENSE +0 -21
- data/node_modules/to-regex-range/README.md +0 -305
- data/node_modules/to-regex-range/index.js +0 -288
- data/node_modules/to-regex-range/package.json +0 -88
- data/node_modules/tough-cookie/LICENSE +0 -12
- data/node_modules/tough-cookie/README.md +0 -582
- data/node_modules/tough-cookie/lib/cookie.js +0 -1671
- data/node_modules/tough-cookie/lib/memstore.js +0 -190
- data/node_modules/tough-cookie/lib/pathMatch.js +0 -61
- data/node_modules/tough-cookie/lib/permuteDomain.js +0 -70
- data/node_modules/tough-cookie/lib/pubsuffix-psl.js +0 -38
- data/node_modules/tough-cookie/lib/store.js +0 -76
- data/node_modules/tough-cookie/lib/version.js +0 -2
- data/node_modules/tough-cookie/node_modules/universalify/LICENSE +0 -20
- data/node_modules/tough-cookie/node_modules/universalify/README.md +0 -76
- data/node_modules/tough-cookie/node_modules/universalify/index.js +0 -25
- data/node_modules/tough-cookie/node_modules/universalify/package.json +0 -34
- data/node_modules/tough-cookie/package.json +0 -109
- data/node_modules/tr46/LICENSE.md +0 -21
- data/node_modules/tr46/README.md +0 -72
- data/node_modules/tr46/index.js +0 -297
- data/node_modules/tr46/lib/mappingTable.json +0 -1
- data/node_modules/tr46/lib/regexes.js +0 -29
- data/node_modules/tr46/lib/statusMapping.js +0 -11
- data/node_modules/tr46/package.json +0 -46
- data/node_modules/type-check/LICENSE +0 -22
- data/node_modules/type-check/README.md +0 -210
- data/node_modules/type-check/lib/check.js +0 -126
- data/node_modules/type-check/lib/index.js +0 -16
- data/node_modules/type-check/lib/parse-type.js +0 -196
- data/node_modules/type-check/package.json +0 -40
- data/node_modules/universalify/LICENSE +0 -20
- data/node_modules/universalify/README.md +0 -76
- data/node_modules/universalify/index.js +0 -24
- data/node_modules/universalify/package.json +0 -34
- data/node_modules/w3c-hr-time/CHANGELOG.md +0 -19
- data/node_modules/w3c-hr-time/LICENSE.md +0 -21
- data/node_modules/w3c-hr-time/README.md +0 -130
- data/node_modules/w3c-hr-time/index.js +0 -11
- data/node_modules/w3c-hr-time/lib/calculate-clock-offset.js +0 -39
- data/node_modules/w3c-hr-time/lib/clock-is-accurate.js +0 -61
- data/node_modules/w3c-hr-time/lib/global-monotonic-clock.js +0 -10
- data/node_modules/w3c-hr-time/lib/performance.js +0 -53
- data/node_modules/w3c-hr-time/lib/utils.js +0 -11
- data/node_modules/w3c-hr-time/package.json +0 -26
- data/node_modules/w3c-xmlserializer/LICENSE.md +0 -25
- data/node_modules/w3c-xmlserializer/README.md +0 -41
- data/node_modules/w3c-xmlserializer/lib/attributes.js +0 -128
- data/node_modules/w3c-xmlserializer/lib/constants.js +0 -44
- data/node_modules/w3c-xmlserializer/lib/serialize.js +0 -371
- data/node_modules/w3c-xmlserializer/package.json +0 -32
- data/node_modules/webidl-conversions/LICENSE.md +0 -12
- data/node_modules/webidl-conversions/README.md +0 -101
- data/node_modules/webidl-conversions/lib/index.js +0 -489
- data/node_modules/webidl-conversions/package.json +0 -30
- data/node_modules/whatwg-encoding/LICENSE.txt +0 -7
- data/node_modules/whatwg-encoding/README.md +0 -50
- data/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -207
- data/node_modules/whatwg-encoding/lib/supported-names.json +0 -37
- data/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -47
- data/node_modules/whatwg-encoding/package.json +0 -29
- data/node_modules/whatwg-mimetype/LICENSE.txt +0 -7
- data/node_modules/whatwg-mimetype/README.md +0 -101
- data/node_modules/whatwg-mimetype/lib/mime-type.js +0 -191
- data/node_modules/whatwg-mimetype/lib/parser.js +0 -124
- data/node_modules/whatwg-mimetype/lib/serializer.js +0 -25
- data/node_modules/whatwg-mimetype/lib/utils.js +0 -25
- data/node_modules/whatwg-mimetype/package.json +0 -43
- data/node_modules/whatwg-url/LICENSE.txt +0 -21
- data/node_modules/whatwg-url/README.md +0 -104
- data/node_modules/whatwg-url/dist/Function.js +0 -46
- data/node_modules/whatwg-url/dist/URL-impl.js +0 -217
- data/node_modules/whatwg-url/dist/URL.js +0 -417
- data/node_modules/whatwg-url/dist/URLSearchParams-impl.js +0 -122
- data/node_modules/whatwg-url/dist/URLSearchParams.js +0 -457
- data/node_modules/whatwg-url/dist/VoidFunction.js +0 -30
- data/node_modules/whatwg-url/dist/encoding.js +0 -26
- data/node_modules/whatwg-url/dist/infra.js +0 -26
- data/node_modules/whatwg-url/dist/percent-encoding.js +0 -141
- data/node_modules/whatwg-url/dist/url-state-machine.js +0 -1210
- data/node_modules/whatwg-url/dist/urlencoded.js +0 -102
- data/node_modules/whatwg-url/dist/utils.js +0 -141
- data/node_modules/whatwg-url/index.js +0 -24
- data/node_modules/whatwg-url/package.json +0 -60
- data/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
- data/node_modules/which/CHANGELOG.md +0 -166
- data/node_modules/which/LICENSE +0 -15
- data/node_modules/which/README.md +0 -54
- data/node_modules/which/bin/node-which +0 -52
- data/node_modules/which/package.json +0 -43
- data/node_modules/which/which.js +0 -125
- data/node_modules/word-wrap/LICENSE +0 -21
- data/node_modules/word-wrap/README.md +0 -182
- data/node_modules/word-wrap/index.d.ts +0 -50
- data/node_modules/word-wrap/index.js +0 -46
- data/node_modules/word-wrap/package.json +0 -77
- data/node_modules/wrap-ansi/index.js +0 -216
- data/node_modules/wrap-ansi/license +0 -9
- data/node_modules/wrap-ansi/package.json +0 -62
- data/node_modules/wrap-ansi/readme.md +0 -91
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -21
- data/node_modules/ws/README.md +0 -496
- data/node_modules/ws/browser.js +0 -8
- data/node_modules/ws/index.js +0 -10
- data/node_modules/ws/lib/buffer-util.js +0 -129
- data/node_modules/ws/lib/constants.js +0 -10
- data/node_modules/ws/lib/event-target.js +0 -184
- data/node_modules/ws/lib/extension.js +0 -223
- data/node_modules/ws/lib/limiter.js +0 -55
- data/node_modules/ws/lib/permessage-deflate.js +0 -518
- data/node_modules/ws/lib/receiver.js +0 -607
- data/node_modules/ws/lib/sender.js +0 -409
- data/node_modules/ws/lib/stream.js +0 -177
- data/node_modules/ws/lib/validation.js +0 -104
- data/node_modules/ws/lib/websocket-server.js +0 -447
- data/node_modules/ws/lib/websocket.js +0 -1078
- data/node_modules/ws/package.json +0 -56
- data/node_modules/xml-name-validator/LICENSE.txt +0 -176
- data/node_modules/xml-name-validator/README.md +0 -36
- data/node_modules/xml-name-validator/lib/generated-parser.js +0 -504
- data/node_modules/xml-name-validator/lib/grammar.pegjs +0 -35
- data/node_modules/xml-name-validator/lib/xml-name-validator.js +0 -17
- data/node_modules/xml-name-validator/package.json +0 -28
- data/node_modules/xmlchars/LICENSE +0 -18
- data/node_modules/xmlchars/README.md +0 -33
- data/node_modules/xmlchars/package.json +0 -51
- data/node_modules/xmlchars/xml/1.0/ed4.d.ts +0 -31
- data/node_modules/xmlchars/xml/1.0/ed4.js +0 -44
- data/node_modules/xmlchars/xml/1.0/ed4.js.map +0 -1
- data/node_modules/xmlchars/xml/1.0/ed5.d.ts +0 -51
- data/node_modules/xmlchars/xml/1.0/ed5.js +0 -105
- data/node_modules/xmlchars/xml/1.0/ed5.js.map +0 -1
- data/node_modules/xmlchars/xml/1.1/ed2.d.ts +0 -73
- data/node_modules/xmlchars/xml/1.1/ed2.js +0 -145
- data/node_modules/xmlchars/xml/1.1/ed2.js.map +0 -1
- data/node_modules/xmlchars/xmlchars.d.ts +0 -170
- data/node_modules/xmlchars/xmlchars.js +0 -191
- data/node_modules/xmlchars/xmlchars.js.map +0 -1
- data/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +0 -28
- data/node_modules/xmlchars/xmlns/1.0/ed3.js +0 -65
- data/node_modules/xmlchars/xmlns/1.0/ed3.js.map +0 -1
- data/node_modules/y18n/CHANGELOG.md +0 -100
- data/node_modules/y18n/LICENSE +0 -13
- data/node_modules/y18n/README.md +0 -127
- data/node_modules/y18n/build/index.cjs +0 -203
- data/node_modules/y18n/build/lib/cjs.js +0 -6
- data/node_modules/y18n/build/lib/index.js +0 -174
- data/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- data/node_modules/y18n/index.mjs +0 -8
- data/node_modules/y18n/package.json +0 -70
- data/node_modules/yallist/LICENSE +0 -15
- data/node_modules/yallist/README.md +0 -204
- data/node_modules/yallist/iterator.js +0 -8
- data/node_modules/yallist/package.json +0 -29
- data/node_modules/yallist/yallist.js +0 -426
- data/node_modules/yargs/CHANGELOG.md +0 -151
- data/node_modules/yargs/LICENSE +0 -21
- data/node_modules/yargs/README.md +0 -204
- data/node_modules/yargs/browser.mjs +0 -7
- data/node_modules/yargs/build/index.cjs +0 -1
- data/node_modules/yargs/build/lib/argsert.js +0 -62
- data/node_modules/yargs/build/lib/command.js +0 -436
- data/node_modules/yargs/build/lib/completion-templates.js +0 -48
- data/node_modules/yargs/build/lib/completion.js +0 -166
- data/node_modules/yargs/build/lib/middleware.js +0 -85
- data/node_modules/yargs/build/lib/parse-command.js +0 -32
- data/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- data/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- data/node_modules/yargs/build/lib/usage.js +0 -567
- data/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- data/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- data/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
- data/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- data/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- data/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- data/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- data/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- data/node_modules/yargs/build/lib/validation.js +0 -279
- data/node_modules/yargs/build/lib/yargs-factory.js +0 -1452
- data/node_modules/yargs/build/lib/yerror.js +0 -7
- data/node_modules/yargs/helpers/helpers.mjs +0 -10
- data/node_modules/yargs/helpers/index.js +0 -14
- data/node_modules/yargs/helpers/package.json +0 -3
- data/node_modules/yargs/index.cjs +0 -43
- data/node_modules/yargs/index.mjs +0 -8
- data/node_modules/yargs/lib/platform-shims/browser.mjs +0 -94
- data/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
- data/node_modules/yargs/locales/be.json +0 -46
- data/node_modules/yargs/locales/de.json +0 -46
- data/node_modules/yargs/locales/en.json +0 -51
- data/node_modules/yargs/locales/es.json +0 -46
- data/node_modules/yargs/locales/fi.json +0 -49
- data/node_modules/yargs/locales/fr.json +0 -53
- data/node_modules/yargs/locales/hi.json +0 -49
- data/node_modules/yargs/locales/hu.json +0 -46
- data/node_modules/yargs/locales/id.json +0 -50
- data/node_modules/yargs/locales/it.json +0 -46
- data/node_modules/yargs/locales/ja.json +0 -51
- data/node_modules/yargs/locales/ko.json +0 -49
- data/node_modules/yargs/locales/nb.json +0 -44
- data/node_modules/yargs/locales/nl.json +0 -49
- data/node_modules/yargs/locales/nn.json +0 -44
- data/node_modules/yargs/locales/pirate.json +0 -13
- data/node_modules/yargs/locales/pl.json +0 -49
- data/node_modules/yargs/locales/pt.json +0 -45
- data/node_modules/yargs/locales/pt_BR.json +0 -48
- data/node_modules/yargs/locales/ru.json +0 -46
- data/node_modules/yargs/locales/th.json +0 -46
- data/node_modules/yargs/locales/tr.json +0 -48
- data/node_modules/yargs/locales/uk_UA.json +0 -51
- data/node_modules/yargs/locales/zh_CN.json +0 -48
- data/node_modules/yargs/locales/zh_TW.json +0 -47
- data/node_modules/yargs/package.json +0 -116
- data/node_modules/yargs/yargs +0 -9
- data/node_modules/yargs-parser/CHANGELOG.md +0 -263
- data/node_modules/yargs-parser/LICENSE.txt +0 -14
- data/node_modules/yargs-parser/README.md +0 -518
- data/node_modules/yargs-parser/browser.js +0 -29
- data/node_modules/yargs-parser/build/index.cjs +0 -1042
- data/node_modules/yargs-parser/build/lib/index.js +0 -59
- data/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- data/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- data/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- data/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
- data/node_modules/yargs-parser/package.json +0 -87
@@ -1,1874 +0,0 @@
|
|
1
|
-
/** Here is yet another implementation of XPath 1.0 in Javascript.
|
2
|
-
*
|
3
|
-
* My goal was to make it relatively compact, but as I fixed all the axis bugs
|
4
|
-
* the axes became more and more complicated. :-(.
|
5
|
-
*
|
6
|
-
* I have not implemented namespaces or case-sensitive axes for XML yet.
|
7
|
-
*
|
8
|
-
* How to test it in Chrome: You can make a Chrome extension that replaces
|
9
|
-
* the WebKit XPath parser with this one. But it takes a bit of effort to
|
10
|
-
* get around isolated world and same-origin restrictions:
|
11
|
-
* manifest.json:
|
12
|
-
{
|
13
|
-
"name": "XPathTest",
|
14
|
-
"version": "0.1",
|
15
|
-
"content_scripts": [{
|
16
|
-
"matches": ["http://localhost/*"], // or wildcard host
|
17
|
-
"js": ["xpath.js", "injection.js"],
|
18
|
-
"all_frames": true, "run_at": "document_start"
|
19
|
-
}]
|
20
|
-
}
|
21
|
-
* injection.js:
|
22
|
-
// goal: give my xpath object to the website's JS context.
|
23
|
-
var script = document.createElement('script');
|
24
|
-
script.textContent =
|
25
|
-
"document.addEventListener('xpathextend', function(e) {\n" +
|
26
|
-
" console.log('extending document with xpath...');\n" +
|
27
|
-
" e.detail(window);" +
|
28
|
-
"});";
|
29
|
-
document.documentElement.appendChild(script);
|
30
|
-
document.documentElement.removeChild(script);
|
31
|
-
var evt = document.createEvent('CustomEvent');
|
32
|
-
evt.initCustomEvent('xpathextend', true, true, this.xpath.extend);
|
33
|
-
document.dispatchEvent(evt);
|
34
|
-
*/
|
35
|
-
module.exports = core => {
|
36
|
-
var xpath = {};
|
37
|
-
|
38
|
-
// Helper function to deal with the migration of Attr to no longer have a nodeName property despite this codebase
|
39
|
-
// assuming it does.
|
40
|
-
function getNodeName(nodeOrAttr) {
|
41
|
-
return nodeOrAttr.constructor.name === 'Attr' ? nodeOrAttr.name : nodeOrAttr.nodeName;
|
42
|
-
}
|
43
|
-
|
44
|
-
/***************************************************************************
|
45
|
-
* Tokenization *
|
46
|
-
***************************************************************************/
|
47
|
-
/**
|
48
|
-
* The XPath lexer is basically a single regular expression, along with
|
49
|
-
* some helper functions to pop different types.
|
50
|
-
*/
|
51
|
-
var Stream = xpath.Stream = function Stream(str) {
|
52
|
-
this.original = this.str = str;
|
53
|
-
this.peeked = null;
|
54
|
-
// TODO: not really needed, but supposedly tokenizer also disambiguates
|
55
|
-
// a * b vs. node test *
|
56
|
-
this.prev = null; // for debugging
|
57
|
-
this.prevprev = null;
|
58
|
-
}
|
59
|
-
Stream.prototype = {
|
60
|
-
peek: function() {
|
61
|
-
if (this.peeked) return this.peeked;
|
62
|
-
var m = this.re.exec(this.str);
|
63
|
-
if (!m) return null;
|
64
|
-
this.str = this.str.substr(m[0].length);
|
65
|
-
return this.peeked = m[1];
|
66
|
-
},
|
67
|
-
/** Peek 2 tokens ahead. */
|
68
|
-
peek2: function() {
|
69
|
-
this.peek(); // make sure this.peeked is set
|
70
|
-
var m = this.re.exec(this.str);
|
71
|
-
if (!m) return null;
|
72
|
-
return m[1];
|
73
|
-
},
|
74
|
-
pop: function() {
|
75
|
-
var r = this.peek();
|
76
|
-
this.peeked = null;
|
77
|
-
this.prevprev = this.prev;
|
78
|
-
this.prev = r;
|
79
|
-
return r;
|
80
|
-
},
|
81
|
-
trypop: function(tokens) {
|
82
|
-
var tok = this.peek();
|
83
|
-
if (tok === tokens) return this.pop();
|
84
|
-
if (Array.isArray(tokens)) {
|
85
|
-
for (var i = 0; i < tokens.length; ++i) {
|
86
|
-
var t = tokens[i];
|
87
|
-
if (t == tok) return this.pop();;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
},
|
91
|
-
trypopfuncname: function() {
|
92
|
-
var tok = this.peek();
|
93
|
-
if (!this.isQnameRe.test(tok))
|
94
|
-
return null;
|
95
|
-
switch (tok) {
|
96
|
-
case 'comment': case 'text': case 'processing-instruction': case 'node':
|
97
|
-
return null;
|
98
|
-
}
|
99
|
-
if ('(' != this.peek2()) return null;
|
100
|
-
return this.pop();
|
101
|
-
},
|
102
|
-
trypopaxisname: function() {
|
103
|
-
var tok = this.peek();
|
104
|
-
switch (tok) {
|
105
|
-
case 'ancestor': case 'ancestor-or-self': case 'attribute':
|
106
|
-
case 'child': case 'descendant': case 'descendant-or-self':
|
107
|
-
case 'following': case 'following-sibling': case 'namespace':
|
108
|
-
case 'parent': case 'preceding': case 'preceding-sibling': case 'self':
|
109
|
-
if ('::' == this.peek2()) return this.pop();
|
110
|
-
}
|
111
|
-
return null;
|
112
|
-
},
|
113
|
-
trypopnametest: function() {
|
114
|
-
var tok = this.peek();
|
115
|
-
if ('*' === tok || this.startsWithNcNameRe.test(tok)) return this.pop();
|
116
|
-
return null;
|
117
|
-
},
|
118
|
-
trypopliteral: function() {
|
119
|
-
var tok = this.peek();
|
120
|
-
if (null == tok) return null;
|
121
|
-
var first = tok.charAt(0);
|
122
|
-
var last = tok.charAt(tok.length - 1);
|
123
|
-
if ('"' === first && '"' === last ||
|
124
|
-
"'" === first && "'" === last) {
|
125
|
-
this.pop();
|
126
|
-
return tok.substr(1, tok.length - 2);
|
127
|
-
}
|
128
|
-
},
|
129
|
-
trypopnumber: function() {
|
130
|
-
var tok = this.peek();
|
131
|
-
if (this.isNumberRe.test(tok)) return parseFloat(this.pop());
|
132
|
-
else return null;
|
133
|
-
},
|
134
|
-
trypopvarref: function() {
|
135
|
-
var tok = this.peek();
|
136
|
-
if (null == tok) return null;
|
137
|
-
if ('$' === tok.charAt(0)) return this.pop().substr(1);
|
138
|
-
else return null;
|
139
|
-
},
|
140
|
-
position: function() {
|
141
|
-
return this.original.length - this.str.length;
|
142
|
-
}
|
143
|
-
};
|
144
|
-
(function() {
|
145
|
-
// http://www.w3.org/TR/REC-xml-names/#NT-NCName
|
146
|
-
var nameStartCharsExceptColon =
|
147
|
-
'A-Z_a-z\xc0-\xd6\xd8-\xf6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF' +
|
148
|
-
'\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF' +
|
149
|
-
'\uFDF0-\uFFFD'; // JS doesn't support [#x10000-#xEFFFF]
|
150
|
-
var nameCharExceptColon = nameStartCharsExceptColon +
|
151
|
-
'\\-\\.0-9\xb7\u0300-\u036F\u203F-\u2040';
|
152
|
-
var ncNameChars = '[' + nameStartCharsExceptColon +
|
153
|
-
'][' + nameCharExceptColon + ']*'
|
154
|
-
// http://www.w3.org/TR/REC-xml-names/#NT-QName
|
155
|
-
var qNameChars = ncNameChars + '(?::' + ncNameChars + ')?';
|
156
|
-
var otherChars = '\\.\\.|[\\(\\)\\[\\].@,]|::'; // .. must come before [.]
|
157
|
-
var operatorChars =
|
158
|
-
'and|or|mod|div|' +
|
159
|
-
'//|!=|<=|>=|[*/|+\\-=<>]'; // //, !=, <=, >= before individual ones.
|
160
|
-
var literal = '"[^"]*"|' + "'[^']*'";
|
161
|
-
var numberChars = '[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+';
|
162
|
-
var variableReference = '\\$' + qNameChars;
|
163
|
-
var nameTestChars = '\\*|' + ncNameChars + ':\\*|' + qNameChars;
|
164
|
-
var optionalSpace = '[ \t\r\n]*'; // stricter than regexp \s.
|
165
|
-
var nodeType = 'comment|text|processing-instruction|node';
|
166
|
-
var re = new RegExp(
|
167
|
-
// numberChars before otherChars so that leading-decimal doesn't become .
|
168
|
-
'^' + optionalSpace + '(' + numberChars + '|' + otherChars + '|' +
|
169
|
-
nameTestChars + '|' + operatorChars + '|' + literal + '|' +
|
170
|
-
variableReference + ')'
|
171
|
-
// operatorName | nodeType | functionName | axisName are lumped into
|
172
|
-
// qName for now; we'll check them on pop.
|
173
|
-
);
|
174
|
-
Stream.prototype.re = re;
|
175
|
-
Stream.prototype.startsWithNcNameRe = new RegExp('^' + ncNameChars);
|
176
|
-
Stream.prototype.isQnameRe = new RegExp('^' + qNameChars + '$');
|
177
|
-
Stream.prototype.isNumberRe = new RegExp('^' + numberChars + '$');
|
178
|
-
})();
|
179
|
-
|
180
|
-
/***************************************************************************
|
181
|
-
* Parsing *
|
182
|
-
***************************************************************************/
|
183
|
-
var parse = xpath.parse = function parse(stream, a) {
|
184
|
-
var r = orExpr(stream,a);
|
185
|
-
var x, unparsed = [];
|
186
|
-
while (x = stream.pop()) {
|
187
|
-
unparsed.push(x);
|
188
|
-
}
|
189
|
-
if (unparsed.length)
|
190
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
191
|
-
'Position ' + stream.position() +
|
192
|
-
': Unparsed tokens: ' + unparsed.join(' '));
|
193
|
-
return r;
|
194
|
-
}
|
195
|
-
|
196
|
-
/**
|
197
|
-
* binaryL ::= subExpr
|
198
|
-
* | binaryL op subExpr
|
199
|
-
* so a op b op c becomes ((a op b) op c)
|
200
|
-
*/
|
201
|
-
function binaryL(subExpr, stream, a, ops) {
|
202
|
-
var lhs = subExpr(stream, a);
|
203
|
-
if (lhs == null) return null;
|
204
|
-
var op;
|
205
|
-
while (op = stream.trypop(ops)) {
|
206
|
-
var rhs = subExpr(stream, a);
|
207
|
-
if (rhs == null)
|
208
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
209
|
-
'Position ' + stream.position() +
|
210
|
-
': Expected something after ' + op);
|
211
|
-
lhs = a.node(op, lhs, rhs);
|
212
|
-
}
|
213
|
-
return lhs;
|
214
|
-
}
|
215
|
-
/**
|
216
|
-
* Too bad this is never used. If they made a ** operator (raise to power),
|
217
|
-
( we would use it.
|
218
|
-
* binaryR ::= subExpr
|
219
|
-
* | subExpr op binaryR
|
220
|
-
* so a op b op c becomes (a op (b op c))
|
221
|
-
*/
|
222
|
-
function binaryR(subExpr, stream, a, ops) {
|
223
|
-
var lhs = subExpr(stream, a);
|
224
|
-
if (lhs == null) return null;
|
225
|
-
var op = stream.trypop(ops);
|
226
|
-
if (op) {
|
227
|
-
var rhs = binaryR(stream, a);
|
228
|
-
if (rhs == null)
|
229
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
230
|
-
'Position ' + stream.position() +
|
231
|
-
': Expected something after ' + op);
|
232
|
-
return a.node(op, lhs, rhs);
|
233
|
-
} else {
|
234
|
-
return lhs;// TODO
|
235
|
-
}
|
236
|
-
}
|
237
|
-
/** [1] LocationPath::= RelativeLocationPath | AbsoluteLocationPath
|
238
|
-
* e.g. a, a/b, //a/b
|
239
|
-
*/
|
240
|
-
function locationPath(stream, a) {
|
241
|
-
return absoluteLocationPath(stream, a) ||
|
242
|
-
relativeLocationPath(null, stream, a);
|
243
|
-
}
|
244
|
-
/** [2] AbsoluteLocationPath::= '/' RelativeLocationPath? | AbbreviatedAbsoluteLocationPath
|
245
|
-
* [10] AbbreviatedAbsoluteLocationPath::= '//' RelativeLocationPath
|
246
|
-
*/
|
247
|
-
function absoluteLocationPath(stream, a) {
|
248
|
-
var op = stream.peek();
|
249
|
-
if ('/' === op || '//' === op) {
|
250
|
-
var lhs = a.node('Root');
|
251
|
-
return relativeLocationPath(lhs, stream, a, true);
|
252
|
-
} else {
|
253
|
-
return null;
|
254
|
-
}
|
255
|
-
}
|
256
|
-
/** [3] RelativeLocationPath::= Step | RelativeLocationPath '/' Step |
|
257
|
-
* | AbbreviatedRelativeLocationPath
|
258
|
-
* [11] AbbreviatedRelativeLocationPath::= RelativeLocationPath '//' Step
|
259
|
-
* e.g. p/a, etc.
|
260
|
-
*/
|
261
|
-
function relativeLocationPath(lhs, stream, a, isOnlyRootOk) {
|
262
|
-
if (null == lhs) {
|
263
|
-
lhs = step(stream, a);
|
264
|
-
if (null == lhs) return lhs;
|
265
|
-
}
|
266
|
-
var op;
|
267
|
-
while (op = stream.trypop(['/', '//'])) {
|
268
|
-
if ('//' === op) {
|
269
|
-
lhs = a.node('/', lhs,
|
270
|
-
a.node('Axis', 'descendant-or-self', 'node', undefined));
|
271
|
-
}
|
272
|
-
var rhs = step(stream, a);
|
273
|
-
if (null == rhs && '/' === op && isOnlyRootOk) return lhs;
|
274
|
-
else isOnlyRootOk = false;
|
275
|
-
if (null == rhs)
|
276
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
277
|
-
'Position ' + stream.position() +
|
278
|
-
': Expected step after ' + op);
|
279
|
-
lhs = a.node('/', lhs, rhs);
|
280
|
-
}
|
281
|
-
return lhs;
|
282
|
-
}
|
283
|
-
/** [4] Step::= AxisSpecifier NodeTest Predicate* | AbbreviatedStep
|
284
|
-
* [12] AbbreviatedStep::= '.' | '..'
|
285
|
-
* e.g. @href, self::p, p, a[@href], ., ..
|
286
|
-
*/
|
287
|
-
function step(stream, a) {
|
288
|
-
var abbrStep = stream.trypop(['.', '..']);
|
289
|
-
if ('.' === abbrStep) // A location step of . is short for self::node().
|
290
|
-
return a.node('Axis', 'self', 'node');
|
291
|
-
if ('..' === abbrStep) // A location step of .. is short for parent::node()
|
292
|
-
return a.node('Axis', 'parent', 'node');
|
293
|
-
|
294
|
-
var axis = axisSpecifier(stream, a);
|
295
|
-
var nodeType = nodeTypeTest(stream, a);
|
296
|
-
var nodeName;
|
297
|
-
if (null == nodeType) nodeName = nodeNameTest(stream, a);
|
298
|
-
if (null == axis && null == nodeType && null == nodeName) return null;
|
299
|
-
if (null == nodeType && null == nodeName)
|
300
|
-
throw new XPathException(
|
301
|
-
XPathException.INVALID_EXPRESSION_ERR,
|
302
|
-
'Position ' + stream.position() +
|
303
|
-
': Expected nodeTest after axisSpecifier ' + axis);
|
304
|
-
if (null == axis) axis = 'child';
|
305
|
-
if (null == nodeType) {
|
306
|
-
// When there's only a node name, then the node type is forced to be the
|
307
|
-
// principal node type of the axis.
|
308
|
-
// see http://www.w3.org/TR/xpath/#dt-principal-node-type
|
309
|
-
if ('attribute' === axis) nodeType = 'attribute';
|
310
|
-
else if ('namespace' === axis) nodeType = 'namespace';
|
311
|
-
else nodeType = 'element';
|
312
|
-
}
|
313
|
-
var lhs = a.node('Axis', axis, nodeType, nodeName);
|
314
|
-
var pred;
|
315
|
-
while (null != (pred = predicate(lhs, stream, a))) {
|
316
|
-
lhs = pred;
|
317
|
-
}
|
318
|
-
return lhs;
|
319
|
-
}
|
320
|
-
/** [5] AxisSpecifier::= AxisName '::' | AbbreviatedAxisSpecifier
|
321
|
-
* [6] AxisName::= 'ancestor' | 'ancestor-or-self' | 'attribute' | 'child'
|
322
|
-
* | 'descendant' | 'descendant-or-self' | 'following'
|
323
|
-
* | 'following-sibling' | 'namespace' | 'parent' |
|
324
|
-
* | 'preceding' | 'preceding-sibling' | 'self'
|
325
|
-
* [13] AbbreviatedAxisSpecifier::= '@'?
|
326
|
-
*/
|
327
|
-
function axisSpecifier(stream, a) {
|
328
|
-
var attr = stream.trypop('@');
|
329
|
-
if (null != attr) return 'attribute';
|
330
|
-
var axisName = stream.trypopaxisname();
|
331
|
-
if (null != axisName) {
|
332
|
-
var coloncolon = stream.trypop('::');
|
333
|
-
if (null == coloncolon)
|
334
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
335
|
-
'Position ' + stream.position() +
|
336
|
-
': Should not happen. Should be ::.');
|
337
|
-
return axisName;
|
338
|
-
}
|
339
|
-
}
|
340
|
-
/** [7] NodeTest::= NameTest | NodeType '(' ')' | 'processing-instruction' '(' Literal ')'
|
341
|
-
* [38] NodeType::= 'comment' | 'text' | 'processing-instruction' | 'node'
|
342
|
-
* I've split nodeTypeTest from nodeNameTest for convenience.
|
343
|
-
*/
|
344
|
-
function nodeTypeTest(stream, a) {
|
345
|
-
if ('(' !== stream.peek2()) {
|
346
|
-
return null;
|
347
|
-
}
|
348
|
-
var type = stream.trypop(['comment', 'text', 'processing-instruction', 'node']);
|
349
|
-
if (null != type) {
|
350
|
-
if (null == stream.trypop('('))
|
351
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
352
|
-
'Position ' + stream.position() +
|
353
|
-
': Should not happen.');
|
354
|
-
var param = undefined;
|
355
|
-
if (type == 'processing-instruction') {
|
356
|
-
param = stream.trypopliteral();
|
357
|
-
}
|
358
|
-
if (null == stream.trypop(')'))
|
359
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
360
|
-
'Position ' + stream.position() +
|
361
|
-
': Expected close parens.');
|
362
|
-
return type
|
363
|
-
}
|
364
|
-
}
|
365
|
-
function nodeNameTest(stream, a) {
|
366
|
-
var name = stream.trypopnametest();
|
367
|
-
if (name != null) return name;
|
368
|
-
else return null;
|
369
|
-
}
|
370
|
-
/** [8] Predicate::= '[' PredicateExpr ']'
|
371
|
-
* [9] PredicateExpr::= Expr
|
372
|
-
*/
|
373
|
-
function predicate(lhs, stream, a) {
|
374
|
-
if (null == stream.trypop('[')) return null;
|
375
|
-
var expr = orExpr(stream, a);
|
376
|
-
if (null == expr)
|
377
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
378
|
-
'Position ' + stream.position() +
|
379
|
-
': Expected expression after [');
|
380
|
-
if (null == stream.trypop(']'))
|
381
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
382
|
-
'Position ' + stream.position() +
|
383
|
-
': Expected ] after expression.');
|
384
|
-
return a.node('Predicate', lhs, expr);
|
385
|
-
}
|
386
|
-
/** [14] Expr::= OrExpr
|
387
|
-
*/
|
388
|
-
/** [15] PrimaryExpr::= VariableReference | '(' Expr ')' | Literal | Number | FunctionCall
|
389
|
-
* e.g. $x, (3+4), "hi", 32, f(x)
|
390
|
-
*/
|
391
|
-
function primaryExpr(stream, a) {
|
392
|
-
var x = stream.trypopliteral();
|
393
|
-
if (null == x)
|
394
|
-
x = stream.trypopnumber();
|
395
|
-
if (null != x) {
|
396
|
-
return x;
|
397
|
-
}
|
398
|
-
var varRef = stream.trypopvarref();
|
399
|
-
if (null != varRef) return a.node('VariableReference', varRef);
|
400
|
-
var funCall = functionCall(stream, a);
|
401
|
-
if (null != funCall) {
|
402
|
-
return funCall;
|
403
|
-
}
|
404
|
-
if (stream.trypop('(')) {
|
405
|
-
var e = orExpr(stream, a);
|
406
|
-
if (null == e)
|
407
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
408
|
-
'Position ' + stream.position() +
|
409
|
-
': Expected expression after (.');
|
410
|
-
if (null == stream.trypop(')'))
|
411
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
412
|
-
'Position ' + stream.position() +
|
413
|
-
': Expected ) after expression.');
|
414
|
-
return e;
|
415
|
-
}
|
416
|
-
return null;
|
417
|
-
}
|
418
|
-
/** [16] FunctionCall::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'
|
419
|
-
* [17] Argument::= Expr
|
420
|
-
*/
|
421
|
-
function functionCall(stream, a) {
|
422
|
-
var name = stream.trypopfuncname(stream, a);
|
423
|
-
if (null == name) return null;
|
424
|
-
if (null == stream.trypop('('))
|
425
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
426
|
-
'Position ' + stream.position() +
|
427
|
-
': Expected ( ) after function name.');
|
428
|
-
var params = [];
|
429
|
-
var first = true;
|
430
|
-
while (null == stream.trypop(')')) {
|
431
|
-
if (!first && null == stream.trypop(','))
|
432
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
433
|
-
'Position ' + stream.position() +
|
434
|
-
': Expected , between arguments of the function.');
|
435
|
-
first = false;
|
436
|
-
var param = orExpr(stream, a);
|
437
|
-
if (param == null)
|
438
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
439
|
-
'Position ' + stream.position() +
|
440
|
-
': Expected expression as argument of function.');
|
441
|
-
params.push(param);
|
442
|
-
}
|
443
|
-
return a.node('FunctionCall', name, params);
|
444
|
-
}
|
445
|
-
|
446
|
-
/** [18] UnionExpr::= PathExpr | UnionExpr '|' PathExpr
|
447
|
-
*/
|
448
|
-
function unionExpr(stream, a) { return binaryL(pathExpr, stream, a, '|'); }
|
449
|
-
/** [19] PathExpr ::= LocationPath
|
450
|
-
* | FilterExpr
|
451
|
-
* | FilterExpr '/' RelativeLocationPath
|
452
|
-
* | FilterExpr '//' RelativeLocationPath
|
453
|
-
* Unlike most other nodes, this one always generates a node because
|
454
|
-
* at this point all reverse nodesets must turn into a forward nodeset
|
455
|
-
*/
|
456
|
-
function pathExpr(stream, a) {
|
457
|
-
// We have to do FilterExpr before LocationPath because otherwise
|
458
|
-
// LocationPath will eat up the name from a function call.
|
459
|
-
var filter = filterExpr(stream, a);
|
460
|
-
if (null == filter) {
|
461
|
-
var loc = locationPath(stream, a);
|
462
|
-
if (null == loc) {
|
463
|
-
throw new Error
|
464
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
465
|
-
'Position ' + stream.position() +
|
466
|
-
': The expression shouldn\'t be empty...');
|
467
|
-
}
|
468
|
-
return a.node('PathExpr', loc);
|
469
|
-
}
|
470
|
-
var rel = relativeLocationPath(filter, stream, a, false);
|
471
|
-
if (filter === rel) return rel;
|
472
|
-
else return a.node('PathExpr', rel);
|
473
|
-
}
|
474
|
-
/** [20] FilterExpr::= PrimaryExpr | FilterExpr Predicate
|
475
|
-
* aka. FilterExpr ::= PrimaryExpr Predicate*
|
476
|
-
*/
|
477
|
-
function filterExpr(stream, a) {
|
478
|
-
var primary = primaryExpr(stream, a);
|
479
|
-
if (primary == null) return null;
|
480
|
-
var pred, lhs = primary;
|
481
|
-
while (null != (pred = predicate(lhs, stream, a))) {
|
482
|
-
lhs = pred;
|
483
|
-
}
|
484
|
-
return lhs;
|
485
|
-
}
|
486
|
-
|
487
|
-
/** [21] OrExpr::= AndExpr | OrExpr 'or' AndExpr
|
488
|
-
*/
|
489
|
-
function orExpr(stream, a) {
|
490
|
-
var orig = (stream.peeked || '') + stream.str
|
491
|
-
var r = binaryL(andExpr, stream, a, 'or');
|
492
|
-
var now = (stream.peeked || '') + stream.str;
|
493
|
-
return r;
|
494
|
-
}
|
495
|
-
/** [22] AndExpr::= EqualityExpr | AndExpr 'and' EqualityExpr
|
496
|
-
*/
|
497
|
-
function andExpr(stream, a) { return binaryL(equalityExpr, stream, a, 'and'); }
|
498
|
-
/** [23] EqualityExpr::= RelationalExpr | EqualityExpr '=' RelationalExpr
|
499
|
-
* | EqualityExpr '!=' RelationalExpr
|
500
|
-
*/
|
501
|
-
function equalityExpr(stream, a) { return binaryL(relationalExpr, stream, a, ['=','!=']); }
|
502
|
-
/** [24] RelationalExpr::= AdditiveExpr | RelationalExpr '<' AdditiveExpr
|
503
|
-
* | RelationalExpr '>' AdditiveExpr
|
504
|
-
* | RelationalExpr '<=' AdditiveExpr
|
505
|
-
* | RelationalExpr '>=' AdditiveExpr
|
506
|
-
*/
|
507
|
-
function relationalExpr(stream, a) { return binaryL(additiveExpr, stream, a, ['<','>','<=','>=']); }
|
508
|
-
/** [25] AdditiveExpr::= MultiplicativeExpr
|
509
|
-
* | AdditiveExpr '+' MultiplicativeExpr
|
510
|
-
* | AdditiveExpr '-' MultiplicativeExpr
|
511
|
-
*/
|
512
|
-
function additiveExpr(stream, a) { return binaryL(multiplicativeExpr, stream, a, ['+','-']); }
|
513
|
-
/** [26] MultiplicativeExpr::= UnaryExpr
|
514
|
-
* | MultiplicativeExpr MultiplyOperator UnaryExpr
|
515
|
-
* | MultiplicativeExpr 'div' UnaryExpr
|
516
|
-
* | MultiplicativeExpr 'mod' UnaryExpr
|
517
|
-
*/
|
518
|
-
function multiplicativeExpr(stream, a) { return binaryL(unaryExpr, stream, a, ['*','div','mod']); }
|
519
|
-
/** [27] UnaryExpr::= UnionExpr | '-' UnaryExpr
|
520
|
-
*/
|
521
|
-
function unaryExpr(stream, a) {
|
522
|
-
if (stream.trypop('-')) {
|
523
|
-
var e = unaryExpr(stream, a);
|
524
|
-
if (null == e)
|
525
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
526
|
-
'Position ' + stream.position() +
|
527
|
-
': Expected unary expression after -');
|
528
|
-
return a.node('UnaryMinus', e);
|
529
|
-
}
|
530
|
-
else return unionExpr(stream, a);
|
531
|
-
}
|
532
|
-
var astFactory = {
|
533
|
-
node: function() {return Array.prototype.slice.call(arguments);}
|
534
|
-
};
|
535
|
-
|
536
|
-
|
537
|
-
/***************************************************************************
|
538
|
-
* Optimizations (TODO) *
|
539
|
-
***************************************************************************/
|
540
|
-
/**
|
541
|
-
* Some things I've been considering:
|
542
|
-
* 1) a//b becomes a/descendant::b if there's no predicate that uses
|
543
|
-
* position() or last()
|
544
|
-
* 2) axis[pred]: when pred doesn't use position, evaluate it just once per
|
545
|
-
* node in the node-set rather than once per (node, position, last).
|
546
|
-
* For more optimizations, look up Gecko's optimizer:
|
547
|
-
* http://mxr.mozilla.org/mozilla-central/source/content/xslt/src/xpath/txXPathOptimizer.cpp
|
548
|
-
*/
|
549
|
-
// TODO
|
550
|
-
function optimize(ast) {
|
551
|
-
}
|
552
|
-
|
553
|
-
/***************************************************************************
|
554
|
-
* Evaluation: axes *
|
555
|
-
***************************************************************************/
|
556
|
-
|
557
|
-
/**
|
558
|
-
* Data types: For string, number, boolean, we just use Javascript types.
|
559
|
-
* Node-sets have the form
|
560
|
-
* {nodes: [node, ...]}
|
561
|
-
* or {nodes: [node, ...], pos: [[1], [2], ...], lasts: [[1], [2], ...]}
|
562
|
-
*
|
563
|
-
* Most of the time, only the node is used and the position information is
|
564
|
-
* discarded. But if you use a predicate, we need to try every value of
|
565
|
-
* position and last in case the predicate calls position() or last().
|
566
|
-
*/
|
567
|
-
|
568
|
-
/**
|
569
|
-
* The NodeMultiSet is a helper class to help generate
|
570
|
-
* {nodes:[], pos:[], lasts:[]} structures. It is useful for the
|
571
|
-
* descendant, descendant-or-self, following-sibling, and
|
572
|
-
* preceding-sibling axes for which we can use a stack to organize things.
|
573
|
-
*/
|
574
|
-
function NodeMultiSet(isReverseAxis) {
|
575
|
-
this.nodes = [];
|
576
|
-
this.pos = [];
|
577
|
-
this.lasts = [];
|
578
|
-
this.nextPos = [];
|
579
|
-
this.seriesIndexes = []; // index within nodes that each series begins.
|
580
|
-
this.isReverseAxis = isReverseAxis;
|
581
|
-
this._pushToNodes = isReverseAxis ? Array.prototype.unshift : Array.prototype.push;
|
582
|
-
}
|
583
|
-
NodeMultiSet.prototype = {
|
584
|
-
pushSeries: function pushSeries() {
|
585
|
-
this.nextPos.push(1);
|
586
|
-
this.seriesIndexes.push(this.nodes.length);
|
587
|
-
},
|
588
|
-
popSeries: function popSeries() {
|
589
|
-
console.assert(0 < this.nextPos.length, this.nextPos);
|
590
|
-
var last = this.nextPos.pop() - 1,
|
591
|
-
indexInPos = this.nextPos.length,
|
592
|
-
seriesBeginIndex = this.seriesIndexes.pop(),
|
593
|
-
seriesEndIndex = this.nodes.length;
|
594
|
-
for (var i = seriesBeginIndex; i < seriesEndIndex; ++i) {
|
595
|
-
console.assert(indexInPos < this.lasts[i].length);
|
596
|
-
console.assert(undefined === this.lasts[i][indexInPos]);
|
597
|
-
this.lasts[i][indexInPos] = last;
|
598
|
-
}
|
599
|
-
},
|
600
|
-
finalize: function() {
|
601
|
-
if (null == this.nextPos) return this;
|
602
|
-
console.assert(0 === this.nextPos.length);
|
603
|
-
var lastsJSON = JSON.stringify(this.lasts);
|
604
|
-
for (var i = 0; i < this.lasts.length; ++i) {
|
605
|
-
for (var j = 0; j < this.lasts[i].length; ++j) {
|
606
|
-
console.assert(null != this.lasts[i][j], i + ',' + j + ':' + lastsJSON);
|
607
|
-
}
|
608
|
-
}
|
609
|
-
this.pushSeries = this.popSeries = this.addNode = function() {
|
610
|
-
throw new Error('Already finalized.');
|
611
|
-
};
|
612
|
-
return this;
|
613
|
-
},
|
614
|
-
addNode: function addNode(node) {
|
615
|
-
console.assert(node);
|
616
|
-
this._pushToNodes.call(this.nodes, node)
|
617
|
-
this._pushToNodes.call(this.pos, this.nextPos.slice());
|
618
|
-
this._pushToNodes.call(this.lasts, new Array(this.nextPos.length));
|
619
|
-
for (var i = 0; i < this.nextPos.length; ++i) this.nextPos[i]++;
|
620
|
-
},
|
621
|
-
simplify: function() {
|
622
|
-
this.finalize();
|
623
|
-
return {nodes:this.nodes, pos:this.pos, lasts:this.lasts};
|
624
|
-
}
|
625
|
-
};
|
626
|
-
function eachContext(nodeMultiSet) {
|
627
|
-
var r = [];
|
628
|
-
for (var i = 0; i < nodeMultiSet.nodes.length; i++) {
|
629
|
-
var node = nodeMultiSet.nodes[i];
|
630
|
-
if (!nodeMultiSet.pos) {
|
631
|
-
r.push({nodes:[node], pos: [[i + 1]], lasts: [[nodeMultiSet.nodes.length]]});
|
632
|
-
} else {
|
633
|
-
for (var j = 0; j < nodeMultiSet.pos[i].length; ++j) {
|
634
|
-
r.push({nodes:[node], pos: [[nodeMultiSet.pos[i][j]]], lasts: [[nodeMultiSet.lasts[i][j]]]});
|
635
|
-
}
|
636
|
-
}
|
637
|
-
}
|
638
|
-
return r;
|
639
|
-
}
|
640
|
-
/** Matcher used in the axes.
|
641
|
-
*/
|
642
|
-
function NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase) {
|
643
|
-
this.nodeTypeNum = nodeTypeNum;
|
644
|
-
this.nodeName = nodeName;
|
645
|
-
this.shouldLowerCase = shouldLowerCase;
|
646
|
-
this.nodeNameTest =
|
647
|
-
null == nodeName ? this._alwaysTrue :
|
648
|
-
shouldLowerCase ? this._nodeNameLowerCaseEquals :
|
649
|
-
this._nodeNameEquals;
|
650
|
-
}
|
651
|
-
NodeMatcher.prototype = {
|
652
|
-
matches: function matches(node) {
|
653
|
-
if (0 === this.nodeTypeNum || this._nodeTypeMatches(node)) {
|
654
|
-
return this.nodeNameTest(getNodeName(node));
|
655
|
-
}
|
656
|
-
|
657
|
-
return false;
|
658
|
-
},
|
659
|
-
_nodeTypeMatches(nodeOrAttr) {
|
660
|
-
if (nodeOrAttr.constructor.name === 'Attr' && this.nodeTypeNum === 2) {
|
661
|
-
return true;
|
662
|
-
}
|
663
|
-
return nodeOrAttr.nodeType === this.nodeTypeNum;
|
664
|
-
},
|
665
|
-
_alwaysTrue: function(name) {return true;},
|
666
|
-
_nodeNameEquals: function _nodeNameEquals(name) {
|
667
|
-
return this.nodeName === name;
|
668
|
-
},
|
669
|
-
_nodeNameLowerCaseEquals: function _nodeNameLowerCaseEquals(name) {
|
670
|
-
return this.nodeName === name.toLowerCase();
|
671
|
-
}
|
672
|
-
};
|
673
|
-
|
674
|
-
function followingSiblingHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, shift, peek, followingNode, andSelf, isReverseAxis) {
|
675
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
676
|
-
var nodeMultiSet = new NodeMultiSet(isReverseAxis);
|
677
|
-
while (0 < nodeList.length) { // can be if for following, preceding
|
678
|
-
var node = shift.call(nodeList);
|
679
|
-
console.assert(node != null);
|
680
|
-
node = followingNode(node);
|
681
|
-
nodeMultiSet.pushSeries();
|
682
|
-
var numPushed = 1;
|
683
|
-
while (null != node) {
|
684
|
-
if (! andSelf && matcher.matches(node))
|
685
|
-
nodeMultiSet.addNode(node);
|
686
|
-
if (node === peek.call(nodeList)) {
|
687
|
-
shift.call(nodeList);
|
688
|
-
nodeMultiSet.pushSeries();
|
689
|
-
numPushed++;
|
690
|
-
}
|
691
|
-
if (andSelf && matcher.matches(node))
|
692
|
-
nodeMultiSet.addNode(node);
|
693
|
-
node = followingNode(node);
|
694
|
-
}
|
695
|
-
while (0 < numPushed--)
|
696
|
-
nodeMultiSet.popSeries();
|
697
|
-
}
|
698
|
-
return nodeMultiSet;
|
699
|
-
}
|
700
|
-
|
701
|
-
/** Returns the next non-descendant node in document order.
|
702
|
-
* This is the first node in following::node(), if node is the context.
|
703
|
-
*/
|
704
|
-
function followingNonDescendantNode(node) {
|
705
|
-
if (node.ownerElement) {
|
706
|
-
if (node.ownerElement.firstChild)
|
707
|
-
return node.ownerElement.firstChild;
|
708
|
-
node = node.ownerElement;
|
709
|
-
}
|
710
|
-
do {
|
711
|
-
if (node.nextSibling) return node.nextSibling;
|
712
|
-
} while (node = node.parentNode);
|
713
|
-
return null;
|
714
|
-
}
|
715
|
-
|
716
|
-
/** Returns the next node in a document-order depth-first search.
|
717
|
-
* See the definition of document order[1]:
|
718
|
-
* 1) element
|
719
|
-
* 2) namespace nodes
|
720
|
-
* 3) attributes
|
721
|
-
* 4) children
|
722
|
-
* [1]: http://www.w3.org/TR/xpath/#dt-document-order
|
723
|
-
*/
|
724
|
-
function followingNode(node) {
|
725
|
-
if (node.ownerElement) // attributes: following node of element.
|
726
|
-
node = node.ownerElement;
|
727
|
-
if (null != node.firstChild)
|
728
|
-
return node.firstChild;
|
729
|
-
do {
|
730
|
-
if (null != node.nextSibling) {
|
731
|
-
return node.nextSibling;
|
732
|
-
}
|
733
|
-
node = node.parentNode;
|
734
|
-
} while (node);
|
735
|
-
return null;
|
736
|
-
}
|
737
|
-
/** Returns the previous node in document order (excluding attributes
|
738
|
-
* and namespace nodes).
|
739
|
-
*/
|
740
|
-
function precedingNode(node) {
|
741
|
-
if (node.ownerElement)
|
742
|
-
return node.ownerElement;
|
743
|
-
if (null != node.previousSibling) {
|
744
|
-
node = node.previousSibling;
|
745
|
-
while (null != node.lastChild) {
|
746
|
-
node = node.lastChild;
|
747
|
-
}
|
748
|
-
return node;
|
749
|
-
}
|
750
|
-
if (null != node.parentNode) {
|
751
|
-
return node.parentNode;
|
752
|
-
}
|
753
|
-
return null;
|
754
|
-
}
|
755
|
-
/** This axis is inefficient if there are many nodes in the nodeList.
|
756
|
-
* But I think it's a pretty useless axis so it's ok. */
|
757
|
-
function followingHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
758
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
759
|
-
var nodeMultiSet = new NodeMultiSet(false);
|
760
|
-
var cursor = nodeList[0];
|
761
|
-
var unorderedFollowingStarts = [];
|
762
|
-
for (var i = 0; i < nodeList.length; i++) {
|
763
|
-
var node = nodeList[i];
|
764
|
-
var start = followingNonDescendantNode(node);
|
765
|
-
if (start)
|
766
|
-
unorderedFollowingStarts.push(start);
|
767
|
-
}
|
768
|
-
if (0 === unorderedFollowingStarts.length)
|
769
|
-
return {nodes:[]};
|
770
|
-
var pos = [], nextPos = [];
|
771
|
-
var started = 0;
|
772
|
-
while (cursor = followingNode(cursor)) {
|
773
|
-
for (var i = unorderedFollowingStarts.length - 1; i >= 0; i--){
|
774
|
-
if (cursor === unorderedFollowingStarts[i]) {
|
775
|
-
nodeMultiSet.pushSeries();
|
776
|
-
unorderedFollowingStarts.splice(i,i+1);
|
777
|
-
started++;
|
778
|
-
}
|
779
|
-
}
|
780
|
-
if (started && matcher.matches(cursor)) {
|
781
|
-
nodeMultiSet.addNode(cursor);
|
782
|
-
}
|
783
|
-
}
|
784
|
-
console.assert(0 === unorderedFollowingStarts.length);
|
785
|
-
for (var i = 0; i < started; i++)
|
786
|
-
nodeMultiSet.popSeries();
|
787
|
-
return nodeMultiSet.finalize();
|
788
|
-
}
|
789
|
-
function precedingHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
790
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
791
|
-
var cursor = nodeList.pop();
|
792
|
-
if (null == cursor) return {nodes:{}};
|
793
|
-
var r = {nodes:[], pos:[], lasts:[]};
|
794
|
-
var nextParents = [cursor.parentNode || cursor.ownerElement], nextPos = [1];
|
795
|
-
while (cursor = precedingNode(cursor)) {
|
796
|
-
if (cursor === nodeList[nodeList.length - 1]) {
|
797
|
-
nextParents.push(nodeList.pop());
|
798
|
-
nextPos.push(1);
|
799
|
-
}
|
800
|
-
var matches = matcher.matches(cursor);
|
801
|
-
var pos, someoneUsed = false;
|
802
|
-
if (matches)
|
803
|
-
pos = nextPos.slice();
|
804
|
-
|
805
|
-
for (var i = 0; i < nextParents.length; ++i) {
|
806
|
-
if (cursor === nextParents[i]) {
|
807
|
-
nextParents[i] = cursor.parentNode || cursor.ownerElement;
|
808
|
-
if (matches) {
|
809
|
-
pos[i] = null;
|
810
|
-
}
|
811
|
-
} else {
|
812
|
-
if (matches) {
|
813
|
-
pos[i] = nextPos[i]++;
|
814
|
-
someoneUsed = true;
|
815
|
-
}
|
816
|
-
}
|
817
|
-
}
|
818
|
-
if (someoneUsed) {
|
819
|
-
r.nodes.unshift(cursor);
|
820
|
-
r.pos.unshift(pos);
|
821
|
-
}
|
822
|
-
}
|
823
|
-
for (var i = 0; i < r.pos.length; ++i) {
|
824
|
-
var lasts = [];
|
825
|
-
r.lasts.push(lasts);
|
826
|
-
for (var j = r.pos[i].length - 1; j >= 0; j--) {
|
827
|
-
if (null == r.pos[i][j]) {
|
828
|
-
r.pos[i].splice(j, j+1);
|
829
|
-
} else {
|
830
|
-
lasts.unshift(nextPos[j] - 1);
|
831
|
-
}
|
832
|
-
}
|
833
|
-
}
|
834
|
-
return r;
|
835
|
-
}
|
836
|
-
|
837
|
-
/** node-set, axis -> node-set */
|
838
|
-
function descendantDfs(nodeMultiSet, node, remaining, matcher, andSelf, attrIndices, attrNodes) {
|
839
|
-
while (0 < remaining.length && null != remaining[0].ownerElement) {
|
840
|
-
var attr = remaining.shift();
|
841
|
-
if (andSelf && matcher.matches(attr)) {
|
842
|
-
attrNodes.push(attr);
|
843
|
-
attrIndices.push(nodeMultiSet.nodes.length);
|
844
|
-
}
|
845
|
-
}
|
846
|
-
if (null != node && !andSelf) {
|
847
|
-
if (matcher.matches(node))
|
848
|
-
nodeMultiSet.addNode(node);
|
849
|
-
}
|
850
|
-
var pushed = false;
|
851
|
-
if (null == node) {
|
852
|
-
if (0 === remaining.length) return;
|
853
|
-
node = remaining.shift();
|
854
|
-
nodeMultiSet.pushSeries();
|
855
|
-
pushed = true;
|
856
|
-
} else if (0 < remaining.length && node === remaining[0]) {
|
857
|
-
nodeMultiSet.pushSeries();
|
858
|
-
pushed = true;
|
859
|
-
remaining.shift();
|
860
|
-
}
|
861
|
-
if (andSelf) {
|
862
|
-
if (matcher.matches(node))
|
863
|
-
nodeMultiSet.addNode(node);
|
864
|
-
}
|
865
|
-
// TODO: use optimization. Also try element.getElementsByTagName
|
866
|
-
// var nodeList = 1 === nodeTypeNum && null != node.children ? node.children : node.childNodes;
|
867
|
-
var nodeList = node.childNodes;
|
868
|
-
for (var j = 0; j < nodeList.length; ++j) {
|
869
|
-
var child = nodeList[j];
|
870
|
-
descendantDfs(nodeMultiSet, child, remaining, matcher, andSelf, attrIndices, attrNodes);
|
871
|
-
}
|
872
|
-
if (pushed) {
|
873
|
-
nodeMultiSet.popSeries();
|
874
|
-
}
|
875
|
-
}
|
876
|
-
function descenantHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, andSelf) {
|
877
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
878
|
-
var nodeMultiSet = new NodeMultiSet(false);
|
879
|
-
var attrIndices = [], attrNodes = [];
|
880
|
-
while (0 < nodeList.length) {
|
881
|
-
// var node = nodeList.shift();
|
882
|
-
descendantDfs(nodeMultiSet, null, nodeList, matcher, andSelf, attrIndices, attrNodes);
|
883
|
-
}
|
884
|
-
nodeMultiSet.finalize();
|
885
|
-
for (var i = attrNodes.length-1; i >= 0; --i) {
|
886
|
-
nodeMultiSet.nodes.splice(attrIndices[i], attrIndices[i], attrNodes[i]);
|
887
|
-
nodeMultiSet.pos.splice(attrIndices[i], attrIndices[i], [1]);
|
888
|
-
nodeMultiSet.lasts.splice(attrIndices[i], attrIndices[i], [1]);
|
889
|
-
}
|
890
|
-
return nodeMultiSet;
|
891
|
-
}
|
892
|
-
/**
|
893
|
-
*/
|
894
|
-
function ancestorHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, andSelf) {
|
895
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
896
|
-
var ancestors = []; // array of non-empty arrays of matching ancestors
|
897
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
898
|
-
var node = nodeList[i];
|
899
|
-
var isFirst = true;
|
900
|
-
var a = [];
|
901
|
-
while (null != node) {
|
902
|
-
if (!isFirst || andSelf) {
|
903
|
-
if (matcher.matches(node))
|
904
|
-
a.push(node);
|
905
|
-
}
|
906
|
-
isFirst = false;
|
907
|
-
node = node.parentNode || node.ownerElement;
|
908
|
-
}
|
909
|
-
if (0 < a.length)
|
910
|
-
ancestors.push(a);
|
911
|
-
}
|
912
|
-
var lasts = [];
|
913
|
-
for (var i = 0; i < ancestors.length; ++i) lasts.push(ancestors[i].length);
|
914
|
-
var nodeMultiSet = new NodeMultiSet(true);
|
915
|
-
var newCtx = {nodes:[], pos:[], lasts:[]};
|
916
|
-
while (0 < ancestors.length) {
|
917
|
-
var pos = [ancestors[0].length];
|
918
|
-
var last = [lasts[0]];
|
919
|
-
var node = ancestors[0].pop();
|
920
|
-
for (var i = ancestors.length - 1; i > 0; --i) {
|
921
|
-
if (node === ancestors[i][ancestors[i].length - 1]) {
|
922
|
-
pos.push(ancestors[i].length);
|
923
|
-
last.push(lasts[i]);
|
924
|
-
ancestors[i].pop();
|
925
|
-
if (0 === ancestors[i].length) {
|
926
|
-
ancestors.splice(i, i+1);
|
927
|
-
lasts.splice(i, i+1);
|
928
|
-
}
|
929
|
-
}
|
930
|
-
}
|
931
|
-
if (0 === ancestors[0].length) {
|
932
|
-
ancestors.shift();
|
933
|
-
lasts.shift();
|
934
|
-
}
|
935
|
-
newCtx.nodes.push(node);
|
936
|
-
newCtx.pos.push(pos);
|
937
|
-
newCtx.lasts.push(last);
|
938
|
-
}
|
939
|
-
return newCtx;
|
940
|
-
}
|
941
|
-
/** Helper function for sortDocumentOrder. Returns a list of indices, from the
|
942
|
-
* node to the root, of positions within parent.
|
943
|
-
* For convenience, the node is the first element of the array.
|
944
|
-
*/
|
945
|
-
function addressVector(node) {
|
946
|
-
var r = [node];
|
947
|
-
if (null != node.ownerElement) {
|
948
|
-
node = node.ownerElement;
|
949
|
-
r.push(-1);
|
950
|
-
}
|
951
|
-
while (null != node) {
|
952
|
-
var i = 0;
|
953
|
-
while (null != node.previousSibling) {
|
954
|
-
node = node.previousSibling;
|
955
|
-
i++;
|
956
|
-
}
|
957
|
-
r.push(i);
|
958
|
-
node = node.parentNode
|
959
|
-
}
|
960
|
-
return r;
|
961
|
-
}
|
962
|
-
function addressComparator(a, b) {
|
963
|
-
var minlen = Math.min(a.length - 1, b.length - 1), // not including [0]=node
|
964
|
-
alen = a.length,
|
965
|
-
blen = b.length;
|
966
|
-
if (a[0] === b[0]) return 0;
|
967
|
-
var c;
|
968
|
-
for (var i = 0; i < minlen; ++i) {
|
969
|
-
c = a[alen - i - 1] - b[blen - i - 1];
|
970
|
-
if (0 !== c)
|
971
|
-
break;
|
972
|
-
}
|
973
|
-
if (null == c || 0 === c) {
|
974
|
-
// All equal until one of the nodes. The longer one is the descendant.
|
975
|
-
c = alen - blen;
|
976
|
-
}
|
977
|
-
if (0 === c)
|
978
|
-
c = getNodeName(a) - getNodeName(b);
|
979
|
-
if (0 === c)
|
980
|
-
c = 1;
|
981
|
-
return c;
|
982
|
-
}
|
983
|
-
var sortUniqDocumentOrder = xpath.sortUniqDocumentOrder = function(nodes) {
|
984
|
-
var a = [];
|
985
|
-
for (var i = 0; i < nodes.length; i++) {
|
986
|
-
var node = nodes[i];
|
987
|
-
var v = addressVector(node);
|
988
|
-
a.push(v);
|
989
|
-
}
|
990
|
-
a.sort(addressComparator);
|
991
|
-
var b = [];
|
992
|
-
for (var i = 0; i < a.length; i++) {
|
993
|
-
if (0 < i && a[i][0] === a[i - 1][0])
|
994
|
-
continue;
|
995
|
-
b.push(a[i][0]);
|
996
|
-
}
|
997
|
-
return b;
|
998
|
-
}
|
999
|
-
/** Sort node multiset. Does not do any de-duping. */
|
1000
|
-
function sortNodeMultiSet(nodeMultiSet) {
|
1001
|
-
var a = [];
|
1002
|
-
for (var i = 0; i < nodeMultiSet.nodes.length; i++) {
|
1003
|
-
var v = addressVector(nodeMultiSet.nodes[i]);
|
1004
|
-
a.push({v:v, n:nodeMultiSet.nodes[i],
|
1005
|
-
p:nodeMultiSet.pos[i], l:nodeMultiSet.lasts[i]});
|
1006
|
-
}
|
1007
|
-
a.sort(compare);
|
1008
|
-
var r = {nodes:[], pos:[], lasts:[]};
|
1009
|
-
for (var i = 0; i < a.length; ++i) {
|
1010
|
-
r.nodes.push(a[i].n);
|
1011
|
-
r.pos.push(a[i].p);
|
1012
|
-
r.lasts.push(a[i].l);
|
1013
|
-
}
|
1014
|
-
function compare(x, y) {
|
1015
|
-
return addressComparator(x.v, y.v);
|
1016
|
-
}
|
1017
|
-
return r;
|
1018
|
-
}
|
1019
|
-
/** Returns an array containing all the ancestors down to a node.
|
1020
|
-
* The array starts with document.
|
1021
|
-
*/
|
1022
|
-
function nodeAndAncestors(node) {
|
1023
|
-
var ancestors = [node];
|
1024
|
-
var p = node;
|
1025
|
-
while (p = p.parentNode || p.ownerElement) {
|
1026
|
-
ancestors.unshift(p);
|
1027
|
-
}
|
1028
|
-
return ancestors;
|
1029
|
-
}
|
1030
|
-
function compareSiblings(a, b) {
|
1031
|
-
if (a === b) return 0;
|
1032
|
-
var c = a;
|
1033
|
-
while (c = c.previousSibling) {
|
1034
|
-
if (c === b)
|
1035
|
-
return 1; // b < a
|
1036
|
-
}
|
1037
|
-
c = b;
|
1038
|
-
while (c = c.previousSibling) {
|
1039
|
-
if (c === a)
|
1040
|
-
return -1; // a < b
|
1041
|
-
}
|
1042
|
-
throw new Error('a and b are not siblings: ' + xpath.stringifyObject(a) + ' vs ' + xpath.stringifyObject(b));
|
1043
|
-
}
|
1044
|
-
/** The merge in merge-sort.*/
|
1045
|
-
function mergeNodeLists(x, y) {
|
1046
|
-
var a, b, aanc, banc, r = [];
|
1047
|
-
if ('object' !== typeof x)
|
1048
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1049
|
-
'Invalid LHS for | operator ' +
|
1050
|
-
'(expected node-set): ' + x);
|
1051
|
-
if ('object' !== typeof y)
|
1052
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1053
|
-
'Invalid LHS for | operator ' +
|
1054
|
-
'(expected node-set): ' + y);
|
1055
|
-
while (true) {
|
1056
|
-
if (null == a) {
|
1057
|
-
a = x.shift();
|
1058
|
-
if (null != a)
|
1059
|
-
aanc = addressVector(a);
|
1060
|
-
}
|
1061
|
-
if (null == b) {
|
1062
|
-
b = y.shift();
|
1063
|
-
if (null != b)
|
1064
|
-
banc = addressVector(b);
|
1065
|
-
}
|
1066
|
-
if (null == a || null == b) break;
|
1067
|
-
var c = addressComparator(aanc, banc);
|
1068
|
-
if (c < 0) {
|
1069
|
-
r.push(a);
|
1070
|
-
a = null;
|
1071
|
-
aanc = null;
|
1072
|
-
} else if (c > 0) {
|
1073
|
-
r.push(b);
|
1074
|
-
b = null;
|
1075
|
-
banc = null;
|
1076
|
-
} else if (getNodeName(a) < getNodeName(b)) { // attributes
|
1077
|
-
r.push(a);
|
1078
|
-
a = null;
|
1079
|
-
aanc = null;
|
1080
|
-
} else if (getNodeName(a) > getNodeName(b)) { // attributes
|
1081
|
-
r.push(b);
|
1082
|
-
b = null;
|
1083
|
-
banc = null;
|
1084
|
-
} else if (a !== b) {
|
1085
|
-
// choose b arbitrarily
|
1086
|
-
r.push(b);
|
1087
|
-
b = null;
|
1088
|
-
banc = null;
|
1089
|
-
} else {
|
1090
|
-
console.assert(a === b, c);
|
1091
|
-
// just skip b without pushing it.
|
1092
|
-
b = null;
|
1093
|
-
banc = null;
|
1094
|
-
}
|
1095
|
-
}
|
1096
|
-
while (a) {
|
1097
|
-
r.push(a);
|
1098
|
-
a = x.shift();
|
1099
|
-
}
|
1100
|
-
while (b) {
|
1101
|
-
r.push(b);
|
1102
|
-
b = y.shift();
|
1103
|
-
}
|
1104
|
-
return r;
|
1105
|
-
}
|
1106
|
-
function comparisonHelper(test, x, y, isNumericComparison) {
|
1107
|
-
var coersion;
|
1108
|
-
if (isNumericComparison)
|
1109
|
-
coersion = fn.number;
|
1110
|
-
else coersion =
|
1111
|
-
'boolean' === typeof x || 'boolean' === typeof y ? fn['boolean'] :
|
1112
|
-
'number' === typeof x || 'number' === typeof y ? fn.number :
|
1113
|
-
fn.string;
|
1114
|
-
if ('object' === typeof x && 'object' === typeof y) {
|
1115
|
-
var aMap = {};
|
1116
|
-
for (var i = 0; i < x.nodes.length; ++i) {
|
1117
|
-
var xi = coersion({nodes:[x.nodes[i]]});
|
1118
|
-
for (var j = 0; j < y.nodes.length; ++j) {
|
1119
|
-
var yj = coersion({nodes:[y.nodes[j]]});
|
1120
|
-
if (test(xi, yj)) return true;
|
1121
|
-
}
|
1122
|
-
}
|
1123
|
-
return false;
|
1124
|
-
} else if ('object' === typeof x && x.nodes && x.nodes.length) {
|
1125
|
-
for (var i = 0; i < x.nodes.length; ++i) {
|
1126
|
-
var xi = coersion({nodes:[x.nodes[i]]}), yc = coersion(y);
|
1127
|
-
if (test(xi, yc))
|
1128
|
-
return true;
|
1129
|
-
}
|
1130
|
-
return false;
|
1131
|
-
} else if ('object' === typeof y && x.nodes && x.nodes.length) {
|
1132
|
-
for (var i = 0; i < x.nodes.length; ++i) {
|
1133
|
-
var yi = coersion({nodes:[y.nodes[i]]}), xc = coersion(x);
|
1134
|
-
if (test(xc, yi))
|
1135
|
-
return true;
|
1136
|
-
}
|
1137
|
-
return false;
|
1138
|
-
} else {
|
1139
|
-
var xc = coersion(x), yc = coersion(y);
|
1140
|
-
return test(xc, yc);
|
1141
|
-
}
|
1142
|
-
}
|
1143
|
-
var axes = xpath.axes = {
|
1144
|
-
'ancestor':
|
1145
|
-
function ancestor(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1146
|
-
return ancestorHelper(
|
1147
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, false);
|
1148
|
-
},
|
1149
|
-
'ancestor-or-self':
|
1150
|
-
function ancestorOrSelf(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1151
|
-
return ancestorHelper(
|
1152
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, true);
|
1153
|
-
},
|
1154
|
-
'attribute':
|
1155
|
-
function attribute(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1156
|
-
// TODO: figure out whether positions should be undefined here.
|
1157
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
1158
|
-
var nodeMultiSet = new NodeMultiSet(false);
|
1159
|
-
if (null != nodeName) {
|
1160
|
-
// TODO: with namespace
|
1161
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
1162
|
-
var node = nodeList[i];
|
1163
|
-
if (null == node.getAttributeNode)
|
1164
|
-
continue; // only Element has .getAttributeNode
|
1165
|
-
var attr = node.getAttributeNode(nodeName);
|
1166
|
-
if (null != attr && matcher.matches(attr)) {
|
1167
|
-
nodeMultiSet.pushSeries();
|
1168
|
-
nodeMultiSet.addNode(attr);
|
1169
|
-
nodeMultiSet.popSeries();
|
1170
|
-
}
|
1171
|
-
}
|
1172
|
-
} else {
|
1173
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
1174
|
-
var node = nodeList[i];
|
1175
|
-
if (null != node.attributes) {
|
1176
|
-
nodeMultiSet.pushSeries();
|
1177
|
-
for (var j = 0; j < node.attributes.length; j++) { // all nodes have .attributes
|
1178
|
-
var attr = node.attributes[j];
|
1179
|
-
if (matcher.matches(attr)) // TODO: I think this check is unnecessary
|
1180
|
-
nodeMultiSet.addNode(attr);
|
1181
|
-
}
|
1182
|
-
nodeMultiSet.popSeries();
|
1183
|
-
}
|
1184
|
-
}
|
1185
|
-
}
|
1186
|
-
return nodeMultiSet.finalize();
|
1187
|
-
},
|
1188
|
-
'child':
|
1189
|
-
function child(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1190
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
1191
|
-
var nodeMultiSet = new NodeMultiSet(false);
|
1192
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
1193
|
-
var n = nodeList[i];
|
1194
|
-
if (n.ownerElement) // skip attribute nodes' text child.
|
1195
|
-
continue;
|
1196
|
-
if (n.childNodes) {
|
1197
|
-
nodeMultiSet.pushSeries();
|
1198
|
-
var childList = 1 === nodeTypeNum && null != n.children ?
|
1199
|
-
n.children : n.childNodes;
|
1200
|
-
for (var j = 0; j < childList.length; ++j) {
|
1201
|
-
var child = childList[j];
|
1202
|
-
if (matcher.matches(child)) {
|
1203
|
-
nodeMultiSet.addNode(child);
|
1204
|
-
}
|
1205
|
-
// don't have to do de-duping because children have parent,
|
1206
|
-
// which are current context.
|
1207
|
-
}
|
1208
|
-
nodeMultiSet.popSeries();
|
1209
|
-
}
|
1210
|
-
}
|
1211
|
-
nodeMultiSet.finalize();
|
1212
|
-
return sortNodeMultiSet(nodeMultiSet);
|
1213
|
-
},
|
1214
|
-
'descendant':
|
1215
|
-
function descenant(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1216
|
-
return descenantHelper(
|
1217
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, false);
|
1218
|
-
},
|
1219
|
-
'descendant-or-self':
|
1220
|
-
function descenantOrSelf(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1221
|
-
return descenantHelper(
|
1222
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase, true);
|
1223
|
-
},
|
1224
|
-
'following':
|
1225
|
-
function following(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1226
|
-
return followingHelper(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase);
|
1227
|
-
},
|
1228
|
-
'following-sibling':
|
1229
|
-
function followingSibling(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1230
|
-
return followingSiblingHelper(
|
1231
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase,
|
1232
|
-
Array.prototype.shift, function() {return this[0];},
|
1233
|
-
function(node) {return node.nextSibling;});
|
1234
|
-
},
|
1235
|
-
'namespace':
|
1236
|
-
function namespace(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1237
|
-
// TODO
|
1238
|
-
},
|
1239
|
-
'parent':
|
1240
|
-
function parent(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1241
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
1242
|
-
var nodes = [], pos = [];
|
1243
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
1244
|
-
var parent = nodeList[i].parentNode || nodeList[i].ownerElement;
|
1245
|
-
if (null == parent)
|
1246
|
-
continue;
|
1247
|
-
if (!matcher.matches(parent))
|
1248
|
-
continue;
|
1249
|
-
if (nodes.length > 0 && parent === nodes[nodes.length-1])
|
1250
|
-
continue;
|
1251
|
-
nodes.push(parent);
|
1252
|
-
pos.push([1]);
|
1253
|
-
}
|
1254
|
-
return {nodes:nodes, pos:pos, lasts:pos};
|
1255
|
-
},
|
1256
|
-
'preceding':
|
1257
|
-
function preceding(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1258
|
-
return precedingHelper(
|
1259
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase);
|
1260
|
-
},
|
1261
|
-
'preceding-sibling':
|
1262
|
-
function precedingSibling(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1263
|
-
return followingSiblingHelper(
|
1264
|
-
nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase,
|
1265
|
-
Array.prototype.pop, function() {return this[this.length-1];},
|
1266
|
-
function(node) {return node.previousSibling},
|
1267
|
-
false, true);
|
1268
|
-
},
|
1269
|
-
'self':
|
1270
|
-
function self(nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase) {
|
1271
|
-
var nodes = [], pos = [];
|
1272
|
-
var matcher = new NodeMatcher(nodeTypeNum, nodeName, shouldLowerCase);
|
1273
|
-
for (var i = 0; i < nodeList.length; ++i) {
|
1274
|
-
if (matcher.matches(nodeList[i])) {
|
1275
|
-
nodes.push(nodeList[i]);
|
1276
|
-
pos.push([1]);
|
1277
|
-
}
|
1278
|
-
}
|
1279
|
-
return {nodes: nodes, pos: pos, lasts: pos}
|
1280
|
-
}
|
1281
|
-
};
|
1282
|
-
|
1283
|
-
/***************************************************************************
|
1284
|
-
* Evaluation: functions *
|
1285
|
-
***************************************************************************/
|
1286
|
-
var fn = {
|
1287
|
-
'number': function number(optObject) {
|
1288
|
-
if ('number' === typeof optObject)
|
1289
|
-
return optObject;
|
1290
|
-
if ('string' === typeof optObject)
|
1291
|
-
return parseFloat(optObject); // note: parseFloat(' ') -> NaN, unlike +' ' -> 0.
|
1292
|
-
if ('boolean' === typeof optObject)
|
1293
|
-
return +optObject;
|
1294
|
-
return fn.number(fn.string.call(this, optObject)); // for node-sets
|
1295
|
-
},
|
1296
|
-
'string': function string(optObject) {
|
1297
|
-
if (null == optObject)
|
1298
|
-
return fn.string(this);
|
1299
|
-
if ('string' === typeof optObject || 'boolean' === typeof optObject ||
|
1300
|
-
'number' === typeof optObject)
|
1301
|
-
return '' + optObject;
|
1302
|
-
if (0 == optObject.nodes.length) return '';
|
1303
|
-
if (null != optObject.nodes[0].textContent)
|
1304
|
-
return optObject.nodes[0].textContent;
|
1305
|
-
return optObject.nodes[0].nodeValue;
|
1306
|
-
},
|
1307
|
-
'boolean': function booleanVal(x) {
|
1308
|
-
return 'object' === typeof x ? x.nodes.length > 0 : !!x;
|
1309
|
-
},
|
1310
|
-
'last': function last() {
|
1311
|
-
console.assert(Array.isArray(this.pos));
|
1312
|
-
console.assert(Array.isArray(this.lasts));
|
1313
|
-
console.assert(1 === this.pos.length);
|
1314
|
-
console.assert(1 === this.lasts.length);
|
1315
|
-
console.assert(1 === this.lasts[0].length);
|
1316
|
-
return this.lasts[0][0];
|
1317
|
-
},
|
1318
|
-
'position': function position() {
|
1319
|
-
console.assert(Array.isArray(this.pos));
|
1320
|
-
console.assert(Array.isArray(this.lasts));
|
1321
|
-
console.assert(1 === this.pos.length);
|
1322
|
-
console.assert(1 === this.lasts.length);
|
1323
|
-
console.assert(1 === this.pos[0].length);
|
1324
|
-
return this.pos[0][0];
|
1325
|
-
},
|
1326
|
-
'count': function count(nodeSet) {
|
1327
|
-
if ('object' !== typeof nodeSet)
|
1328
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1329
|
-
'Position ' + stream.position() +
|
1330
|
-
': Function count(node-set) ' +
|
1331
|
-
'got wrong argument type: ' + nodeSet);
|
1332
|
-
return nodeSet.nodes.length;
|
1333
|
-
},
|
1334
|
-
'id': function id(object) {
|
1335
|
-
var r = {nodes: []};
|
1336
|
-
var doc = this.nodes[0].ownerDocument || this.nodes[0];
|
1337
|
-
console.assert(doc);
|
1338
|
-
var ids;
|
1339
|
-
if ('object' === typeof object) {
|
1340
|
-
// for node-sets, map id over each node value.
|
1341
|
-
ids = [];
|
1342
|
-
for (var i = 0; i < object.nodes.length; ++i) {
|
1343
|
-
var idNode = object.nodes[i];
|
1344
|
-
var idsString = fn.string({nodes:[idNode]});
|
1345
|
-
var a = idsString.split(/[ \t\r\n]+/g);
|
1346
|
-
Array.prototype.push.apply(ids, a);
|
1347
|
-
}
|
1348
|
-
} else {
|
1349
|
-
var idsString = fn.string(object);
|
1350
|
-
var a = idsString.split(/[ \t\r\n]+/g);
|
1351
|
-
ids = a;
|
1352
|
-
}
|
1353
|
-
for (var i = 0; i < ids.length; ++i) {
|
1354
|
-
var id = ids[i];
|
1355
|
-
if (0 === id.length)
|
1356
|
-
continue;
|
1357
|
-
var node = doc.getElementById(id);
|
1358
|
-
if (null != node)
|
1359
|
-
r.nodes.push(node);
|
1360
|
-
}
|
1361
|
-
r.nodes = sortUniqDocumentOrder(r.nodes);
|
1362
|
-
return r;
|
1363
|
-
},
|
1364
|
-
'local-name': function(nodeSet) {
|
1365
|
-
if (null == nodeSet)
|
1366
|
-
return fn.name(this);
|
1367
|
-
if (null == nodeSet.nodes) {
|
1368
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1369
|
-
'argument to name() must be a node-set. got ' + nodeSet);
|
1370
|
-
}
|
1371
|
-
// TODO: namespaced version
|
1372
|
-
return nodeSet.nodes[0].localName;
|
1373
|
-
},
|
1374
|
-
'namespace-uri': function(nodeSet) {
|
1375
|
-
// TODO
|
1376
|
-
throw new Error('not implemented yet');
|
1377
|
-
},
|
1378
|
-
'name': function(nodeSet) {
|
1379
|
-
if (null == nodeSet)
|
1380
|
-
return fn.name(this);
|
1381
|
-
if (null == nodeSet.nodes) {
|
1382
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1383
|
-
'argument to name() must be a node-set. got ' + nodeSet);
|
1384
|
-
}
|
1385
|
-
return nodeSet.nodes[0].name;
|
1386
|
-
},
|
1387
|
-
'concat': function concat(x) {
|
1388
|
-
var l = [];
|
1389
|
-
for (var i = 0; i < arguments.length; ++i) {
|
1390
|
-
l.push(fn.string(arguments[i]));
|
1391
|
-
}
|
1392
|
-
return l.join('');
|
1393
|
-
},
|
1394
|
-
'starts-with': function startsWith(a, b) {
|
1395
|
-
var as = fn.string(a), bs = fn.string(b);
|
1396
|
-
return as.substr(0, bs.length) === bs;
|
1397
|
-
},
|
1398
|
-
'contains': function contains(a, b) {
|
1399
|
-
var as = fn.string(a), bs = fn.string(b);
|
1400
|
-
var i = as.indexOf(bs);
|
1401
|
-
if (-1 === i) return false;
|
1402
|
-
return true;
|
1403
|
-
},
|
1404
|
-
'substring-before': function substringBefore(a, b) {
|
1405
|
-
var as = fn.string(a), bs = fn.string(b);
|
1406
|
-
var i = as.indexOf(bs);
|
1407
|
-
if (-1 === i) return '';
|
1408
|
-
return as.substr(0, i);
|
1409
|
-
},
|
1410
|
-
'substring-after': function substringBefore(a, b) {
|
1411
|
-
var as = fn.string(a), bs = fn.string(b);
|
1412
|
-
var i = as.indexOf(bs);
|
1413
|
-
if (-1 === i) return '';
|
1414
|
-
return as.substr(i + bs.length);
|
1415
|
-
},
|
1416
|
-
'substring': function substring(string, start, optEnd) {
|
1417
|
-
if (null == string || null == start) {
|
1418
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1419
|
-
'Must be at least 2 arguments to string()');
|
1420
|
-
}
|
1421
|
-
var sString = fn.string(string),
|
1422
|
-
iStart = fn.round(start),
|
1423
|
-
iEnd = optEnd == null ? null : fn.round(optEnd);
|
1424
|
-
// Note that xpath string positions user 1-based index
|
1425
|
-
if (iEnd == null)
|
1426
|
-
return sString.substr(iStart - 1);
|
1427
|
-
else
|
1428
|
-
return sString.substr(iStart - 1, iEnd);
|
1429
|
-
},
|
1430
|
-
'string-length': function stringLength(optString) {
|
1431
|
-
return fn.string.call(this, optString).length;
|
1432
|
-
},
|
1433
|
-
'normalize-space': function normalizeSpace(optString) {
|
1434
|
-
var s = fn.string.call(this, optString);
|
1435
|
-
return s.replace(/[ \t\r\n]+/g, ' ').replace(/^ | $/g, '');
|
1436
|
-
},
|
1437
|
-
'translate': function translate(string, from, to) {
|
1438
|
-
var sString = fn.string.call(this, string),
|
1439
|
-
sFrom = fn.string(from),
|
1440
|
-
sTo = fn.string(to);
|
1441
|
-
var eachCharRe = [];
|
1442
|
-
var map = {};
|
1443
|
-
for (var i = 0; i < sFrom.length; ++i) {
|
1444
|
-
var c = sFrom.charAt(i);
|
1445
|
-
map[c] = sTo.charAt(i); // returns '' if beyond length of sTo.
|
1446
|
-
// copied from goog.string.regExpEscape in the Closure library.
|
1447
|
-
eachCharRe.push(
|
1448
|
-
c.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, '\\$1').
|
1449
|
-
replace(/\x08/g, '\\x08'));
|
1450
|
-
}
|
1451
|
-
var re = new RegExp(eachCharRe.join('|'), 'g');
|
1452
|
-
return sString.replace(re, function(c) {return map[c];});
|
1453
|
-
},
|
1454
|
-
/// Boolean functions
|
1455
|
-
'not': function not(x) {
|
1456
|
-
var bx = fn['boolean'](x);
|
1457
|
-
return !bx;
|
1458
|
-
},
|
1459
|
-
'true': function trueVal() { return true; },
|
1460
|
-
'false': function falseVal() { return false; },
|
1461
|
-
// TODO
|
1462
|
-
'lang': function lang(string) { throw new Error('Not implemented');},
|
1463
|
-
'sum': function sum(optNodeSet) {
|
1464
|
-
if (null == optNodeSet) return fn.sum(this);
|
1465
|
-
// for node-sets, map id over each node value.
|
1466
|
-
var sum = 0;
|
1467
|
-
for (var i = 0; i < optNodeSet.nodes.length; ++i) {
|
1468
|
-
var node = optNodeSet.nodes[i];
|
1469
|
-
var x = fn.number({nodes:[node]});
|
1470
|
-
sum += x;
|
1471
|
-
}
|
1472
|
-
return sum;
|
1473
|
-
},
|
1474
|
-
'floor': function floor(number) {
|
1475
|
-
return Math.floor(fn.number(number));
|
1476
|
-
},
|
1477
|
-
'ceiling': function ceiling(number) {
|
1478
|
-
return Math.ceil(fn.number(number));
|
1479
|
-
},
|
1480
|
-
'round': function round(number) {
|
1481
|
-
return Math.round(fn.number(number));
|
1482
|
-
}
|
1483
|
-
};
|
1484
|
-
/***************************************************************************
|
1485
|
-
* Evaluation: operators *
|
1486
|
-
***************************************************************************/
|
1487
|
-
var more = {
|
1488
|
-
UnaryMinus: function(x) { return -fn.number(x); },
|
1489
|
-
'+': function(x, y) { return fn.number(x) + fn.number(y); },
|
1490
|
-
'-': function(x, y) { return fn.number(x) - fn.number(y); },
|
1491
|
-
'*': function(x, y) { return fn.number(x) * fn.number(y); },
|
1492
|
-
'div': function(x, y) { return fn.number(x) / fn.number(y); },
|
1493
|
-
'mod': function(x, y) { return fn.number(x) % fn.number(y); },
|
1494
|
-
'<': function(x, y) {
|
1495
|
-
return comparisonHelper(function(x, y) { return fn.number(x) < fn.number(y);}, x, y, true);
|
1496
|
-
},
|
1497
|
-
'<=': function(x, y) {
|
1498
|
-
return comparisonHelper(function(x, y) { return fn.number(x) <= fn.number(y);}, x, y, true);
|
1499
|
-
},
|
1500
|
-
'>': function(x, y) {
|
1501
|
-
return comparisonHelper(function(x, y) { return fn.number(x) > fn.number(y);}, x, y, true);
|
1502
|
-
},
|
1503
|
-
'>=': function(x, y) {
|
1504
|
-
return comparisonHelper(function(x, y) { return fn.number(x) >= fn.number(y);}, x, y, true);
|
1505
|
-
},
|
1506
|
-
'and': function(x, y) { return fn['boolean'](x) && fn['boolean'](y); },
|
1507
|
-
'or': function(x, y) { return fn['boolean'](x) || fn['boolean'](y); },
|
1508
|
-
'|': function(x, y) { return {nodes: mergeNodeLists(x.nodes, y.nodes)}; },
|
1509
|
-
'=': function(x, y) {
|
1510
|
-
// optimization for two node-sets case: avoid n^2 comparisons.
|
1511
|
-
if ('object' === typeof x && 'object' === typeof y) {
|
1512
|
-
var aMap = {};
|
1513
|
-
for (var i = 0; i < x.nodes.length; ++i) {
|
1514
|
-
var s = fn.string({nodes:[x.nodes[i]]});
|
1515
|
-
aMap[s] = true;
|
1516
|
-
}
|
1517
|
-
for (var i = 0; i < y.nodes.length; ++i) {
|
1518
|
-
var s = fn.string({nodes:[y.nodes[i]]});
|
1519
|
-
if (aMap[s]) return true;
|
1520
|
-
}
|
1521
|
-
return false;
|
1522
|
-
} else {
|
1523
|
-
return comparisonHelper(function(x, y) {return x === y;}, x, y);
|
1524
|
-
}
|
1525
|
-
},
|
1526
|
-
'!=': function(x, y) {
|
1527
|
-
// optimization for two node-sets case: avoid n^2 comparisons.
|
1528
|
-
if ('object' === typeof x && 'object' === typeof y) {
|
1529
|
-
if (0 === x.nodes.length || 0 === y.nodes.length) return false;
|
1530
|
-
var aMap = {};
|
1531
|
-
for (var i = 0; i < x.nodes.length; ++i) {
|
1532
|
-
var s = fn.string({nodes:[x.nodes[i]]});
|
1533
|
-
aMap[s] = true;
|
1534
|
-
}
|
1535
|
-
for (var i = 0; i < y.nodes.length; ++i) {
|
1536
|
-
var s = fn.string({nodes:[y.nodes[i]]});
|
1537
|
-
if (!aMap[s]) return true;
|
1538
|
-
}
|
1539
|
-
return false;
|
1540
|
-
} else {
|
1541
|
-
return comparisonHelper(function(x, y) {return x !== y;}, x, y);
|
1542
|
-
}
|
1543
|
-
}
|
1544
|
-
};
|
1545
|
-
var nodeTypes = xpath.nodeTypes = {
|
1546
|
-
'node': 0,
|
1547
|
-
'attribute': 2,
|
1548
|
-
'comment': 8, // this.doc.COMMENT_NODE,
|
1549
|
-
'text': 3, // this.doc.TEXT_NODE,
|
1550
|
-
'processing-instruction': 7, // this.doc.PROCESSING_INSTRUCTION_NODE,
|
1551
|
-
'element': 1 //this.doc.ELEMENT_NODE
|
1552
|
-
};
|
1553
|
-
/** For debugging and unit tests: returnjs a stringified version of the
|
1554
|
-
* argument. */
|
1555
|
-
var stringifyObject = xpath.stringifyObject = function stringifyObject(ctx) {
|
1556
|
-
var seenKey = 'seen' + Math.floor(Math.random()*1000000000);
|
1557
|
-
return JSON.stringify(helper(ctx));
|
1558
|
-
|
1559
|
-
function helper(ctx) {
|
1560
|
-
if (Array.isArray(ctx)) {
|
1561
|
-
return ctx.map(function(x) {return helper(x);});
|
1562
|
-
}
|
1563
|
-
if ('object' !== typeof ctx) return ctx;
|
1564
|
-
if (null == ctx) return ctx;
|
1565
|
-
// if (ctx.toString) return ctx.toString();
|
1566
|
-
if (null != ctx.outerHTML) return ctx.outerHTML;
|
1567
|
-
if (null != ctx.nodeValue) return ctx.nodeName + '=' + ctx.nodeValue;
|
1568
|
-
if (ctx[seenKey]) return '[circular]';
|
1569
|
-
ctx[seenKey] = true;
|
1570
|
-
var nicer = {};
|
1571
|
-
for (var key in ctx) {
|
1572
|
-
if (seenKey === key)
|
1573
|
-
continue;
|
1574
|
-
try {
|
1575
|
-
nicer[key] = helper(ctx[key]);
|
1576
|
-
} catch (e) {
|
1577
|
-
nicer[key] = '[exception: ' + e.message + ']';
|
1578
|
-
}
|
1579
|
-
}
|
1580
|
-
delete ctx[seenKey];
|
1581
|
-
return nicer;
|
1582
|
-
}
|
1583
|
-
}
|
1584
|
-
var Evaluator = xpath.Evaluator = function Evaluator(doc) {
|
1585
|
-
this.doc = doc;
|
1586
|
-
}
|
1587
|
-
Evaluator.prototype = {
|
1588
|
-
val: function val(ast, ctx) {
|
1589
|
-
console.assert(ctx.nodes);
|
1590
|
-
|
1591
|
-
if ('number' === typeof ast || 'string' === typeof ast) return ast;
|
1592
|
-
if (more[ast[0]]) {
|
1593
|
-
var evaluatedParams = [];
|
1594
|
-
for (var i = 1; i < ast.length; ++i) {
|
1595
|
-
evaluatedParams.push(this.val(ast[i], ctx));
|
1596
|
-
}
|
1597
|
-
var r = more[ast[0]].apply(ctx, evaluatedParams);
|
1598
|
-
return r;
|
1599
|
-
}
|
1600
|
-
switch (ast[0]) {
|
1601
|
-
case 'Root': return {nodes: [this.doc]};
|
1602
|
-
case 'FunctionCall':
|
1603
|
-
var functionName = ast[1], functionParams = ast[2];
|
1604
|
-
if (null == fn[functionName])
|
1605
|
-
throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,
|
1606
|
-
'Unknown function: ' + functionName);
|
1607
|
-
var evaluatedParams = [];
|
1608
|
-
for (var i = 0; i < functionParams.length; ++i) {
|
1609
|
-
evaluatedParams.push(this.val(functionParams[i], ctx));
|
1610
|
-
}
|
1611
|
-
var r = fn[functionName].apply(ctx, evaluatedParams);
|
1612
|
-
return r;
|
1613
|
-
case 'Predicate':
|
1614
|
-
var lhs = this.val(ast[1], ctx);
|
1615
|
-
var ret = {nodes: []};
|
1616
|
-
var contexts = eachContext(lhs);
|
1617
|
-
for (var i = 0; i < contexts.length; ++i) {
|
1618
|
-
var singleNodeSet = contexts[i];
|
1619
|
-
var rhs = this.val(ast[2], singleNodeSet);
|
1620
|
-
var success;
|
1621
|
-
if ('number' === typeof rhs) {
|
1622
|
-
success = rhs === singleNodeSet.pos[0][0];
|
1623
|
-
} else {
|
1624
|
-
success = fn['boolean'](rhs);
|
1625
|
-
}
|
1626
|
-
if (success) {
|
1627
|
-
var node = singleNodeSet.nodes[0];
|
1628
|
-
ret.nodes.push(node);
|
1629
|
-
// skip over all the rest of the same node.
|
1630
|
-
while (i+1 < contexts.length && node === contexts[i+1].nodes[0]) {
|
1631
|
-
i++;
|
1632
|
-
}
|
1633
|
-
}
|
1634
|
-
}
|
1635
|
-
return ret;
|
1636
|
-
case 'PathExpr':
|
1637
|
-
// turn the path into an expressoin; i.e., remove the position
|
1638
|
-
// information of the last axis.
|
1639
|
-
var x = this.val(ast[1], ctx);
|
1640
|
-
// Make the nodeset a forward-direction-only one.
|
1641
|
-
if (x.finalize) { // it is a NodeMultiSet
|
1642
|
-
return {nodes: x.nodes};
|
1643
|
-
} else {
|
1644
|
-
return x;
|
1645
|
-
}
|
1646
|
-
case '/':
|
1647
|
-
// TODO: don't generate '/' nodes, just Axis nodes.
|
1648
|
-
var lhs = this.val(ast[1], ctx);
|
1649
|
-
console.assert(null != lhs);
|
1650
|
-
var r = this.val(ast[2], lhs);
|
1651
|
-
console.assert(null != r);
|
1652
|
-
return r;
|
1653
|
-
case 'Axis':
|
1654
|
-
// All the axis tests from Step. We only get AxisSpecifier NodeTest,
|
1655
|
-
// not the predicate (which is applied later)
|
1656
|
-
var axis = ast[1],
|
1657
|
-
nodeType = ast[2],
|
1658
|
-
nodeTypeNum = nodeTypes[nodeType],
|
1659
|
-
shouldLowerCase = true, // TODO: give option
|
1660
|
-
nodeName = ast[3] && shouldLowerCase ? ast[3].toLowerCase() : ast[3];
|
1661
|
-
nodeName = nodeName === '*' ? null : nodeName;
|
1662
|
-
if ('object' !== typeof ctx) return {nodes:[], pos:[]};
|
1663
|
-
var nodeList = ctx.nodes.slice(); // TODO: is copy needed?
|
1664
|
-
var r = axes[axis](nodeList /*destructive!*/, nodeTypeNum, nodeName, shouldLowerCase);
|
1665
|
-
return r;
|
1666
|
-
}
|
1667
|
-
}
|
1668
|
-
};
|
1669
|
-
var evaluate = xpath.evaluate = function evaluate(expr, doc, context) {
|
1670
|
-
//var astFactory = new AstEvaluatorFactory(doc, context);
|
1671
|
-
var stream = new Stream(expr);
|
1672
|
-
var ast = parse(stream, astFactory);
|
1673
|
-
var val = new Evaluator(doc).val(ast, {nodes: [context]});
|
1674
|
-
return val;
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
/***************************************************************************
|
1678
|
-
* DOM interface *
|
1679
|
-
***************************************************************************/
|
1680
|
-
var XPathException = xpath.XPathException = function XPathException(code, message) {
|
1681
|
-
var e = new Error(message);
|
1682
|
-
e.name = 'XPathException';
|
1683
|
-
e.code = code;
|
1684
|
-
return e;
|
1685
|
-
}
|
1686
|
-
XPathException.INVALID_EXPRESSION_ERR = 51;
|
1687
|
-
XPathException.TYPE_ERR = 52;
|
1688
|
-
|
1689
|
-
|
1690
|
-
var XPathEvaluator = xpath.XPathEvaluator = function XPathEvaluator() {}
|
1691
|
-
XPathEvaluator.prototype = {
|
1692
|
-
createExpression: function(expression, resolver) {
|
1693
|
-
return new XPathExpression(expression, resolver);
|
1694
|
-
},
|
1695
|
-
createNSResolver: function(nodeResolver) {
|
1696
|
-
// TODO
|
1697
|
-
},
|
1698
|
-
evaluate: function evaluate(expression, contextNode, resolver, type, result) {
|
1699
|
-
var expr = new XPathExpression(expression, resolver);
|
1700
|
-
return expr.evaluate(contextNode, type, result);
|
1701
|
-
}
|
1702
|
-
};
|
1703
|
-
|
1704
|
-
|
1705
|
-
var XPathExpression = xpath.XPathExpression = function XPathExpression(expression, resolver, optDoc) {
|
1706
|
-
var stream = new Stream(expression);
|
1707
|
-
this._ast = parse(stream, astFactory);
|
1708
|
-
this._doc = optDoc;
|
1709
|
-
}
|
1710
|
-
XPathExpression.prototype = {
|
1711
|
-
evaluate: function evaluate(contextNode, type, result) {
|
1712
|
-
if (null == contextNode.nodeType)
|
1713
|
-
throw new Error('bad argument (expected context node): ' + contextNode);
|
1714
|
-
var doc = contextNode.ownerDocument || contextNode;
|
1715
|
-
if (null != this._doc && this._doc !== doc) {
|
1716
|
-
throw new core.DOMException(
|
1717
|
-
core.DOMException.WRONG_DOCUMENT_ERR,
|
1718
|
-
'The document must be the same as the context node\'s document.');
|
1719
|
-
}
|
1720
|
-
var evaluator = new Evaluator(doc);
|
1721
|
-
var value = evaluator.val(this._ast, {nodes: [contextNode]});
|
1722
|
-
if (XPathResult.NUMBER_TYPE === type)
|
1723
|
-
value = fn.number(value);
|
1724
|
-
else if (XPathResult.STRING_TYPE === type)
|
1725
|
-
value = fn.string(value);
|
1726
|
-
else if (XPathResult.BOOLEAN_TYPE === type)
|
1727
|
-
value = fn['boolean'](value);
|
1728
|
-
else if (XPathResult.ANY_TYPE !== type &&
|
1729
|
-
XPathResult.UNORDERED_NODE_ITERATOR_TYPE !== type &&
|
1730
|
-
XPathResult.ORDERED_NODE_ITERATOR_TYPE !== type &&
|
1731
|
-
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE !== type &&
|
1732
|
-
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE !== type &&
|
1733
|
-
XPathResult.ANY_UNORDERED_NODE_TYPE !== type &&
|
1734
|
-
XPathResult.FIRST_ORDERED_NODE_TYPE !== type)
|
1735
|
-
throw new core.DOMException(
|
1736
|
-
core.DOMException.NOT_SUPPORTED_ERR,
|
1737
|
-
'You must provide an XPath result type (0=any).');
|
1738
|
-
else if (XPathResult.ANY_TYPE !== type &&
|
1739
|
-
'object' !== typeof value)
|
1740
|
-
throw new XPathException(
|
1741
|
-
XPathException.TYPE_ERR,
|
1742
|
-
'Value should be a node-set: ' + value);
|
1743
|
-
return new XPathResult(doc, value, type);
|
1744
|
-
}
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
var XPathResult = xpath.XPathResult = function XPathResult(doc, value, resultType) {
|
1748
|
-
this._value = value;
|
1749
|
-
this._resultType = resultType;
|
1750
|
-
this._i = 0;
|
1751
|
-
|
1752
|
-
// TODO: we removed mutation events but didn't take care of this. No tests fail, so that's nice, but eventually we
|
1753
|
-
// should fix this, preferably by entirely replacing our XPath implementation.
|
1754
|
-
// this._invalidated = false;
|
1755
|
-
// if (this.resultType === XPathResult.UNORDERED_NODE_ITERATOR_TYPE ||
|
1756
|
-
// this.resultType === XPathResult.ORDERED_NODE_ITERATOR_TYPE) {
|
1757
|
-
// doc.addEventListener('DOMSubtreeModified', invalidate, true);
|
1758
|
-
// var self = this;
|
1759
|
-
// function invalidate() {
|
1760
|
-
// self._invalidated = true;
|
1761
|
-
// doc.removeEventListener('DOMSubtreeModified', invalidate, true);
|
1762
|
-
// }
|
1763
|
-
// }
|
1764
|
-
}
|
1765
|
-
XPathResult.ANY_TYPE = 0;
|
1766
|
-
XPathResult.NUMBER_TYPE = 1;
|
1767
|
-
XPathResult.STRING_TYPE = 2;
|
1768
|
-
XPathResult.BOOLEAN_TYPE = 3;
|
1769
|
-
XPathResult.UNORDERED_NODE_ITERATOR_TYPE = 4;
|
1770
|
-
XPathResult.ORDERED_NODE_ITERATOR_TYPE = 5;
|
1771
|
-
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE = 6;
|
1772
|
-
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE = 7;
|
1773
|
-
XPathResult.ANY_UNORDERED_NODE_TYPE = 8;
|
1774
|
-
XPathResult.FIRST_ORDERED_NODE_TYPE = 9;
|
1775
|
-
var proto = {
|
1776
|
-
// XPathResultType
|
1777
|
-
get resultType() {
|
1778
|
-
if (this._resultType) return this._resultType;
|
1779
|
-
switch (typeof this._value) {
|
1780
|
-
case 'number': return XPathResult.NUMBER_TYPE;
|
1781
|
-
case 'string': return XPathResult.STRING_TYPE;
|
1782
|
-
case 'boolean': return XPathResult.BOOLEAN_TYPE;
|
1783
|
-
default: return XPathResult.UNORDERED_NODE_ITERATOR_TYPE;
|
1784
|
-
}
|
1785
|
-
},
|
1786
|
-
get numberValue() {
|
1787
|
-
if (XPathResult.NUMBER_TYPE !== this.resultType)
|
1788
|
-
throw new XPathException(XPathException.TYPE_ERR,
|
1789
|
-
'You should have asked for a NUMBER_TYPE.');
|
1790
|
-
return this._value;
|
1791
|
-
},
|
1792
|
-
get stringValue() {
|
1793
|
-
if (XPathResult.STRING_TYPE !== this.resultType)
|
1794
|
-
throw new XPathException(XPathException.TYPE_ERR,
|
1795
|
-
'You should have asked for a STRING_TYPE.');
|
1796
|
-
return this._value;
|
1797
|
-
},
|
1798
|
-
get booleanValue() {
|
1799
|
-
if (XPathResult.BOOLEAN_TYPE !== this.resultType)
|
1800
|
-
throw new XPathException(XPathException.TYPE_ERR,
|
1801
|
-
'You should have asked for a BOOLEAN_TYPE.');
|
1802
|
-
return this._value;
|
1803
|
-
},
|
1804
|
-
get singleNodeValue() {
|
1805
|
-
if (XPathResult.ANY_UNORDERED_NODE_TYPE !== this.resultType &&
|
1806
|
-
XPathResult.FIRST_ORDERED_NODE_TYPE !== this.resultType)
|
1807
|
-
throw new XPathException(
|
1808
|
-
XPathException.TYPE_ERR,
|
1809
|
-
'You should have asked for a FIRST_ORDERED_NODE_TYPE.');
|
1810
|
-
return this._value.nodes[0] || null;
|
1811
|
-
},
|
1812
|
-
get invalidIteratorState() {
|
1813
|
-
if (XPathResult.UNORDERED_NODE_ITERATOR_TYPE !== this.resultType &&
|
1814
|
-
XPathResult.ORDERED_NODE_ITERATOR_TYPE !== this.resultType)
|
1815
|
-
return false;
|
1816
|
-
return !!this._invalidated;
|
1817
|
-
},
|
1818
|
-
get snapshotLength() {
|
1819
|
-
if (XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE !== this.resultType &&
|
1820
|
-
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE !== this.resultType)
|
1821
|
-
throw new XPathException(
|
1822
|
-
XPathException.TYPE_ERR,
|
1823
|
-
'You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.');
|
1824
|
-
return this._value.nodes.length;
|
1825
|
-
},
|
1826
|
-
iterateNext: function iterateNext() {
|
1827
|
-
if (XPathResult.UNORDERED_NODE_ITERATOR_TYPE !== this.resultType &&
|
1828
|
-
XPathResult.ORDERED_NODE_ITERATOR_TYPE !== this.resultType)
|
1829
|
-
throw new XPathException(
|
1830
|
-
XPathException.TYPE_ERR,
|
1831
|
-
'You should have asked for a ORDERED_NODE_ITERATOR_TYPE.');
|
1832
|
-
if (this.invalidIteratorState)
|
1833
|
-
throw new core.DOMException(
|
1834
|
-
core.DOMException.INVALID_STATE_ERR,
|
1835
|
-
'The document has been mutated since the result was returned');
|
1836
|
-
return this._value.nodes[this._i++] || null;
|
1837
|
-
},
|
1838
|
-
snapshotItem: function snapshotItem(index) {
|
1839
|
-
if (XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE !== this.resultType &&
|
1840
|
-
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE !== this.resultType)
|
1841
|
-
throw new XPathException(
|
1842
|
-
XPathException.TYPE_ERR,
|
1843
|
-
'You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.');
|
1844
|
-
return this._value.nodes[index] || null;
|
1845
|
-
}
|
1846
|
-
};
|
1847
|
-
// so you can access ANY_TYPE etc. from the instances:
|
1848
|
-
XPathResult.prototype = Object.create(XPathResult,
|
1849
|
-
Object.keys(proto).reduce(function (descriptors, name) {
|
1850
|
-
descriptors[name] = Object.getOwnPropertyDescriptor(proto, name);
|
1851
|
-
return descriptors;
|
1852
|
-
}, {
|
1853
|
-
constructor: {
|
1854
|
-
value: XPathResult,
|
1855
|
-
writable: true,
|
1856
|
-
configurable: true
|
1857
|
-
}
|
1858
|
-
}));
|
1859
|
-
|
1860
|
-
core.XPathException = XPathException;
|
1861
|
-
core.XPathExpression = XPathExpression;
|
1862
|
-
core.XPathResult = XPathResult;
|
1863
|
-
core.XPathEvaluator = XPathEvaluator;
|
1864
|
-
|
1865
|
-
core.Document.prototype.createExpression =
|
1866
|
-
XPathEvaluator.prototype.createExpression;
|
1867
|
-
|
1868
|
-
core.Document.prototype.createNSResolver =
|
1869
|
-
XPathEvaluator.prototype.createNSResolver;
|
1870
|
-
|
1871
|
-
core.Document.prototype.evaluate = XPathEvaluator.prototype.evaluate;
|
1872
|
-
|
1873
|
-
return xpath; // for tests
|
1874
|
-
};
|