From e6d01f65451192b66b6934be764c4d50cf243490 Mon Sep 17 00:00:00 2001 From: zhangyongsheng Date: Sat, 19 Dec 2020 22:00:34 +0800 Subject: [PATCH] tools: update ESLint to 7.16.0 PR-URL: https://github.com/nodejs/node/pull/36579 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca --- tools/node_modules/eslint/README.md | 54 +- .../eslint/lib/init/config-initializer.js | 157 +- .../eslint/lib/rule-tester/rule-tester.js | 9 + .../eslint/lib/rules/array-callback-return.js | 31 +- .../eslint/lib/rules/arrow-body-style.js | 4 +- .../eslint/lib/rules/arrow-parens.js | 199 +- .../eslint/lib/rules/camelcase.js | 47 + tools/node_modules/eslint/lib/rules/curly.js | 9 +- .../eslint/lib/rules/id-denylist.js | 230 + .../node_modules/eslint/lib/rules/id-match.js | 3 +- tools/node_modules/eslint/lib/rules/indent.js | 7 +- .../eslint/lib/rules/key-spacing.js | 8 +- .../eslint/lib/rules/max-lines.js | 42 +- .../eslint/lib/rules/no-constant-condition.js | 12 +- .../eslint/lib/rules/no-extra-parens.js | 62 +- .../lib/rules/no-promise-executor-return.js | 121 + .../eslint/lib/rules/no-underscore-dangle.js | 87 +- .../eslint/lib/rules/no-unreachable-loop.js | 150 + .../eslint/lib/rules/no-unused-vars.js | 3 +- .../lib/rules/object-property-newline.js | 2 +- .../eslint/lib/rules/operator-linebreak.js | 7 +- .../eslint/lib/rules/padded-blocks.js | 3 +- .../rules/prefer-exponentiation-operator.js | 1 + .../eslint/lib/rules/prefer-regex-literals.js | 74 +- .../lib/rules/require-atomic-updates.js | 3 + .../eslint/lib/rules/semi-spacing.js | 1 + .../node_modules/@babel/code-frame/README.md | 2 +- .../@babel/code-frame/lib/index.js | 2 +- .../@babel/code-frame/package.json | 6 +- .../helper-validator-identifier/README.md | 2 +- .../helper-validator-identifier/package.json | 3 +- .../scripts/generate-identifier-regex.js | 4 +- .../@babel/highlight/package.json | 6 +- .../eslint/node_modules/acorn/LICENSE | 2 + .../eslint/node_modules/acorn/README.md | 1 - .../eslint/node_modules/acorn/dist/acorn.js | 126 +- .../eslint/node_modules/acorn/dist/acorn.mjs | 126 +- .../eslint/node_modules/acorn/package.json | 2 +- .../eslint/node_modules/ajv/README.md | 149 +- .../node_modules/ajv/dist/ajv.bundle.js | 112 +- .../node_modules/ajv/lib/compile/equal.js | 2 +- .../node_modules/ajv/lib/compile/index.js | 2 +- .../node_modules/ajv/lib/compile/util.js | 53 +- .../eslint/node_modules/ajv/lib/data.js | 2 +- .../node_modules/ajv/lib/definition_schema.js | 2 +- .../node_modules/ajv/lib/dot/_limit.jst | 9 + .../node_modules/ajv/lib/dot/_limitItems.jst | 2 + .../node_modules/ajv/lib/dot/_limitLength.jst | 2 + .../ajv/lib/dot/_limitProperties.jst | 2 + .../eslint/node_modules/ajv/lib/dot/allOf.jst | 2 - .../eslint/node_modules/ajv/lib/dot/anyOf.jst | 2 - .../node_modules/ajv/lib/dot/contains.jst | 2 - .../node_modules/ajv/lib/dot/definitions.def | 13 +- .../node_modules/ajv/lib/dot/dependencies.jst | 3 +- .../eslint/node_modules/ajv/lib/dot/if.jst | 2 - .../eslint/node_modules/ajv/lib/dot/items.jst | 2 - .../node_modules/ajv/lib/dot/multipleOf.jst | 2 + .../node_modules/ajv/lib/dot/properties.jst | 11 +- .../ajv/lib/dot/propertyNames.jst | 2 - .../node_modules/ajv/lib/dot/uniqueItems.jst | 2 +- .../node_modules/ajv/lib/dot/validate.jst | 10 +- .../node_modules/ajv/lib/dotjs/_limit.js | 6 + .../node_modules/ajv/lib/dotjs/_limitItems.js | 3 + .../ajv/lib/dotjs/_limitLength.js | 3 + .../ajv/lib/dotjs/_limitProperties.js | 3 + .../node_modules/ajv/lib/dotjs/allOf.js | 1 - .../node_modules/ajv/lib/dotjs/anyOf.js | 1 - .../node_modules/ajv/lib/dotjs/contains.js | 1 - .../ajv/lib/dotjs/dependencies.js | 2 +- .../eslint/node_modules/ajv/lib/dotjs/if.js | 1 - .../node_modules/ajv/lib/dotjs/items.js | 1 - .../node_modules/ajv/lib/dotjs/multipleOf.js | 3 + .../node_modules/ajv/lib/dotjs/properties.js | 13 +- .../ajv/lib/dotjs/propertyNames.js | 1 - .../node_modules/ajv/lib/dotjs/uniqueItems.js | 2 +- .../node_modules/ajv/lib/dotjs/validate.js | 8 +- .../eslint/node_modules/ajv/lib/keyword.js | 2 +- .../node_modules/ajv/lib/refs/data.json | 2 +- .../ajv/lib/refs/json-schema-secure.json | 2 +- .../eslint/node_modules/ajv/package.json | 16 +- .../ajv/scripts/publish-built-version | 2 +- .../node_modules/ajv/scripts/travis-gh-pages | 2 +- .../{chardet => ansi-colors}/LICENSE | 4 +- .../eslint/node_modules/ansi-colors/README.md | 315 + .../eslint/node_modules/ansi-colors/index.js | 177 + .../node_modules/ansi-colors/package.json | 129 + .../node_modules/ansi-colors/symbols.js | 70 + .../eslint/node_modules/ansi-escapes/index.js | 157 - .../eslint/node_modules/ansi-escapes/license | 9 - .../node_modules/type-fest/package.json | 63 - .../node_modules/type-fest/readme.md | 637 -- .../node_modules/ansi-escapes/package.json | 66 - .../node_modules/ansi-escapes/readme.md | 245 - .../eslint/node_modules/astral-regex/index.js | 4 +- .../node_modules/astral-regex/package.json | 15 +- .../node_modules/astral-regex/readme.md | 7 +- .../eslint/node_modules/chalk/package.json | 2 +- .../eslint/node_modules/chalk/readme.md | 7 +- .../eslint/node_modules/chalk/source/index.js | 9 +- .../eslint/node_modules/chardet/README.md | 81 - .../node_modules/chardet/encoding/iso2022.js | 141 - .../node_modules/chardet/encoding/mbcs.js | 502 - .../node_modules/chardet/encoding/sbcs.js | 907 -- .../node_modules/chardet/encoding/unicode.js | 112 - .../node_modules/chardet/encoding/utf8.js | 84 - .../eslint/node_modules/chardet/index.js | 151 - .../eslint/node_modules/chardet/match.js | 6 - .../eslint/node_modules/chardet/package.json | 60 - .../eslint/node_modules/cli-cursor/index.js | 35 - .../eslint/node_modules/cli-cursor/license | 9 - .../node_modules/cli-cursor/package.json | 55 - .../eslint/node_modules/cli-cursor/readme.md | 55 - .../00ef1b3d-3687-482b-8d03-de2f76b58f54.json | 1 - .../00ef1b3d-3687-482b-8d03-de2f76b58f54.json | 1 - .../.nyc_output/processinfo/index.json | 1 - .../eslint/node_modules/cli-width/LICENSE | 13 - .../eslint/node_modules/cli-width/README.md | 72 - .../eslint/node_modules/cli-width/index.js | 49 - .../node_modules/cli-width/package.json | 34 - .../license => enquirer/LICENSE} | 2 +- .../eslint/node_modules/enquirer/README.md | 1752 ++++ .../eslint/node_modules/enquirer/index.js | 250 + .../eslint/node_modules/enquirer/lib/ansi.js | 116 + .../node_modules/enquirer/lib/combos.js | 75 + .../node_modules/enquirer/lib/completer.js | 52 + .../node_modules/enquirer/lib/interpolate.js | 266 + .../node_modules/enquirer/lib/keypress.js | 243 + .../node_modules/enquirer/lib/placeholder.js | 63 + .../node_modules/enquirer/lib/prompt.js | 485 + .../enquirer/lib/prompts/autocomplete.js | 113 + .../enquirer/lib/prompts/basicauth.js | 41 + .../enquirer/lib/prompts/confirm.js | 13 + .../enquirer/lib/prompts/editable.js | 136 + .../node_modules/enquirer/lib/prompts/form.js | 196 + .../enquirer/lib/prompts/index.js | 28 + .../enquirer/lib/prompts/input.js | 55 + .../enquirer/lib/prompts/invisible.js | 11 + .../node_modules/enquirer/lib/prompts/list.js | 36 + .../enquirer/lib/prompts/multiselect.js | 11 + .../enquirer/lib/prompts/numeral.js | 1 + .../enquirer/lib/prompts/password.js | 18 + .../node_modules/enquirer/lib/prompts/quiz.js | 37 + .../enquirer/lib/prompts/scale.js | 237 + .../enquirer/lib/prompts/select.js | 139 + .../enquirer/lib/prompts/snippet.js | 185 + .../node_modules/enquirer/lib/prompts/sort.js | 37 + .../enquirer/lib/prompts/survey.js | 163 + .../node_modules/enquirer/lib/prompts/text.js | 1 + .../enquirer/lib/prompts/toggle.js | 109 + .../node_modules/enquirer/lib/render.js | 33 + .../eslint/node_modules/enquirer/lib/roles.js | 46 + .../eslint/node_modules/enquirer/lib/state.js | 69 + .../node_modules/enquirer/lib/styles.js | 144 + .../node_modules/enquirer/lib/symbols.js | 66 + .../eslint/node_modules/enquirer/lib/theme.js | 11 + .../eslint/node_modules/enquirer/lib/timer.js | 38 + .../node_modules/enquirer/lib/types/array.js | 658 ++ .../node_modules/enquirer/lib/types/auth.js | 29 + .../enquirer/lib/types/boolean.js | 88 + .../node_modules/enquirer/lib/types/index.js | 7 + .../node_modules/enquirer/lib/types/number.js | 86 + .../node_modules/enquirer/lib/types/string.js | 185 + .../eslint/node_modules/enquirer/lib/utils.js | 268 + .../eslint/node_modules/enquirer/package.json | 125 + .../eslint/node_modules/eslint-utils/index.js | 103 +- .../node_modules/eslint-utils/index.mjs | 103 +- .../node_modules/eslint-utils/package.json | 4 +- .../eslint-visitor-keys/lib/visitor-keys.json | 3 + .../eslint-visitor-keys/package.json | 2 +- .../node_modules/estraverse/estraverse.js | 2 + .../node_modules/estraverse/package.json | 2 +- .../node_modules/external-editor/LICENSE | 21 - .../node_modules/external-editor/README.md | 171 - .../external-editor/example_async.js | 40 - .../external-editor/example_sync.js | 38 - .../main/errors/CreateFileError.js | 39 - .../main/errors/LaunchEditorError.js | 39 - .../main/errors/ReadFileError.js | 39 - .../main/errors/RemoveFileError.js | 39 - .../external-editor/main/index.js | 193 - .../node_modules/external-editor/package.json | 67 - .../node_modules/fast-deep-equal/package.json | 14 +- .../eslint/node_modules/figures/index.js | 151 - .../eslint/node_modules/figures/license | 9 - .../eslint/node_modules/figures/package.json | 54 - .../eslint/node_modules/figures/readme.md | 139 - .../eslint/node_modules/iconv-lite/LICENSE | 21 - .../eslint/node_modules/iconv-lite/README.md | 156 - .../iconv-lite/encodings/dbcs-codec.js | 555 - .../iconv-lite/encodings/dbcs-data.js | 176 - .../iconv-lite/encodings/index.js | 22 - .../iconv-lite/encodings/internal.js | 188 - .../iconv-lite/encodings/sbcs-codec.js | 72 - .../encodings/sbcs-data-generated.js | 451 - .../iconv-lite/encodings/sbcs-data.js | 174 - .../encodings/tables/big5-added.json | 122 - .../iconv-lite/encodings/tables/cp936.json | 264 - .../iconv-lite/encodings/tables/cp949.json | 273 - .../iconv-lite/encodings/tables/cp950.json | 177 - .../iconv-lite/encodings/tables/eucjp.json | 182 - .../encodings/tables/gb18030-ranges.json | 1 - .../encodings/tables/gbk-added.json | 55 - .../iconv-lite/encodings/tables/shiftjis.json | 125 - .../iconv-lite/encodings/utf16.js | 177 - .../node_modules/iconv-lite/encodings/utf7.js | 290 - .../iconv-lite/lib/bom-handling.js | 52 - .../iconv-lite/lib/extend-node.js | 217 - .../node_modules/iconv-lite/lib/index.js | 153 - .../node_modules/iconv-lite/lib/streams.js | 121 - .../node_modules/iconv-lite/package.json | 53 - .../eslint/node_modules/inquirer/LICENSE | 22 - .../eslint/node_modules/inquirer/README.md | 476 - .../node_modules/inquirer/lib/inquirer.js | 93 - .../inquirer/lib/objects/choice.js | 38 - .../inquirer/lib/objects/choices.js | 118 - .../inquirer/lib/objects/separator.js | 37 - .../node_modules/inquirer/lib/prompts/base.js | 148 - .../inquirer/lib/prompts/checkbox.js | 254 - .../inquirer/lib/prompts/confirm.js | 99 - .../inquirer/lib/prompts/editor.js | 100 - .../inquirer/lib/prompts/expand.js | 276 - .../inquirer/lib/prompts/input.js | 113 - .../node_modules/inquirer/lib/prompts/list.js | 184 - .../inquirer/lib/prompts/number.js | 29 - .../inquirer/lib/prompts/password.js | 113 - .../inquirer/lib/prompts/rawlist.js | 216 - .../node_modules/inquirer/lib/ui/baseUI.js | 96 - .../inquirer/lib/ui/bottom-bar.js | 100 - .../node_modules/inquirer/lib/ui/prompt.js | 132 - .../node_modules/inquirer/lib/utils/events.js | 54 - .../inquirer/lib/utils/paginator.js | 54 - .../inquirer/lib/utils/readline.js | 51 - .../inquirer/lib/utils/screen-manager.js | 142 - .../node_modules/inquirer/lib/utils/utils.js | 26 - .../inquirer/node_modules/ansi-styles/license | 9 - .../inquirer/node_modules/chalk/license | 9 - .../inquirer/node_modules/chalk/package.json | 72 - .../inquirer/node_modules/chalk/readme.md | 304 - .../node_modules/chalk/source/index.js | 233 - .../node_modules/chalk/source/templates.js | 134 - .../node_modules/chalk/source/util.js | 39 - .../inquirer/node_modules/has-flag/index.js | 8 - .../inquirer/node_modules/has-flag/license | 9 - .../node_modules/has-flag/package.json | 55 - .../inquirer/node_modules/has-flag/readme.md | 89 - .../node_modules/supports-color/browser.js | 5 - .../node_modules/supports-color/index.js | 139 - .../node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 62 - .../node_modules/supports-color/readme.md | 76 - .../eslint/node_modules/inquirer/package.json | 67 - .../node_modules/js-yaml/dist/js-yaml.js | 4 +- .../node_modules/js-yaml/dist/js-yaml.min.js | 2 +- .../js-yaml/lib/js-yaml/loader.js | 2 +- .../eslint/node_modules/js-yaml/package.json | 2 +- .../eslint/node_modules/lodash/README.md | 4 +- .../eslint/node_modules/lodash/_baseClone.js | 3 +- .../node_modules/lodash/_baseOrderBy.js | 19 +- .../eslint/node_modules/lodash/_baseSet.js | 4 + .../node_modules/lodash/_baseSortedIndexBy.js | 11 +- .../node_modules/lodash/_equalArrays.js | 9 +- .../node_modules/lodash/_equalObjects.js | 9 +- .../eslint/node_modules/lodash/core.js | 54 +- .../eslint/node_modules/lodash/core.min.js | 51 +- .../eslint/node_modules/lodash/filter.js | 4 + .../eslint/node_modules/lodash/lodash.js | 6 +- .../eslint/node_modules/lodash/lodash.min.js | 2 +- .../eslint/node_modules/lodash/matches.js | 7 + .../node_modules/lodash/matchesProperty.js | 7 + .../eslint/node_modules/lodash/overEvery.js | 4 + .../eslint/node_modules/lodash/overSome.js | 7 + .../eslint/node_modules/lodash/package.json | 2 +- .../eslint/node_modules/lodash/sortBy.js | 6 +- .../eslint/node_modules/lodash/template.js | 8 +- .../eslint/node_modules/mimic-fn/index.js | 13 - .../eslint/node_modules/mimic-fn/license | 9 - .../eslint/node_modules/mimic-fn/package.json | 51 - .../eslint/node_modules/mimic-fn/readme.md | 69 - .../eslint/node_modules/mute-stream/LICENSE | 15 - .../eslint/node_modules/mute-stream/README.md | 68 - .../eslint/node_modules/mute-stream/mute.js | 145 - .../node_modules/mute-stream/package.json | 39 - .../eslint/node_modules/onetime/index.js | 50 - .../eslint/node_modules/onetime/license | 9 - .../eslint/node_modules/onetime/package.json | 51 - .../eslint/node_modules/onetime/readme.md | 94 - .../eslint/node_modules/os-tmpdir/index.js | 25 - .../eslint/node_modules/os-tmpdir/license | 21 - .../node_modules/os-tmpdir/package.json | 50 - .../eslint/node_modules/os-tmpdir/readme.md | 32 - .../node_modules/restore-cursor/index.js | 9 - .../node_modules/restore-cursor/license | 9 - .../node_modules/restore-cursor/package.json | 61 - .../node_modules/restore-cursor/readme.md | 26 - .../eslint/node_modules/run-async/LICENSE | 21 - .../eslint/node_modules/run-async/README.md | 79 - .../eslint/node_modules/run-async/index.js | 98 - .../node_modules/run-async/package.json | 39 - .../eslint/node_modules/rxjs/AsyncSubject.js | 7 - .../node_modules/rxjs/BehaviorSubject.js | 7 - .../node_modules/rxjs/InnerSubscriber.js | 7 - .../eslint/node_modules/rxjs/LICENSE.txt | 202 - .../eslint/node_modules/rxjs/Notification.js | 7 - .../eslint/node_modules/rxjs/Observable.js | 7 - .../eslint/node_modules/rxjs/Observer.js | 3 - .../eslint/node_modules/rxjs/Operator.js | 3 - .../node_modules/rxjs/OuterSubscriber.js | 7 - .../eslint/node_modules/rxjs/README.md | 147 - .../eslint/node_modules/rxjs/ReplaySubject.js | 7 - .../eslint/node_modules/rxjs/Rx.js | 7 - .../eslint/node_modules/rxjs/Scheduler.js | 7 - .../eslint/node_modules/rxjs/Subject.js | 7 - .../node_modules/rxjs/SubjectSubscription.js | 7 - .../eslint/node_modules/rxjs/Subscriber.js | 7 - .../eslint/node_modules/rxjs/Subscription.js | 7 - .../node_modules/rxjs/_esm2015/LICENSE.txt | 202 - .../node_modules/rxjs/_esm2015/README.md | 147 - .../node_modules/rxjs/_esm2015/ajax/index.js | 3 - .../node_modules/rxjs/_esm2015/fetch/index.js | 2 - .../node_modules/rxjs/_esm2015/index.js | 56 - .../_esm2015/internal-compatibility/index.js | 56 - .../rxjs/_esm2015/internal/AsyncSubject.js | 41 - .../rxjs/_esm2015/internal/BehaviorSubject.js | 33 - .../rxjs/_esm2015/internal/InnerSubscriber.js | 22 - .../rxjs/_esm2015/internal/Notification.js | 73 - .../rxjs/_esm2015/internal/Observable.js | 107 - .../rxjs/_esm2015/internal/Observer.js | 16 - .../rxjs/_esm2015/internal/Operator.js | 1 - .../rxjs/_esm2015/internal/OuterSubscriber.js | 13 - .../rxjs/_esm2015/internal/ReplaySubject.js | 104 - .../node_modules/rxjs/_esm2015/internal/Rx.js | 172 - .../rxjs/_esm2015/internal/Scheduler.js | 11 - .../rxjs/_esm2015/internal/Subject.js | 144 - .../_esm2015/internal/SubjectSubscription.js | 26 - .../rxjs/_esm2015/internal/Subscriber.js | 222 - .../rxjs/_esm2015/internal/Subscription.js | 133 - .../rxjs/_esm2015/internal/config.js | 18 - .../observable/ConnectableObservable.js | 129 - .../observable/SubscribeOnObservable.js | 33 - .../internal/observable/bindCallback.js | 85 - .../internal/observable/bindNodeCallback.js | 93 - .../internal/observable/combineLatest.js | 89 - .../_esm2015/internal/observable/concat.js | 6 - .../_esm2015/internal/observable/defer.js | 18 - .../internal/observable/dom/AjaxObservable.js | 359 - .../observable/dom/WebSocketSubject.js | 209 - .../_esm2015/internal/observable/dom/ajax.js | 3 - .../_esm2015/internal/observable/dom/fetch.js | 51 - .../internal/observable/dom/webSocket.js | 5 - .../_esm2015/internal/observable/empty.js | 9 - .../_esm2015/internal/observable/forkJoin.js | 61 - .../rxjs/_esm2015/internal/observable/from.js | 15 - .../_esm2015/internal/observable/fromArray.js | 12 - .../_esm2015/internal/observable/fromEvent.js | 62 - .../internal/observable/fromEventPattern.js | 25 - .../internal/observable/fromIterable.js | 15 - .../internal/observable/fromPromise.js | 12 - .../_esm2015/internal/observable/generate.js | 124 - .../rxjs/_esm2015/internal/observable/iif.js | 6 - .../_esm2015/internal/observable/interval.js | 21 - .../_esm2015/internal/observable/merge.js | 23 - .../_esm2015/internal/observable/never.js | 7 - .../rxjs/_esm2015/internal/observable/of.js | 14 - .../internal/observable/onErrorResumeNext.js | 22 - .../_esm2015/internal/observable/pairs.js | 38 - .../_esm2015/internal/observable/partition.js | 11 - .../rxjs/_esm2015/internal/observable/race.js | 64 - .../_esm2015/internal/observable/range.js | 44 - .../internal/observable/throwError.js | 13 - .../_esm2015/internal/observable/timer.js | 37 - .../_esm2015/internal/observable/using.js | 32 - .../rxjs/_esm2015/internal/observable/zip.js | 198 - .../rxjs/_esm2015/internal/operators/audit.js | 63 - .../_esm2015/internal/operators/auditTime.js | 7 - .../_esm2015/internal/operators/buffer.js | 31 - .../internal/operators/bufferCount.js | 78 - .../_esm2015/internal/operators/bufferTime.js | 141 - .../internal/operators/bufferToggle.js | 101 - .../_esm2015/internal/operators/bufferWhen.js | 76 - .../_esm2015/internal/operators/catchError.js | 45 - .../_esm2015/internal/operators/combineAll.js | 5 - .../internal/operators/combineLatest.js | 15 - .../_esm2015/internal/operators/concat.js | 5 - .../_esm2015/internal/operators/concatAll.js | 5 - .../_esm2015/internal/operators/concatMap.js | 5 - .../internal/operators/concatMapTo.js | 5 - .../rxjs/_esm2015/internal/operators/count.js | 48 - .../_esm2015/internal/operators/debounce.js | 70 - .../internal/operators/debounceTime.js | 55 - .../internal/operators/defaultIfEmpty.js | 30 - .../rxjs/_esm2015/internal/operators/delay.js | 83 - .../_esm2015/internal/operators/delayWhen.js | 118 - .../internal/operators/dematerialize.js | 20 - .../_esm2015/internal/operators/distinct.js | 58 - .../operators/distinctUntilChanged.js | 54 - .../operators/distinctUntilKeyChanged.js | 5 - .../_esm2015/internal/operators/elementAt.js | 15 - .../_esm2015/internal/operators/endWith.js | 6 - .../rxjs/_esm2015/internal/operators/every.js | 45 - .../_esm2015/internal/operators/exhaust.js | 37 - .../_esm2015/internal/operators/exhaustMap.js | 77 - .../_esm2015/internal/operators/expand.js | 91 - .../_esm2015/internal/operators/filter.js | 37 - .../_esm2015/internal/operators/finalize.js | 20 - .../rxjs/_esm2015/internal/operators/find.js | 51 - .../_esm2015/internal/operators/findIndex.js | 5 - .../rxjs/_esm2015/internal/operators/first.js | 11 - .../_esm2015/internal/operators/groupBy.js | 164 - .../internal/operators/ignoreElements.js | 16 - .../rxjs/_esm2015/internal/operators/index.js | 103 - .../_esm2015/internal/operators/isEmpty.js | 26 - .../rxjs/_esm2015/internal/operators/last.js | 11 - .../rxjs/_esm2015/internal/operators/map.js | 38 - .../rxjs/_esm2015/internal/operators/mapTo.js | 22 - .../internal/operators/materialize.js | 31 - .../rxjs/_esm2015/internal/operators/max.js | 8 - .../rxjs/_esm2015/internal/operators/merge.js | 5 - .../_esm2015/internal/operators/mergeAll.js | 6 - .../_esm2015/internal/operators/mergeMap.js | 86 - .../_esm2015/internal/operators/mergeMapTo.js | 11 - .../_esm2015/internal/operators/mergeScan.js | 89 - .../rxjs/_esm2015/internal/operators/min.js | 8 - .../_esm2015/internal/operators/multicast.js | 35 - .../_esm2015/internal/operators/observeOn.js | 50 - .../internal/operators/onErrorResumeNext.js | 64 - .../_esm2015/internal/operators/pairwise.js | 29 - .../_esm2015/internal/operators/partition.js | 9 - .../rxjs/_esm2015/internal/operators/pluck.js | 25 - .../_esm2015/internal/operators/publish.js | 8 - .../internal/operators/publishBehavior.js | 6 - .../internal/operators/publishLast.js | 6 - .../internal/operators/publishReplay.js | 11 - .../rxjs/_esm2015/internal/operators/race.js | 11 - .../_esm2015/internal/operators/reduce.js | 15 - .../_esm2015/internal/operators/refCount.js | 52 - .../_esm2015/internal/operators/repeat.js | 44 - .../_esm2015/internal/operators/repeatWhen.js | 77 - .../rxjs/_esm2015/internal/operators/retry.js | 33 - .../_esm2015/internal/operators/retryWhen.js | 69 - .../_esm2015/internal/operators/sample.js | 39 - .../_esm2015/internal/operators/sampleTime.js | 39 - .../rxjs/_esm2015/internal/operators/scan.js | 58 - .../internal/operators/sequenceEqual.js | 99 - .../rxjs/_esm2015/internal/operators/share.js | 10 - .../internal/operators/shareReplay.js | 53 - .../_esm2015/internal/operators/single.js | 62 - .../rxjs/_esm2015/internal/operators/skip.js | 25 - .../_esm2015/internal/operators/skipLast.js | 44 - .../_esm2015/internal/operators/skipUntil.js | 42 - .../_esm2015/internal/operators/skipWhile.js | 39 - .../_esm2015/internal/operators/startWith.js | 13 - .../internal/operators/subscribeOn.js | 16 - .../_esm2015/internal/operators/switchAll.js | 6 - .../_esm2015/internal/operators/switchMap.js | 73 - .../internal/operators/switchMapTo.js | 5 - .../rxjs/_esm2015/internal/operators/take.js | 43 - .../_esm2015/internal/operators/takeLast.js | 58 - .../_esm2015/internal/operators/takeUntil.js | 32 - .../_esm2015/internal/operators/takeWhile.js | 46 - .../rxjs/_esm2015/internal/operators/tap.js | 69 - .../_esm2015/internal/operators/throttle.js | 82 - .../internal/operators/throttleTime.js | 73 - .../internal/operators/throwIfEmpty.js | 45 - .../internal/operators/timeInterval.js | 16 - .../_esm2015/internal/operators/timeout.js | 8 - .../internal/operators/timeoutWith.js | 59 - .../_esm2015/internal/operators/timestamp.js | 12 - .../_esm2015/internal/operators/toArray.js | 12 - .../_esm2015/internal/operators/window.js | 61 - .../internal/operators/windowCount.js | 69 - .../_esm2015/internal/operators/windowTime.js | 142 - .../internal/operators/windowToggle.js | 123 - .../_esm2015/internal/operators/windowWhen.js | 75 - .../internal/operators/withLatestFrom.js | 73 - .../rxjs/_esm2015/internal/operators/zip.js | 7 - .../_esm2015/internal/operators/zipAll.js | 5 - .../internal/scheduled/scheduleArray.js | 20 - .../internal/scheduled/scheduleIterable.js | 45 - .../internal/scheduled/scheduleObservable.js | 18 - .../internal/scheduled/schedulePromise.js | 17 - .../_esm2015/internal/scheduled/scheduled.js | 26 - .../_esm2015/internal/scheduler/Action.js | 10 - .../scheduler/AnimationFrameAction.js | 26 - .../scheduler/AnimationFrameScheduler.js | 25 - .../_esm2015/internal/scheduler/AsapAction.js | 27 - .../internal/scheduler/AsapScheduler.js | 25 - .../internal/scheduler/AsyncAction.js | 80 - .../internal/scheduler/AsyncScheduler.js | 46 - .../internal/scheduler/QueueAction.js | 29 - .../internal/scheduler/QueueScheduler.js | 4 - .../scheduler/VirtualTimeScheduler.js | 82 - .../internal/scheduler/animationFrame.js | 4 - .../rxjs/_esm2015/internal/scheduler/asap.js | 4 - .../rxjs/_esm2015/internal/scheduler/async.js | 4 - .../rxjs/_esm2015/internal/scheduler/queue.js | 4 - .../rxjs/_esm2015/internal/symbol/iterator.js | 9 - .../_esm2015/internal/symbol/observable.js | 2 - .../_esm2015/internal/symbol/rxSubscriber.js | 5 - .../rxjs/_esm2015/internal/types.js | 1 - .../internal/util/ArgumentOutOfRangeError.js | 12 - .../rxjs/_esm2015/internal/util/EmptyError.js | 12 - .../rxjs/_esm2015/internal/util/Immediate.js | 27 - .../internal/util/ObjectUnsubscribedError.js | 12 - .../_esm2015/internal/util/TimeoutError.js | 12 - .../internal/util/UnsubscriptionError.js | 15 - .../_esm2015/internal/util/applyMixins.js | 11 - .../_esm2015/internal/util/canReportError.js | 17 - .../_esm2015/internal/util/errorObject.js | 2 - .../_esm2015/internal/util/hostReportError.js | 4 - .../rxjs/_esm2015/internal/util/identity.js | 4 - .../rxjs/_esm2015/internal/util/isArray.js | 2 - .../_esm2015/internal/util/isArrayLike.js | 2 - .../rxjs/_esm2015/internal/util/isDate.js | 4 - .../rxjs/_esm2015/internal/util/isFunction.js | 4 - .../internal/util/isInteropObservable.js | 5 - .../rxjs/_esm2015/internal/util/isIterable.js | 5 - .../rxjs/_esm2015/internal/util/isNumeric.js | 5 - .../rxjs/_esm2015/internal/util/isObject.js | 4 - .../_esm2015/internal/util/isObservable.js | 5 - .../rxjs/_esm2015/internal/util/isPromise.js | 4 - .../_esm2015/internal/util/isScheduler.js | 4 - .../rxjs/_esm2015/internal/util/noop.js | 2 - .../rxjs/_esm2015/internal/util/not.js | 9 - .../rxjs/_esm2015/internal/util/pipe.js | 16 - .../rxjs/_esm2015/internal/util/root.js | 12 - .../_esm2015/internal/util/subscribeTo.js | 30 - .../internal/util/subscribeToArray.js | 7 - .../internal/util/subscribeToIterable.js | 24 - .../internal/util/subscribeToObservable.js | 11 - .../internal/util/subscribeToPromise.js | 12 - .../internal/util/subscribeToResult.js | 13 - .../_esm2015/internal/util/toSubscriber.js | 18 - .../rxjs/_esm2015/internal/util/tryCatch.js | 20 - .../rxjs/_esm2015/operators/index.js | 105 - .../rxjs/_esm2015/path-mapping.js | 453 - .../rxjs/_esm2015/webSocket/index.js | 3 - .../node_modules/rxjs/_esm5/LICENSE.txt | 202 - .../eslint/node_modules/rxjs/_esm5/README.md | 147 - .../node_modules/rxjs/_esm5/ajax/index.js | 4 - .../node_modules/rxjs/_esm5/fetch/index.js | 3 - .../eslint/node_modules/rxjs/_esm5/index.js | 57 - .../_esm5/internal-compatibility/index.js | 57 - .../rxjs/_esm5/internal/AsyncSubject.js | 47 - .../rxjs/_esm5/internal/BehaviorSubject.js | 43 - .../rxjs/_esm5/internal/InnerSubscriber.js | 28 - .../rxjs/_esm5/internal/Notification.js | 76 - .../rxjs/_esm5/internal/Observable.js | 116 - .../rxjs/_esm5/internal/Observer.js | 17 - .../rxjs/_esm5/internal/Operator.js | 1 - .../rxjs/_esm5/internal/OuterSubscriber.js | 21 - .../rxjs/_esm5/internal/ReplaySubject.js | 117 - .../node_modules/rxjs/_esm5/internal/Rx.js | 173 - .../rxjs/_esm5/internal/Scheduler.js | 19 - .../rxjs/_esm5/internal/Subject.js | 158 - .../_esm5/internal/SubjectSubscription.js | 32 - .../rxjs/_esm5/internal/Subscriber.js | 233 - .../rxjs/_esm5/internal/Subscription.js | 136 - .../rxjs/_esm5/internal/config.js | 19 - .../observable/ConnectableObservable.js | 142 - .../observable/SubscribeOnObservable.js | 51 - .../_esm5/internal/observable/bindCallback.js | 105 - .../internal/observable/bindNodeCallback.js | 113 - .../internal/observable/combineLatest.js | 101 - .../rxjs/_esm5/internal/observable/concat.js | 11 - .../rxjs/_esm5/internal/observable/defer.js | 19 - .../internal/observable/dom/AjaxObservable.js | 374 - .../observable/dom/WebSocketSubject.js | 217 - .../_esm5/internal/observable/dom/ajax.js | 4 - .../_esm5/internal/observable/dom/fetch.js | 53 - .../internal/observable/dom/webSocket.js | 6 - .../rxjs/_esm5/internal/observable/empty.js | 10 - .../_esm5/internal/observable/forkJoin.js | 69 - .../rxjs/_esm5/internal/observable/from.js | 16 - .../_esm5/internal/observable/fromArray.js | 13 - .../_esm5/internal/observable/fromEvent.js | 63 - .../internal/observable/fromEventPattern.js | 32 - .../_esm5/internal/observable/fromIterable.js | 16 - .../_esm5/internal/observable/fromPromise.js | 13 - .../_esm5/internal/observable/generate.js | 125 - .../rxjs/_esm5/internal/observable/iif.js | 13 - .../_esm5/internal/observable/interval.js | 28 - .../rxjs/_esm5/internal/observable/merge.js | 28 - .../rxjs/_esm5/internal/observable/never.js | 8 - .../rxjs/_esm5/internal/observable/of.js | 19 - .../internal/observable/onErrorResumeNext.js | 27 - .../rxjs/_esm5/internal/observable/pairs.js | 39 - .../_esm5/internal/observable/partition.js | 12 - .../rxjs/_esm5/internal/observable/race.js | 78 - .../rxjs/_esm5/internal/observable/range.js | 48 - .../_esm5/internal/observable/throwError.js | 15 - .../rxjs/_esm5/internal/observable/timer.js | 41 - .../rxjs/_esm5/internal/observable/using.js | 33 - .../rxjs/_esm5/internal/observable/zip.js | 218 - .../rxjs/_esm5/internal/operators/audit.js | 69 - .../_esm5/internal/operators/auditTime.js | 11 - .../rxjs/_esm5/internal/operators/buffer.js | 37 - .../_esm5/internal/operators/bufferCount.js | 90 - .../_esm5/internal/operators/bufferTime.js | 148 - .../_esm5/internal/operators/bufferToggle.js | 107 - .../_esm5/internal/operators/bufferWhen.js | 82 - .../_esm5/internal/operators/catchError.js | 51 - .../_esm5/internal/operators/combineAll.js | 6 - .../_esm5/internal/operators/combineLatest.js | 20 - .../rxjs/_esm5/internal/operators/concat.js | 10 - .../_esm5/internal/operators/concatAll.js | 6 - .../_esm5/internal/operators/concatMap.js | 6 - .../_esm5/internal/operators/concatMapTo.js | 6 - .../rxjs/_esm5/internal/operators/count.js | 54 - .../rxjs/_esm5/internal/operators/debounce.js | 76 - .../_esm5/internal/operators/debounceTime.js | 64 - .../internal/operators/defaultIfEmpty.js | 39 - .../rxjs/_esm5/internal/operators/delay.js | 93 - .../_esm5/internal/operators/delayWhen.js | 132 - .../_esm5/internal/operators/dematerialize.js | 27 - .../rxjs/_esm5/internal/operators/distinct.js | 65 - .../operators/distinctUntilChanged.js | 60 - .../operators/distinctUntilKeyChanged.js | 6 - .../_esm5/internal/operators/elementAt.js | 18 - .../rxjs/_esm5/internal/operators/endWith.js | 11 - .../rxjs/_esm5/internal/operators/every.js | 51 - .../rxjs/_esm5/internal/operators/exhaust.js | 45 - .../_esm5/internal/operators/exhaustMap.js | 85 - .../rxjs/_esm5/internal/operators/expand.js | 105 - .../rxjs/_esm5/internal/operators/filter.js | 43 - .../rxjs/_esm5/internal/operators/finalize.js | 26 - .../rxjs/_esm5/internal/operators/find.js | 59 - .../_esm5/internal/operators/findIndex.js | 6 - .../rxjs/_esm5/internal/operators/first.js | 12 - .../rxjs/_esm5/internal/operators/groupBy.js | 182 - .../internal/operators/ignoreElements.js | 26 - .../rxjs/_esm5/internal/operators/index.js | 104 - .../rxjs/_esm5/internal/operators/isEmpty.js | 33 - .../rxjs/_esm5/internal/operators/last.js | 12 - .../rxjs/_esm5/internal/operators/map.js | 45 - .../rxjs/_esm5/internal/operators/mapTo.js | 28 - .../_esm5/internal/operators/materialize.js | 38 - .../rxjs/_esm5/internal/operators/max.js | 9 - .../rxjs/_esm5/internal/operators/merge.js | 10 - .../rxjs/_esm5/internal/operators/mergeAll.js | 10 - .../rxjs/_esm5/internal/operators/mergeMap.js | 103 - .../_esm5/internal/operators/mergeMapTo.js | 15 - .../_esm5/internal/operators/mergeScan.js | 100 - .../rxjs/_esm5/internal/operators/min.js | 9 - .../_esm5/internal/operators/multicast.js | 38 - .../_esm5/internal/operators/observeOn.js | 69 - .../internal/operators/onErrorResumeNext.js | 78 - .../rxjs/_esm5/internal/operators/pairwise.js | 37 - .../_esm5/internal/operators/partition.js | 12 - .../rxjs/_esm5/internal/operators/pluck.js | 30 - .../rxjs/_esm5/internal/operators/publish.js | 9 - .../internal/operators/publishBehavior.js | 7 - .../_esm5/internal/operators/publishLast.js | 7 - .../_esm5/internal/operators/publishReplay.js | 12 - .../rxjs/_esm5/internal/operators/race.js | 16 - .../rxjs/_esm5/internal/operators/reduce.js | 16 - .../rxjs/_esm5/internal/operators/refCount.js | 58 - .../rxjs/_esm5/internal/operators/repeat.js | 53 - .../_esm5/internal/operators/repeatWhen.js | 83 - .../rxjs/_esm5/internal/operators/retry.js | 42 - .../_esm5/internal/operators/retryWhen.js | 75 - .../rxjs/_esm5/internal/operators/sample.js | 45 - .../_esm5/internal/operators/sampleTime.js | 48 - .../rxjs/_esm5/internal/operators/scan.js | 71 - .../_esm5/internal/operators/sequenceEqual.js | 110 - .../rxjs/_esm5/internal/operators/share.js | 11 - .../_esm5/internal/operators/shareReplay.js | 55 - .../rxjs/_esm5/internal/operators/single.js | 68 - .../rxjs/_esm5/internal/operators/skip.js | 31 - .../rxjs/_esm5/internal/operators/skipLast.js | 50 - .../_esm5/internal/operators/skipUntil.js | 48 - .../_esm5/internal/operators/skipWhile.js | 45 - .../_esm5/internal/operators/startWith.js | 18 - .../_esm5/internal/operators/subscribeOn.js | 21 - .../_esm5/internal/operators/switchAll.js | 7 - .../_esm5/internal/operators/switchMap.js | 79 - .../_esm5/internal/operators/switchMapTo.js | 6 - .../rxjs/_esm5/internal/operators/take.js | 49 - .../rxjs/_esm5/internal/operators/takeLast.js | 64 - .../_esm5/internal/operators/takeUntil.js | 38 - .../_esm5/internal/operators/takeWhile.js | 57 - .../rxjs/_esm5/internal/operators/tap.js | 75 - .../rxjs/_esm5/internal/operators/throttle.js | 91 - .../_esm5/internal/operators/throttleTime.js | 85 - .../_esm5/internal/operators/throwIfEmpty.js | 54 - .../_esm5/internal/operators/timeInterval.js | 30 - .../rxjs/_esm5/internal/operators/timeout.js | 12 - .../_esm5/internal/operators/timeoutWith.js | 68 - .../_esm5/internal/operators/timestamp.js | 18 - .../rxjs/_esm5/internal/operators/toArray.js | 13 - .../rxjs/_esm5/internal/operators/window.js | 67 - .../_esm5/internal/operators/windowCount.js | 78 - .../_esm5/internal/operators/windowTime.js | 155 - .../_esm5/internal/operators/windowToggle.js | 129 - .../_esm5/internal/operators/windowWhen.js | 84 - .../internal/operators/withLatestFrom.js | 83 - .../rxjs/_esm5/internal/operators/zip.js | 12 - .../rxjs/_esm5/internal/operators/zipAll.js | 6 - .../_esm5/internal/scheduled/scheduleArray.js | 21 - .../internal/scheduled/scheduleIterable.js | 46 - .../internal/scheduled/scheduleObservable.js | 19 - .../internal/scheduled/schedulePromise.js | 20 - .../_esm5/internal/scheduled/scheduled.js | 27 - .../rxjs/_esm5/internal/scheduler/Action.js | 18 - .../scheduler/AnimationFrameAction.js | 38 - .../scheduler/AnimationFrameScheduler.js | 33 - .../_esm5/internal/scheduler/AsapAction.js | 39 - .../_esm5/internal/scheduler/AsapScheduler.js | 33 - .../_esm5/internal/scheduler/AsyncAction.js | 95 - .../internal/scheduler/AsyncScheduler.js | 58 - .../_esm5/internal/scheduler/QueueAction.js | 41 - .../internal/scheduler/QueueScheduler.js | 12 - .../scheduler/VirtualTimeScheduler.js | 110 - .../internal/scheduler/animationFrame.js | 5 - .../rxjs/_esm5/internal/scheduler/asap.js | 5 - .../rxjs/_esm5/internal/scheduler/async.js | 5 - .../rxjs/_esm5/internal/scheduler/queue.js | 5 - .../rxjs/_esm5/internal/symbol/iterator.js | 10 - .../rxjs/_esm5/internal/symbol/observable.js | 3 - .../_esm5/internal/symbol/rxSubscriber.js | 8 - .../node_modules/rxjs/_esm5/internal/types.js | 1 - .../internal/util/ArgumentOutOfRangeError.js | 13 - .../rxjs/_esm5/internal/util/EmptyError.js | 13 - .../rxjs/_esm5/internal/util/Immediate.js | 28 - .../internal/util/ObjectUnsubscribedError.js | 13 - .../rxjs/_esm5/internal/util/TimeoutError.js | 13 - .../internal/util/UnsubscriptionError.js | 15 - .../rxjs/_esm5/internal/util/applyMixins.js | 12 - .../_esm5/internal/util/canReportError.js | 18 - .../rxjs/_esm5/internal/util/errorObject.js | 3 - .../_esm5/internal/util/hostReportError.js | 5 - .../rxjs/_esm5/internal/util/identity.js | 5 - .../rxjs/_esm5/internal/util/isArray.js | 3 - .../rxjs/_esm5/internal/util/isArrayLike.js | 3 - .../rxjs/_esm5/internal/util/isDate.js | 5 - .../rxjs/_esm5/internal/util/isFunction.js | 5 - .../internal/util/isInteropObservable.js | 6 - .../rxjs/_esm5/internal/util/isIterable.js | 6 - .../rxjs/_esm5/internal/util/isNumeric.js | 6 - .../rxjs/_esm5/internal/util/isObject.js | 5 - .../rxjs/_esm5/internal/util/isObservable.js | 6 - .../rxjs/_esm5/internal/util/isPromise.js | 5 - .../rxjs/_esm5/internal/util/isScheduler.js | 5 - .../rxjs/_esm5/internal/util/noop.js | 3 - .../rxjs/_esm5/internal/util/not.js | 10 - .../rxjs/_esm5/internal/util/pipe.js | 21 - .../rxjs/_esm5/internal/util/root.js | 13 - .../rxjs/_esm5/internal/util/subscribeTo.js | 31 - .../_esm5/internal/util/subscribeToArray.js | 10 - .../internal/util/subscribeToIterable.js | 27 - .../internal/util/subscribeToObservable.js | 14 - .../_esm5/internal/util/subscribeToPromise.js | 15 - .../_esm5/internal/util/subscribeToResult.js | 17 - .../rxjs/_esm5/internal/util/toSubscriber.js | 19 - .../rxjs/_esm5/internal/util/tryCatch.js | 21 - .../rxjs/_esm5/operators/index.js | 106 - .../node_modules/rxjs/_esm5/path-mapping.js | 453 - .../rxjs/_esm5/webSocket/index.js | 4 - .../rxjs/add/observable/bindCallback.js | 4 - .../rxjs/add/observable/bindNodeCallback.js | 4 - .../rxjs/add/observable/combineLatest.js | 4 - .../rxjs/add/observable/concat.js | 4 - .../node_modules/rxjs/add/observable/defer.js | 4 - .../rxjs/add/observable/dom/ajax.js | 4 - .../rxjs/add/observable/dom/webSocket.js | 4 - .../node_modules/rxjs/add/observable/empty.js | 4 - .../rxjs/add/observable/forkJoin.js | 4 - .../node_modules/rxjs/add/observable/from.js | 4 - .../rxjs/add/observable/fromEvent.js | 4 - .../rxjs/add/observable/fromEventPattern.js | 4 - .../rxjs/add/observable/fromPromise.js | 4 - .../rxjs/add/observable/generate.js | 4 - .../node_modules/rxjs/add/observable/if.js | 4 - .../rxjs/add/observable/interval.js | 4 - .../node_modules/rxjs/add/observable/merge.js | 4 - .../node_modules/rxjs/add/observable/never.js | 4 - .../node_modules/rxjs/add/observable/of.js | 4 - .../rxjs/add/observable/onErrorResumeNext.js | 4 - .../node_modules/rxjs/add/observable/pairs.js | 4 - .../node_modules/rxjs/add/observable/race.js | 4 - .../node_modules/rxjs/add/observable/range.js | 4 - .../node_modules/rxjs/add/observable/throw.js | 4 - .../node_modules/rxjs/add/observable/timer.js | 4 - .../node_modules/rxjs/add/observable/using.js | 4 - .../node_modules/rxjs/add/observable/zip.js | 4 - .../node_modules/rxjs/add/operator/audit.js | 4 - .../rxjs/add/operator/auditTime.js | 4 - .../node_modules/rxjs/add/operator/buffer.js | 4 - .../rxjs/add/operator/bufferCount.js | 4 - .../rxjs/add/operator/bufferTime.js | 4 - .../rxjs/add/operator/bufferToggle.js | 4 - .../rxjs/add/operator/bufferWhen.js | 4 - .../node_modules/rxjs/add/operator/catch.js | 4 - .../rxjs/add/operator/combineAll.js | 4 - .../rxjs/add/operator/combineLatest.js | 4 - .../node_modules/rxjs/add/operator/concat.js | 4 - .../rxjs/add/operator/concatAll.js | 4 - .../rxjs/add/operator/concatMap.js | 4 - .../rxjs/add/operator/concatMapTo.js | 4 - .../node_modules/rxjs/add/operator/count.js | 4 - .../rxjs/add/operator/debounce.js | 4 - .../rxjs/add/operator/debounceTime.js | 4 - .../rxjs/add/operator/defaultIfEmpty.js | 4 - .../node_modules/rxjs/add/operator/delay.js | 4 - .../rxjs/add/operator/delayWhen.js | 4 - .../rxjs/add/operator/dematerialize.js | 4 - .../rxjs/add/operator/distinct.js | 4 - .../rxjs/add/operator/distinctUntilChanged.js | 4 - .../add/operator/distinctUntilKeyChanged.js | 4 - .../node_modules/rxjs/add/operator/do.js | 4 - .../rxjs/add/operator/elementAt.js | 4 - .../node_modules/rxjs/add/operator/every.js | 4 - .../node_modules/rxjs/add/operator/exhaust.js | 4 - .../rxjs/add/operator/exhaustMap.js | 4 - .../node_modules/rxjs/add/operator/expand.js | 4 - .../node_modules/rxjs/add/operator/filter.js | 4 - .../node_modules/rxjs/add/operator/finally.js | 4 - .../node_modules/rxjs/add/operator/find.js | 4 - .../rxjs/add/operator/findIndex.js | 4 - .../node_modules/rxjs/add/operator/first.js | 4 - .../node_modules/rxjs/add/operator/groupBy.js | 4 - .../rxjs/add/operator/ignoreElements.js | 4 - .../node_modules/rxjs/add/operator/isEmpty.js | 4 - .../node_modules/rxjs/add/operator/last.js | 4 - .../node_modules/rxjs/add/operator/let.js | 4 - .../node_modules/rxjs/add/operator/map.js | 4 - .../node_modules/rxjs/add/operator/mapTo.js | 4 - .../rxjs/add/operator/materialize.js | 4 - .../node_modules/rxjs/add/operator/max.js | 4 - .../node_modules/rxjs/add/operator/merge.js | 4 - .../rxjs/add/operator/mergeAll.js | 4 - .../rxjs/add/operator/mergeMap.js | 4 - .../rxjs/add/operator/mergeMapTo.js | 4 - .../rxjs/add/operator/mergeScan.js | 4 - .../node_modules/rxjs/add/operator/min.js | 4 - .../rxjs/add/operator/multicast.js | 4 - .../rxjs/add/operator/observeOn.js | 4 - .../rxjs/add/operator/onErrorResumeNext.js | 4 - .../rxjs/add/operator/pairwise.js | 4 - .../rxjs/add/operator/partition.js | 4 - .../node_modules/rxjs/add/operator/pluck.js | 4 - .../node_modules/rxjs/add/operator/publish.js | 4 - .../rxjs/add/operator/publishBehavior.js | 4 - .../rxjs/add/operator/publishLast.js | 4 - .../rxjs/add/operator/publishReplay.js | 4 - .../node_modules/rxjs/add/operator/race.js | 4 - .../node_modules/rxjs/add/operator/reduce.js | 4 - .../node_modules/rxjs/add/operator/repeat.js | 4 - .../rxjs/add/operator/repeatWhen.js | 4 - .../node_modules/rxjs/add/operator/retry.js | 4 - .../rxjs/add/operator/retryWhen.js | 4 - .../node_modules/rxjs/add/operator/sample.js | 4 - .../rxjs/add/operator/sampleTime.js | 4 - .../node_modules/rxjs/add/operator/scan.js | 4 - .../rxjs/add/operator/sequenceEqual.js | 4 - .../node_modules/rxjs/add/operator/share.js | 4 - .../rxjs/add/operator/shareReplay.js | 4 - .../node_modules/rxjs/add/operator/single.js | 4 - .../node_modules/rxjs/add/operator/skip.js | 4 - .../rxjs/add/operator/skipLast.js | 4 - .../rxjs/add/operator/skipUntil.js | 4 - .../rxjs/add/operator/skipWhile.js | 4 - .../rxjs/add/operator/startWith.js | 4 - .../rxjs/add/operator/subscribeOn.js | 4 - .../node_modules/rxjs/add/operator/switch.js | 4 - .../rxjs/add/operator/switchMap.js | 4 - .../rxjs/add/operator/switchMapTo.js | 4 - .../node_modules/rxjs/add/operator/take.js | 4 - .../rxjs/add/operator/takeLast.js | 4 - .../rxjs/add/operator/takeUntil.js | 4 - .../rxjs/add/operator/takeWhile.js | 4 - .../rxjs/add/operator/throttle.js | 4 - .../rxjs/add/operator/throttleTime.js | 4 - .../rxjs/add/operator/timeInterval.js | 4 - .../node_modules/rxjs/add/operator/timeout.js | 4 - .../rxjs/add/operator/timeoutWith.js | 4 - .../rxjs/add/operator/timestamp.js | 4 - .../node_modules/rxjs/add/operator/toArray.js | 4 - .../rxjs/add/operator/toPromise.js | 4 - .../node_modules/rxjs/add/operator/window.js | 4 - .../rxjs/add/operator/windowCount.js | 4 - .../rxjs/add/operator/windowTime.js | 4 - .../rxjs/add/operator/windowToggle.js | 4 - .../rxjs/add/operator/windowWhen.js | 4 - .../rxjs/add/operator/withLatestFrom.js | 4 - .../node_modules/rxjs/add/operator/zip.js | 4 - .../node_modules/rxjs/add/operator/zipAll.js | 4 - .../eslint/node_modules/rxjs/ajax/index.js | 9 - .../node_modules/rxjs/ajax/package.json | 8 - .../node_modules/rxjs/bundles/rxjs.umd.js | 9297 ----------------- .../node_modules/rxjs/bundles/rxjs.umd.min.js | 268 - .../eslint/node_modules/rxjs/fetch/index.js | 5 - .../node_modules/rxjs/fetch/package.json | 8 - .../eslint/node_modules/rxjs/index.js | 115 - .../eslint/node_modules/rxjs/interfaces.js | 3 - .../rxjs/internal-compatibility/index.js | 123 - .../rxjs/internal-compatibility/package.json | 8 - .../rxjs/internal/AsyncSubject.js | 60 - .../rxjs/internal/BehaviorSubject.js | 56 - .../rxjs/internal/InnerSubscriber.js | 41 - .../rxjs/internal/Notification.js | 77 - .../node_modules/rxjs/internal/Observable.js | 117 - .../node_modules/rxjs/internal/Observer.js | 18 - .../node_modules/rxjs/internal/Operator.js | 3 - .../rxjs/internal/OuterSubscriber.js | 34 - .../rxjs/internal/ReplaySubject.js | 126 - .../eslint/node_modules/rxjs/internal/Rx.js | 200 - .../node_modules/rxjs/internal/Scheduler.js | 17 - .../node_modules/rxjs/internal/Subject.js | 171 - .../rxjs/internal/SubjectSubscription.js | 45 - .../node_modules/rxjs/internal/Subscriber.js | 246 - .../rxjs/internal/Subscription.js | 137 - .../node_modules/rxjs/internal/config.js | 20 - .../observable/ConnectableObservable.js | 155 - .../observable/SubscribeOnObservable.js | 56 - .../rxjs/internal/observable/bindCallback.js | 107 - .../internal/observable/bindNodeCallback.js | 115 - .../rxjs/internal/observable/combineLatest.js | 115 - .../rxjs/internal/observable/concat.js | 13 - .../rxjs/internal/observable/defer.js | 21 - .../internal/observable/dom/AjaxObservable.js | 391 - .../observable/dom/WebSocketSubject.js | 241 - .../rxjs/internal/observable/dom/ajax.js | 5 - .../rxjs/internal/observable/dom/fetch.js | 65 - .../rxjs/internal/observable/dom/webSocket.js | 8 - .../rxjs/internal/observable/empty.js | 12 - .../rxjs/internal/observable/forkJoin.js | 71 - .../rxjs/internal/observable/from.js | 18 - .../rxjs/internal/observable/fromArray.js | 15 - .../rxjs/internal/observable/fromEvent.js | 65 - .../internal/observable/fromEventPattern.js | 34 - .../rxjs/internal/observable/fromIterable.js | 18 - .../rxjs/internal/observable/fromPromise.js | 15 - .../rxjs/internal/observable/generate.js | 127 - .../rxjs/internal/observable/iif.js | 11 - .../rxjs/internal/observable/interval.js | 26 - .../rxjs/internal/observable/merge.js | 30 - .../rxjs/internal/observable/never.js | 10 - .../rxjs/internal/observable/of.js | 21 - .../internal/observable/onErrorResumeNext.js | 29 - .../rxjs/internal/observable/pairs.js | 42 - .../rxjs/internal/observable/partition.js | 14 - .../rxjs/internal/observable/race.js | 92 - .../rxjs/internal/observable/range.js | 49 - .../rxjs/internal/observable/throwError.js | 17 - .../rxjs/internal/observable/timer.js | 41 - .../rxjs/internal/observable/using.js | 35 - .../rxjs/internal/observable/zip.js | 230 - .../rxjs/internal/operators/audit.js | 83 - .../rxjs/internal/operators/auditTime.js | 11 - .../rxjs/internal/operators/buffer.js | 51 - .../rxjs/internal/operators/bufferCount.js | 102 - .../rxjs/internal/operators/bufferTime.js | 162 - .../rxjs/internal/operators/bufferToggle.js | 121 - .../rxjs/internal/operators/bufferWhen.js | 96 - .../rxjs/internal/operators/catchError.js | 65 - .../rxjs/internal/operators/combineAll.js | 8 - .../rxjs/internal/operators/combineLatest.js | 22 - .../rxjs/internal/operators/concat.js | 12 - .../rxjs/internal/operators/concatAll.js | 8 - .../rxjs/internal/operators/concatMap.js | 8 - .../rxjs/internal/operators/concatMapTo.js | 8 - .../rxjs/internal/operators/count.js | 68 - .../rxjs/internal/operators/debounce.js | 90 - .../rxjs/internal/operators/debounceTime.js | 76 - .../rxjs/internal/operators/defaultIfEmpty.js | 51 - .../rxjs/internal/operators/delay.js | 105 - .../rxjs/internal/operators/delayWhen.js | 146 - .../rxjs/internal/operators/dematerialize.js | 41 - .../rxjs/internal/operators/distinct.js | 79 - .../operators/distinctUntilChanged.js | 74 - .../operators/distinctUntilKeyChanged.js | 8 - .../rxjs/internal/operators/elementAt.js | 18 - .../rxjs/internal/operators/endWith.js | 13 - .../rxjs/internal/operators/every.js | 65 - .../rxjs/internal/operators/exhaust.js | 59 - .../rxjs/internal/operators/exhaustMap.js | 99 - .../rxjs/internal/operators/expand.js | 115 - .../rxjs/internal/operators/filter.js | 57 - .../rxjs/internal/operators/finalize.js | 40 - .../rxjs/internal/operators/find.js | 73 - .../rxjs/internal/operators/findIndex.js | 8 - .../rxjs/internal/operators/first.js | 14 - .../rxjs/internal/operators/groupBy.js | 196 - .../rxjs/internal/operators/ignoreElements.js | 40 - .../rxjs/internal/operators/index.js | 207 - .../rxjs/internal/operators/isEmpty.js | 47 - .../rxjs/internal/operators/last.js | 14 - .../rxjs/internal/operators/map.js | 59 - .../rxjs/internal/operators/mapTo.js | 42 - .../rxjs/internal/operators/materialize.js | 52 - .../rxjs/internal/operators/max.js | 11 - .../rxjs/internal/operators/merge.js | 12 - .../rxjs/internal/operators/mergeAll.js | 10 - .../rxjs/internal/operators/mergeMap.js | 111 - .../rxjs/internal/operators/mergeMapTo.js | 15 - .../rxjs/internal/operators/mergeScan.js | 112 - .../rxjs/internal/operators/min.js | 11 - .../rxjs/internal/operators/multicast.js | 40 - .../rxjs/internal/operators/observeOn.js | 77 - .../internal/operators/onErrorResumeNext.js | 93 - .../rxjs/internal/operators/pairwise.js | 51 - .../rxjs/internal/operators/partition.js | 12 - .../rxjs/internal/operators/pluck.js | 32 - .../rxjs/internal/operators/publish.js | 11 - .../internal/operators/publishBehavior.js | 9 - .../rxjs/internal/operators/publishLast.js | 9 - .../rxjs/internal/operators/publishReplay.js | 14 - .../rxjs/internal/operators/race.js | 18 - .../rxjs/internal/operators/reduce.js | 18 - .../rxjs/internal/operators/refCount.js | 72 - .../rxjs/internal/operators/repeat.js | 65 - .../rxjs/internal/operators/repeatWhen.js | 97 - .../rxjs/internal/operators/retry.js | 54 - .../rxjs/internal/operators/retryWhen.js | 89 - .../rxjs/internal/operators/sample.js | 59 - .../rxjs/internal/operators/sampleTime.js | 60 - .../rxjs/internal/operators/scan.js | 83 - .../rxjs/internal/operators/sequenceEqual.js | 124 - .../rxjs/internal/operators/share.js | 13 - .../rxjs/internal/operators/shareReplay.js | 57 - .../rxjs/internal/operators/single.js | 82 - .../rxjs/internal/operators/skip.js | 45 - .../rxjs/internal/operators/skipLast.js | 64 - .../rxjs/internal/operators/skipUntil.js | 62 - .../rxjs/internal/operators/skipWhile.js | 59 - .../rxjs/internal/operators/startWith.js | 20 - .../rxjs/internal/operators/subscribeOn.js | 21 - .../rxjs/internal/operators/switchAll.js | 9 - .../rxjs/internal/operators/switchMap.js | 93 - .../rxjs/internal/operators/switchMapTo.js | 8 - .../rxjs/internal/operators/take.js | 63 - .../rxjs/internal/operators/takeLast.js | 78 - .../rxjs/internal/operators/takeUntil.js | 52 - .../rxjs/internal/operators/takeWhile.js | 69 - .../rxjs/internal/operators/tap.js | 89 - .../rxjs/internal/operators/throttle.js | 103 - .../rxjs/internal/operators/throttleTime.js | 95 - .../rxjs/internal/operators/throwIfEmpty.js | 66 - .../rxjs/internal/operators/timeInterval.js | 28 - .../rxjs/internal/operators/timeout.js | 12 - .../rxjs/internal/operators/timeoutWith.js | 80 - .../rxjs/internal/operators/timestamp.js | 18 - .../rxjs/internal/operators/toArray.js | 15 - .../rxjs/internal/operators/window.js | 81 - .../rxjs/internal/operators/windowCount.js | 90 - .../rxjs/internal/operators/windowTime.js | 169 - .../rxjs/internal/operators/windowToggle.js | 143 - .../rxjs/internal/operators/windowWhen.js | 96 - .../rxjs/internal/operators/withLatestFrom.js | 97 - .../rxjs/internal/operators/zip.js | 14 - .../rxjs/internal/operators/zipAll.js | 8 - .../rxjs/internal/scheduled/scheduleArray.js | 23 - .../internal/scheduled/scheduleIterable.js | 48 - .../internal/scheduled/scheduleObservable.js | 21 - .../internal/scheduled/schedulePromise.js | 20 - .../rxjs/internal/scheduled/scheduled.js | 29 - .../rxjs/internal/scheduler/Action.js | 29 - .../scheduler/AnimationFrameAction.js | 47 - .../scheduler/AnimationFrameScheduler.js | 46 - .../rxjs/internal/scheduler/AsapAction.js | 48 - .../rxjs/internal/scheduler/AsapScheduler.js | 46 - .../rxjs/internal/scheduler/AsyncAction.js | 102 - .../rxjs/internal/scheduler/AsyncScheduler.js | 67 - .../rxjs/internal/scheduler/QueueAction.js | 50 - .../rxjs/internal/scheduler/QueueScheduler.js | 25 - .../scheduler/VirtualTimeScheduler.js | 111 - .../rxjs/internal/scheduler/animationFrame.js | 6 - .../rxjs/internal/scheduler/asap.js | 6 - .../rxjs/internal/scheduler/async.js | 6 - .../rxjs/internal/scheduler/queue.js | 6 - .../rxjs/internal/symbol/iterator.js | 12 - .../rxjs/internal/symbol/observable.js | 4 - .../rxjs/internal/symbol/rxSubscriber.js | 9 - .../node_modules/rxjs/internal/types.js | 3 - .../internal/util/ArgumentOutOfRangeError.js | 14 - .../rxjs/internal/util/EmptyError.js | 14 - .../rxjs/internal/util/Immediate.js | 29 - .../internal/util/ObjectUnsubscribedError.js | 14 - .../rxjs/internal/util/TimeoutError.js | 14 - .../rxjs/internal/util/UnsubscriptionError.js | 16 - .../rxjs/internal/util/applyMixins.js | 14 - .../rxjs/internal/util/canReportError.js | 20 - .../rxjs/internal/util/errorObject.js | 4 - .../rxjs/internal/util/hostReportError.js | 7 - .../rxjs/internal/util/identity.js | 7 - .../rxjs/internal/util/isArray.js | 4 - .../rxjs/internal/util/isArrayLike.js | 4 - .../node_modules/rxjs/internal/util/isDate.js | 7 - .../rxjs/internal/util/isFunction.js | 7 - .../rxjs/internal/util/isInteropObservable.js | 8 - .../rxjs/internal/util/isIterable.js | 8 - .../rxjs/internal/util/isNumeric.js | 8 - .../rxjs/internal/util/isObject.js | 7 - .../rxjs/internal/util/isObservable.js | 8 - .../rxjs/internal/util/isPromise.js | 7 - .../rxjs/internal/util/isScheduler.js | 7 - .../node_modules/rxjs/internal/util/noop.js | 5 - .../node_modules/rxjs/internal/util/not.js | 12 - .../node_modules/rxjs/internal/util/pipe.js | 24 - .../node_modules/rxjs/internal/util/root.js | 14 - .../rxjs/internal/util/subscribeTo.js | 32 - .../rxjs/internal/util/subscribeToArray.js | 9 - .../rxjs/internal/util/subscribeToIterable.js | 26 - .../internal/util/subscribeToObservable.js | 13 - .../rxjs/internal/util/subscribeToPromise.js | 14 - .../rxjs/internal/util/subscribeToResult.js | 17 - .../rxjs/internal/util/toSubscriber.js | 21 - .../rxjs/internal/util/tryCatch.js | 23 - .../rxjs/migrations/collection.json | 9 - .../rxjs/migrations/update-6_0_0/index.js | 28 - .../rxjs/observable/ArrayLikeObservable.js | 7 - .../rxjs/observable/ArrayObservable.js | 7 - .../observable/BoundCallbackObservable.js | 7 - .../observable/BoundNodeCallbackObservable.js | 7 - .../rxjs/observable/ConnectableObservable.js | 7 - .../rxjs/observable/DeferObservable.js | 7 - .../rxjs/observable/EmptyObservable.js | 7 - .../rxjs/observable/ErrorObservable.js | 7 - .../rxjs/observable/ForkJoinObservable.js | 7 - .../rxjs/observable/FromEventObservable.js | 7 - .../observable/FromEventPatternObservable.js | 7 - .../rxjs/observable/FromObservable.js | 7 - .../rxjs/observable/GenerateObservable.js | 7 - .../rxjs/observable/IfObservable.js | 7 - .../rxjs/observable/IntervalObservable.js | 7 - .../rxjs/observable/IteratorObservable.js | 7 - .../rxjs/observable/NeverObservable.js | 7 - .../rxjs/observable/PairsObservable.js | 7 - .../rxjs/observable/PromiseObservable.js | 7 - .../rxjs/observable/RangeObservable.js | 7 - .../rxjs/observable/ScalarObservable.js | 7 - .../rxjs/observable/SubscribeOnObservable.js | 7 - .../rxjs/observable/TimerObservable.js | 7 - .../rxjs/observable/UsingObservable.js | 7 - .../rxjs/observable/bindCallback.js | 7 - .../rxjs/observable/bindNodeCallback.js | 7 - .../rxjs/observable/combineLatest.js | 7 - .../node_modules/rxjs/observable/concat.js | 7 - .../node_modules/rxjs/observable/defer.js | 7 - .../rxjs/observable/dom/AjaxObservable.js | 7 - .../rxjs/observable/dom/WebSocketSubject.js | 7 - .../node_modules/rxjs/observable/dom/ajax.js | 7 - .../rxjs/observable/dom/webSocket.js | 7 - .../node_modules/rxjs/observable/empty.js | 7 - .../node_modules/rxjs/observable/forkJoin.js | 7 - .../node_modules/rxjs/observable/from.js | 7 - .../node_modules/rxjs/observable/fromArray.js | 7 - .../node_modules/rxjs/observable/fromEvent.js | 7 - .../rxjs/observable/fromEventPattern.js | 7 - .../rxjs/observable/fromIterable.js | 7 - .../rxjs/observable/fromPromise.js | 7 - .../node_modules/rxjs/observable/generate.js | 7 - .../eslint/node_modules/rxjs/observable/if.js | 7 - .../node_modules/rxjs/observable/interval.js | 7 - .../node_modules/rxjs/observable/merge.js | 7 - .../node_modules/rxjs/observable/never.js | 7 - .../eslint/node_modules/rxjs/observable/of.js | 7 - .../rxjs/observable/onErrorResumeNext.js | 7 - .../node_modules/rxjs/observable/pairs.js | 7 - .../node_modules/rxjs/observable/race.js | 7 - .../node_modules/rxjs/observable/range.js | 7 - .../node_modules/rxjs/observable/throw.js | 7 - .../node_modules/rxjs/observable/timer.js | 7 - .../node_modules/rxjs/observable/using.js | 7 - .../node_modules/rxjs/observable/zip.js | 7 - .../node_modules/rxjs/operator/audit.js | 7 - .../node_modules/rxjs/operator/auditTime.js | 7 - .../node_modules/rxjs/operator/buffer.js | 7 - .../node_modules/rxjs/operator/bufferCount.js | 7 - .../node_modules/rxjs/operator/bufferTime.js | 7 - .../rxjs/operator/bufferToggle.js | 7 - .../node_modules/rxjs/operator/bufferWhen.js | 7 - .../node_modules/rxjs/operator/catch.js | 7 - .../node_modules/rxjs/operator/combineAll.js | 7 - .../rxjs/operator/combineLatest.js | 7 - .../node_modules/rxjs/operator/concat.js | 7 - .../node_modules/rxjs/operator/concatAll.js | 7 - .../node_modules/rxjs/operator/concatMap.js | 7 - .../node_modules/rxjs/operator/concatMapTo.js | 7 - .../node_modules/rxjs/operator/count.js | 7 - .../node_modules/rxjs/operator/debounce.js | 7 - .../rxjs/operator/debounceTime.js | 7 - .../rxjs/operator/defaultIfEmpty.js | 7 - .../node_modules/rxjs/operator/delay.js | 7 - .../node_modules/rxjs/operator/delayWhen.js | 7 - .../rxjs/operator/dematerialize.js | 7 - .../node_modules/rxjs/operator/distinct.js | 7 - .../rxjs/operator/distinctUntilChanged.js | 7 - .../rxjs/operator/distinctUntilKeyChanged.js | 7 - .../eslint/node_modules/rxjs/operator/do.js | 7 - .../node_modules/rxjs/operator/elementAt.js | 7 - .../node_modules/rxjs/operator/every.js | 7 - .../node_modules/rxjs/operator/exhaust.js | 7 - .../node_modules/rxjs/operator/exhaustMap.js | 7 - .../node_modules/rxjs/operator/expand.js | 7 - .../node_modules/rxjs/operator/filter.js | 7 - .../node_modules/rxjs/operator/finally.js | 7 - .../eslint/node_modules/rxjs/operator/find.js | 7 - .../node_modules/rxjs/operator/findIndex.js | 7 - .../node_modules/rxjs/operator/first.js | 7 - .../node_modules/rxjs/operator/groupBy.js | 7 - .../rxjs/operator/ignoreElements.js | 7 - .../node_modules/rxjs/operator/isEmpty.js | 7 - .../eslint/node_modules/rxjs/operator/last.js | 7 - .../eslint/node_modules/rxjs/operator/let.js | 7 - .../eslint/node_modules/rxjs/operator/map.js | 7 - .../node_modules/rxjs/operator/mapTo.js | 7 - .../node_modules/rxjs/operator/materialize.js | 7 - .../eslint/node_modules/rxjs/operator/max.js | 7 - .../node_modules/rxjs/operator/merge.js | 7 - .../node_modules/rxjs/operator/mergeAll.js | 7 - .../node_modules/rxjs/operator/mergeMap.js | 7 - .../node_modules/rxjs/operator/mergeMapTo.js | 7 - .../node_modules/rxjs/operator/mergeScan.js | 7 - .../eslint/node_modules/rxjs/operator/min.js | 7 - .../node_modules/rxjs/operator/multicast.js | 7 - .../node_modules/rxjs/operator/observeOn.js | 7 - .../rxjs/operator/onErrorResumeNext.js | 7 - .../node_modules/rxjs/operator/pairwise.js | 7 - .../node_modules/rxjs/operator/partition.js | 7 - .../node_modules/rxjs/operator/pluck.js | 7 - .../node_modules/rxjs/operator/publish.js | 7 - .../rxjs/operator/publishBehavior.js | 7 - .../node_modules/rxjs/operator/publishLast.js | 7 - .../rxjs/operator/publishReplay.js | 7 - .../eslint/node_modules/rxjs/operator/race.js | 7 - .../node_modules/rxjs/operator/reduce.js | 7 - .../node_modules/rxjs/operator/repeat.js | 7 - .../node_modules/rxjs/operator/repeatWhen.js | 7 - .../node_modules/rxjs/operator/retry.js | 7 - .../node_modules/rxjs/operator/retryWhen.js | 7 - .../node_modules/rxjs/operator/sample.js | 7 - .../node_modules/rxjs/operator/sampleTime.js | 7 - .../eslint/node_modules/rxjs/operator/scan.js | 7 - .../rxjs/operator/sequenceEqual.js | 7 - .../node_modules/rxjs/operator/share.js | 7 - .../node_modules/rxjs/operator/shareReplay.js | 7 - .../node_modules/rxjs/operator/single.js | 7 - .../eslint/node_modules/rxjs/operator/skip.js | 7 - .../node_modules/rxjs/operator/skipLast.js | 7 - .../node_modules/rxjs/operator/skipUntil.js | 7 - .../node_modules/rxjs/operator/skipWhile.js | 7 - .../node_modules/rxjs/operator/startWith.js | 7 - .../node_modules/rxjs/operator/subscribeOn.js | 7 - .../node_modules/rxjs/operator/switch.js | 7 - .../node_modules/rxjs/operator/switchMap.js | 7 - .../node_modules/rxjs/operator/switchMapTo.js | 7 - .../eslint/node_modules/rxjs/operator/take.js | 7 - .../node_modules/rxjs/operator/takeLast.js | 7 - .../node_modules/rxjs/operator/takeUntil.js | 7 - .../node_modules/rxjs/operator/takeWhile.js | 7 - .../node_modules/rxjs/operator/throttle.js | 7 - .../rxjs/operator/throttleTime.js | 7 - .../rxjs/operator/timeInterval.js | 7 - .../node_modules/rxjs/operator/timeout.js | 7 - .../node_modules/rxjs/operator/timeoutWith.js | 7 - .../node_modules/rxjs/operator/timestamp.js | 7 - .../node_modules/rxjs/operator/toArray.js | 7 - .../node_modules/rxjs/operator/toPromise.js | 7 - .../node_modules/rxjs/operator/window.js | 7 - .../node_modules/rxjs/operator/windowCount.js | 7 - .../node_modules/rxjs/operator/windowTime.js | 7 - .../rxjs/operator/windowToggle.js | 7 - .../node_modules/rxjs/operator/windowWhen.js | 7 - .../rxjs/operator/withLatestFrom.js | 7 - .../eslint/node_modules/rxjs/operator/zip.js | 7 - .../node_modules/rxjs/operator/zipAll.js | 7 - .../node_modules/rxjs/operators/audit.js | 7 - .../node_modules/rxjs/operators/auditTime.js | 7 - .../node_modules/rxjs/operators/buffer.js | 7 - .../rxjs/operators/bufferCount.js | 7 - .../node_modules/rxjs/operators/bufferTime.js | 7 - .../rxjs/operators/bufferToggle.js | 7 - .../node_modules/rxjs/operators/bufferWhen.js | 7 - .../node_modules/rxjs/operators/catchError.js | 7 - .../node_modules/rxjs/operators/combineAll.js | 7 - .../rxjs/operators/combineLatest.js | 7 - .../node_modules/rxjs/operators/concat.js | 7 - .../node_modules/rxjs/operators/concatAll.js | 7 - .../node_modules/rxjs/operators/concatMap.js | 7 - .../rxjs/operators/concatMapTo.js | 7 - .../node_modules/rxjs/operators/count.js | 7 - .../node_modules/rxjs/operators/debounce.js | 7 - .../rxjs/operators/debounceTime.js | 7 - .../rxjs/operators/defaultIfEmpty.js | 7 - .../node_modules/rxjs/operators/delay.js | 7 - .../node_modules/rxjs/operators/delayWhen.js | 7 - .../rxjs/operators/dematerialize.js | 7 - .../node_modules/rxjs/operators/distinct.js | 7 - .../rxjs/operators/distinctUntilChanged.js | 7 - .../rxjs/operators/distinctUntilKeyChanged.js | 7 - .../node_modules/rxjs/operators/elementAt.js | 7 - .../node_modules/rxjs/operators/every.js | 7 - .../node_modules/rxjs/operators/exhaust.js | 7 - .../node_modules/rxjs/operators/exhaustMap.js | 7 - .../node_modules/rxjs/operators/expand.js | 7 - .../node_modules/rxjs/operators/filter.js | 7 - .../node_modules/rxjs/operators/finalize.js | 7 - .../node_modules/rxjs/operators/find.js | 7 - .../node_modules/rxjs/operators/findIndex.js | 7 - .../node_modules/rxjs/operators/first.js | 7 - .../node_modules/rxjs/operators/groupBy.js | 7 - .../rxjs/operators/ignoreElements.js | 7 - .../node_modules/rxjs/operators/index.js | 211 - .../node_modules/rxjs/operators/isEmpty.js | 7 - .../node_modules/rxjs/operators/last.js | 7 - .../eslint/node_modules/rxjs/operators/map.js | 7 - .../node_modules/rxjs/operators/mapTo.js | 7 - .../rxjs/operators/materialize.js | 7 - .../eslint/node_modules/rxjs/operators/max.js | 7 - .../node_modules/rxjs/operators/merge.js | 7 - .../node_modules/rxjs/operators/mergeAll.js | 7 - .../node_modules/rxjs/operators/mergeMap.js | 7 - .../node_modules/rxjs/operators/mergeMapTo.js | 7 - .../node_modules/rxjs/operators/mergeScan.js | 7 - .../eslint/node_modules/rxjs/operators/min.js | 7 - .../node_modules/rxjs/operators/multicast.js | 7 - .../node_modules/rxjs/operators/observeOn.js | 7 - .../rxjs/operators/onErrorResumeNext.js | 7 - .../node_modules/rxjs/operators/package.json | 8 - .../node_modules/rxjs/operators/pairwise.js | 7 - .../node_modules/rxjs/operators/partition.js | 7 - .../node_modules/rxjs/operators/pluck.js | 7 - .../node_modules/rxjs/operators/publish.js | 7 - .../rxjs/operators/publishBehavior.js | 7 - .../rxjs/operators/publishLast.js | 7 - .../rxjs/operators/publishReplay.js | 7 - .../node_modules/rxjs/operators/race.js | 7 - .../node_modules/rxjs/operators/reduce.js | 7 - .../node_modules/rxjs/operators/refCount.js | 7 - .../node_modules/rxjs/operators/repeat.js | 7 - .../node_modules/rxjs/operators/repeatWhen.js | 7 - .../node_modules/rxjs/operators/retry.js | 7 - .../node_modules/rxjs/operators/retryWhen.js | 7 - .../node_modules/rxjs/operators/sample.js | 7 - .../node_modules/rxjs/operators/sampleTime.js | 7 - .../node_modules/rxjs/operators/scan.js | 7 - .../rxjs/operators/sequenceEqual.js | 7 - .../node_modules/rxjs/operators/share.js | 7 - .../rxjs/operators/shareReplay.js | 7 - .../node_modules/rxjs/operators/single.js | 7 - .../node_modules/rxjs/operators/skip.js | 7 - .../node_modules/rxjs/operators/skipLast.js | 7 - .../node_modules/rxjs/operators/skipUntil.js | 7 - .../node_modules/rxjs/operators/skipWhile.js | 7 - .../node_modules/rxjs/operators/startWith.js | 7 - .../rxjs/operators/subscribeOn.js | 7 - .../node_modules/rxjs/operators/switchAll.js | 7 - .../node_modules/rxjs/operators/switchMap.js | 7 - .../rxjs/operators/switchMapTo.js | 7 - .../node_modules/rxjs/operators/take.js | 7 - .../node_modules/rxjs/operators/takeLast.js | 7 - .../node_modules/rxjs/operators/takeUntil.js | 7 - .../node_modules/rxjs/operators/takeWhile.js | 7 - .../eslint/node_modules/rxjs/operators/tap.js | 7 - .../node_modules/rxjs/operators/throttle.js | 7 - .../rxjs/operators/throttleTime.js | 7 - .../rxjs/operators/throwIfEmpty.js | 7 - .../rxjs/operators/timeInterval.js | 7 - .../node_modules/rxjs/operators/timeout.js | 7 - .../rxjs/operators/timeoutWith.js | 7 - .../node_modules/rxjs/operators/timestamp.js | 7 - .../node_modules/rxjs/operators/toArray.js | 7 - .../node_modules/rxjs/operators/window.js | 7 - .../rxjs/operators/windowCount.js | 7 - .../node_modules/rxjs/operators/windowTime.js | 7 - .../rxjs/operators/windowToggle.js | 7 - .../node_modules/rxjs/operators/windowWhen.js | 7 - .../rxjs/operators/withLatestFrom.js | 7 - .../eslint/node_modules/rxjs/operators/zip.js | 7 - .../node_modules/rxjs/operators/zipAll.js | 7 - .../eslint/node_modules/rxjs/package.json | 185 - .../rxjs/scheduler/animationFrame.js | 7 - .../node_modules/rxjs/scheduler/asap.js | 7 - .../node_modules/rxjs/scheduler/async.js | 7 - .../node_modules/rxjs/scheduler/queue.js | 7 - .../eslint/node_modules/rxjs/src/LICENSE.txt | 202 - .../eslint/node_modules/rxjs/src/README.md | 147 - .../eslint/node_modules/rxjs/src/Rx.global.js | 5 - .../node_modules/rxjs/src/ajax/package.json | 8 - .../node_modules/rxjs/src/fetch/package.json | 8 - .../src/internal-compatibility/package.json | 8 - .../rxjs/src/operators/package.json | 8 - .../rxjs/src/webSocket/package.json | 8 - .../node_modules/rxjs/symbol/iterator.js | 7 - .../node_modules/rxjs/symbol/observable.js | 7 - .../node_modules/rxjs/symbol/rxSubscriber.js | 7 - .../rxjs/util/ArgumentOutOfRangeError.js | 7 - .../node_modules/rxjs/util/EmptyError.js | 7 - .../node_modules/rxjs/util/Immediate.js | 7 - .../rxjs/util/ObjectUnsubscribedError.js | 7 - .../node_modules/rxjs/util/TimeoutError.js | 7 - .../rxjs/util/UnsubscriptionError.js | 7 - .../node_modules/rxjs/util/applyMixins.js | 7 - .../node_modules/rxjs/util/errorObject.js | 7 - .../node_modules/rxjs/util/hostReportError.js | 7 - .../eslint/node_modules/rxjs/util/identity.js | 7 - .../eslint/node_modules/rxjs/util/isArray.js | 7 - .../node_modules/rxjs/util/isArrayLike.js | 7 - .../eslint/node_modules/rxjs/util/isDate.js | 7 - .../node_modules/rxjs/util/isFunction.js | 7 - .../node_modules/rxjs/util/isIterable.js | 7 - .../node_modules/rxjs/util/isNumeric.js | 7 - .../eslint/node_modules/rxjs/util/isObject.js | 7 - .../node_modules/rxjs/util/isObservable.js | 7 - .../node_modules/rxjs/util/isPromise.js | 7 - .../node_modules/rxjs/util/isScheduler.js | 7 - .../eslint/node_modules/rxjs/util/noop.js | 7 - .../eslint/node_modules/rxjs/util/not.js | 7 - .../eslint/node_modules/rxjs/util/pipe.js | 7 - .../eslint/node_modules/rxjs/util/root.js | 7 - .../node_modules/rxjs/util/subscribeTo.js | 7 - .../rxjs/util/subscribeToArray.js | 7 - .../rxjs/util/subscribeToIterable.js | 7 - .../rxjs/util/subscribeToObservable.js | 7 - .../rxjs/util/subscribeToPromise.js | 7 - .../rxjs/util/subscribeToResult.js | 7 - .../node_modules/rxjs/util/toSubscriber.js | 7 - .../eslint/node_modules/rxjs/util/tryCatch.js | 7 - .../node_modules/rxjs/webSocket/index.js | 7 - .../node_modules/rxjs/webSocket/package.json | 8 - .../eslint/node_modules/safer-buffer/LICENSE | 21 - .../safer-buffer/Porting-Buffer.md | 268 - .../node_modules/safer-buffer/Readme.md | 156 - .../node_modules/safer-buffer/dangerous.js | 58 - .../node_modules/safer-buffer/package.json | 37 - .../eslint/node_modules/safer-buffer/safer.js | 77 - .../eslint/node_modules/safer-buffer/tests.js | 406 - .../node_modules/signal-exit/LICENSE.txt | 16 - .../eslint/node_modules/signal-exit/README.md | 39 - .../eslint/node_modules/signal-exit/index.js | 163 - .../node_modules/signal-exit/package.json | 43 - .../node_modules/signal-exit/signals.js | 53 - .../eslint/node_modules/slice-ansi/index.js | 96 +- .../eslint/node_modules/slice-ansi/license | 1 + .../node_modules/ansi-styles/index.js | 0 .../node_modules/ansi-styles}/license | 0 .../node_modules/ansi-styles/package.json | 3 +- .../node_modules/ansi-styles/readme.md | 16 +- .../node_modules/color-convert/LICENSE | 0 .../node_modules/color-convert/README.md | 0 .../node_modules/color-convert/conversions.js | 0 .../node_modules/color-convert/index.js | 0 .../node_modules/color-convert/package.json | 0 .../node_modules/color-convert/route.js | 0 .../node_modules/color-name/LICENSE | 0 .../node_modules/color-name/README.md | 0 .../node_modules/color-name/index.js | 0 .../node_modules/color-name/package.json | 0 .../is-fullwidth-code-point/index.js | 46 - .../is-fullwidth-code-point/package.json | 54 - .../is-fullwidth-code-point/readme.md | 39 - .../node_modules/slice-ansi/package.json | 21 +- .../eslint/node_modules/slice-ansi/readme.md | 28 +- .../eslint/node_modules/table/README.md | 7 +- .../node_modules/table/dist/alignString.js | 2 +- .../table/dist/alignString.js.flow | 4 +- .../node_modules/table/dist/alignTableData.js | 2 +- .../table/dist/alignTableData.js.flow | 2 +- .../dist/calculateCellWidthIndex.js.flow | 2 +- .../table/dist/calculateRowHeightIndex.js | 2 +- .../dist/calculateRowHeightIndex.js.flow | 2 +- .../node_modules/table/dist/createStream.js | 37 +- .../table/dist/createStream.js.flow | 33 +- .../table/dist/drawBorder.js.flow | 8 +- .../eslint/node_modules/table/dist/drawRow.js | 2 +- .../node_modules/table/dist/drawRow.js.flow | 2 +- .../node_modules/table/dist/drawTable.js | 2 +- .../node_modules/table/dist/drawTable.js.flow | 4 +- .../table/dist/getBorderCharacters.js | 2 +- .../table/dist/getBorderCharacters.js.flow | 10 +- .../eslint/node_modules/table/dist/index.js | 20 +- .../node_modules/table/dist/index.js.flow | 4 +- .../node_modules/table/dist/makeConfig.js | 18 +- .../table/dist/makeConfig.js.flow | 18 +- .../table/dist/makeStreamConfig.js | 18 +- .../table/dist/makeStreamConfig.js.flow | 20 +- .../table/dist/mapDataUsingRowHeightIndex.js | 2 +- .../dist/mapDataUsingRowHeightIndex.js.flow | 2 +- .../node_modules/table/dist/padTableData.js | 2 +- .../table/dist/padTableData.js.flow | 2 +- .../eslint/node_modules/table/dist/table.js | 20 +- .../node_modules/table/dist/table.js.flow | 14 +- .../table/dist/truncateTableData.js | 2 +- .../table/dist/truncateTableData.js.flow | 4 +- .../node_modules/table/dist/validateConfig.js | 10 +- .../table/dist/validateConfig.js.flow | 4 +- .../table/dist/validateStreamConfig.js | 12 +- .../table/dist/validateTableData.js | 63 +- .../table/dist/validateTableData.js.flow | 2 +- .../table/node_modules/ansi-regex/index.js | 14 - .../table/node_modules/ansi-regex/license | 9 - .../node_modules/ansi-regex/package.json | 62 - .../table/node_modules/ansi-regex/readme.md | 87 - .../node_modules/emoji-regex/LICENSE-MIT.txt | 20 - .../table/node_modules/emoji-regex/README.md | 73 - .../node_modules/emoji-regex/es2015/index.js | 6 - .../node_modules/emoji-regex/es2015/text.js | 6 - .../table/node_modules/emoji-regex/index.js | 6 - .../node_modules/emoji-regex/package.json | 55 - .../table/node_modules/emoji-regex/text.js | 6 - .../is-fullwidth-code-point/index.js | 46 - .../is-fullwidth-code-point/license | 21 - .../is-fullwidth-code-point/package.json | 54 - .../is-fullwidth-code-point/readme.md | 39 - .../table/node_modules/string-width/index.js | 39 - .../table/node_modules/string-width/license | 9 - .../node_modules/string-width/package.json | 65 - .../table/node_modules/string-width/readme.md | 45 - .../table/node_modules/strip-ansi/index.js | 7 - .../table/node_modules/strip-ansi/license | 9 - .../node_modules/strip-ansi/package.json | 63 - .../table/node_modules/strip-ansi/readme.md | 61 - .../eslint/node_modules/table/package.json | 54 +- .../node_modules/through/LICENSE.APACHE2 | 15 - .../eslint/node_modules/through/LICENSE.MIT | 24 - .../eslint/node_modules/through/index.js | 108 - .../eslint/node_modules/through/package.json | 45 - .../node_modules/through/readme.markdown | 64 - .../eslint/node_modules/tmp/LICENSE | 21 - .../eslint/node_modules/tmp/README.md | 314 - .../eslint/node_modules/tmp/lib/tmp.js | 611 -- .../eslint/node_modules/tmp/package.json | 47 - .../node_modules/tslib/CopyrightNotice.txt | 15 - .../eslint/node_modules/tslib/LICENSE.txt | 12 - .../eslint/node_modules/tslib/README.md | 142 - .../eslint/node_modules/tslib/package.json | 33 - .../eslint/node_modules/tslib/tslib.es6.html | 1 - .../eslint/node_modules/tslib/tslib.es6.js | 218 - .../eslint/node_modules/tslib/tslib.html | 1 - .../eslint/node_modules/tslib/tslib.js | 284 - tools/node_modules/eslint/package.json | 5 +- 1532 files changed, 9567 insertions(+), 63922 deletions(-) create mode 100644 tools/node_modules/eslint/lib/rules/id-denylist.js create mode 100644 tools/node_modules/eslint/lib/rules/no-promise-executor-return.js create mode 100644 tools/node_modules/eslint/lib/rules/no-unreachable-loop.js rename tools/node_modules/eslint/node_modules/{chardet => ansi-colors}/LICENSE (93%) create mode 100644 tools/node_modules/eslint/node_modules/ansi-colors/README.md create mode 100644 tools/node_modules/eslint/node_modules/ansi-colors/index.js create mode 100644 tools/node_modules/eslint/node_modules/ansi-colors/package.json create mode 100644 tools/node_modules/eslint/node_modules/ansi-colors/symbols.js delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/index.js delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/license delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/package.json delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/package.json delete mode 100644 tools/node_modules/eslint/node_modules/ansi-escapes/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/chardet/README.md delete mode 100644 tools/node_modules/eslint/node_modules/chardet/encoding/iso2022.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/encoding/mbcs.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/encoding/sbcs.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/encoding/unicode.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/encoding/utf8.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/index.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/match.js delete mode 100644 tools/node_modules/eslint/node_modules/chardet/package.json delete mode 100644 tools/node_modules/eslint/node_modules/cli-cursor/index.js delete mode 100644 tools/node_modules/eslint/node_modules/cli-cursor/license delete mode 100644 tools/node_modules/eslint/node_modules/cli-cursor/package.json delete mode 100644 tools/node_modules/eslint/node_modules/cli-cursor/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/.nyc_output/00ef1b3d-3687-482b-8d03-de2f76b58f54.json delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/00ef1b3d-3687-482b-8d03-de2f76b58f54.json delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/index.json delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/README.md delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/index.js delete mode 100644 tools/node_modules/eslint/node_modules/cli-width/package.json rename tools/node_modules/eslint/node_modules/{slice-ansi/node_modules/is-fullwidth-code-point/license => enquirer/LICENSE} (93%) create mode 100644 tools/node_modules/eslint/node_modules/enquirer/README.md create mode 100644 tools/node_modules/eslint/node_modules/enquirer/index.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/ansi.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/combos.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/completer.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/interpolate.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/keypress.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/placeholder.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompt.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/autocomplete.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/basicauth.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/confirm.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/editable.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/form.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/index.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/input.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/invisible.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/list.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/multiselect.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/numeral.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/password.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/quiz.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/scale.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/select.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/snippet.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/sort.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/survey.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/text.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/prompts/toggle.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/render.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/roles.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/state.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/styles.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/symbols.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/theme.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/timer.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/array.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/auth.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/boolean.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/index.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/number.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/types/string.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/lib/utils.js create mode 100644 tools/node_modules/eslint/node_modules/enquirer/package.json delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/README.md delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/example_async.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/example_sync.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/main/errors/CreateFileError.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/main/errors/LaunchEditorError.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/main/errors/ReadFileError.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/main/errors/RemoveFileError.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/main/index.js delete mode 100644 tools/node_modules/eslint/node_modules/external-editor/package.json delete mode 100644 tools/node_modules/eslint/node_modules/figures/index.js delete mode 100644 tools/node_modules/eslint/node_modules/figures/license delete mode 100644 tools/node_modules/eslint/node_modules/figures/package.json delete mode 100644 tools/node_modules/eslint/node_modules/figures/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/README.md delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-codec.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-data.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/index.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/internal.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-codec.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data-generated.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/big5-added.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp936.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp949.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp950.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/eucjp.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gbk-added.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/shiftjis.json delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf16.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf7.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/lib/bom-handling.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/lib/extend-node.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/lib/index.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/lib/streams.js delete mode 100644 tools/node_modules/eslint/node_modules/iconv-lite/package.json delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/README.md delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/inquirer.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/objects/choice.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/objects/choices.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/objects/separator.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/base.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/checkbox.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/confirm.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/editor.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/input.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/list.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/number.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/password.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/prompts/rawlist.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/ui/baseUI.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/ui/bottom-bar.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/ui/prompt.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/utils/events.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/utils/paginator.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/utils/readline.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/utils/screen-manager.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/lib/utils/utils.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/ansi-styles/license delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/license delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/package.json delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/source/index.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/source/templates.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/source/util.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/has-flag/index.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/has-flag/license delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/has-flag/package.json delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/has-flag/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/supports-color/browser.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/supports-color/index.js delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/supports-color/license delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/supports-color/package.json delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/node_modules/supports-color/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/inquirer/package.json delete mode 100644 tools/node_modules/eslint/node_modules/mimic-fn/index.js delete mode 100644 tools/node_modules/eslint/node_modules/mimic-fn/license delete mode 100644 tools/node_modules/eslint/node_modules/mimic-fn/package.json delete mode 100644 tools/node_modules/eslint/node_modules/mimic-fn/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/mute-stream/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/mute-stream/README.md delete mode 100644 tools/node_modules/eslint/node_modules/mute-stream/mute.js delete mode 100644 tools/node_modules/eslint/node_modules/mute-stream/package.json delete mode 100644 tools/node_modules/eslint/node_modules/onetime/index.js delete mode 100644 tools/node_modules/eslint/node_modules/onetime/license delete mode 100644 tools/node_modules/eslint/node_modules/onetime/package.json delete mode 100644 tools/node_modules/eslint/node_modules/onetime/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/os-tmpdir/index.js delete mode 100644 tools/node_modules/eslint/node_modules/os-tmpdir/license delete mode 100644 tools/node_modules/eslint/node_modules/os-tmpdir/package.json delete mode 100644 tools/node_modules/eslint/node_modules/os-tmpdir/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/restore-cursor/index.js delete mode 100644 tools/node_modules/eslint/node_modules/restore-cursor/license delete mode 100644 tools/node_modules/eslint/node_modules/restore-cursor/package.json delete mode 100644 tools/node_modules/eslint/node_modules/restore-cursor/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/run-async/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/run-async/README.md delete mode 100644 tools/node_modules/eslint/node_modules/run-async/index.js delete mode 100644 tools/node_modules/eslint/node_modules/run-async/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/AsyncSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/BehaviorSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/InnerSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Notification.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Observer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Operator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/OuterSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/README.md delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/ReplaySubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Rx.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Scheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Subject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/SubjectSubscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Subscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/Subscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/README.md delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/ajax/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/fetch/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal-compatibility/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/AsyncSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/BehaviorSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/InnerSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Notification.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Observer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Operator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/OuterSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/ReplaySubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Rx.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Scheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Subject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/SubjectSubscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Subscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/Subscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/config.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/SubscribeOnObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/bindCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/bindNodeCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/defer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/dom/AjaxObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/dom/WebSocketSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/dom/ajax.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/dom/fetch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/dom/webSocket.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/empty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/forkJoin.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/from.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/fromArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/fromEvent.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/fromIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/fromPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/generate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/iif.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/interval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/never.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/of.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/pairs.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/range.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/throwError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/timer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/using.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/observable/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/catchError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/endWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/finalize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/refCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/switchAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/tap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/Action.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AnimationFrameScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AsapAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AsapScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/VirtualTimeScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/animationFrame.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/asap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/async.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/scheduler/queue.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/symbol/iterator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/symbol/observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/types.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/EmptyError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/Immediate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/TimeoutError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/applyMixins.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/canReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/errorObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/hostReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/identity.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isArrayLike.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isDate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isFunction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isNumeric.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/isScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/noop.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/not.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/pipe.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/root.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/toSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/util/tryCatch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/path-mapping.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm2015/webSocket/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/README.md delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/ajax/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/fetch/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal-compatibility/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/AsyncSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/BehaviorSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/InnerSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Notification.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Observer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Operator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/OuterSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/ReplaySubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Rx.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Scheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Subject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/SubjectSubscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Subscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/Subscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/config.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/ConnectableObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/SubscribeOnObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/bindCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/bindNodeCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/defer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/dom/AjaxObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/dom/WebSocketSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/dom/ajax.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/dom/fetch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/dom/webSocket.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/empty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/forkJoin.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/from.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/fromArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/fromEvent.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/fromEventPattern.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/fromIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/fromPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/generate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/iif.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/interval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/never.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/of.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/pairs.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/range.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/throwError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/timer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/using.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/observable/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/catchError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/endWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/finalize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/refCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/switchAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/tap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/throwIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduled/scheduleArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduled/scheduleIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduled/scheduleObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduled/schedulePromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduled/scheduled.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/Action.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AnimationFrameScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AsapAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AsapScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AsyncAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/QueueAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/QueueScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/VirtualTimeScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/animationFrame.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/asap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/async.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/scheduler/queue.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/symbol/iterator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/symbol/observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/types.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/ArgumentOutOfRangeError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/EmptyError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/Immediate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/ObjectUnsubscribedError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/TimeoutError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/applyMixins.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/canReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/errorObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/hostReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/identity.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isArrayLike.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isDate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isFunction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isInteropObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isNumeric.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/isScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/noop.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/not.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/pipe.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/root.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/toSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/util/tryCatch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/path-mapping.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/_esm5/webSocket/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/bindCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/bindNodeCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/defer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/dom/ajax.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/dom/webSocket.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/empty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/forkJoin.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/from.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/fromEvent.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/fromEventPattern.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/fromPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/generate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/if.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/interval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/never.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/of.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/pairs.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/range.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/throw.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/timer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/using.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/observable/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/catch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/do.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/finally.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/let.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/switch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/toPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/add/operator/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/ajax/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/ajax/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/bundles/rxjs.umd.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/bundles/rxjs.umd.min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/fetch/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/fetch/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/interfaces.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal-compatibility/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal-compatibility/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/AsyncSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/BehaviorSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/InnerSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Notification.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Observer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Operator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/OuterSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/ReplaySubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Rx.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Scheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Subject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/SubjectSubscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Subscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/Subscription.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/config.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/ConnectableObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/SubscribeOnObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/bindCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/bindNodeCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/defer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/dom/AjaxObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/dom/WebSocketSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/dom/ajax.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/dom/fetch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/dom/webSocket.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/empty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/forkJoin.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/from.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/fromArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/fromEvent.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/fromEventPattern.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/fromIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/fromPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/generate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/iif.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/interval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/never.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/of.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/pairs.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/range.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/throwError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/timer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/using.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/observable/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/catchError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/endWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/finalize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/refCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/switchAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/tap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/throwIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/operators/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduled/scheduleArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduled/scheduleIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduled/scheduleObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduled/schedulePromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduled/scheduled.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/Action.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AnimationFrameAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AnimationFrameScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AsapAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AsapScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AsyncAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/AsyncScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/QueueAction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/QueueScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/VirtualTimeScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/animationFrame.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/asap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/async.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/scheduler/queue.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/symbol/iterator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/symbol/observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/symbol/rxSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/types.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/ArgumentOutOfRangeError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/EmptyError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/Immediate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/ObjectUnsubscribedError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/TimeoutError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/UnsubscriptionError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/applyMixins.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/canReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/errorObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/hostReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/identity.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isArrayLike.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isDate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isFunction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isInteropObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isNumeric.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/isScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/noop.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/not.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/pipe.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/root.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeToArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeToIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeToObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeToPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/subscribeToResult.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/toSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/internal/util/tryCatch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/migrations/collection.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/migrations/update-6_0_0/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ArrayLikeObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ArrayObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/BoundCallbackObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/BoundNodeCallbackObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ConnectableObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/DeferObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/EmptyObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ErrorObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ForkJoinObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/FromEventObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/FromEventPatternObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/FromObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/GenerateObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/IfObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/IntervalObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/IteratorObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/NeverObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/PairsObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/PromiseObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/RangeObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/ScalarObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/SubscribeOnObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/TimerObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/UsingObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/bindCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/bindNodeCallback.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/defer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/dom/AjaxObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/dom/WebSocketSubject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/dom/ajax.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/dom/webSocket.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/empty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/forkJoin.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/from.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/fromArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/fromEvent.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/fromEventPattern.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/fromIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/fromPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/generate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/if.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/interval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/never.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/of.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/pairs.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/range.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/throw.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/timer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/using.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/observable/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/catch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/do.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/finally.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/let.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/switch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/toPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operator/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/audit.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/auditTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/buffer.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/bufferCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/bufferTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/bufferToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/bufferWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/catchError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/combineAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/combineLatest.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/concat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/concatAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/concatMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/concatMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/count.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/debounce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/debounceTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/defaultIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/delay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/delayWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/dematerialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/distinct.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/distinctUntilChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/distinctUntilKeyChanged.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/elementAt.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/every.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/exhaust.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/exhaustMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/expand.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/filter.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/finalize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/find.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/findIndex.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/first.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/groupBy.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/ignoreElements.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/isEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/last.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/map.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/mapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/materialize.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/max.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/merge.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/mergeAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/mergeMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/mergeMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/mergeScan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/min.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/multicast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/observeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/onErrorResumeNext.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/pairwise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/partition.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/pluck.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/publish.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/publishBehavior.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/publishLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/publishReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/race.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/reduce.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/refCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/repeat.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/repeatWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/retry.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/retryWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/sample.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/sampleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/scan.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/sequenceEqual.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/share.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/shareReplay.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/single.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/skip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/skipLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/skipUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/skipWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/startWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/subscribeOn.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/switchAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/switchMap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/switchMapTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/take.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/takeLast.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/takeUntil.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/takeWhile.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/tap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/throttle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/throttleTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/throwIfEmpty.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/timeInterval.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/timeout.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/timeoutWith.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/timestamp.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/toArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/window.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/windowCount.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/windowTime.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/windowToggle.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/windowWhen.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/withLatestFrom.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/zip.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/operators/zipAll.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/scheduler/animationFrame.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/scheduler/asap.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/scheduler/async.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/scheduler/queue.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/README.md delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/Rx.global.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/ajax/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/fetch/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/internal-compatibility/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/operators/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/src/webSocket/package.json delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/symbol/iterator.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/symbol/observable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/symbol/rxSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/ArgumentOutOfRangeError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/EmptyError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/Immediate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/ObjectUnsubscribedError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/TimeoutError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/UnsubscriptionError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/applyMixins.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/errorObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/hostReportError.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/identity.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isArrayLike.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isDate.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isFunction.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isNumeric.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isObject.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/isScheduler.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/noop.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/not.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/pipe.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/root.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeTo.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeToArray.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeToIterable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeToObservable.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeToPromise.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/subscribeToResult.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/toSubscriber.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/util/tryCatch.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/webSocket/index.js delete mode 100644 tools/node_modules/eslint/node_modules/rxjs/webSocket/package.json delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/Porting-Buffer.md delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/Readme.md delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/dangerous.js delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/package.json delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/safer.js delete mode 100644 tools/node_modules/eslint/node_modules/safer-buffer/tests.js delete mode 100644 tools/node_modules/eslint/node_modules/signal-exit/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/signal-exit/README.md delete mode 100644 tools/node_modules/eslint/node_modules/signal-exit/index.js delete mode 100644 tools/node_modules/eslint/node_modules/signal-exit/package.json delete mode 100644 tools/node_modules/eslint/node_modules/signal-exit/signals.js rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/ansi-styles/index.js (100%) rename tools/node_modules/eslint/node_modules/{ansi-escapes/node_modules/type-fest => slice-ansi/node_modules/ansi-styles}/license (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/ansi-styles/package.json (96%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/ansi-styles/readme.md (87%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/LICENSE (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/README.md (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/conversions.js (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/index.js (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/package.json (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-convert/route.js (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-name/LICENSE (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-name/README.md (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-name/index.js (100%) rename tools/node_modules/eslint/node_modules/{inquirer => slice-ansi}/node_modules/color-name/package.json (100%) delete mode 100644 tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/index.js delete mode 100644 tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/package.json delete mode 100644 tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/ansi-regex/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/ansi-regex/license delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/ansi-regex/package.json delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/ansi-regex/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/LICENSE-MIT.txt delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/README.md delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/es2015/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/es2015/text.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/package.json delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/emoji-regex/text.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/is-fullwidth-code-point/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/is-fullwidth-code-point/license delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/is-fullwidth-code-point/package.json delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/is-fullwidth-code-point/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/string-width/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/string-width/license delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/string-width/package.json delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/string-width/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/strip-ansi/index.js delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/strip-ansi/license delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/strip-ansi/package.json delete mode 100644 tools/node_modules/eslint/node_modules/table/node_modules/strip-ansi/readme.md delete mode 100644 tools/node_modules/eslint/node_modules/through/LICENSE.APACHE2 delete mode 100644 tools/node_modules/eslint/node_modules/through/LICENSE.MIT delete mode 100644 tools/node_modules/eslint/node_modules/through/index.js delete mode 100644 tools/node_modules/eslint/node_modules/through/package.json delete mode 100644 tools/node_modules/eslint/node_modules/through/readme.markdown delete mode 100644 tools/node_modules/eslint/node_modules/tmp/LICENSE delete mode 100644 tools/node_modules/eslint/node_modules/tmp/README.md delete mode 100644 tools/node_modules/eslint/node_modules/tmp/lib/tmp.js delete mode 100644 tools/node_modules/eslint/node_modules/tmp/package.json delete mode 100644 tools/node_modules/eslint/node_modules/tslib/CopyrightNotice.txt delete mode 100644 tools/node_modules/eslint/node_modules/tslib/LICENSE.txt delete mode 100644 tools/node_modules/eslint/node_modules/tslib/README.md delete mode 100644 tools/node_modules/eslint/node_modules/tslib/package.json delete mode 100644 tools/node_modules/eslint/node_modules/tslib/tslib.es6.html delete mode 100644 tools/node_modules/eslint/node_modules/tslib/tslib.es6.js delete mode 100644 tools/node_modules/eslint/node_modules/tslib/tslib.html delete mode 100644 tools/node_modules/eslint/node_modules/tslib/tslib.js diff --git a/tools/node_modules/eslint/README.md b/tools/node_modules/eslint/README.md index 2a77ed9274695d..2fbe7ae7b38192 100644 --- a/tools/node_modules/eslint/README.md +++ b/tools/node_modules/eslint/README.md @@ -33,11 +33,12 @@ ESLint is a tool for identifying and reporting on patterns found in ECMAScript/J 4. [Filing Issues](#filing-issues) 5. [Frequently Asked Questions](#faq) 6. [Releases](#releases) -7. [Semantic Versioning Policy](#semantic-versioning-policy) -8. [License](#license) -9. [Team](#team) -10. [Sponsors](#sponsors) -11. [Technology Sponsors](#technology-sponsors) +7. [Security Policy](#security-policy) +8. [Semantic Versioning Policy](#semantic-versioning-policy) +9. [License](#license) +10. [Team](#team) +11. [Sponsors](#sponsors) +12. [Technology Sponsors](#technology-sponsors) ## Installation and Usage @@ -139,32 +140,41 @@ Join our [Mailing List](https://groups.google.com/group/eslint) or [Chatroom](ht We have scheduled releases every two weeks on Friday or Saturday. You can follow a [release issue](https://github.com/eslint/eslint/issues?q=is%3Aopen+is%3Aissue+label%3Arelease) for updates about the scheduling of any particular release. +## Security Policy + +ESLint takes security seriously. We work hard to ensure that ESLint is safe for everyone and that security issues are addressed quickly and responsibly. Read the full [security policy](https://github.com/eslint/.github/blob/master/SECURITY.md). + ## Semantic Versioning Policy ESLint follows [semantic versioning](https://semver.org). However, due to the nature of ESLint as a code quality tool, it's not always clear when a minor or major version bump occurs. To help clarify this for everyone, we've defined the following semantic versioning policy for ESLint: * Patch release (intended to not break your lint build) - * A bug fix in a rule that results in ESLint reporting fewer errors. + * A bug fix in a rule that results in ESLint reporting fewer linting errors. * A bug fix to the CLI or core (including formatters). * Improvements to documentation. * Non-user-facing changes such as refactoring code, adding, deleting, or modifying tests, and increasing test coverage. * Re-releasing after a failed release (i.e., publishing a release that doesn't work for anyone). * Minor release (might break your lint build) - * A bug fix in a rule that results in ESLint reporting more errors. + * A bug fix in a rule that results in ESLint reporting more linting errors. * A new rule is created. - * A new option to an existing rule that does not result in ESLint reporting more errors by default. + * A new option to an existing rule that does not result in ESLint reporting more linting errors by default. * An existing rule is deprecated. * A new CLI capability is created. * New capabilities to the public API are added (new classes, new methods, new arguments to existing methods, etc.). * A new formatter is created. - * `eslint:recommended` is updated and will result in strictly fewer errors (e.g., rule removals). + * `eslint:recommended` is updated and will result in strictly fewer linting errors (e.g., rule removals). * Major release (likely to break your lint build) - * `eslint:recommended` is updated and may result in new errors (e.g., rule additions, most rule option updates). - * A new option to an existing rule that results in ESLint reporting more errors by default. + * `eslint:recommended` is updated and may result in new linting errors (e.g., rule additions, most rule option updates). + * A new option to an existing rule that results in ESLint reporting more linting errors by default. * An existing formatter is removed. - * Part of the public API is removed or changed in an incompatible way. + * Part of the public API is removed or changed in an incompatible way. The public API includes: + * Rule schemas + * Configuration schema + * Command-line options + * Node.js API + * Rule, formatter, parser, plugin APIs -According to our policy, any minor update may report more errors than the previous release (ex: from a bug fix). As such, we recommend using the tilde (`~`) in `package.json` e.g. `"eslint": "~3.1.0"` to guarantee the results of your builds. +According to our policy, any minor update may report more linting errors than the previous release (ex: from a bug fix). As such, we recommend using the tilde (`~`) in `package.json` e.g. `"eslint": "~3.1.0"` to guarantee the results of your builds. ## License @@ -197,9 +207,9 @@ Brandon Mills Toru Nagashima - -
-Kai Cataldo +
+
+Milos Djermanovic
@@ -213,11 +223,6 @@ The people who review and implement new features.
薛定谔的猫 - - -
-Milos Djermanovic -
@@ -233,6 +238,11 @@ The people who review and fix bugs and help triage issues. Pig Fang + +
+Anix +
+
YeonJuan @@ -252,7 +262,7 @@ The following companies, organizations, and individuals support ESLint's ongoing

Automattic

Gold Sponsors

Chrome's Web Framework & Tools Performance Fund Shopify Salesforce Airbnb Microsoft FOSS Fund Sponsorships

Silver Sponsors

Liftoff AMP Project

Bronze Sponsors

-

Writers Per Hour 2021 calendar Buy.Fineproxy.Org Veikkaajat.com Anagram Solver Bugsnag Stability Monitoring Mixpanel VPS Server Icons8: free icons, photos, illustrations, and music Discord ThemeIsle Fire Stick Tricks

+

Writers Per Hour 2021 calendar Buy.Fineproxy.Org Veikkaajat.com Anagram Solver Bugsnag Stability Monitoring Mixpanel VPS Server Icons8: free icons, photos, illustrations, and music Discord ThemeIsle Fire Stick Tricks

## Technology Sponsors diff --git a/tools/node_modules/eslint/lib/init/config-initializer.js b/tools/node_modules/eslint/lib/init/config-initializer.js index a02d13562ca40e..f7d4cc7a171fe9 100644 --- a/tools/node_modules/eslint/lib/init/config-initializer.js +++ b/tools/node_modules/eslint/lib/init/config-initializer.js @@ -12,7 +12,7 @@ const util = require("util"), path = require("path"), - inquirer = require("inquirer"), + enquirer = require("enquirer"), ProgressBar = require("progress"), semver = require("semver"), espree = require("espree"), @@ -146,7 +146,7 @@ function getModulesList(config, installESLint) { * * Note: This clones the config object and returns a new config to avoid mutating * the original config parameter. - * @param {Object} answers answers received from inquirer + * @param {Object} answers answers received from enquirer * @param {Object} config config object * @returns {Object} config object with configured rules */ @@ -253,7 +253,7 @@ function configureRules(answers, config) { /** * process user's answers and create config object - * @param {Object} answers answers received from inquirer + * @param {Object} answers answers received from enquirer * @returns {Object} config object */ function processAnswers(answers) { @@ -321,7 +321,6 @@ function processAnswers(answers) { } } if (answers.typescript && config.extends.includes("eslint:recommended")) { - config.extends.push("plugin:@typescript-eslint/eslint-recommended"); config.extends.push("plugin:@typescript-eslint/recommended"); } @@ -409,7 +408,7 @@ function installModules(modules) { npmUtils.installSyncSaveDev(modules); } -/* istanbul ignore next: no need to test inquirer */ +/* istanbul ignore next: no need to test enquirer */ /** * Ask user to install modules. * @param {string[]} modules Array of modules to be installed. @@ -425,14 +424,19 @@ function askInstallModules(modules, packageJsonExists) { log.info("The config that you've selected requires the following dependencies:\n"); log.info(modules.join(" ")); - return inquirer.prompt([ + return enquirer.prompt([ { - type: "confirm", + type: "toggle", name: "executeInstallation", message: "Would you like to install them now with npm?", - default: true, - when() { - return modules.length && packageJsonExists; + enabled: "Yes", + disabled: "No", + initial: 1, + skip() { + return !(modules.length && packageJsonExists); + }, + result(input) { + return this.skipped ? null : input; } } ]).then(({ executeInstallation }) => { @@ -442,114 +446,124 @@ function askInstallModules(modules, packageJsonExists) { }); } -/* istanbul ignore next: no need to test inquirer */ +/* istanbul ignore next: no need to test enquirer */ /** * Ask use a few questions on command prompt * @returns {Promise} The promise with the result of the prompt */ function promptUser() { - return inquirer.prompt([ + return enquirer.prompt([ { - type: "list", + type: "select", name: "purpose", message: "How would you like to use ESLint?", - default: "problems", + + // The returned number matches the name value of nth in the choices array. + initial: 1, choices: [ - { name: "To check syntax only", value: "syntax" }, - { name: "To check syntax and find problems", value: "problems" }, - { name: "To check syntax, find problems, and enforce code style", value: "style" } + { message: "To check syntax only", name: "syntax" }, + { message: "To check syntax and find problems", name: "problems" }, + { message: "To check syntax, find problems, and enforce code style", name: "style" } ] }, { - type: "list", + type: "select", name: "moduleType", message: "What type of modules does your project use?", - default: "esm", + initial: 0, choices: [ - { name: "JavaScript modules (import/export)", value: "esm" }, - { name: "CommonJS (require/exports)", value: "commonjs" }, - { name: "None of these", value: "none" } + { message: "JavaScript modules (import/export)", name: "esm" }, + { message: "CommonJS (require/exports)", name: "commonjs" }, + { message: "None of these", name: "none" } ] }, { - type: "list", + type: "select", name: "framework", message: "Which framework does your project use?", - default: "react", + initial: 0, choices: [ - { name: "React", value: "react" }, - { name: "Vue.js", value: "vue" }, - { name: "None of these", value: "none" } + { message: "React", name: "react" }, + { message: "Vue.js", name: "vue" }, + { message: "None of these", name: "none" } ] }, { - type: "confirm", + type: "toggle", name: "typescript", message: "Does your project use TypeScript?", - default: false + enabled: "Yes", + disabled: "No", + initial: 0 }, { - type: "checkbox", + type: "multiselect", name: "env", message: "Where does your code run?", - default: ["browser"], + hint: "(Press to select, to toggle all, to invert selection)", + initial: 0, choices: [ - { name: "Browser", value: "browser" }, - { name: "Node", value: "node" } + { message: "Browser", name: "browser" }, + { message: "Node", name: "node" } ] }, { - type: "list", + type: "select", name: "source", message: "How would you like to define a style for your project?", - default: "guide", choices: [ - { name: "Use a popular style guide", value: "guide" }, - { name: "Answer questions about your style", value: "prompt" }, - { name: "Inspect your JavaScript file(s)", value: "auto" } + { message: "Use a popular style guide", name: "guide" }, + { message: "Answer questions about your style", name: "prompt" }, + { message: "Inspect your JavaScript file(s)", name: "auto" } ], - when(answers) { - return answers.purpose === "style"; + skip() { + return this.state.answers.purpose !== "style"; + }, + result(input) { + return this.skipped ? null : input; } }, { - type: "list", + type: "select", name: "styleguide", message: "Which style guide do you want to follow?", choices: [ - { name: "Airbnb: https://github.com/airbnb/javascript", value: "airbnb" }, - { name: "Standard: https://github.com/standard/standard", value: "standard" }, - { name: "Google: https://github.com/google/eslint-config-google", value: "google" } + { message: "Airbnb: https://github.com/airbnb/javascript", name: "airbnb" }, + { message: "Standard: https://github.com/standard/standard", name: "standard" }, + { message: "Google: https://github.com/google/eslint-config-google", name: "google" } ], - when(answers) { - answers.packageJsonExists = npmUtils.checkPackageJson(); - return answers.source === "guide" && answers.packageJsonExists; + skip() { + this.state.answers.packageJsonExists = npmUtils.checkPackageJson(); + return !(this.state.answers.source === "guide" && this.state.answers.packageJsonExists); + }, + result(input) { + return this.skipped ? null : input; } }, { type: "input", name: "patterns", message: "Which file(s), path(s), or glob(s) should be examined?", - when(answers) { - return (answers.source === "auto"); + skip() { + return this.state.answers.source !== "auto"; }, validate(input) { - if (input.trim().length === 0 && input.trim() !== ",") { + if (!this.skipped && input.trim().length === 0 && input.trim() !== ",") { return "You must tell us what code to examine. Try again."; } return true; } }, { - type: "list", + type: "select", name: "format", message: "What format do you want your config file to be in?", - default: "JavaScript", + initial: 0, choices: ["JavaScript", "YAML", "JSON"] }, { - type: "confirm", + type: "toggle", name: "installESLint", message(answers) { const verb = semver.ltr(answers.localESLintVersion, answers.requiredESLintVersionRange) @@ -558,9 +572,14 @@ function promptUser() { return `The style guide "${answers.styleguide}" requires eslint@${answers.requiredESLintVersionRange}. You are currently using eslint@${answers.localESLintVersion}.\n Do you want to ${verb}?`; }, - default: true, - when(answers) { - return answers.source === "guide" && answers.packageJsonExists && hasESLintVersionConflict(answers); + enabled: "Yes", + disabled: "No", + initial: 1, + skip() { + return !(this.state.answers.source === "guide" && this.state.answers.packageJsonExists && hasESLintVersionConflict(this.state.answers)); + }, + result(input) { + return this.skipped ? null : input; } } ]).then(earlyAnswers => { @@ -613,33 +632,35 @@ function promptUser() { } // continue with the style questions otherwise... - return inquirer.prompt([ + return enquirer.prompt([ { - type: "list", + type: "select", name: "indent", message: "What style of indentation do you use?", - default: "tab", - choices: [{ name: "Tabs", value: "tab" }, { name: "Spaces", value: 4 }] + initial: 0, + choices: [{ message: "Tabs", name: "tab" }, { message: "Spaces", name: 4 }] }, { - type: "list", + type: "select", name: "quotes", message: "What quotes do you use for strings?", - default: "double", - choices: [{ name: "Double", value: "double" }, { name: "Single", value: "single" }] + initial: 0, + choices: [{ message: "Double", name: "double" }, { message: "Single", name: "single" }] }, { - type: "list", + type: "select", name: "linebreak", message: "What line endings do you use?", - default: "unix", - choices: [{ name: "Unix", value: "unix" }, { name: "Windows", value: "windows" }] + initial: 0, + choices: [{ message: "Unix", name: "unix" }, { message: "Windows", name: "windows" }] }, { - type: "confirm", + type: "toggle", name: "semi", message: "Do you require semicolons?", - default: true + enabled: "Yes", + disabled: "No", + initial: 1 } ]).then(answers => { const totalAnswers = Object.assign({}, earlyAnswers, answers); diff --git a/tools/node_modules/eslint/lib/rule-tester/rule-tester.js b/tools/node_modules/eslint/lib/rule-tester/rule-tester.js index d1fcbca5ba0622..905f3418121882 100644 --- a/tools/node_modules/eslint/lib/rule-tester/rule-tester.js +++ b/tools/node_modules/eslint/lib/rule-tester/rule-tester.js @@ -644,6 +644,10 @@ class RuleTester { assert.ok(item.errors || item.errors === 0, `Did not specify errors for an invalid test of ${ruleName}`); + if (Array.isArray(item.errors) && item.errors.length === 0) { + assert.fail("Invalid cases must have at least one error"); + } + const ruleHasMetaMessages = hasOwnProperty(rule, "meta") && hasOwnProperty(rule.meta, "messages"); const friendlyIDList = ruleHasMetaMessages ? `[${Object.keys(rule.meta.messages).map(key => `'${key}'`).join(", ")}]` : null; @@ -651,6 +655,11 @@ class RuleTester { const messages = result.messages; if (typeof item.errors === "number") { + + if (item.errors === 0) { + assert.fail("Invalid cases must have 'error' value greater than 0"); + } + assert.strictEqual(messages.length, item.errors, util.format("Should have %d error%s but had %d: %s", item.errors, item.errors === 1 ? "" : "s", messages.length, util.inspect(messages))); } else { diff --git a/tools/node_modules/eslint/lib/rules/array-callback-return.js b/tools/node_modules/eslint/lib/rules/array-callback-return.js index 4e25674f6fb27b..7267347149da9a 100644 --- a/tools/node_modules/eslint/lib/rules/array-callback-return.js +++ b/tools/node_modules/eslint/lib/rules/array-callback-return.js @@ -9,8 +9,6 @@ // Requirements //------------------------------------------------------------------------------ -const lodash = require("lodash"); - const astUtils = require("./utils/ast-utils"); //------------------------------------------------------------------------------ @@ -40,6 +38,19 @@ function isTargetMethod(node) { return astUtils.isSpecificMemberAccess(node, null, TARGET_METHODS); } +/** + * Returns a human-legible description of an array method + * @param {string} arrayMethodName A method name to fully qualify + * @returns {string} the method name prefixed with `Array.` if it is a class method, + * or else `Array.prototype.` if it is an instance method. + */ +function fullMethodName(arrayMethodName) { + if (["from", "of", "isArray"].includes(arrayMethodName)) { + return "Array.".concat(arrayMethodName); + } + return "Array.prototype.".concat(arrayMethodName); +} + /** * Checks whether or not a given node is a function expression which is the * callback of an array method, returning the method name. @@ -151,10 +162,10 @@ module.exports = { ], messages: { - expectedAtEnd: "Expected to return a value at the end of {{name}}.", - expectedInside: "Expected to return a value in {{name}}.", - expectedReturnValue: "{{name}} expected a return value.", - expectedNoReturnValue: "{{name}} did not expect a return value." + expectedAtEnd: "{{arrayMethodName}}() expects a value to be returned at the end of {{name}}.", + expectedInside: "{{arrayMethodName}}() expects a return value from {{name}}.", + expectedReturnValue: "{{arrayMethodName}}() expects a return value from {{name}}.", + expectedNoReturnValue: "{{arrayMethodName}}() expects no useless return value from {{name}}." } }, @@ -200,14 +211,13 @@ module.exports = { } if (messageId) { - let name = astUtils.getFunctionNameWithKind(node); + const name = astUtils.getFunctionNameWithKind(node); - name = messageId === "expectedNoReturnValue" ? lodash.upperFirst(name) : name; context.report({ node, loc: astUtils.getFunctionHeadLoc(node, sourceCode), messageId, - data: { name } + data: { name, arrayMethodName: fullMethodName(funcInfo.arrayMethodName) } }); } } @@ -271,7 +281,8 @@ module.exports = { node, messageId, data: { - name: lodash.upperFirst(astUtils.getFunctionNameWithKind(funcInfo.node)) + name: astUtils.getFunctionNameWithKind(funcInfo.node), + arrayMethodName: fullMethodName(funcInfo.arrayMethodName) } }); } diff --git a/tools/node_modules/eslint/lib/rules/arrow-body-style.js b/tools/node_modules/eslint/lib/rules/arrow-body-style.js index be9f4ea720080e..7b318ea8b3a165 100644 --- a/tools/node_modules/eslint/lib/rules/arrow-body-style.js +++ b/tools/node_modules/eslint/lib/rules/arrow-body-style.js @@ -152,7 +152,7 @@ module.exports = { context.report({ node, - loc: arrowBody.loc.start, + loc: arrowBody.loc, messageId, fix(fixer) { const fixes = []; @@ -219,7 +219,7 @@ module.exports = { if (always || (asNeeded && requireReturnForObjectLiteral && arrowBody.type === "ObjectExpression")) { context.report({ node, - loc: arrowBody.loc.start, + loc: arrowBody.loc, messageId: "expectedBlock", fix(fixer) { const fixes = []; diff --git a/tools/node_modules/eslint/lib/rules/arrow-parens.js b/tools/node_modules/eslint/lib/rules/arrow-parens.js index bfd32447ac6f3d..eaa1aab023889e 100644 --- a/tools/node_modules/eslint/lib/rules/arrow-parens.js +++ b/tools/node_modules/eslint/lib/rules/arrow-parens.js @@ -15,15 +15,12 @@ const astUtils = require("./utils/ast-utils"); //------------------------------------------------------------------------------ /** - * Get location should be reported by AST node. - * @param {ASTNode} node AST Node. - * @returns {Location} Location information. + * Determines if the given arrow function has block body. + * @param {ASTNode} node `ArrowFunctionExpression` node. + * @returns {boolean} `true` if the function has block body. */ -function getLocation(node) { - return { - start: node.params[0].loc.start, - end: node.params[node.params.length - 1].loc.end - }; +function hasBlockBody(node) { + return node.body.type === "BlockStatement"; } //------------------------------------------------------------------------------ @@ -75,126 +72,112 @@ module.exports = { const sourceCode = context.getSourceCode(); /** - * Determines whether a arrow function argument end with `)` - * @param {ASTNode} node The arrow function node. - * @returns {void} + * Finds opening paren of parameters for the given arrow function, if it exists. + * It is assumed that the given arrow function has exactly one parameter. + * @param {ASTNode} node `ArrowFunctionExpression` node. + * @returns {Token|null} the opening paren, or `null` if the given arrow function doesn't have parens of parameters. */ - function parens(node) { - const isAsync = node.async; - const firstTokenOfParam = sourceCode.getFirstToken(node, isAsync ? 1 : 0); - - /** - * Remove the parenthesis around a parameter - * @param {Fixer} fixer Fixer - * @returns {string} fixed parameter - */ - function fixParamsWithParenthesis(fixer) { - const paramToken = sourceCode.getTokenAfter(firstTokenOfParam); - - /* - * ES8 allows Trailing commas in function parameter lists and calls - * https://github.com/eslint/eslint/issues/8834 - */ - const closingParenToken = sourceCode.getTokenAfter(paramToken, astUtils.isClosingParenToken); - const asyncToken = isAsync ? sourceCode.getTokenBefore(firstTokenOfParam) : null; - const shouldAddSpaceForAsync = asyncToken && (asyncToken.range[1] === firstTokenOfParam.range[0]); - - return fixer.replaceTextRange([ - firstTokenOfParam.range[0], - closingParenToken.range[1] - ], `${shouldAddSpaceForAsync ? " " : ""}${paramToken.value}`); + function findOpeningParenOfParams(node) { + const tokenBeforeParams = sourceCode.getTokenBefore(node.params[0]); + + if ( + tokenBeforeParams && + astUtils.isOpeningParenToken(tokenBeforeParams) && + node.range[0] <= tokenBeforeParams.range[0] + ) { + return tokenBeforeParams; } - /** - * Checks whether there are comments inside the params or not. - * @returns {boolean} `true` if there are comments inside of parens, else `false` - */ - function hasCommentsInParens() { - if (astUtils.isOpeningParenToken(firstTokenOfParam)) { - const closingParenToken = sourceCode.getTokenAfter(node.params[0], astUtils.isClosingParenToken); + return null; + } - return closingParenToken && sourceCode.commentsExistBetween(firstTokenOfParam, closingParenToken); - } - return false; + /** + * Finds closing paren of parameters for the given arrow function. + * It is assumed that the given arrow function has parens of parameters and that it has exactly one parameter. + * @param {ASTNode} node `ArrowFunctionExpression` node. + * @returns {Token} the closing paren of parameters. + */ + function getClosingParenOfParams(node) { + return sourceCode.getTokenAfter(node.params[0], astUtils.isClosingParenToken); + } - } + /** + * Determines whether the given arrow function has comments inside parens of parameters. + * It is assumed that the given arrow function has parens of parameters. + * @param {ASTNode} node `ArrowFunctionExpression` node. + * @param {Token} openingParen Opening paren of parameters. + * @returns {boolean} `true` if the function has at least one comment inside of parens of parameters. + */ + function hasCommentsInParensOfParams(node, openingParen) { + return sourceCode.commentsExistBetween(openingParen, getClosingParenOfParams(node)); + } - if (hasCommentsInParens()) { - return; - } + /** + * Determines whether the given arrow function has unexpected tokens before opening paren of parameters, + * in which case it will be assumed that the existing parens of parameters are necessary. + * Only tokens within the range of the arrow function (tokens that are part of the arrow function) are taken into account. + * Example: (a) => b + * @param {ASTNode} node `ArrowFunctionExpression` node. + * @param {Token} openingParen Opening paren of parameters. + * @returns {boolean} `true` if the function has at least one unexpected token. + */ + function hasUnexpectedTokensBeforeOpeningParen(node, openingParen) { + const expectedCount = node.async ? 1 : 0; - // "as-needed", { "requireForBlockBody": true }: x => x - if ( - requireForBlockBody && - node.params[0].type === "Identifier" && - !node.params[0].typeAnnotation && - node.body.type !== "BlockStatement" && - !node.returnType - ) { - if (astUtils.isOpeningParenToken(firstTokenOfParam)) { - context.report({ - node, - messageId: "unexpectedParensInline", - loc: getLocation(node), - fix: fixParamsWithParenthesis - }); - } - return; - } + return sourceCode.getFirstToken(node, { skip: expectedCount }) !== openingParen; + } - if ( - requireForBlockBody && - node.body.type === "BlockStatement" - ) { - if (!astUtils.isOpeningParenToken(firstTokenOfParam)) { - context.report({ - node, - messageId: "expectedParensBlock", - loc: getLocation(node), - fix(fixer) { - return fixer.replaceText(firstTokenOfParam, `(${firstTokenOfParam.value})`); - } - }); - } - return; - } + return { + "ArrowFunctionExpression[params.length=1]"(node) { + const shouldHaveParens = !asNeeded || requireForBlockBody && hasBlockBody(node); + const openingParen = findOpeningParenOfParams(node); + const hasParens = openingParen !== null; + const [param] = node.params; - // "as-needed": x => x - if (asNeeded && - node.params[0].type === "Identifier" && - !node.params[0].typeAnnotation && - !node.returnType - ) { - if (astUtils.isOpeningParenToken(firstTokenOfParam)) { + if (shouldHaveParens && !hasParens) { context.report({ node, - messageId: "unexpectedParens", - loc: getLocation(node), - fix: fixParamsWithParenthesis + messageId: requireForBlockBody ? "expectedParensBlock" : "expectedParens", + loc: param.loc, + *fix(fixer) { + yield fixer.insertTextBefore(param, "("); + yield fixer.insertTextAfter(param, ")"); + } }); } - return; - } - if (firstTokenOfParam.type === "Identifier") { - const after = sourceCode.getTokenAfter(firstTokenOfParam); - - // (x) => x - if (after.value !== ")") { + if ( + !shouldHaveParens && + hasParens && + param.type === "Identifier" && + !param.typeAnnotation && + !node.returnType && + !hasCommentsInParensOfParams(node, openingParen) && + !hasUnexpectedTokensBeforeOpeningParen(node, openingParen) + ) { context.report({ node, - messageId: "expectedParens", - loc: getLocation(node), - fix(fixer) { - return fixer.replaceText(firstTokenOfParam, `(${firstTokenOfParam.value})`); + messageId: requireForBlockBody ? "unexpectedParensInline" : "unexpectedParens", + loc: param.loc, + *fix(fixer) { + const tokenBeforeOpeningParen = sourceCode.getTokenBefore(openingParen); + const closingParen = getClosingParenOfParams(node); + + if ( + tokenBeforeOpeningParen && + tokenBeforeOpeningParen.range[1] === openingParen.range[0] && + !astUtils.canTokensBeAdjacent(tokenBeforeOpeningParen, sourceCode.getFirstToken(param)) + ) { + yield fixer.insertTextBefore(openingParen, " "); + } + + // remove parens, whitespace inside parens, and possible trailing comma + yield fixer.removeRange([openingParen.range[0], param.range[0]]); + yield fixer.removeRange([param.range[1], closingParen.range[1]]); } }); } } - } - - return { - "ArrowFunctionExpression[params.length=1]": parens }; } }; diff --git a/tools/node_modules/eslint/lib/rules/camelcase.js b/tools/node_modules/eslint/lib/rules/camelcase.js index 04360837294a12..d34656cfabe731 100644 --- a/tools/node_modules/eslint/lib/rules/camelcase.js +++ b/tools/node_modules/eslint/lib/rules/camelcase.js @@ -32,6 +32,10 @@ module.exports = { type: "boolean", default: false }, + ignoreGlobals: { + type: "boolean", + default: false + }, properties: { enum: ["always", "never"] }, @@ -61,8 +65,11 @@ module.exports = { let properties = options.properties || ""; const ignoreDestructuring = options.ignoreDestructuring; const ignoreImports = options.ignoreImports; + const ignoreGlobals = options.ignoreGlobals; const allow = options.allow || []; + let globalScope; + if (properties !== "always" && properties !== "never") { properties = "always"; } @@ -159,6 +166,37 @@ module.exports = { return false; } + /** + * Checks whether the given node represents a reference to a global variable that is not declared in the source code. + * These identifiers will be allowed, as it is assumed that user has no control over the names of external global variables. + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a reference to a global variable. + */ + function isReferenceToGlobalVariable(node) { + const variable = globalScope.set.get(node.name); + + return variable && variable.defs.length === 0 && + variable.references.some(ref => ref.identifier === node); + } + + /** + * Checks whether the given node represents a reference to a property of an object in an object literal expression. + * This allows to differentiate between a global variable that is allowed to be used as a reference, and the key + * of the expressed object (which shouldn't be allowed). + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a property name of an object literal expression + */ + function isPropertyNameInObjectLiteral(node) { + const parent = node.parent; + + return ( + parent.type === "Property" && + parent.parent.type === "ObjectExpression" && + !parent.computed && + parent.key === node + ); + } + /** * Reports an AST node as a rule violation. * @param {ASTNode} node The node to report. @@ -174,6 +212,10 @@ module.exports = { return { + Program() { + globalScope = context.getScope(); + }, + Identifier(node) { /* @@ -189,6 +231,11 @@ module.exports = { return; } + // Check if it's a global variable + if (ignoreGlobals && isReferenceToGlobalVariable(node) && !isPropertyNameInObjectLiteral(node)) { + return; + } + // MemberExpressions get special rules if (node.parent.type === "MemberExpression") { diff --git a/tools/node_modules/eslint/lib/rules/curly.js b/tools/node_modules/eslint/lib/rules/curly.js index 29f00c0ad0b617..92d31a6476e435 100644 --- a/tools/node_modules/eslint/lib/rules/curly.js +++ b/tools/node_modules/eslint/lib/rules/curly.js @@ -457,11 +457,18 @@ module.exports = { return { IfStatement(node) { - if (node.parent.type !== "IfStatement") { + const parent = node.parent; + const isElseIf = parent.type === "IfStatement" && parent.alternate === node; + + if (!isElseIf) { + + // This is a top `if`, check the whole `if-else-if` chain prepareIfChecks(node).forEach(preparedCheck => { preparedCheck.check(); }); } + + // Skip `else if`, it's already checked (when the top `if` was visited) }, WhileStatement(node) { diff --git a/tools/node_modules/eslint/lib/rules/id-denylist.js b/tools/node_modules/eslint/lib/rules/id-denylist.js new file mode 100644 index 00000000000000..112fd8a9d5515e --- /dev/null +++ b/tools/node_modules/eslint/lib/rules/id-denylist.js @@ -0,0 +1,230 @@ +/** + * @fileoverview Rule that warns when identifier names that are + * specified in the configuration are used. + * @author Keith Cirkel (http://keithcirkel.co.uk) + */ + +"use strict"; + +//------------------------------------------------------------------------------ +// Helpers +//------------------------------------------------------------------------------ + +/** + * Checks whether the given node represents assignment target in a normal assignment or destructuring. + * @param {ASTNode} node The node to check. + * @returns {boolean} `true` if the node is assignment target. + */ +function isAssignmentTarget(node) { + const parent = node.parent; + + return ( + + // normal assignment + ( + parent.type === "AssignmentExpression" && + parent.left === node + ) || + + // destructuring + parent.type === "ArrayPattern" || + parent.type === "RestElement" || + ( + parent.type === "Property" && + parent.value === node && + parent.parent.type === "ObjectPattern" + ) || + ( + parent.type === "AssignmentPattern" && + parent.left === node + ) + ); +} + +/** + * Checks whether the given node represents an imported name that is renamed in the same import/export specifier. + * + * Examples: + * import { a as b } from 'mod'; // node `a` is renamed import + * export { a as b } from 'mod'; // node `a` is renamed import + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a renamed import. + */ +function isRenamedImport(node) { + const parent = node.parent; + + return ( + ( + parent.type === "ImportSpecifier" && + parent.imported !== parent.local && + parent.imported === node + ) || + ( + parent.type === "ExportSpecifier" && + parent.parent.source && // re-export + parent.local !== parent.exported && + parent.local === node + ) + ); +} + +/** + * Checks whether the given node is a renamed identifier node in an ObjectPattern destructuring. + * + * Examples: + * const { a : b } = foo; // node `a` is renamed node. + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a renamed node in an ObjectPattern destructuring. + */ +function isRenamedInDestructuring(node) { + const parent = node.parent; + + return ( + ( + !parent.computed && + parent.type === "Property" && + parent.parent.type === "ObjectPattern" && + parent.value !== node && + parent.key === node + ) + ); +} + +/** + * Checks whether the given node represents shorthand definition of a property in an object literal. + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a shorthand property definition. + */ +function isShorthandPropertyDefinition(node) { + const parent = node.parent; + + return ( + parent.type === "Property" && + parent.parent.type === "ObjectExpression" && + parent.shorthand + ); +} + +//------------------------------------------------------------------------------ +// Rule Definition +//------------------------------------------------------------------------------ + +module.exports = { + meta: { + type: "suggestion", + + docs: { + description: "disallow specified identifiers", + category: "Stylistic Issues", + recommended: false, + url: "https://eslint.org/docs/rules/id-denylist" + }, + + schema: { + type: "array", + items: { + type: "string" + }, + uniqueItems: true + }, + messages: { + restricted: "Identifier '{{name}}' is restricted." + } + }, + + create(context) { + + const denyList = new Set(context.options); + const reportedNodes = new Set(); + + let globalScope; + + /** + * Checks whether the given name is restricted. + * @param {string} name The name to check. + * @returns {boolean} `true` if the name is restricted. + * @private + */ + function isRestricted(name) { + return denyList.has(name); + } + + /** + * Checks whether the given node represents a reference to a global variable that is not declared in the source code. + * These identifiers will be allowed, as it is assumed that user has no control over the names of external global variables. + * @param {ASTNode} node `Identifier` node to check. + * @returns {boolean} `true` if the node is a reference to a global variable. + */ + function isReferenceToGlobalVariable(node) { + const variable = globalScope.set.get(node.name); + + return variable && variable.defs.length === 0 && + variable.references.some(ref => ref.identifier === node); + } + + /** + * Determines whether the given node should be checked. + * @param {ASTNode} node `Identifier` node. + * @returns {boolean} `true` if the node should be checked. + */ + function shouldCheck(node) { + const parent = node.parent; + + /* + * Member access has special rules for checking property names. + * Read access to a property with a restricted name is allowed, because it can be on an object that user has no control over. + * Write access isn't allowed, because it potentially creates a new property with a restricted name. + */ + if ( + parent.type === "MemberExpression" && + parent.property === node && + !parent.computed + ) { + return isAssignmentTarget(parent); + } + + return ( + parent.type !== "CallExpression" && + parent.type !== "NewExpression" && + !isRenamedImport(node) && + !isRenamedInDestructuring(node) && + !( + isReferenceToGlobalVariable(node) && + !isShorthandPropertyDefinition(node) + ) + ); + } + + /** + * Reports an AST node as a rule violation. + * @param {ASTNode} node The node to report. + * @returns {void} + * @private + */ + function report(node) { + if (!reportedNodes.has(node)) { + context.report({ + node, + messageId: "restricted", + data: { + name: node.name + } + }); + reportedNodes.add(node); + } + } + + return { + + Program() { + globalScope = context.getScope(); + }, + + Identifier(node) { + if (isRestricted(node.name) && shouldCheck(node)) { + report(node); + } + } + }; + } +}; diff --git a/tools/node_modules/eslint/lib/rules/id-match.js b/tools/node_modules/eslint/lib/rules/id-match.js index b97a497fd4f884..7e400d037a07ab 100644 --- a/tools/node_modules/eslint/lib/rules/id-match.js +++ b/tools/node_modules/eslint/lib/rules/id-match.js @@ -39,7 +39,8 @@ module.exports = { type: "boolean", default: false } - } + }, + additionalProperties: false } ], messages: { diff --git a/tools/node_modules/eslint/lib/rules/indent.js b/tools/node_modules/eslint/lib/rules/indent.js index 22b633845b596e..1c0dccc5c9891f 100644 --- a/tools/node_modules/eslint/lib/rules/indent.js +++ b/tools/node_modules/eslint/lib/rules/indent.js @@ -1084,16 +1084,17 @@ module.exports = { }, ArrowFunctionExpression(node) { - const firstToken = sourceCode.getFirstToken(node); + const maybeOpeningParen = sourceCode.getFirstToken(node, { skip: node.async ? 1 : 0 }); - if (astUtils.isOpeningParenToken(firstToken)) { - const openingParen = firstToken; + if (astUtils.isOpeningParenToken(maybeOpeningParen)) { + const openingParen = maybeOpeningParen; const closingParen = sourceCode.getTokenBefore(node.body, astUtils.isClosingParenToken); parameterParens.add(openingParen); parameterParens.add(closingParen); addElementListIndent(node.params, openingParen, closingParen, options.FunctionExpression.parameters); } + addBlocklessNodeIndent(node.body); }, diff --git a/tools/node_modules/eslint/lib/rules/key-spacing.js b/tools/node_modules/eslint/lib/rules/key-spacing.js index 57abb00b06e8a4..fc885a117a1ea9 100644 --- a/tools/node_modules/eslint/lib/rules/key-spacing.js +++ b/tools/node_modules/eslint/lib/rules/key-spacing.js @@ -433,11 +433,15 @@ module.exports = { tokenBeforeColon = sourceCode.getTokenBefore(nextColon, { includeComments: true }), tokenAfterColon = sourceCode.getTokenAfter(nextColon, { includeComments: true }), isKeySide = side === "key", - locStart = isKeySide ? tokenBeforeColon.loc.start : tokenAfterColon.loc.start, isExtra = diff > 0, diffAbs = Math.abs(diff), spaces = Array(diffAbs + 1).join(" "); + const locStart = isKeySide ? tokenBeforeColon.loc.end : nextColon.loc.start; + const locEnd = isKeySide ? nextColon.loc.start : tokenAfterColon.loc.start; + const missingLoc = isKeySide ? tokenBeforeColon.loc : tokenAfterColon.loc; + const loc = isExtra ? { start: locStart, end: locEnd } : missingLoc; + if (( diff && mode === "strict" || diff < 0 && mode === "minimum" || @@ -482,7 +486,7 @@ module.exports = { context.report({ node: property[side], - loc: locStart, + loc, messageId, data: { computed: property.computed ? "computed " : "", diff --git a/tools/node_modules/eslint/lib/rules/max-lines.js b/tools/node_modules/eslint/lib/rules/max-lines.js index a9a793f1dedded..0c7e761fa613b4 100644 --- a/tools/node_modules/eslint/lib/rules/max-lines.js +++ b/tools/node_modules/eslint/lib/rules/max-lines.js @@ -53,7 +53,8 @@ module.exports = { } ], messages: { - exceed: "File has too many lines ({{actual}}). Maximum allowed is {{max}}." + exceed: + "File has too many lines ({{actual}}). Maximum allowed is {{max}}." } }, @@ -61,7 +62,10 @@ module.exports = { const option = context.options[0]; let max = 300; - if (typeof option === "object" && Object.prototype.hasOwnProperty.call(option, "max")) { + if ( + typeof option === "object" && + Object.prototype.hasOwnProperty.call(option, "max") + ) { max = option.max; } else if (typeof option === "number") { max = option; @@ -94,7 +98,9 @@ module.exports = { token = comment; do { - token = sourceCode.getTokenBefore(token, { includeComments: true }); + token = sourceCode.getTokenBefore(token, { + includeComments: true + }); } while (isCommentNodeType(token)); if (token && astUtils.isTokenOnSameLine(token, comment)) { @@ -103,7 +109,9 @@ module.exports = { token = comment; do { - token = sourceCode.getTokenAfter(token, { includeComments: true }); + token = sourceCode.getTokenAfter(token, { + includeComments: true + }); } while (isCommentNodeType(token)); if (token && astUtils.isTokenOnSameLine(comment, token)) { @@ -118,7 +126,10 @@ module.exports = { return { "Program:exit"() { - let lines = sourceCode.lines.map((text, i) => ({ lineNumber: i + 1, text })); + let lines = sourceCode.lines.map((text, i) => ({ + lineNumber: i + 1, + text + })); /* * If file ends with a linebreak, `sourceCode.lines` will have one extra empty line at the end. @@ -135,14 +146,29 @@ module.exports = { if (skipComments) { const comments = sourceCode.getAllComments(); - const commentLines = lodash.flatten(comments.map(comment => getLinesWithoutCode(comment))); + const commentLines = lodash.flatten( + comments.map(comment => getLinesWithoutCode(comment)) + ); - lines = lines.filter(l => !lodash.includes(commentLines, l.lineNumber)); + lines = lines.filter( + l => !lodash.includes(commentLines, l.lineNumber) + ); } if (lines.length > max) { + const loc = { + start: { + line: lines[max].lineNumber, + column: 0 + }, + end: { + line: sourceCode.lines.length, + column: lodash.last(sourceCode.lines).length + } + }; + context.report({ - loc: { line: 1, column: 0 }, + loc, messageId: "exceed", data: { max, diff --git a/tools/node_modules/eslint/lib/rules/no-constant-condition.js b/tools/node_modules/eslint/lib/rules/no-constant-condition.js index 790d5ea88111b7..7d324634244cb9 100644 --- a/tools/node_modules/eslint/lib/rules/no-constant-condition.js +++ b/tools/node_modules/eslint/lib/rules/no-constant-condition.js @@ -147,12 +147,18 @@ module.exports = { } case "UnaryExpression": - if (node.operator === "void") { + if ( + node.operator === "void" || + node.operator === "typeof" && inBooleanPosition + ) { return true; } - return (node.operator === "typeof" && inBooleanPosition) || - isConstant(node.argument, true); + if (node.operator === "!") { + return isConstant(node.argument, true); + } + + return isConstant(node.argument, false); case "BinaryExpression": return isConstant(node.left, false) && diff --git a/tools/node_modules/eslint/lib/rules/no-extra-parens.js b/tools/node_modules/eslint/lib/rules/no-extra-parens.js index a7b2f79043df1f..8d358d23ad3b50 100644 --- a/tools/node_modules/eslint/lib/rules/no-extra-parens.js +++ b/tools/node_modules/eslint/lib/rules/no-extra-parens.js @@ -472,20 +472,34 @@ module.exports = { const callee = node.callee; if (hasExcessParensWithPrecedence(callee, precedence(node))) { - const hasNewParensException = callee.type === "NewExpression" && !isNewExpressionWithParens(callee); - if ( hasDoubleExcessParens(callee) || - !isIIFE(node) && - !hasNewParensException && !( - - // Allow extra parens around a new expression if they are intervening parentheses. - node.type === "NewExpression" && - callee.type === "MemberExpression" && - doesMemberExpressionContainCallExpression(callee) - ) && - !(!node.optional && callee.type === "ChainExpression") + isIIFE(node) || + + // (new A)(); new (new A)(); + ( + callee.type === "NewExpression" && + !isNewExpressionWithParens(callee) && + !( + node.type === "NewExpression" && + !isNewExpressionWithParens(node) + ) + ) || + + // new (a().b)(); new (a.b().c); + ( + node.type === "NewExpression" && + callee.type === "MemberExpression" && + doesMemberExpressionContainCallExpression(callee) + ) || + + // (a?.b)(); (a?.())(); + ( + !node.optional && + callee.type === "ChainExpression" + ) + ) ) { report(node.callee); } @@ -511,7 +525,7 @@ module.exports = { if (!shouldSkipLeft && hasExcessParens(node.left)) { if ( - !(node.left.type === "UnaryExpression" && isExponentiation) && + !(["AwaitExpression", "UnaryExpression"].includes(node.left.type) && isExponentiation) && !astUtils.isMixedLogicalAndCoalesceExpressions(node.left, node) && (leftPrecedence > prec || (leftPrecedence === prec && !isExponentiation)) || isParenthesisedTwice(node.left) @@ -723,6 +737,20 @@ module.exports = { reportsBuffer.reports = reportsBuffer.reports.filter(r => r.node !== node); } + /** + * Checks whether a node is a MemberExpression at NewExpression's callee. + * @param {ASTNode} node node to check. + * @returns {boolean} True if the node is a MemberExpression at NewExpression's callee. false otherwise. + */ + function isMemberExpInNewCallee(node) { + if (node.type === "MemberExpression") { + return node.parent.type === "NewExpression" && node.parent.callee === node + ? true + : node.parent.object === node && isMemberExpInNewCallee(node.parent); + } + return false; + } + return { ArrayExpression(node) { node.elements @@ -963,7 +991,11 @@ module.exports = { LogicalExpression: checkBinaryLogical, MemberExpression(node) { - const nodeObjHasExcessParens = hasExcessParens(node.object) && + const shouldAllowWrapOnce = isMemberExpInNewCallee(node) && + doesMemberExpressionContainCallExpression(node); + const nodeObjHasExcessParens = shouldAllowWrapOnce + ? hasDoubleExcessParens(node.object) + : hasExcessParens(node.object) && !( isImmediateFunctionPrototypeMethodCall(node.parent) && node.parent.callee === node && @@ -987,8 +1019,8 @@ module.exports = { } if (nodeObjHasExcessParens && - node.object.type === "CallExpression" && - node.parent.type !== "NewExpression") { + node.object.type === "CallExpression" + ) { report(node.object); } diff --git a/tools/node_modules/eslint/lib/rules/no-promise-executor-return.js b/tools/node_modules/eslint/lib/rules/no-promise-executor-return.js new file mode 100644 index 00000000000000..32ee6e15124b8e --- /dev/null +++ b/tools/node_modules/eslint/lib/rules/no-promise-executor-return.js @@ -0,0 +1,121 @@ +/** + * @fileoverview Rule to disallow returning values from Promise executor functions + * @author Milos Djermanovic + */ + +"use strict"; + +//------------------------------------------------------------------------------ +// Requirements +//------------------------------------------------------------------------------ + +const { findVariable } = require("eslint-utils"); + +//------------------------------------------------------------------------------ +// Helpers +//------------------------------------------------------------------------------ + +const functionTypesToCheck = new Set(["ArrowFunctionExpression", "FunctionExpression"]); + +/** + * Determines whether the given identifier node is a reference to a global variable. + * @param {ASTNode} node `Identifier` node to check. + * @param {Scope} scope Scope to which the node belongs. + * @returns {boolean} True if the identifier is a reference to a global variable. + */ +function isGlobalReference(node, scope) { + const variable = findVariable(scope, node); + + return variable !== null && variable.scope.type === "global" && variable.defs.length === 0; +} + +/** + * Finds function's outer scope. + * @param {Scope} scope Function's own scope. + * @returns {Scope} Function's outer scope. + */ +function getOuterScope(scope) { + const upper = scope.upper; + + if (upper.type === "function-expression-name") { + return upper.upper; + } + return upper; +} + +/** + * Determines whether the given function node is used as a Promise executor. + * @param {ASTNode} node The node to check. + * @param {Scope} scope Function's own scope. + * @returns {boolean} `true` if the node is a Promise executor. + */ +function isPromiseExecutor(node, scope) { + const parent = node.parent; + + return parent.type === "NewExpression" && + parent.arguments[0] === node && + parent.callee.type === "Identifier" && + parent.callee.name === "Promise" && + isGlobalReference(parent.callee, getOuterScope(scope)); +} + +//------------------------------------------------------------------------------ +// Rule Definition +//------------------------------------------------------------------------------ + +module.exports = { + meta: { + type: "problem", + + docs: { + description: "disallow returning values from Promise executor functions", + category: "Possible Errors", + recommended: false, + url: "https://eslint.org/docs/rules/no-promise-executor-return" + }, + + schema: [], + + messages: { + returnsValue: "Return values from promise executor functions cannot be read." + } + }, + + create(context) { + + let funcInfo = null; + + /** + * Reports the given node. + * @param {ASTNode} node Node to report. + * @returns {void} + */ + function report(node) { + context.report({ node, messageId: "returnsValue" }); + } + + return { + + onCodePathStart(_, node) { + funcInfo = { + upper: funcInfo, + shouldCheck: functionTypesToCheck.has(node.type) && isPromiseExecutor(node, context.getScope()) + }; + + if (funcInfo.shouldCheck && node.type === "ArrowFunctionExpression" && node.expression) { + report(node.body); + } + }, + + onCodePathEnd() { + funcInfo = funcInfo.upper; + }, + + ReturnStatement(node) { + if (funcInfo.shouldCheck && node.argument) { + report(node); + } + } + }; + } +}; diff --git a/tools/node_modules/eslint/lib/rules/no-underscore-dangle.js b/tools/node_modules/eslint/lib/rules/no-underscore-dangle.js index cac594e10047e8..87d2336fa4a40f 100644 --- a/tools/node_modules/eslint/lib/rules/no-underscore-dangle.js +++ b/tools/node_modules/eslint/lib/rules/no-underscore-dangle.js @@ -1,5 +1,5 @@ /** - * @fileoverview Rule to flag trailing underscores in variable declarations. + * @fileoverview Rule to flag dangling underscores in variable declarations. * @author Matt DuVall */ @@ -45,6 +45,10 @@ module.exports = { enforceInMethodNames: { type: "boolean", default: false + }, + allowFunctionParams: { + type: "boolean", + default: true } }, additionalProperties: false @@ -64,6 +68,7 @@ module.exports = { const allowAfterSuper = typeof options.allowAfterSuper !== "undefined" ? options.allowAfterSuper : false; const allowAfterThisConstructor = typeof options.allowAfterThisConstructor !== "undefined" ? options.allowAfterThisConstructor : false; const enforceInMethodNames = typeof options.enforceInMethodNames !== "undefined" ? options.enforceInMethodNames : false; + const allowFunctionParams = typeof options.allowFunctionParams !== "undefined" ? options.allowFunctionParams : true; //------------------------------------------------------------------------- // Helpers @@ -80,12 +85,12 @@ module.exports = { } /** - * Check if identifier has a underscore at the end + * Check if identifier has a dangling underscore * @param {string} identifier name of the node * @returns {boolean} true if its is present * @private */ - function hasTrailingUnderscore(identifier) { + function hasDanglingUnderscore(identifier) { const len = identifier.length; return identifier !== "_" && (identifier[0] === "_" || identifier[len - 1] === "_"); @@ -126,16 +131,53 @@ module.exports = { } /** - * Check if function has a underscore at the end + * Check if function parameter has a dangling underscore. + * @param {ASTNode} node function node to evaluate + * @returns {void} + * @private + */ + function checkForDanglingUnderscoreInFunctionParameters(node) { + if (!allowFunctionParams) { + node.params.forEach(param => { + const { type } = param; + let nodeToCheck; + + if (type === "RestElement") { + nodeToCheck = param.argument; + } else if (type === "AssignmentPattern") { + nodeToCheck = param.left; + } else { + nodeToCheck = param; + } + + if (nodeToCheck.type === "Identifier") { + const identifier = nodeToCheck.name; + + if (hasDanglingUnderscore(identifier) && !isAllowed(identifier)) { + context.report({ + node: param, + messageId: "unexpectedUnderscore", + data: { + identifier + } + }); + } + } + }); + } + } + + /** + * Check if function has a dangling underscore * @param {ASTNode} node node to evaluate * @returns {void} * @private */ - function checkForTrailingUnderscoreInFunctionDeclaration(node) { - if (node.id) { + function checkForDanglingUnderscoreInFunction(node) { + if (node.type === "FunctionDeclaration" && node.id) { const identifier = node.id.name; - if (typeof identifier !== "undefined" && hasTrailingUnderscore(identifier) && !isAllowed(identifier)) { + if (typeof identifier !== "undefined" && hasDanglingUnderscore(identifier) && !isAllowed(identifier)) { context.report({ node, messageId: "unexpectedUnderscore", @@ -145,18 +187,19 @@ module.exports = { }); } } + checkForDanglingUnderscoreInFunctionParameters(node); } /** - * Check if variable expression has a underscore at the end + * Check if variable expression has a dangling underscore * @param {ASTNode} node node to evaluate * @returns {void} * @private */ - function checkForTrailingUnderscoreInVariableExpression(node) { + function checkForDanglingUnderscoreInVariableExpression(node) { const identifier = node.id.name; - if (typeof identifier !== "undefined" && hasTrailingUnderscore(identifier) && + if (typeof identifier !== "undefined" && hasDanglingUnderscore(identifier) && !isSpecialCaseIdentifierInVariableExpression(identifier) && !isAllowed(identifier)) { context.report({ node, @@ -169,18 +212,18 @@ module.exports = { } /** - * Check if member expression has a underscore at the end + * Check if member expression has a dangling underscore * @param {ASTNode} node node to evaluate * @returns {void} * @private */ - function checkForTrailingUnderscoreInMemberExpression(node) { + function checkForDanglingUnderscoreInMemberExpression(node) { const identifier = node.property.name, isMemberOfThis = node.object.type === "ThisExpression", isMemberOfSuper = node.object.type === "Super", isMemberOfThisConstructor = isThisConstructorReference(node); - if (typeof identifier !== "undefined" && hasTrailingUnderscore(identifier) && + if (typeof identifier !== "undefined" && hasDanglingUnderscore(identifier) && !(isMemberOfThis && allowAfterThis) && !(isMemberOfSuper && allowAfterSuper) && !(isMemberOfThisConstructor && allowAfterThisConstructor) && @@ -196,16 +239,16 @@ module.exports = { } /** - * Check if method declaration or method property has a underscore at the end + * Check if method declaration or method property has a dangling underscore * @param {ASTNode} node node to evaluate * @returns {void} * @private */ - function checkForTrailingUnderscoreInMethod(node) { + function checkForDanglingUnderscoreInMethod(node) { const identifier = node.key.name; const isMethod = node.type === "MethodDefinition" || node.type === "Property" && node.method; - if (typeof identifier !== "undefined" && enforceInMethodNames && isMethod && hasTrailingUnderscore(identifier) && !isAllowed(identifier)) { + if (typeof identifier !== "undefined" && enforceInMethodNames && isMethod && hasDanglingUnderscore(identifier) && !isAllowed(identifier)) { context.report({ node, messageId: "unexpectedUnderscore", @@ -221,11 +264,13 @@ module.exports = { //-------------------------------------------------------------------------- return { - FunctionDeclaration: checkForTrailingUnderscoreInFunctionDeclaration, - VariableDeclarator: checkForTrailingUnderscoreInVariableExpression, - MemberExpression: checkForTrailingUnderscoreInMemberExpression, - MethodDefinition: checkForTrailingUnderscoreInMethod, - Property: checkForTrailingUnderscoreInMethod + FunctionDeclaration: checkForDanglingUnderscoreInFunction, + VariableDeclarator: checkForDanglingUnderscoreInVariableExpression, + MemberExpression: checkForDanglingUnderscoreInMemberExpression, + MethodDefinition: checkForDanglingUnderscoreInMethod, + Property: checkForDanglingUnderscoreInMethod, + FunctionExpression: checkForDanglingUnderscoreInFunction, + ArrowFunctionExpression: checkForDanglingUnderscoreInFunction }; } diff --git a/tools/node_modules/eslint/lib/rules/no-unreachable-loop.js b/tools/node_modules/eslint/lib/rules/no-unreachable-loop.js new file mode 100644 index 00000000000000..868a6ff98f8114 --- /dev/null +++ b/tools/node_modules/eslint/lib/rules/no-unreachable-loop.js @@ -0,0 +1,150 @@ +/** + * @fileoverview Rule to disallow loops with a body that allows only one iteration + * @author Milos Djermanovic + */ + +"use strict"; + +//------------------------------------------------------------------------------ +// Helpers +//------------------------------------------------------------------------------ + +const allLoopTypes = ["WhileStatement", "DoWhileStatement", "ForStatement", "ForInStatement", "ForOfStatement"]; + +/** + * Determines whether the given node is the first node in the code path to which a loop statement + * 'loops' for the next iteration. + * @param {ASTNode} node The node to check. + * @returns {boolean} `true` if the node is a looping target. + */ +function isLoopingTarget(node) { + const parent = node.parent; + + if (parent) { + switch (parent.type) { + case "WhileStatement": + return node === parent.test; + case "DoWhileStatement": + return node === parent.body; + case "ForStatement": + return node === (parent.update || parent.test || parent.body); + case "ForInStatement": + case "ForOfStatement": + return node === parent.left; + + // no default + } + } + + return false; +} + +/** + * Creates an array with elements from the first given array that are not included in the second given array. + * @param {Array} arrA The array to compare from. + * @param {Array} arrB The array to compare against. + * @returns {Array} a new array that represents `arrA \ arrB`. + */ +function getDifference(arrA, arrB) { + return arrA.filter(a => !arrB.includes(a)); +} + +//------------------------------------------------------------------------------ +// Rule Definition +//------------------------------------------------------------------------------ + +module.exports = { + meta: { + type: "problem", + + docs: { + description: "disallow loops with a body that allows only one iteration", + category: "Possible Errors", + recommended: false, + url: "https://eslint.org/docs/rules/no-unreachable-loop" + }, + + schema: [{ + type: "object", + properties: { + ignore: { + type: "array", + items: { + enum: allLoopTypes + }, + uniqueItems: true + } + }, + additionalProperties: false + }], + + messages: { + invalid: "Invalid loop. Its body allows only one iteration." + } + }, + + create(context) { + const ignoredLoopTypes = context.options[0] && context.options[0].ignore || [], + loopTypesToCheck = getDifference(allLoopTypes, ignoredLoopTypes), + loopSelector = loopTypesToCheck.join(","), + loopsByTargetSegments = new Map(), + loopsToReport = new Set(); + + let currentCodePath = null; + + return { + onCodePathStart(codePath) { + currentCodePath = codePath; + }, + + onCodePathEnd() { + currentCodePath = currentCodePath.upper; + }, + + [loopSelector](node) { + + /** + * Ignore unreachable loop statements to avoid unnecessary complexity in the implementation, or false positives otherwise. + * For unreachable segments, the code path analysis does not raise events required for this implementation. + */ + if (currentCodePath.currentSegments.some(segment => segment.reachable)) { + loopsToReport.add(node); + } + }, + + onCodePathSegmentStart(segment, node) { + if (isLoopingTarget(node)) { + const loop = node.parent; + + loopsByTargetSegments.set(segment, loop); + } + }, + + onCodePathSegmentLoop(_, toSegment, node) { + const loop = loopsByTargetSegments.get(toSegment); + + /** + * The second iteration is reachable, meaning that the loop is valid by the logic of this rule, + * only if there is at least one loop event with the appropriate target (which has been already + * determined in the `loopsByTargetSegments` map), raised from either: + * + * - the end of the loop's body (in which case `node === loop`) + * - a `continue` statement + * + * This condition skips loop events raised from `ForInStatement > .right` and `ForOfStatement > .right` nodes. + */ + if (node === loop || node.type === "ContinueStatement") { + + // Removes loop if it exists in the set. Otherwise, `Set#delete` has no effect and doesn't throw. + loopsToReport.delete(loop); + } + }, + + "Program:exit"() { + loopsToReport.forEach( + node => context.report({ node, messageId: "invalid" }) + ); + } + }; + } +}; diff --git a/tools/node_modules/eslint/lib/rules/no-unused-vars.js b/tools/node_modules/eslint/lib/rules/no-unused-vars.js index 50dcab45fe2bb6..4dc6dc2bab34bc 100644 --- a/tools/node_modules/eslint/lib/rules/no-unused-vars.js +++ b/tools/node_modules/eslint/lib/rules/no-unused-vars.js @@ -68,7 +68,8 @@ module.exports = { caughtErrorsIgnorePattern: { type: "string" } - } + }, + additionalProperties: false } ] } diff --git a/tools/node_modules/eslint/lib/rules/object-property-newline.js b/tools/node_modules/eslint/lib/rules/object-property-newline.js index 074bc775ae35a3..0c7f800282e57a 100644 --- a/tools/node_modules/eslint/lib/rules/object-property-newline.js +++ b/tools/node_modules/eslint/lib/rules/object-property-newline.js @@ -77,7 +77,7 @@ module.exports = { if (lastTokenOfPreviousProperty.loc.end.line === firstTokenOfCurrentProperty.loc.start.line) { context.report({ node, - loc: firstTokenOfCurrentProperty.loc.start, + loc: firstTokenOfCurrentProperty.loc, messageId, fix(fixer) { const comma = sourceCode.getTokenBefore(firstTokenOfCurrentProperty); diff --git a/tools/node_modules/eslint/lib/rules/operator-linebreak.js b/tools/node_modules/eslint/lib/rules/operator-linebreak.js index 3395feae655f64..18da5c55b4a4fe 100644 --- a/tools/node_modules/eslint/lib/rules/operator-linebreak.js +++ b/tools/node_modules/eslint/lib/rules/operator-linebreak.js @@ -35,11 +35,8 @@ module.exports = { properties: { overrides: { type: "object", - properties: { - anyOf: { - type: "string", - enum: ["after", "before", "none", "ignore"] - } + additionalProperties: { + enum: ["after", "before", "none", "ignore"] } } }, diff --git a/tools/node_modules/eslint/lib/rules/padded-blocks.js b/tools/node_modules/eslint/lib/rules/padded-blocks.js index fa65eae4e0222d..f8b5bd977778f3 100644 --- a/tools/node_modules/eslint/lib/rules/padded-blocks.js +++ b/tools/node_modules/eslint/lib/rules/padded-blocks.js @@ -58,7 +58,8 @@ module.exports = { allowSingleLineBlocks: { type: "boolean" } - } + }, + additionalProperties: false } ], diff --git a/tools/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js b/tools/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js index d1a00d6209ef02..6121af889710b5 100644 --- a/tools/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +++ b/tools/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js @@ -30,6 +30,7 @@ function doesBaseNeedParens(base) { astUtils.getPrecedence(base) <= PRECEDENCE_OF_EXPONENTIATION_EXPR || // An unary operator cannot be used immediately before an exponentiation expression + base.type === "AwaitExpression" || base.type === "UnaryExpression" ); } diff --git a/tools/node_modules/eslint/lib/rules/prefer-regex-literals.js b/tools/node_modules/eslint/lib/rules/prefer-regex-literals.js index d9b3b45776a489..9e8ce02354701f 100644 --- a/tools/node_modules/eslint/lib/rules/prefer-regex-literals.js +++ b/tools/node_modules/eslint/lib/rules/prefer-regex-literals.js @@ -25,6 +25,15 @@ function isStringLiteral(node) { return node.type === "Literal" && typeof node.value === "string"; } +/** + * Determines whether the given node is a regex literal. + * @param {ASTNode} node Node to check. + * @returns {boolean} True if the node is a regex literal. + */ +function isRegexLiteral(node) { + return node.type === "Literal" && Object.prototype.hasOwnProperty.call(node, "regex"); +} + /** * Determines whether the given node is a template literal without expressions. * @param {ASTNode} node Node to check. @@ -50,14 +59,28 @@ module.exports = { url: "https://eslint.org/docs/rules/prefer-regex-literals" }, - schema: [], + schema: [ + { + type: "object", + properties: { + disallowRedundantWrapping: { + type: "boolean", + default: false + } + }, + additionalProperties: false + } + ], messages: { - unexpectedRegExp: "Use a regular expression literal instead of the 'RegExp' constructor." + unexpectedRegExp: "Use a regular expression literal instead of the 'RegExp' constructor.", + unexpectedRedundantRegExp: "Regular expression literal is unnecessarily wrapped within a 'RegExp' constructor.", + unexpectedRedundantRegExpWithFlags: "Use regular expression literal with flags instead of the 'RegExp' constructor." } }, create(context) { + const [{ disallowRedundantWrapping = false } = {}] = context.options; /** * Determines whether the given identifier node is a reference to a global variable. @@ -95,6 +118,40 @@ module.exports = { isStringRawTaggedStaticTemplateLiteral(node); } + /** + * Determines whether the relevant arguments of the given are all static string literals. + * @param {ASTNode} node Node to check. + * @returns {boolean} True if all arguments are static strings. + */ + function hasOnlyStaticStringArguments(node) { + const args = node.arguments; + + if ((args.length === 1 || args.length === 2) && args.every(isStaticString)) { + return true; + } + + return false; + } + + /** + * Determines whether the arguments of the given node indicate that a regex literal is unnecessarily wrapped. + * @param {ASTNode} node Node to check. + * @returns {boolean} True if the node already contains a regex literal argument. + */ + function isUnnecessarilyWrappedRegexLiteral(node) { + const args = node.arguments; + + if (args.length === 1 && isRegexLiteral(args[0])) { + return true; + } + + if (args.length === 2 && isRegexLiteral(args[0]) && isStaticString(args[1])) { + return true; + } + + return false; + } + return { Program() { const scope = context.getScope(); @@ -107,12 +164,13 @@ module.exports = { }; for (const { node } of tracker.iterateGlobalReferences(traceMap)) { - const args = node.arguments; - - if ( - (args.length === 1 || args.length === 2) && - args.every(isStaticString) - ) { + if (disallowRedundantWrapping && isUnnecessarilyWrappedRegexLiteral(node)) { + if (node.arguments.length === 2) { + context.report({ node, messageId: "unexpectedRedundantRegExpWithFlags" }); + } else { + context.report({ node, messageId: "unexpectedRedundantRegExp" }); + } + } else if (hasOnlyStaticStringArguments(node)) { context.report({ node, messageId: "unexpectedRegExp" }); } } diff --git a/tools/node_modules/eslint/lib/rules/require-atomic-updates.js b/tools/node_modules/eslint/lib/rules/require-atomic-updates.js index 4f6acceab804d1..c552f1bd8258b8 100644 --- a/tools/node_modules/eslint/lib/rules/require-atomic-updates.js +++ b/tools/node_modules/eslint/lib/rules/require-atomic-updates.js @@ -113,6 +113,9 @@ class SegmentInfo { if (info) { info.freshReadVariableNames.add(variableName); + + // If a variable is freshly read again, then it's no more out-dated. + info.outdatedReadVariableNames.delete(variableName); } } } diff --git a/tools/node_modules/eslint/lib/rules/semi-spacing.js b/tools/node_modules/eslint/lib/rules/semi-spacing.js index 936e7661ef4fb3..5c546f2902870e 100644 --- a/tools/node_modules/eslint/lib/rules/semi-spacing.js +++ b/tools/node_modules/eslint/lib/rules/semi-spacing.js @@ -223,6 +223,7 @@ module.exports = { BreakStatement: checkNode, ContinueStatement: checkNode, DebuggerStatement: checkNode, + DoWhileStatement: checkNode, ReturnStatement: checkNode, ThrowStatement: checkNode, ImportDeclaration: checkNode, diff --git a/tools/node_modules/eslint/node_modules/@babel/code-frame/README.md b/tools/node_modules/eslint/node_modules/@babel/code-frame/README.md index 185f93d2471999..08cacb0477fb94 100644 --- a/tools/node_modules/eslint/node_modules/@babel/code-frame/README.md +++ b/tools/node_modules/eslint/node_modules/@babel/code-frame/README.md @@ -2,7 +2,7 @@ > Generate errors that contain a code frame that point to source locations. -See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information. +See our website [@babel/code-frame](https://babeljs.io/docs/en/babel-code-frame) for more information. ## Install diff --git a/tools/node_modules/eslint/node_modules/@babel/code-frame/lib/index.js b/tools/node_modules/eslint/node_modules/@babel/code-frame/lib/index.js index 2dd96e5758c777..28d86f7bc1cc8a 100644 --- a/tools/node_modules/eslint/node_modules/@babel/code-frame/lib/index.js +++ b/tools/node_modules/eslint/node_modules/@babel/code-frame/lib/index.js @@ -29,7 +29,7 @@ function getMarkerLines(loc, source, opts) { column: 0, line: -1 }, loc.start); - const endLoc = Object.assign(Object.assign({}, startLoc), loc.end); + const endLoc = Object.assign({}, startLoc, loc.end); const { linesAbove = 2, linesBelow = 3 diff --git a/tools/node_modules/eslint/node_modules/@babel/code-frame/package.json b/tools/node_modules/eslint/node_modules/@babel/code-frame/package.json index 05e388a3549712..213c1916a9ec81 100644 --- a/tools/node_modules/eslint/node_modules/@babel/code-frame/package.json +++ b/tools/node_modules/eslint/node_modules/@babel/code-frame/package.json @@ -8,15 +8,15 @@ }, "bundleDependencies": false, "dependencies": { - "@babel/highlight": "^7.10.1" + "@babel/highlight": "^7.10.4" }, "deprecated": false, "description": "Generate errors that contain a code frame that point to source locations.", "devDependencies": { + "@types/chalk": "^2.0.0", "chalk": "^2.0.0", "strip-ansi": "^4.0.0" }, - "gitHead": "88f57a7ea659d25232bf62de1efceb5d6299b8cf", "homepage": "https://babeljs.io/", "license": "MIT", "main": "lib/index.js", @@ -29,5 +29,5 @@ "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-code-frame" }, - "version": "7.10.1" + "version": "7.12.11" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/README.md b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/README.md index ab2dad173149e8..6733576a8ce76b 100644 --- a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/README.md +++ b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/README.md @@ -2,7 +2,7 @@ > Validate identifier/keywords name -See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/next/babel-helper-validator-identifier.html) for more information. +See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/babel-helper-validator-identifier) for more information. ## Install diff --git a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/package.json b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/package.json index 7ca0be602c99a6..e70625729dd6c3 100644 --- a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/package.json +++ b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/package.json @@ -10,7 +10,6 @@ "unicode-13.0.0": "^0.8.0" }, "exports": "./lib/index.js", - "gitHead": "88f57a7ea659d25232bf62de1efceb5d6299b8cf", "homepage": "https://github.com/babel/babel#readme", "license": "MIT", "main": "./lib/index.js", @@ -23,5 +22,5 @@ "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-helper-validator-identifier" }, - "version": "7.10.1" + "version": "7.12.11" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js index e0f5b1656b97de..70b371508bdb1b 100644 --- a/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +++ b/tools/node_modules/eslint/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js @@ -6,14 +6,14 @@ const version = "13.0.0"; const start = require("unicode-" + version + - "/Binary_Property/ID_Start/code-points.js").filter(function(ch) { + "/Binary_Property/ID_Start/code-points.js").filter(function (ch) { return ch > 0x7f; }); let last = -1; const cont = [0x200c, 0x200d].concat( require("unicode-" + version + - "/Binary_Property/ID_Continue/code-points.js").filter(function(ch) { + "/Binary_Property/ID_Continue/code-points.js").filter(function (ch) { return ch > 0x7f && search(start, ch, last + 1) == -1; }) ); diff --git a/tools/node_modules/eslint/node_modules/@babel/highlight/package.json b/tools/node_modules/eslint/node_modules/@babel/highlight/package.json index 1899d79a7f0fc2..f126bb84aadcc8 100644 --- a/tools/node_modules/eslint/node_modules/@babel/highlight/package.json +++ b/tools/node_modules/eslint/node_modules/@babel/highlight/package.json @@ -8,7 +8,7 @@ }, "bundleDependencies": false, "dependencies": { - "@babel/helper-validator-identifier": "^7.10.1", + "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -17,7 +17,7 @@ "devDependencies": { "strip-ansi": "^4.0.0" }, - "gitHead": "88f57a7ea659d25232bf62de1efceb5d6299b8cf", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", "homepage": "https://babeljs.io/", "license": "MIT", "main": "lib/index.js", @@ -30,5 +30,5 @@ "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-highlight" }, - "version": "7.10.1" + "version": "7.10.4" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/acorn/LICENSE b/tools/node_modules/eslint/node_modules/acorn/LICENSE index 2c0632b6a7c63b..cc5272c966db45 100644 --- a/tools/node_modules/eslint/node_modules/acorn/LICENSE +++ b/tools/node_modules/eslint/node_modules/acorn/LICENSE @@ -1,3 +1,5 @@ +MIT License + Copyright (C) 2012-2018 by various contributors (see AUTHORS) Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/tools/node_modules/eslint/node_modules/acorn/README.md b/tools/node_modules/eslint/node_modules/acorn/README.md index 585f2736fc05b5..52d2e9b71c51d6 100644 --- a/tools/node_modules/eslint/node_modules/acorn/README.md +++ b/tools/node_modules/eslint/node_modules/acorn/README.md @@ -266,5 +266,4 @@ Plugins for ECMAScript proposals: - [`acorn-stage3`](https://github.com/acornjs/acorn-stage3): Parse most stage 3 proposals, bundling: - [`acorn-class-fields`](https://github.com/acornjs/acorn-class-fields): Parse [class fields proposal](https://github.com/tc39/proposal-class-fields) - [`acorn-import-meta`](https://github.com/acornjs/acorn-import-meta): Parse [import.meta proposal](https://github.com/tc39/proposal-import-meta) - - [`acorn-numeric-separator`](https://github.com/acornjs/acorn-numeric-separator): Parse [numeric separator proposal](https://github.com/tc39/proposal-numeric-separator) - [`acorn-private-methods`](https://github.com/acornjs/acorn-private-methods): parse [private methods, getters and setters proposal](https://github.com/tc39/proposal-private-methods)n diff --git a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js index d204f2669fd275..0523f0e3485d01 100644 --- a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js +++ b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.js @@ -166,6 +166,7 @@ colon: new TokenType(":", beforeExpr), dot: new TokenType("."), question: new TokenType("?", beforeExpr), + questionDot: new TokenType("?."), arrow: new TokenType("=>", beforeExpr), template: new TokenType("template"), invalidTemplate: new TokenType("invalidTemplate"), @@ -1705,6 +1706,10 @@ this.toAssignable(node.expression, isBinding, refDestructuringErrors); break + case "ChainExpression": + this.raiseRecoverable(node.start, "Optional chaining cannot appear in left-hand side"); + break + case "MemberExpression": if (!isBinding) { break } @@ -1835,6 +1840,10 @@ if (bindingType !== BIND_NONE && bindingType !== BIND_OUTSIDE) { this.declareName(expr.name, bindingType, expr.start); } break + case "ChainExpression": + this.raiseRecoverable(expr.start, "Optional chaining cannot appear in left-hand side"); + break + case "MemberExpression": if (bindingType) { this.raiseRecoverable(expr.start, "Binding member expression"); } break @@ -2132,21 +2141,40 @@ var maybeAsyncArrow = this.options.ecmaVersion >= 8 && base.type === "Identifier" && base.name === "async" && this.lastTokEnd === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && this.potentialArrowAt === base.start; + var optionalChained = false; + while (true) { - var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow); - if (element === base || element.type === "ArrowFunctionExpression") { return element } + var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained); + + if (element.optional) { optionalChained = true; } + if (element === base || element.type === "ArrowFunctionExpression") { + if (optionalChained) { + var chainNode = this.startNodeAt(startPos, startLoc); + chainNode.expression = element; + element = this.finishNode(chainNode, "ChainExpression"); + } + return element + } + base = element; } }; - pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArrow) { + pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained) { + var optionalSupported = this.options.ecmaVersion >= 11; + var optional = optionalSupported && this.eat(types.questionDot); + if (noCalls && optional) { this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions"); } + var computed = this.eat(types.bracketL); - if (computed || this.eat(types.dot)) { + if (computed || (optional && this.type !== types.parenL && this.type !== types.backQuote) || this.eat(types.dot)) { var node = this.startNodeAt(startPos, startLoc); node.object = base; node.property = computed ? this.parseExpression() : this.parseIdent(this.options.allowReserved !== "never"); node.computed = !!computed; if (computed) { this.expect(types.bracketR); } + if (optionalSupported) { + node.optional = optional; + } base = this.finishNode(node, "MemberExpression"); } else if (!noCalls && this.eat(types.parenL)) { var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos; @@ -2154,7 +2182,7 @@ this.awaitPos = 0; this.awaitIdentPos = 0; var exprList = this.parseExprList(types.parenR, this.options.ecmaVersion >= 8, false, refDestructuringErrors); - if (maybeAsyncArrow && !this.canInsertSemicolon() && this.eat(types.arrow)) { + if (maybeAsyncArrow && !optional && !this.canInsertSemicolon() && this.eat(types.arrow)) { this.checkPatternErrors(refDestructuringErrors, false); this.checkYieldAwaitInDefaultParams(); if (this.awaitIdentPos > 0) @@ -2171,8 +2199,14 @@ var node$1 = this.startNodeAt(startPos, startLoc); node$1.callee = base; node$1.arguments = exprList; + if (optionalSupported) { + node$1.optional = optional; + } base = this.finishNode(node$1, "CallExpression"); } else if (this.type === types.backQuote) { + if (optional || optionalChained) { + this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions"); + } var node$2 = this.startNodeAt(startPos, startLoc); node$2.tag = base; node$2.quasi = this.parseTemplate({isTagged: true}); @@ -2351,7 +2385,7 @@ var node = this.startNode(); node.value = value; node.raw = this.input.slice(this.start, this.end); - if (node.raw.charCodeAt(node.raw.length - 1) === 110) { node.bigint = node.raw.slice(0, -1); } + if (node.raw.charCodeAt(node.raw.length - 1) === 110) { node.bigint = node.raw.slice(0, -1).replace(/_/g, ""); } this.next(); return this.finishNode(node, "Literal") }; @@ -2603,7 +2637,7 @@ } else if (!isPattern && !containsEsc && this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" && (prop.key.name === "get" || prop.key.name === "set") && - (this.type !== types.comma && this.type !== types.braceR)) { + (this.type !== types.comma && this.type !== types.braceR && this.type !== types.eq)) { if (isGenerator || isAsync) { this.unexpected(); } prop.kind = prop.key.name; this.parsePropertyName(prop); @@ -4517,7 +4551,13 @@ pp$9.readToken_pipe_amp = function(code) { // '|&' var next = this.input.charCodeAt(this.pos + 1); - if (next === code) { return this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2) } + if (next === code) { + if (this.options.ecmaVersion >= 12) { + var next2 = this.input.charCodeAt(this.pos + 2); + if (next2 === 61) { return this.finishOp(types.assign, 3) } + } + return this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2) + } if (next === 61) { return this.finishOp(types.assign, 2) } return this.finishOp(code === 124 ? types.bitwiseOR : types.bitwiseAND, 1) }; @@ -4574,9 +4614,20 @@ }; pp$9.readToken_question = function() { // '?' - if (this.options.ecmaVersion >= 11) { + var ecmaVersion = this.options.ecmaVersion; + if (ecmaVersion >= 11) { var next = this.input.charCodeAt(this.pos + 1); - if (next === 63) { return this.finishOp(types.coalesce, 2) } + if (next === 46) { + var next2 = this.input.charCodeAt(this.pos + 2); + if (next2 < 48 || next2 > 57) { return this.finishOp(types.questionDot, 2) } + } + if (next === 63) { + if (ecmaVersion >= 12) { + var next2$1 = this.input.charCodeAt(this.pos + 2); + if (next2$1 === 61) { return this.finishOp(types.assign, 3) } + } + return this.finishOp(types.coalesce, 2) + } } return this.finishOp(types.question, 1) }; @@ -4705,30 +4756,67 @@ // were read, the integer value otherwise. When `len` is given, this // will return `null` unless the integer has exactly `len` digits. - pp$9.readInt = function(radix, len) { - var start = this.pos, total = 0; - for (var i = 0, e = len == null ? Infinity : len; i < e; ++i) { + pp$9.readInt = function(radix, len, maybeLegacyOctalNumericLiteral) { + // `len` is used for character escape sequences. In that case, disallow separators. + var allowSeparators = this.options.ecmaVersion >= 12 && len === undefined; + + // `maybeLegacyOctalNumericLiteral` is true if it doesn't have prefix (0x,0o,0b) + // and isn't fraction part nor exponent part. In that case, if the first digit + // is zero then disallow separators. + var isLegacyOctalNumericLiteral = maybeLegacyOctalNumericLiteral && this.input.charCodeAt(this.pos) === 48; + + var start = this.pos, total = 0, lastCode = 0; + for (var i = 0, e = len == null ? Infinity : len; i < e; ++i, ++this.pos) { var code = this.input.charCodeAt(this.pos), val = (void 0); + + if (allowSeparators && code === 95) { + if (isLegacyOctalNumericLiteral) { this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"); } + if (lastCode === 95) { this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"); } + if (i === 0) { this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"); } + lastCode = code; + continue + } + if (code >= 97) { val = code - 97 + 10; } // a else if (code >= 65) { val = code - 65 + 10; } // A else if (code >= 48 && code <= 57) { val = code - 48; } // 0-9 else { val = Infinity; } if (val >= radix) { break } - ++this.pos; + lastCode = code; total = total * radix + val; } + + if (allowSeparators && lastCode === 95) { this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"); } if (this.pos === start || len != null && this.pos - start !== len) { return null } return total }; + function stringToNumber(str, isLegacyOctalNumericLiteral) { + if (isLegacyOctalNumericLiteral) { + return parseInt(str, 8) + } + + // `parseFloat(value)` stops parsing at the first numeric separator then returns a wrong value. + return parseFloat(str.replace(/_/g, "")) + } + + function stringToBigInt(str) { + if (typeof BigInt !== "function") { + return null + } + + // `BigInt(value)` throws syntax error if the string contains numeric separators. + return BigInt(str.replace(/_/g, "")) + } + pp$9.readRadixNumber = function(radix) { var start = this.pos; this.pos += 2; // 0x var val = this.readInt(radix); if (val == null) { this.raise(this.start + 2, "Expected number in radix " + radix); } if (this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110) { - val = typeof BigInt !== "undefined" ? BigInt(this.input.slice(start, this.pos)) : null; + val = stringToBigInt(this.input.slice(start, this.pos)); ++this.pos; } else if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } return this.finishToken(types.num, val) @@ -4738,13 +4826,12 @@ pp$9.readNumber = function(startsWithDot) { var start = this.pos; - if (!startsWithDot && this.readInt(10) === null) { this.raise(start, "Invalid number"); } + if (!startsWithDot && this.readInt(10, undefined, true) === null) { this.raise(start, "Invalid number"); } var octal = this.pos - start >= 2 && this.input.charCodeAt(start) === 48; if (octal && this.strict) { this.raise(start, "Invalid number"); } var next = this.input.charCodeAt(this.pos); if (!octal && !startsWithDot && this.options.ecmaVersion >= 11 && next === 110) { - var str$1 = this.input.slice(start, this.pos); - var val$1 = typeof BigInt !== "undefined" ? BigInt(str$1) : null; + var val$1 = stringToBigInt(this.input.slice(start, this.pos)); ++this.pos; if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } return this.finishToken(types.num, val$1) @@ -4762,8 +4849,7 @@ } if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } - var str = this.input.slice(start, this.pos); - var val = octal ? parseInt(str, 8) : parseFloat(str); + var val = stringToNumber(this.input.slice(start, this.pos), octal); return this.finishToken(types.num, val) }; diff --git a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.mjs b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.mjs index b7f19d35fe7517..2b31a70a2b6884 100644 --- a/tools/node_modules/eslint/node_modules/acorn/dist/acorn.mjs +++ b/tools/node_modules/eslint/node_modules/acorn/dist/acorn.mjs @@ -160,6 +160,7 @@ var types = { colon: new TokenType(":", beforeExpr), dot: new TokenType("."), question: new TokenType("?", beforeExpr), + questionDot: new TokenType("?."), arrow: new TokenType("=>", beforeExpr), template: new TokenType("template"), invalidTemplate: new TokenType("invalidTemplate"), @@ -1699,6 +1700,10 @@ pp$2.toAssignable = function(node, isBinding, refDestructuringErrors) { this.toAssignable(node.expression, isBinding, refDestructuringErrors); break + case "ChainExpression": + this.raiseRecoverable(node.start, "Optional chaining cannot appear in left-hand side"); + break + case "MemberExpression": if (!isBinding) { break } @@ -1829,6 +1834,10 @@ pp$2.checkLVal = function(expr, bindingType, checkClashes) { if (bindingType !== BIND_NONE && bindingType !== BIND_OUTSIDE) { this.declareName(expr.name, bindingType, expr.start); } break + case "ChainExpression": + this.raiseRecoverable(expr.start, "Optional chaining cannot appear in left-hand side"); + break + case "MemberExpression": if (bindingType) { this.raiseRecoverable(expr.start, "Binding member expression"); } break @@ -2126,21 +2135,40 @@ pp$3.parseSubscripts = function(base, startPos, startLoc, noCalls) { var maybeAsyncArrow = this.options.ecmaVersion >= 8 && base.type === "Identifier" && base.name === "async" && this.lastTokEnd === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && this.potentialArrowAt === base.start; + var optionalChained = false; + while (true) { - var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow); - if (element === base || element.type === "ArrowFunctionExpression") { return element } + var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained); + + if (element.optional) { optionalChained = true; } + if (element === base || element.type === "ArrowFunctionExpression") { + if (optionalChained) { + var chainNode = this.startNodeAt(startPos, startLoc); + chainNode.expression = element; + element = this.finishNode(chainNode, "ChainExpression"); + } + return element + } + base = element; } }; -pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArrow) { +pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained) { + var optionalSupported = this.options.ecmaVersion >= 11; + var optional = optionalSupported && this.eat(types.questionDot); + if (noCalls && optional) { this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions"); } + var computed = this.eat(types.bracketL); - if (computed || this.eat(types.dot)) { + if (computed || (optional && this.type !== types.parenL && this.type !== types.backQuote) || this.eat(types.dot)) { var node = this.startNodeAt(startPos, startLoc); node.object = base; node.property = computed ? this.parseExpression() : this.parseIdent(this.options.allowReserved !== "never"); node.computed = !!computed; if (computed) { this.expect(types.bracketR); } + if (optionalSupported) { + node.optional = optional; + } base = this.finishNode(node, "MemberExpression"); } else if (!noCalls && this.eat(types.parenL)) { var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldAwaitIdentPos = this.awaitIdentPos; @@ -2148,7 +2176,7 @@ pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArro this.awaitPos = 0; this.awaitIdentPos = 0; var exprList = this.parseExprList(types.parenR, this.options.ecmaVersion >= 8, false, refDestructuringErrors); - if (maybeAsyncArrow && !this.canInsertSemicolon() && this.eat(types.arrow)) { + if (maybeAsyncArrow && !optional && !this.canInsertSemicolon() && this.eat(types.arrow)) { this.checkPatternErrors(refDestructuringErrors, false); this.checkYieldAwaitInDefaultParams(); if (this.awaitIdentPos > 0) @@ -2165,8 +2193,14 @@ pp$3.parseSubscript = function(base, startPos, startLoc, noCalls, maybeAsyncArro var node$1 = this.startNodeAt(startPos, startLoc); node$1.callee = base; node$1.arguments = exprList; + if (optionalSupported) { + node$1.optional = optional; + } base = this.finishNode(node$1, "CallExpression"); } else if (this.type === types.backQuote) { + if (optional || optionalChained) { + this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions"); + } var node$2 = this.startNodeAt(startPos, startLoc); node$2.tag = base; node$2.quasi = this.parseTemplate({isTagged: true}); @@ -2345,7 +2379,7 @@ pp$3.parseLiteral = function(value) { var node = this.startNode(); node.value = value; node.raw = this.input.slice(this.start, this.end); - if (node.raw.charCodeAt(node.raw.length - 1) === 110) { node.bigint = node.raw.slice(0, -1); } + if (node.raw.charCodeAt(node.raw.length - 1) === 110) { node.bigint = node.raw.slice(0, -1).replace(/_/g, ""); } this.next(); return this.finishNode(node, "Literal") }; @@ -2597,7 +2631,7 @@ pp$3.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP } else if (!isPattern && !containsEsc && this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" && (prop.key.name === "get" || prop.key.name === "set") && - (this.type !== types.comma && this.type !== types.braceR)) { + (this.type !== types.comma && this.type !== types.braceR && this.type !== types.eq)) { if (isGenerator || isAsync) { this.unexpected(); } prop.kind = prop.key.name; this.parsePropertyName(prop); @@ -4511,7 +4545,13 @@ pp$9.readToken_mult_modulo_exp = function(code) { // '%*' pp$9.readToken_pipe_amp = function(code) { // '|&' var next = this.input.charCodeAt(this.pos + 1); - if (next === code) { return this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2) } + if (next === code) { + if (this.options.ecmaVersion >= 12) { + var next2 = this.input.charCodeAt(this.pos + 2); + if (next2 === 61) { return this.finishOp(types.assign, 3) } + } + return this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2) + } if (next === 61) { return this.finishOp(types.assign, 2) } return this.finishOp(code === 124 ? types.bitwiseOR : types.bitwiseAND, 1) }; @@ -4568,9 +4608,20 @@ pp$9.readToken_eq_excl = function(code) { // '=!' }; pp$9.readToken_question = function() { // '?' - if (this.options.ecmaVersion >= 11) { + var ecmaVersion = this.options.ecmaVersion; + if (ecmaVersion >= 11) { var next = this.input.charCodeAt(this.pos + 1); - if (next === 63) { return this.finishOp(types.coalesce, 2) } + if (next === 46) { + var next2 = this.input.charCodeAt(this.pos + 2); + if (next2 < 48 || next2 > 57) { return this.finishOp(types.questionDot, 2) } + } + if (next === 63) { + if (ecmaVersion >= 12) { + var next2$1 = this.input.charCodeAt(this.pos + 2); + if (next2$1 === 61) { return this.finishOp(types.assign, 3) } + } + return this.finishOp(types.coalesce, 2) + } } return this.finishOp(types.question, 1) }; @@ -4699,30 +4750,67 @@ pp$9.readRegexp = function() { // were read, the integer value otherwise. When `len` is given, this // will return `null` unless the integer has exactly `len` digits. -pp$9.readInt = function(radix, len) { - var start = this.pos, total = 0; - for (var i = 0, e = len == null ? Infinity : len; i < e; ++i) { +pp$9.readInt = function(radix, len, maybeLegacyOctalNumericLiteral) { + // `len` is used for character escape sequences. In that case, disallow separators. + var allowSeparators = this.options.ecmaVersion >= 12 && len === undefined; + + // `maybeLegacyOctalNumericLiteral` is true if it doesn't have prefix (0x,0o,0b) + // and isn't fraction part nor exponent part. In that case, if the first digit + // is zero then disallow separators. + var isLegacyOctalNumericLiteral = maybeLegacyOctalNumericLiteral && this.input.charCodeAt(this.pos) === 48; + + var start = this.pos, total = 0, lastCode = 0; + for (var i = 0, e = len == null ? Infinity : len; i < e; ++i, ++this.pos) { var code = this.input.charCodeAt(this.pos), val = (void 0); + + if (allowSeparators && code === 95) { + if (isLegacyOctalNumericLiteral) { this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"); } + if (lastCode === 95) { this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"); } + if (i === 0) { this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"); } + lastCode = code; + continue + } + if (code >= 97) { val = code - 97 + 10; } // a else if (code >= 65) { val = code - 65 + 10; } // A else if (code >= 48 && code <= 57) { val = code - 48; } // 0-9 else { val = Infinity; } if (val >= radix) { break } - ++this.pos; + lastCode = code; total = total * radix + val; } + + if (allowSeparators && lastCode === 95) { this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"); } if (this.pos === start || len != null && this.pos - start !== len) { return null } return total }; +function stringToNumber(str, isLegacyOctalNumericLiteral) { + if (isLegacyOctalNumericLiteral) { + return parseInt(str, 8) + } + + // `parseFloat(value)` stops parsing at the first numeric separator then returns a wrong value. + return parseFloat(str.replace(/_/g, "")) +} + +function stringToBigInt(str) { + if (typeof BigInt !== "function") { + return null + } + + // `BigInt(value)` throws syntax error if the string contains numeric separators. + return BigInt(str.replace(/_/g, "")) +} + pp$9.readRadixNumber = function(radix) { var start = this.pos; this.pos += 2; // 0x var val = this.readInt(radix); if (val == null) { this.raise(this.start + 2, "Expected number in radix " + radix); } if (this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110) { - val = typeof BigInt !== "undefined" ? BigInt(this.input.slice(start, this.pos)) : null; + val = stringToBigInt(this.input.slice(start, this.pos)); ++this.pos; } else if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } return this.finishToken(types.num, val) @@ -4732,13 +4820,12 @@ pp$9.readRadixNumber = function(radix) { pp$9.readNumber = function(startsWithDot) { var start = this.pos; - if (!startsWithDot && this.readInt(10) === null) { this.raise(start, "Invalid number"); } + if (!startsWithDot && this.readInt(10, undefined, true) === null) { this.raise(start, "Invalid number"); } var octal = this.pos - start >= 2 && this.input.charCodeAt(start) === 48; if (octal && this.strict) { this.raise(start, "Invalid number"); } var next = this.input.charCodeAt(this.pos); if (!octal && !startsWithDot && this.options.ecmaVersion >= 11 && next === 110) { - var str$1 = this.input.slice(start, this.pos); - var val$1 = typeof BigInt !== "undefined" ? BigInt(str$1) : null; + var val$1 = stringToBigInt(this.input.slice(start, this.pos)); ++this.pos; if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } return this.finishToken(types.num, val$1) @@ -4756,8 +4843,7 @@ pp$9.readNumber = function(startsWithDot) { } if (isIdentifierStart(this.fullCharCodeAtPos())) { this.raise(this.pos, "Identifier directly after number"); } - var str = this.input.slice(start, this.pos); - var val = octal ? parseInt(str, 8) : parseFloat(str); + var val = stringToNumber(this.input.slice(start, this.pos), octal); return this.finishToken(types.num, val) }; diff --git a/tools/node_modules/eslint/node_modules/acorn/package.json b/tools/node_modules/eslint/node_modules/acorn/package.json index aabffb87c4079c..a0944f1372f605 100644 --- a/tools/node_modules/eslint/node_modules/acorn/package.json +++ b/tools/node_modules/eslint/node_modules/acorn/package.json @@ -41,4 +41,4 @@ }, "types": "dist/acorn.d.ts", "version": "7.4.1" -} +} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/ajv/README.md b/tools/node_modules/eslint/node_modules/ajv/README.md index a97edd4934a23b..5aa2078d8920b4 100644 --- a/tools/node_modules/eslint/node_modules/ajv/README.md +++ b/tools/node_modules/eslint/node_modules/ajv/README.md @@ -1,18 +1,17 @@ -Ajv logo +Ajv logo # Ajv: Another JSON Schema Validator The fastest JSON Schema validator for Node.js and browser. Supports draft-04/06/07. -[![Build Status](https://travis-ci.org/epoberezkin/ajv.svg?branch=master)](https://travis-ci.org/epoberezkin/ajv) +[![Build Status](https://travis-ci.org/ajv-validator/ajv.svg?branch=master)](https://travis-ci.org/ajv-validator/ajv) [![npm](https://img.shields.io/npm/v/ajv.svg)](https://www.npmjs.com/package/ajv) [![npm (beta)](https://img.shields.io/npm/v/ajv/beta)](https://www.npmjs.com/package/ajv/v/7.0.0-beta.0) [![npm downloads](https://img.shields.io/npm/dm/ajv.svg)](https://www.npmjs.com/package/ajv) -[![Coverage Status](https://coveralls.io/repos/epoberezkin/ajv/badge.svg?branch=master&service=github)](https://coveralls.io/github/epoberezkin/ajv?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/ajv-validator/ajv/badge.svg?branch=master)](https://coveralls.io/github/ajv-validator/ajv?branch=master) [![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv) [![GitHub Sponsors](https://img.shields.io/badge/$-sponsors-brightgreen)](https://github.com/sponsors/epoberezkin) -## Please [sponsor Ajv](https://github.com/sponsors/epoberezkin) ## Ajv v7 beta is released @@ -65,8 +64,6 @@ Please sponsor Ajv via: Thank you. -| Please [make donations via my GitHub sponsors page](https://github.com/sponsors/epoberezkin)
‼️ **GitHub will DOUBLE them** ‼️ | -|---| #### Open Collective sponsors @@ -88,7 +85,7 @@ Thank you. [JSON Schema draft-07](http://json-schema.org/latest/json-schema-validation.html) is published. -[Ajv version 6.0.0](https://github.com/epoberezkin/ajv/releases/tag/v6.0.0) that supports draft-07 is released. It may require either migrating your schemas or updating your code (to continue using draft-04 and v5 schemas, draft-06 schemas will be supported without changes). +[Ajv version 6.0.0](https://github.com/ajv-validator/ajv/releases/tag/v6.0.0) that supports draft-07 is released. It may require either migrating your schemas or updating your code (to continue using draft-04 and v5 schemas, draft-06 schemas will be supported without changes). __Please note__: To use Ajv with draft-06 schemas you need to explicitly add the meta-schema to the validator instance: @@ -111,8 +108,9 @@ ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-04.json')); - [Performance](#performance) - [Features](#features) - [Getting started](#getting-started) -- [Frequently Asked Questions](https://github.com/epoberezkin/ajv/blob/master/FAQ.md) +- [Frequently Asked Questions](https://github.com/ajv-validator/ajv/blob/master/FAQ.md) - [Using in browser](#using-in-browser) + - [Ajv and Content Security Policies (CSP)](#ajv-and-content-security-policies-csp) - [Command line interface](#command-line-interface) - Validation - [Keywords](#validation-keywords) @@ -141,7 +139,8 @@ ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-04.json')); - [Plugins](#plugins) - [Related packages](#related-packages) - [Some packages using Ajv](#some-packages-using-ajv) -- [Tests, Contributing, History, Support, License](#tests) +- [Tests, Contributing, Changes history](#tests) +- [Support, Code of conduct, License](#open-source-software-support) ## Performance @@ -164,24 +163,24 @@ Performance of different validators by [json-schema-benchmark](https://github.co ## Features - Ajv implements full JSON Schema [draft-06/07](http://json-schema.org/) and draft-04 standards: - - all validation keywords (see [JSON Schema validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md)) + - all validation keywords (see [JSON Schema validation keywords](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md)) - full support of remote refs (remote schemas have to be added with `addSchema` or compiled to be available) - support of circular references between schemas - correct string lengths for strings with unicode pairs (can be turned off) - [formats](#formats) defined by JSON Schema draft-07 standard and custom formats (can be turned off) - [validates schemas against meta-schema](#api-validateschema) -- supports [browsers](#using-in-browser) and Node.js 0.10-8.x +- supports [browsers](#using-in-browser) and Node.js 0.10-14.x - [asynchronous loading](#asynchronous-schema-compilation) of referenced schemas during compilation - "All errors" validation mode with [option allErrors](#options) - [error messages with parameters](#validation-errors) describing error reasons to allow creating custom error messages -- i18n error messages support with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package +- i18n error messages support with [ajv-i18n](https://github.com/ajv-validator/ajv-i18n) package - [filtering data](#filtering-data) from additional properties - [assigning defaults](#assigning-defaults) to missing properties and items - [coercing data](#coercing-data-types) to the types specified in `type` keywords - [custom keywords](#defining-custom-keywords) - draft-06/07 keywords `const`, `contains`, `propertyNames` and `if/then/else` - draft-06 boolean schemas (`true`/`false` as a schema to always pass/fail). -- keywords `switch`, `patternRequired`, `formatMaximum` / `formatMinimum` and `formatExclusiveMaximum` / `formatExclusiveMinimum` from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) with [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package +- keywords `switch`, `patternRequired`, `formatMaximum` / `formatMinimum` and `formatExclusiveMaximum` / `formatExclusiveMinimum` from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) with [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package - [$data reference](#data-reference) to use values from the validated data as values for the schema keywords - [asynchronous validation](#asynchronous-validation) of custom formats and keywords @@ -263,21 +262,31 @@ Ajv is tested with these browsers: [![Sauce Test Status](https://saucelabs.com/browser-matrix/epoberezkin.svg)](https://saucelabs.com/u/epoberezkin) -__Please note__: some frameworks, e.g. Dojo, may redefine global require in such way that is not compatible with CommonJS module format. In such case Ajv bundle has to be loaded before the framework and then you can use global Ajv (see issue [#234](https://github.com/epoberezkin/ajv/issues/234)). +__Please note__: some frameworks, e.g. Dojo, may redefine global require in such way that is not compatible with CommonJS module format. In such case Ajv bundle has to be loaded before the framework and then you can use global Ajv (see issue [#234](https://github.com/ajv-validator/ajv/issues/234)). + + +### Ajv and Content Security Policies (CSP) + +If you're using Ajv to compile a schema (the typical use) in a browser document that is loaded with a Content Security Policy (CSP), that policy will require a `script-src` directive that includes the value `'unsafe-eval'`. +:warning: NOTE, however, that `unsafe-eval` is NOT recommended in a secure CSP[[1]](https://developer.chrome.com/extensions/contentSecurityPolicy#relaxing-eval), as it has the potential to open the document to cross-site scripting (XSS) attacks. + +In order to make use of Ajv without easing your CSP, you can [pre-compile a schema using the CLI](https://github.com/ajv-validator/ajv-cli#compile-schemas). This will transpile the schema JSON into a JavaScript file that exports a `validate` function that works simlarly to a schema compiled at runtime. + +Note that pre-compilation of schemas is performed using [ajv-pack](https://github.com/ajv-validator/ajv-pack) and there are [some limitations to the schema features it can compile](https://github.com/ajv-validator/ajv-pack#limitations). A successfully pre-compiled schema is equivalent to the same schema compiled at runtime. ## Command line interface -CLI is available as a separate npm package [ajv-cli](https://github.com/jessedc/ajv-cli). It supports: +CLI is available as a separate npm package [ajv-cli](https://github.com/ajv-validator/ajv-cli). It supports: - compiling JSON Schemas to test their validity -- BETA: generating standalone module exporting a validation function to be used without Ajv (using [ajv-pack](https://github.com/epoberezkin/ajv-pack)) +- BETA: generating standalone module exporting a validation function to be used without Ajv (using [ajv-pack](https://github.com/ajv-validator/ajv-pack)) - migrate schemas to draft-07 (using [json-schema-migrate](https://github.com/epoberezkin/json-schema-migrate)) - validating data file(s) against JSON Schema - testing expected validity of data against JSON Schema - referenced schemas - custom meta-schemas -- files in JSON and JavaScript format +- files in JSON, JSON5, YAML, and JavaScript format - all Ajv options - reporting changes in data after validation in [JSON-patch](https://tools.ietf.org/html/rfc6902) format @@ -286,20 +295,20 @@ CLI is available as a separate npm package [ajv-cli](https://github.com/jessedc/ Ajv supports all validation keywords from draft-07 of JSON Schema standard: -- [type](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#type) -- [for numbers](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-numbers) - maximum, minimum, exclusiveMaximum, exclusiveMinimum, multipleOf -- [for strings](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-strings) - maxLength, minLength, pattern, format -- [for arrays](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-arrays) - maxItems, minItems, uniqueItems, items, additionalItems, [contains](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#contains) -- [for objects](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-objects) - maxProperties, minProperties, required, properties, patternProperties, additionalProperties, dependencies, [propertyNames](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#propertynames) -- [for all types](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#keywords-for-all-types) - enum, [const](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#const) -- [compound keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#compound-keywords) - not, oneOf, anyOf, allOf, [if/then/else](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#ifthenelse) +- [type](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#type) +- [for numbers](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#keywords-for-numbers) - maximum, minimum, exclusiveMaximum, exclusiveMinimum, multipleOf +- [for strings](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#keywords-for-strings) - maxLength, minLength, pattern, format +- [for arrays](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#keywords-for-arrays) - maxItems, minItems, uniqueItems, items, additionalItems, [contains](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#contains) +- [for objects](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#keywords-for-objects) - maxProperties, minProperties, required, properties, patternProperties, additionalProperties, dependencies, [propertyNames](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#propertynames) +- [for all types](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#keywords-for-all-types) - enum, [const](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#const) +- [compound keywords](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#compound-keywords) - not, oneOf, anyOf, allOf, [if/then/else](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#ifthenelse) -With [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package Ajv also supports validation keywords from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) for JSON Schema standard: +With [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package Ajv also supports validation keywords from [JSON Schema extension proposals](https://github.com/json-schema/json-schema/wiki/v5-Proposals) for JSON Schema standard: -- [patternRequired](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#patternrequired-proposed) - like `required` but with patterns that some property should match. -- [formatMaximum, formatMinimum, formatExclusiveMaximum, formatExclusiveMinimum](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md#formatmaximum--formatminimum-and-exclusiveformatmaximum--exclusiveformatminimum-proposed) - setting limits for date, time, etc. +- [patternRequired](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#patternrequired-proposed) - like `required` but with patterns that some property should match. +- [formatMaximum, formatMinimum, formatExclusiveMaximum, formatExclusiveMinimum](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md#formatmaximum--formatminimum-and-exclusiveformatmaximum--exclusiveformatminimum-proposed) - setting limits for date, time, etc. -See [JSON Schema validation keywords](https://github.com/epoberezkin/ajv/blob/master/KEYWORDS.md) for more details. +See [JSON Schema validation keywords](https://github.com/ajv-validator/ajv/blob/master/KEYWORDS.md) for more details. ## Annotation keywords @@ -349,7 +358,7 @@ You can add additional formats and replace any of the formats above using [addFo The option `unknownFormats` allows changing the default behaviour when an unknown format is encountered. In this case Ajv can either fail schema compilation (default) or ignore it (default in versions before 5.0.0). You also can allow specific format(s) that will be ignored. See [Options](#options) for details. -You can find regular expressions used for format validation and the sources that were used in [formats.js](https://github.com/epoberezkin/ajv/blob/master/lib/compile/formats.js). +You can find regular expressions used for format validation and the sources that were used in [formats.js](https://github.com/ajv-validator/ajv/blob/master/lib/compile/formats.js). ##
Combining schemas with $ref @@ -458,7 +467,7 @@ var validData = { ## $merge and $patch keywords -With the package [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) you can use the keywords `$merge` and `$patch` that allow extending JSON Schemas with patches using formats [JSON Merge Patch (RFC 7396)](https://tools.ietf.org/html/rfc7396) and [JSON Patch (RFC 6902)](https://tools.ietf.org/html/rfc6902). +With the package [ajv-merge-patch](https://github.com/ajv-validator/ajv-merge-patch) you can use the keywords `$merge` and `$patch` that allow extending JSON Schemas with patches using formats [JSON Merge Patch (RFC 7396)](https://tools.ietf.org/html/rfc7396) and [JSON Patch (RFC 6902)](https://tools.ietf.org/html/rfc6902). To add keywords `$merge` and `$patch` to Ajv instance use this code: @@ -517,7 +526,7 @@ The schemas above are equivalent to this schema: The properties `source` and `with` in the keywords `$merge` and `$patch` can use absolute or relative `$ref` to point to other schemas previously added to the Ajv instance or to the fragments of the current schema. -See the package [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) for more information. +See the package [ajv-merge-patch](https://github.com/ajv-validator/ajv-merge-patch) for more information. ## Defining custom keywords @@ -565,9 +574,9 @@ console.log(validate(2)); // false console.log(validate(4)); // false ``` -Several custom keywords (typeof, instanceof, range and propertyNames) are defined in [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package - they can be used for your schemas and as a starting point for your own custom keywords. +Several custom keywords (typeof, instanceof, range and propertyNames) are defined in [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package - they can be used for your schemas and as a starting point for your own custom keywords. -See [Defining custom keywords](https://github.com/epoberezkin/ajv/blob/master/CUSTOM.md) for more details. +See [Defining custom keywords](https://github.com/ajv-validator/ajv/blob/master/CUSTOM.md) for more details. ## Asynchronous schema compilation @@ -666,7 +675,7 @@ validate({ userId: 1, postId: 19 }) ### Using transpilers with asynchronous validation functions. -[ajv-async](https://github.com/epoberezkin/ajv-async) uses [nodent](https://github.com/MatAtBread/nodent) to transpile async functions. To use another transpiler you should separately install it (or load its bundle in the browser). +[ajv-async](https://github.com/ajv-validator/ajv-async) uses [nodent](https://github.com/MatAtBread/nodent) to transpile async functions. To use another transpiler you should separately install it (or load its bundle in the browser). #### Using nodent @@ -710,7 +719,7 @@ Ajv treats JSON schemas as trusted as your application code. This security model If your schemas are received from untrusted sources (or generated from untrusted data) there are several scenarios you need to prevent: - compiling schemas can cause stack overflow (if they are too deep) -- compiling schemas can be slow (e.g. [#557](https://github.com/epoberezkin/ajv/issues/557)) +- compiling schemas can be slow (e.g. [#557](https://github.com/ajv-validator/ajv/issues/557)) - validating certain data can be slow It is difficult to predict all the scenarios, but at the very least it may help to limit the size of untrusted schemas (e.g. limit JSON string length) and also the maximum schema object depth (that can be high for relatively small JSON strings). You also may want to mitigate slow regular expressions in `pattern` and `patternProperties` keywords. @@ -720,7 +729,7 @@ Regardless the measures you take, using untrusted schemas increases security ris ##### Circular references in JavaScript objects -Ajv does not support schemas and validated data that have circular references in objects. See [issue #802](https://github.com/epoberezkin/ajv/issues/802). +Ajv does not support schemas and validated data that have circular references in objects. See [issue #802](https://github.com/ajv-validator/ajv/issues/802). An attempt to compile such schemas or validate such data would cause stack overflow (or will not complete in case of asynchronous validation). Depending on the parser you use, untrusted data can lead to circular references. @@ -735,7 +744,7 @@ Some keywords in JSON Schemas can lead to very slow validation for certain data. __Please note__: The suggestions above to prevent slow validation would only work if you do NOT use `allErrors: true` in production code (using it would continue validation after validation errors). -You can validate your JSON schemas against [this meta-schema](https://github.com/epoberezkin/ajv/blob/master/lib/refs/json-schema-secure.json) to check that these recommendations are followed: +You can validate your JSON schemas against [this meta-schema](https://github.com/ajv-validator/ajv/blob/master/lib/refs/json-schema-secure.json) to check that these recommendations are followed: ```javascript const isSchemaSecure = ajv.compile(require('ajv/lib/refs/json-schema-secure.json')); @@ -750,13 +759,17 @@ isSchemaSecure(schema2); // true __Please note__: following all these recommendation is not a guarantee that validation of untrusted data is safe - it can still lead to some undesirable results. +##### Content Security Policies (CSP) +See [Ajv and Content Security Policies (CSP)](#ajv-and-content-security-policies-csp) + + ## ReDoS attack Certain regular expressions can lead to the exponential evaluation time even with relatively short strings. Please assess the regular expressions you use in the schemas on their vulnerability to this attack - see [safe-regex](https://github.com/substack/safe-regex), for example. -__Please note__: some formats that Ajv implements use [regular expressions](https://github.com/epoberezkin/ajv/blob/master/lib/compile/formats.js) that can be vulnerable to ReDoS attack, so if you use Ajv to validate data from untrusted sources __it is strongly recommended__ to consider the following: +__Please note__: some formats that Ajv implements use [regular expressions](https://github.com/ajv-validator/ajv/blob/master/lib/compile/formats.js) that can be vulnerable to ReDoS attack, so if you use Ajv to validate data from untrusted sources __it is strongly recommended__ to consider the following: - making assessment of "format" implementations in Ajv. - using `format: 'fast'` option that simplifies some of the regular expressions (although it does not guarantee that they are safe). @@ -836,7 +849,7 @@ The intention of the schema above is to allow objects with either the string pro With the option `removeAdditional: true` the validation will pass for the object `{ "foo": "abc"}` but will fail for the object `{"bar": 1}`. It happens because while the first subschema in `oneOf` is validated, the property `bar` is removed because it is an additional property according to the standard (because it is not included in `properties` keyword in the same schema). -While this behaviour is unexpected (issues [#129](https://github.com/epoberezkin/ajv/issues/129), [#134](https://github.com/epoberezkin/ajv/issues/134)), it is correct. To have the expected behaviour (both objects are allowed and additional properties are removed) the schema has to be refactored in this way: +While this behaviour is unexpected (issues [#129](https://github.com/ajv-validator/ajv/issues/129), [#134](https://github.com/ajv-validator/ajv/issues/134)), it is correct. To have the expected behaviour (both objects are allowed and additional properties are removed) the schema has to be refactored in this way: ```json { @@ -910,7 +923,7 @@ console.log(data); // [ 1, "foo" ] `default` keywords in other cases are ignored: - not in `properties` or `items` subschemas -- in schemas inside `anyOf`, `oneOf` and `not` (see [#42](https://github.com/epoberezkin/ajv/issues/42)) +- in schemas inside `anyOf`, `oneOf` and `not` (see [#42](https://github.com/ajv-validator/ajv/issues/42)) - in `if` subschema of `switch` keyword - in schemas generated by custom macro keywords @@ -968,7 +981,7 @@ console.log(data); // { "foo": [1], "bar": false } The coercion rules, as you can see from the example, are different from JavaScript both to validate user input as expected and to have the coercion reversible (to correctly validate cases where different types are defined in subschemas of "anyOf" and other compound keywords). -See [Coercion rules](https://github.com/epoberezkin/ajv/blob/master/COERCION.md) for details. +See [Coercion rules](https://github.com/ajv-validator/ajv/blob/master/COERCION.md) for details. ## API @@ -1086,9 +1099,9 @@ Function should return validation result as `true` or `false`. If object is passed it should have properties `validate`, `compare` and `async`: - _validate_: a string, RegExp or a function as described above. -- _compare_: an optional comparison function that accepts two strings and compares them according to the format meaning. This function is used with keywords `formatMaximum`/`formatMinimum` (defined in [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) package). It should return `1` if the first value is bigger than the second value, `-1` if it is smaller and `0` if it is equal. +- _compare_: an optional comparison function that accepts two strings and compares them according to the format meaning. This function is used with keywords `formatMaximum`/`formatMinimum` (defined in [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package). It should return `1` if the first value is bigger than the second value, `-1` if it is smaller and `0` if it is equal. - _async_: an optional `true` value if `validate` is an asynchronous function; in this case it should return a promise that resolves with a value `true` or `false`. -- _type_: an optional type of data that the format applies to. It can be `"string"` (default) or `"number"` (see https://github.com/epoberezkin/ajv/issues/291#issuecomment-259923858). If the type of data is different, the validation will pass. +- _type_: an optional type of data that the format applies to. It can be `"string"` (default) or `"number"` (see https://github.com/ajv-validator/ajv/issues/291#issuecomment-259923858). If the type of data is different, the validation will pass. Custom formats can be also added via `formats` option. @@ -1184,6 +1197,7 @@ Defaults: // strict mode options strictDefaults: false, strictKeywords: false, + strictNumbers: false, // asynchronous validation options: transpile: undefined, // requires ajv-async package // advanced options: @@ -1198,7 +1212,7 @@ Defaults: errorDataPath: 'object', // deprecated messages: true, sourceCode: false, - processCode: undefined, // function (str: string): string {} + processCode: undefined, // function (str: string, schema: object): string {} cache: new Cache, serialize: undefined } @@ -1262,7 +1276,7 @@ Defaults: - `true` - insert defaults by value (object literal is used). - `"empty"` - in addition to missing or undefined, use defaults for properties and items that are equal to `null` or `""` (an empty string). - `"shared"` (deprecated) - insert defaults by reference. If the default is an object, it will be shared by all instances of validated data. If you modify the inserted default in the validated data, it will be modified in the schema as well. -- _coerceTypes_: change data type of data to match `type` keyword. See the example in [Coercing data types](#coercing-data-types) and [coercion rules](https://github.com/epoberezkin/ajv/blob/master/COERCION.md). Option values: +- _coerceTypes_: change data type of data to match `type` keyword. See the example in [Coercing data types](#coercing-data-types) and [coercion rules](https://github.com/ajv-validator/ajv/blob/master/COERCION.md). Option values: - `false` (default) - no type coercion. - `true` - coerce scalar data types. - `"array"` - in addition to coercions between scalar types, coerce scalar data to an array with one element and vice versa (as required by the schema). @@ -1278,11 +1292,13 @@ Defaults: - `false` (default) - unknown keywords are not reported - `true` - if an unknown keyword is present, throw an error - `"log"` - if an unknown keyword is present, log warning - +- _strictNumbers_: validate numbers strictly, failing validation for NaN and Infinity. Option values: + - `false` (default) - NaN or Infinity will pass validation for numeric types + - `true` - NaN or Infinity will not pass validation for numeric types ##### Asynchronous validation options -- _transpile_: Requires [ajv-async](https://github.com/epoberezkin/ajv-async) package. It determines whether Ajv transpiles compiled asynchronous validation function. Option values: +- _transpile_: Requires [ajv-async](https://github.com/ajv-validator/ajv-async) package. It determines whether Ajv transpiles compiled asynchronous validation function. Option values: - `undefined` (default) - transpile with [nodent](https://github.com/MatAtBread/nodent) if async functions are not supported. - `true` - always transpile with nodent. - `false` - do not transpile; if async functions are not supported an exception will be thrown. @@ -1303,13 +1319,13 @@ Defaults: - _passContext_: pass validation context to custom keyword functions. If this option is `true` and you pass some context to the compiled validation function with `validate.call(context, data)`, the `context` will be available as `this` in your custom keywords. By default `this` is Ajv instance. - _loopRequired_: by default `required` keyword is compiled into a single expression (or a sequence of statements in `allErrors` mode). In case of a very large number of properties in this keyword it may result in a very big validation function. Pass integer to set the number of properties above which `required` keyword will be validated in a loop - smaller validation function size but also worse performance. - _ownProperties_: by default Ajv iterates over all enumerable object properties; when this option is `true` only own enumerable object properties (i.e. found directly on the object rather than on its prototype) are iterated. Contributed by @mbroadst. -- _multipleOfPrecision_: by default `multipleOf` keyword is validated by comparing the result of division with parseInt() of that result. It works for dividers that are bigger than 1. For small dividers such as 0.01 the result of the division is usually not integer (even when it should be integer, see issue [#84](https://github.com/epoberezkin/ajv/issues/84)). If you need to use fractional dividers set this option to some positive integer N to have `multipleOf` validated using this formula: `Math.abs(Math.round(division) - division) < 1e-N` (it is slower but allows for float arithmetics deviations). +- _multipleOfPrecision_: by default `multipleOf` keyword is validated by comparing the result of division with parseInt() of that result. It works for dividers that are bigger than 1. For small dividers such as 0.01 the result of the division is usually not integer (even when it should be integer, see issue [#84](https://github.com/ajv-validator/ajv/issues/84)). If you need to use fractional dividers set this option to some positive integer N to have `multipleOf` validated using this formula: `Math.abs(Math.round(division) - division) < 1e-N` (it is slower but allows for float arithmetics deviations). - _errorDataPath_ (deprecated): set `dataPath` to point to 'object' (default) or to 'property' when validating keywords `required`, `additionalProperties` and `dependencies`. -- _messages_: Include human-readable messages in errors. `true` by default. `false` can be passed when custom messages are used (e.g. with [ajv-i18n](https://github.com/epoberezkin/ajv-i18n)). +- _messages_: Include human-readable messages in errors. `true` by default. `false` can be passed when custom messages are used (e.g. with [ajv-i18n](https://github.com/ajv-validator/ajv-i18n)). - _sourceCode_: add `sourceCode` property to validating function (for debugging; this code can be different from the result of toString call). - _processCode_: an optional function to process generated code before it is passed to Function constructor. It can be used to either beautify (the validating function is generated without line-breaks) or to transpile code. Starting from version 5.0.0 this option replaced options: - - `beautify` that formatted the generated function using [js-beautify](https://github.com/beautify-web/js-beautify). If you want to beautify the generated code pass `require('js-beautify').js_beautify`. - - `transpile` that transpiled asynchronous validation function. You can still use `transpile` option with [ajv-async](https://github.com/epoberezkin/ajv-async) package. See [Asynchronous validation](#asynchronous-validation) for more information. + - `beautify` that formatted the generated function using [js-beautify](https://github.com/beautify-web/js-beautify). If you want to beautify the generated code pass a function calling `require('js-beautify').js_beautify` as `processCode: code => js_beautify(code)`. + - `transpile` that transpiled asynchronous validation function. You can still use `transpile` option with [ajv-async](https://github.com/ajv-validator/ajv-async) package. See [Asynchronous validation](#asynchronous-validation) for more information. - _cache_: an optional instance of cache to store compiled schemas using stable-stringified schema as a key. For example, set-associative cache [sacjs](https://github.com/epoberezkin/sacjs) can be used. If not passed then a simple hash is used which is good enough for the common use case (a limited number of statically defined schemas). Cache should have methods `put(key, value)`, `get(key)`, `del(key)` and `clear()`. - _serialize_: an optional function to serialize schema to cache key. Pass `false` to use schema itself as a key (e.g., if WeakMap used as a cache). By default [fast-json-stable-stringify](https://github.com/epoberezkin/fast-json-stable-stringify) is used. @@ -1326,7 +1342,7 @@ Each error is an object with the following properties: - _keyword_: validation keyword. - _dataPath_: the path to the part of the data that was validated. By default `dataPath` uses JavaScript property access notation (e.g., `".prop[1].subProp"`). When the option `jsonPointers` is true (see [Options](#options)) `dataPath` will be set using JSON pointer standard (e.g., `"/prop/1/subProp"`). - _schemaPath_: the path (JSON-pointer as a URI fragment) to the schema of the keyword that failed validation. -- _params_: the object with the additional information about error that can be used to create custom error messages (e.g., using [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) package). See below for parameters set by all keywords. +- _params_: the object with the additional information about error that can be used to create custom error messages (e.g., using [ajv-i18n](https://github.com/ajv-validator/ajv-i18n) package). See below for parameters set by all keywords. - _message_: the standard error message (can be excluded with option `messages` set to false). - _schema_: the schema of the keyword (added with `verbose` option). - _parentSchema_: the schema containing the keyword (added with `verbose` option) @@ -1401,15 +1417,15 @@ If you have published a useful plugin please submit a PR to add it to the next s ## Related packages -- [ajv-async](https://github.com/epoberezkin/ajv-async) - plugin to configure async validation mode +- [ajv-async](https://github.com/ajv-validator/ajv-async) - plugin to configure async validation mode - [ajv-bsontype](https://github.com/BoLaMN/ajv-bsontype) - plugin to validate mongodb's bsonType formats - [ajv-cli](https://github.com/jessedc/ajv-cli) - command line interface -- [ajv-errors](https://github.com/epoberezkin/ajv-errors) - plugin for custom error messages -- [ajv-i18n](https://github.com/epoberezkin/ajv-i18n) - internationalised error messages -- [ajv-istanbul](https://github.com/epoberezkin/ajv-istanbul) - plugin to instrument generated validation code to measure test coverage of your schemas -- [ajv-keywords](https://github.com/epoberezkin/ajv-keywords) - plugin with custom validation keywords (select, typeof, etc.) -- [ajv-merge-patch](https://github.com/epoberezkin/ajv-merge-patch) - plugin with keywords $merge and $patch -- [ajv-pack](https://github.com/epoberezkin/ajv-pack) - produces a compact module exporting validation functions +- [ajv-errors](https://github.com/ajv-validator/ajv-errors) - plugin for custom error messages +- [ajv-i18n](https://github.com/ajv-validator/ajv-i18n) - internationalised error messages +- [ajv-istanbul](https://github.com/ajv-validator/ajv-istanbul) - plugin to instrument generated validation code to measure test coverage of your schemas +- [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) - plugin with custom validation keywords (select, typeof, etc.) +- [ajv-merge-patch](https://github.com/ajv-validator/ajv-merge-patch) - plugin with keywords $merge and $patch +- [ajv-pack](https://github.com/ajv-validator/ajv-pack) - produces a compact module exporting validation functions - [ajv-formats-draft2019](https://github.com/luzlab/ajv-formats-draft2019) - format validators for draft2019 that aren't already included in ajv (ie. `idn-hostname`, `idn-email`, `iri`, `iri-reference` and `duration`). ## Some packages using Ajv @@ -1447,13 +1463,13 @@ npm test ## Contributing -All validation functions are generated using doT templates in [dot](https://github.com/epoberezkin/ajv/tree/master/lib/dot) folder. Templates are precompiled so doT is not a run-time dependency. +All validation functions are generated using doT templates in [dot](https://github.com/ajv-validator/ajv/tree/master/lib/dot) folder. Templates are precompiled so doT is not a run-time dependency. -`npm run build` - compiles templates to [dotjs](https://github.com/epoberezkin/ajv/tree/master/lib/dotjs) folder. +`npm run build` - compiles templates to [dotjs](https://github.com/ajv-validator/ajv/tree/master/lib/dotjs) folder. `npm run watch` - automatically compiles templates when files in dot folder change -Please see [Contributing guidelines](https://github.com/epoberezkin/ajv/blob/master/CONTRIBUTING.md) +Please see [Contributing guidelines](https://github.com/ajv-validator/ajv/blob/master/CONTRIBUTING.md) ## Changes history @@ -1464,6 +1480,13 @@ __Please note__: [Changes in version 7.0.0-beta](https://github.com/ajv-validato [Version 6.0.0](https://github.com/ajv-validator/ajv/releases/tag/v6.0.0). +## Code of conduct + +Please review and follow the [Code of conduct](https://github.com/ajv-validator/ajv/blob/master/CODE_OF_CONDUCT.md). + +Please report any unacceptable behaviour to ajv.validator@gmail.com - it will be reviewed by the project team. + + ## Open-source software support Ajv is a part of [Tidelift subscription](https://tidelift.com/subscription/pkg/npm-ajv?utm_source=npm-ajv&utm_medium=referral&utm_campaign=readme) - it provides a centralised support to open-source software users, in addition to the support provided by software maintainers. @@ -1471,4 +1494,4 @@ Ajv is a part of [Tidelift subscription](https://tidelift.com/subscription/pkg/n ## License -[MIT](https://github.com/epoberezkin/ajv/blob/master/LICENSE) +[MIT](https://github.com/ajv-validator/ajv/blob/master/LICENSE) diff --git a/tools/node_modules/eslint/node_modules/ajv/dist/ajv.bundle.js b/tools/node_modules/eslint/node_modules/ajv/dist/ajv.bundle.js index e58c8eb4fedc96..e4d9d156ff7578 100644 --- a/tools/node_modules/eslint/node_modules/ajv/dist/ajv.bundle.js +++ b/tools/node_modules/eslint/node_modules/ajv/dist/ajv.bundle.js @@ -414,7 +414,7 @@ function compile(schema, root, localRefs, baseId) { + vars(defaults, defaultCode) + vars(customRules, customRuleCode) + sourceCode; - if (opts.processCode) sourceCode = opts.processCode(sourceCode); + if (opts.processCode) sourceCode = opts.processCode(sourceCode, _schema); // console.log('\n\n\n *** \n', JSON.stringify(sourceCode)); var validate; try { @@ -1076,8 +1076,6 @@ module.exports = { ucs2length: require('./ucs2length'), varOccurences: varOccurences, varReplace: varReplace, - cleanUpCode: cleanUpCode, - finalCleanUpCode: finalCleanUpCode, schemaHasRules: schemaHasRules, schemaHasRulesExcept: schemaHasRulesExcept, schemaUnknownRules: schemaUnknownRules, @@ -1099,7 +1097,7 @@ function copy(o, to) { } -function checkDataType(dataType, data, negate) { +function checkDataType(dataType, data, strictNumbers, negate) { var EQUAL = negate ? ' !== ' : ' === ' , AND = negate ? ' || ' : ' && ' , OK = negate ? '!' : '' @@ -1112,15 +1110,18 @@ function checkDataType(dataType, data, negate) { NOT + 'Array.isArray(' + data + '))'; case 'integer': return '(typeof ' + data + EQUAL + '"number"' + AND + NOT + '(' + data + ' % 1)' + - AND + data + EQUAL + data + ')'; + AND + data + EQUAL + data + + (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')'; + case 'number': return '(typeof ' + data + EQUAL + '"' + dataType + '"' + + (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')'; default: return 'typeof ' + data + EQUAL + '"' + dataType + '"'; } } -function checkDataTypes(dataTypes, data) { +function checkDataTypes(dataTypes, data, strictNumbers) { switch (dataTypes.length) { - case 1: return checkDataType(dataTypes[0], data, true); + case 1: return checkDataType(dataTypes[0], data, strictNumbers, true); default: var code = ''; var types = toHash(dataTypes); @@ -1133,7 +1134,7 @@ function checkDataTypes(dataTypes, data) { } if (types.number) delete types.integer; for (var t in types) - code += (code ? ' && ' : '' ) + checkDataType(t, data, true); + code += (code ? ' && ' : '' ) + checkDataType(t, data, strictNumbers, true); return code; } @@ -1199,42 +1200,6 @@ function varReplace(str, dataVar, expr) { } -var EMPTY_ELSE = /else\s*{\s*}/g - , EMPTY_IF_NO_ELSE = /if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g - , EMPTY_IF_WITH_ELSE = /if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g; -function cleanUpCode(out) { - return out.replace(EMPTY_ELSE, '') - .replace(EMPTY_IF_NO_ELSE, '') - .replace(EMPTY_IF_WITH_ELSE, 'if (!($1))'); -} - - -var ERRORS_REGEXP = /[^v.]errors/g - , REMOVE_ERRORS = /var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g - , REMOVE_ERRORS_ASYNC = /var errors = 0;|var vErrors = null;/g - , RETURN_VALID = 'return errors === 0;' - , RETURN_TRUE = 'validate.errors = null; return true;' - , RETURN_ASYNC = /if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/ - , RETURN_DATA_ASYNC = 'return data;' - , ROOTDATA_REGEXP = /[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g - , REMOVE_ROOTDATA = /if \(rootData === undefined\) rootData = data;/; - -function finalCleanUpCode(out, async) { - var matches = out.match(ERRORS_REGEXP); - if (matches && matches.length == 2) { - out = async - ? out.replace(REMOVE_ERRORS_ASYNC, '') - .replace(RETURN_ASYNC, RETURN_DATA_ASYNC) - : out.replace(REMOVE_ERRORS, '') - .replace(RETURN_VALID, RETURN_TRUE); - } - - matches = out.match(ROOTDATA_REGEXP); - if (!matches || matches.length !== 3) return out; - return out.replace(REMOVE_ROOTDATA, ''); -} - - function schemaHasRules(schema, rules) { if (typeof schema == 'boolean') return !schema; for (var key in schema) if (rules[key]) return true; @@ -1313,7 +1278,7 @@ function getData($data, lvl, paths) { function joinPaths (a, b) { if (a == '""') return b; - return (a + ' + ' + b).replace(/' \+ '/g, ''); + return (a + ' + ' + b).replace(/([^\\])' \+ '/g, '$1'); } @@ -1377,7 +1342,7 @@ module.exports = function (metaSchema, keywordsJsonPointers) { keywords[key] = { anyOf: [ schema, - { $ref: 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#' } + { $ref: 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' } ] }; } @@ -1393,7 +1358,7 @@ module.exports = function (metaSchema, keywordsJsonPointers) { var metaSchema = require('./refs/json-schema-draft-07.json'); module.exports = { - $id: 'https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js', + $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js', definitions: { simpleTypes: metaSchema.definitions.simpleTypes }, @@ -1453,6 +1418,12 @@ module.exports = function generate__limit(it, $keyword, $ruleType) { $op = $isMax ? '<' : '>', $notOp = $isMax ? '>' : '<', $errorKeyword = undefined; + if (!($isData || typeof $schema == 'number' || $schema === undefined)) { + throw new Error($keyword + ' must be number'); + } + if (!($isDataExcl || $schemaExcl === undefined || typeof $schemaExcl == 'number' || typeof $schemaExcl == 'boolean')) { + throw new Error($exclusiveKeyword + ' must be number or boolean'); + } if ($isDataExcl) { var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr), $exclusive = 'exclusive' + $lvl, @@ -1605,6 +1576,9 @@ module.exports = function generate__limitItems(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxItems' ? '>' : '<'; out += 'if ( '; if ($isData) { @@ -1684,6 +1658,9 @@ module.exports = function generate__limitLength(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxLength' ? '>' : '<'; out += 'if ( '; if ($isData) { @@ -1768,6 +1745,9 @@ module.exports = function generate__limitProperties(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxProperties' ? '>' : '<'; out += 'if ( '; if ($isData) { @@ -1868,7 +1848,6 @@ module.exports = function generate_allOf(it, $keyword, $ruleType) { out += ' ' + ($closingBraces.slice(0, -1)) + ' '; } } - out = it.util.cleanUpCode(out); return out; } @@ -1939,7 +1918,6 @@ module.exports = function generate_anyOf(it, $keyword, $ruleType) { if (it.opts.allErrors) { out += ' } '; } - out = it.util.cleanUpCode(out); } else { if ($breakOnError) { out += ' if (true) { '; @@ -2102,7 +2080,6 @@ module.exports = function generate_contains(it, $keyword, $ruleType) { if (it.opts.allErrors) { out += ' } '; } - out = it.util.cleanUpCode(out); return out; } @@ -2356,6 +2333,7 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) { $propertyDeps = {}, $ownProperties = it.opts.ownProperties; for ($property in $schema) { + if ($property == '__proto__') continue; var $sch = $schema[$property]; var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps; $deps[$property] = $sch; @@ -2502,7 +2480,6 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } @@ -2823,7 +2800,6 @@ module.exports = function generate_if(it, $keyword, $ruleType) { if ($breakOnError) { out += ' else { '; } - out = it.util.cleanUpCode(out); } else { if ($breakOnError) { out += ' if (true) { '; @@ -3006,7 +2982,6 @@ module.exports = function generate_items(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } @@ -3029,6 +3004,9 @@ module.exports = function generate_multipleOf(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } out += 'var division' + ($lvl) + ';if ('; if ($isData) { out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \'number\' || '; @@ -3348,9 +3326,9 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { $dataNxt = $it.dataLevel = it.dataLevel + 1, $nextData = 'data' + $dataNxt, $dataProperties = 'dataProperties' + $lvl; - var $schemaKeys = Object.keys($schema || {}), + var $schemaKeys = Object.keys($schema || {}).filter(notProto), $pProperties = it.schema.patternProperties || {}, - $pPropertyKeys = Object.keys($pProperties), + $pPropertyKeys = Object.keys($pProperties).filter(notProto), $aProperties = it.schema.additionalProperties, $someProperties = $schemaKeys.length || $pPropertyKeys.length, $noAdditional = $aProperties === false, @@ -3360,7 +3338,13 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { $ownProperties = it.opts.ownProperties, $currentBaseId = it.baseId; var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required); + if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) { + var $requiredHash = it.util.toHash($required); + } + + function notProto(p) { + return p !== '__proto__'; + } out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;'; if ($ownProperties) { out += ' var ' + ($dataProperties) + ' = undefined;'; @@ -3655,7 +3639,6 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } @@ -3739,7 +3722,6 @@ module.exports = function generate_propertyNames(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } @@ -4173,7 +4155,7 @@ module.exports = function generate_uniqueItems(it, $keyword, $ruleType) { } else { out += ' var itemIndices = {}, item; for (;i--;) { var item = ' + ($data) + '[i]; '; var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); - out += ' if (' + (it.util[$method]($itemType, 'item', true)) + ') continue; '; + out += ' if (' + (it.util[$method]($itemType, 'item', it.opts.strictNumbers, true)) + ') continue; '; if ($typeIsArray) { out += ' if (typeof item == \'string\') item = \'"\' + item; '; } @@ -4381,7 +4363,7 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { var $schemaPath = it.schemaPath + '.type', $errSchemaPath = it.errSchemaPath + '/type', $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; - out += ' if (' + (it.util[$method]($typeSchema, $data, true)) + ') { '; + out += ' if (' + (it.util[$method]($typeSchema, $data, it.opts.strictNumbers, true)) + ') { '; if ($coerceToTypes) { var $dataType = 'dataType' + $lvl, $coerced = 'coerced' + $lvl; @@ -4526,7 +4508,7 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { $rulesGroup = arr2[i2 += 1]; if ($shouldUseGroup($rulesGroup)) { if ($rulesGroup.type) { - out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data)) + ') { '; + out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data, it.opts.strictNumbers)) + ') { '; } if (it.opts.useDefaults) { if ($rulesGroup.type == 'object' && it.schema.properties) { @@ -4694,10 +4676,6 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { } else { out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';'; } - out = it.util.cleanUpCode(out); - if ($top) { - out = it.util.finalCleanUpCode(out, $async); - } function $shouldUseGroup($rulesGroup) { var rules = $rulesGroup.rules; @@ -4766,7 +4744,7 @@ function addKeyword(keyword, definition) { metaSchema = { anyOf: [ metaSchema, - { '$ref': 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#' } + { '$ref': 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' } ] }; } @@ -4868,7 +4846,7 @@ function validateKeyword(definition, throwError) { },{"./definition_schema":12,"./dotjs/custom":22}],40:[function(require,module,exports){ module.exports={ "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#", + "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", "description": "Meta-schema for $data reference (JSON Schema extension proposal)", "type": "object", "required": [ "$data" ], diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/compile/equal.js b/tools/node_modules/eslint/node_modules/ajv/lib/compile/equal.js index 4b271d54366882..d6c2acef8741a5 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/compile/equal.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/compile/equal.js @@ -1,5 +1,5 @@ 'use strict'; // do NOT remove this file - it would break pre-compiled schemas -// https://github.com/epoberezkin/ajv/issues/889 +// https://github.com/ajv-validator/ajv/issues/889 module.exports = require('fast-deep-equal'); diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/compile/index.js b/tools/node_modules/eslint/node_modules/ajv/lib/compile/index.js index f4d3f0d58e66c8..97518c42479dbb 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/compile/index.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/compile/index.js @@ -113,7 +113,7 @@ function compile(schema, root, localRefs, baseId) { + vars(defaults, defaultCode) + vars(customRules, customRuleCode) + sourceCode; - if (opts.processCode) sourceCode = opts.processCode(sourceCode); + if (opts.processCode) sourceCode = opts.processCode(sourceCode, _schema); // console.log('\n\n\n *** \n', JSON.stringify(sourceCode)); var validate; try { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/compile/util.js b/tools/node_modules/eslint/node_modules/ajv/lib/compile/util.js index 0efa00111c8730..ef07b8c7579723 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/compile/util.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/compile/util.js @@ -13,8 +13,6 @@ module.exports = { ucs2length: require('./ucs2length'), varOccurences: varOccurences, varReplace: varReplace, - cleanUpCode: cleanUpCode, - finalCleanUpCode: finalCleanUpCode, schemaHasRules: schemaHasRules, schemaHasRulesExcept: schemaHasRulesExcept, schemaUnknownRules: schemaUnknownRules, @@ -36,7 +34,7 @@ function copy(o, to) { } -function checkDataType(dataType, data, negate) { +function checkDataType(dataType, data, strictNumbers, negate) { var EQUAL = negate ? ' !== ' : ' === ' , AND = negate ? ' || ' : ' && ' , OK = negate ? '!' : '' @@ -49,15 +47,18 @@ function checkDataType(dataType, data, negate) { NOT + 'Array.isArray(' + data + '))'; case 'integer': return '(typeof ' + data + EQUAL + '"number"' + AND + NOT + '(' + data + ' % 1)' + - AND + data + EQUAL + data + ')'; + AND + data + EQUAL + data + + (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')'; + case 'number': return '(typeof ' + data + EQUAL + '"' + dataType + '"' + + (strictNumbers ? (AND + OK + 'isFinite(' + data + ')') : '') + ')'; default: return 'typeof ' + data + EQUAL + '"' + dataType + '"'; } } -function checkDataTypes(dataTypes, data) { +function checkDataTypes(dataTypes, data, strictNumbers) { switch (dataTypes.length) { - case 1: return checkDataType(dataTypes[0], data, true); + case 1: return checkDataType(dataTypes[0], data, strictNumbers, true); default: var code = ''; var types = toHash(dataTypes); @@ -70,7 +71,7 @@ function checkDataTypes(dataTypes, data) { } if (types.number) delete types.integer; for (var t in types) - code += (code ? ' && ' : '' ) + checkDataType(t, data, true); + code += (code ? ' && ' : '' ) + checkDataType(t, data, strictNumbers, true); return code; } @@ -136,42 +137,6 @@ function varReplace(str, dataVar, expr) { } -var EMPTY_ELSE = /else\s*{\s*}/g - , EMPTY_IF_NO_ELSE = /if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g - , EMPTY_IF_WITH_ELSE = /if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g; -function cleanUpCode(out) { - return out.replace(EMPTY_ELSE, '') - .replace(EMPTY_IF_NO_ELSE, '') - .replace(EMPTY_IF_WITH_ELSE, 'if (!($1))'); -} - - -var ERRORS_REGEXP = /[^v.]errors/g - , REMOVE_ERRORS = /var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g - , REMOVE_ERRORS_ASYNC = /var errors = 0;|var vErrors = null;/g - , RETURN_VALID = 'return errors === 0;' - , RETURN_TRUE = 'validate.errors = null; return true;' - , RETURN_ASYNC = /if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/ - , RETURN_DATA_ASYNC = 'return data;' - , ROOTDATA_REGEXP = /[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g - , REMOVE_ROOTDATA = /if \(rootData === undefined\) rootData = data;/; - -function finalCleanUpCode(out, async) { - var matches = out.match(ERRORS_REGEXP); - if (matches && matches.length == 2) { - out = async - ? out.replace(REMOVE_ERRORS_ASYNC, '') - .replace(RETURN_ASYNC, RETURN_DATA_ASYNC) - : out.replace(REMOVE_ERRORS, '') - .replace(RETURN_VALID, RETURN_TRUE); - } - - matches = out.match(ROOTDATA_REGEXP); - if (!matches || matches.length !== 3) return out; - return out.replace(REMOVE_ROOTDATA, ''); -} - - function schemaHasRules(schema, rules) { if (typeof schema == 'boolean') return !schema; for (var key in schema) if (rules[key]) return true; @@ -250,7 +215,7 @@ function getData($data, lvl, paths) { function joinPaths (a, b) { if (a == '""') return b; - return (a + ' + ' + b).replace(/' \+ '/g, ''); + return (a + ' + ' + b).replace(/([^\\])' \+ '/g, '$1'); } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/data.js b/tools/node_modules/eslint/node_modules/ajv/lib/data.js index 5f1ad85efad9d4..f11142bec75cb6 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/data.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/data.js @@ -38,7 +38,7 @@ module.exports = function (metaSchema, keywordsJsonPointers) { keywords[key] = { anyOf: [ schema, - { $ref: 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#' } + { $ref: 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' } ] }; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/definition_schema.js b/tools/node_modules/eslint/node_modules/ajv/lib/definition_schema.js index e5f6b911c7b54d..ad86d4f0b1f746 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/definition_schema.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/definition_schema.js @@ -3,7 +3,7 @@ var metaSchema = require('./refs/json-schema-draft-07.json'); module.exports = { - $id: 'https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js', + $id: 'https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js', definitions: { simpleTypes: metaSchema.definitions.simpleTypes }, diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limit.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limit.jst index e10806fd30a489..f1521892229d04 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limit.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limit.jst @@ -17,6 +17,15 @@ , $op = $isMax ? '<' : '>' , $notOp = $isMax ? '>' : '<' , $errorKeyword = undefined; + + if (!($isData || typeof $schema == 'number' || $schema === undefined)) { + throw new Error($keyword + ' must be number'); + } + if (!($isDataExcl || $schemaExcl === undefined + || typeof $schemaExcl == 'number' + || typeof $schemaExcl == 'boolean')) { + throw new Error($exclusiveKeyword + ' must be number or boolean'); + } }} {{? $isDataExcl }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitItems.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitItems.jst index a3e078e5134a4c..741329e7769ffc 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitItems.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitItems.jst @@ -3,6 +3,8 @@ {{# def.setupKeyword }} {{# def.$data }} +{{# def.numberKeyword }} + {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }} if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) { {{ var $errorKeyword = $keyword; }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitLength.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitLength.jst index cfc8dbb0160a0f..285c66bd2eed2d 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitLength.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitLength.jst @@ -3,6 +3,8 @@ {{# def.setupKeyword }} {{# def.$data }} +{{# def.numberKeyword }} + {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }} if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) { {{ var $errorKeyword = $keyword; }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitProperties.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitProperties.jst index da7ea776f17adc..c4c21551abc3db 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitProperties.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/_limitProperties.jst @@ -3,6 +3,8 @@ {{# def.setupKeyword }} {{# def.$data }} +{{# def.numberKeyword }} + {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }} if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) { {{ var $errorKeyword = $keyword; }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/allOf.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/allOf.jst index 4c2836311bed56..0e782fe98e2da1 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/allOf.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/allOf.jst @@ -30,5 +30,3 @@ {{= $closingBraces.slice(0,-1) }} {{?}} {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/anyOf.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/anyOf.jst index 086cf2b33c38cd..ea909ee628e6b3 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/anyOf.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/anyOf.jst @@ -39,8 +39,6 @@ } else { {{# def.resetErrors }} {{? it.opts.allErrors }} } {{?}} - - {{# def.cleanUp }} {{??}} {{? $breakOnError }} if (true) { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/contains.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/contains.jst index 925d2c84b54600..4dc9967418dece 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/contains.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/contains.jst @@ -53,5 +53,3 @@ var {{=$valid}}; {{# def.resetErrors }} {{?}} {{? it.opts.allErrors }} } {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def b/tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def index 886db69792dbc8..709cce36d2b038 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/definitions.def @@ -113,12 +113,6 @@ #}} -{{## def.cleanUp: {{ out = it.util.cleanUpCode(out); }} #}} - - -{{## def.finalCleanUp: {{ out = it.util.finalCleanUpCode(out, $async); }} #}} - - {{## def.$data: {{ var $isData = it.opts.$data && $schema && $schema.$data @@ -145,6 +139,13 @@ #}} +{{## def.numberKeyword: + {{? !($isData || typeof $schema == 'number') }} + {{ throw new Error($keyword + ' must be number'); }} + {{?}} +#}} + + {{## def.beginDefOut: {{ var $$outStack = $$outStack || []; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/dependencies.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/dependencies.jst index c41f334224ee84..e4bdddec8eb953 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/dependencies.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/dependencies.jst @@ -19,6 +19,7 @@ , $ownProperties = it.opts.ownProperties; for ($property in $schema) { + if ($property == '__proto__') continue; var $sch = $schema[$property]; var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps; $deps[$property] = $sch; @@ -76,5 +77,3 @@ var missing{{=$lvl}}; {{= $closingBraces }} if ({{=$errs}} == errors) { {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/if.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/if.jst index 7ccc9b7f75b43b..adb50361245a1f 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/if.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/if.jst @@ -65,8 +65,6 @@ {{# def.extraError:'if' }} } {{? $breakOnError }} else { {{?}} - - {{# def.cleanUp }} {{??}} {{? $breakOnError }} if (true) { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/items.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/items.jst index 8c0f5acb5dfdf2..acc932a26eea8c 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/items.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/items.jst @@ -96,5 +96,3 @@ var {{=$valid}}; {{= $closingBraces }} if ({{=$errs}} == errors) { {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/multipleOf.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/multipleOf.jst index 5f8dd33b5dadfe..6d88a456f3817f 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/multipleOf.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/multipleOf.jst @@ -3,6 +3,8 @@ {{# def.setupKeyword }} {{# def.$data }} +{{# def.numberKeyword }} + var division{{=$lvl}}; if ({{?$isData}} {{=$schemaValue}} !== undefined && ( diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/properties.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/properties.jst index 862067e75162fe..5cebb9b12e948e 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/properties.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/properties.jst @@ -28,9 +28,9 @@ , $nextData = 'data' + $dataNxt , $dataProperties = 'dataProperties' + $lvl; - var $schemaKeys = Object.keys($schema || {}) + var $schemaKeys = Object.keys($schema || {}).filter(notProto) , $pProperties = it.schema.patternProperties || {} - , $pPropertyKeys = Object.keys($pProperties) + , $pPropertyKeys = Object.keys($pProperties).filter(notProto) , $aProperties = it.schema.additionalProperties , $someProperties = $schemaKeys.length || $pPropertyKeys.length , $noAdditional = $aProperties === false @@ -42,8 +42,11 @@ , $currentBaseId = it.baseId; var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) + if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) { var $requiredHash = it.util.toHash($required); + } + + function notProto(p) { return p !== '__proto__'; } }} @@ -240,5 +243,3 @@ var {{=$nextValid}} = true; {{= $closingBraces }} if ({{=$errs}} == errors) { {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/propertyNames.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/propertyNames.jst index ee52b2151a5b76..d456ccafc4b587 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/propertyNames.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/propertyNames.jst @@ -50,5 +50,3 @@ var {{=$errs}} = errors; {{= $closingBraces }} if ({{=$errs}} == errors) { {{?}} - -{{# def.cleanUp }} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/uniqueItems.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/uniqueItems.jst index 22f82f99d89957..e69b8308d2c47d 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/uniqueItems.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/uniqueItems.jst @@ -38,7 +38,7 @@ for (;i--;) { var item = {{=$data}}[i]; {{ var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); }} - if ({{= it.util[$method]($itemType, 'item', true) }}) continue; + if ({{= it.util[$method]($itemType, 'item', it.opts.strictNumbers, true) }}) continue; {{? $typeIsArray}} if (typeof item == 'string') item = '"' + item; {{?}} diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dot/validate.jst b/tools/node_modules/eslint/node_modules/ajv/lib/dot/validate.jst index c152e66f169a29..32087e71c0d53e 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dot/validate.jst +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dot/validate.jst @@ -140,7 +140,7 @@ , $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; }} - if ({{= it.util[$method]($typeSchema, $data, true) }}) { + if ({{= it.util[$method]($typeSchema, $data, it.opts.strictNumbers, true) }}) { #}} {{? it.schema.$ref && $refKeywords }} @@ -192,7 +192,7 @@ {{~ it.RULES:$rulesGroup }} {{? $shouldUseGroup($rulesGroup) }} {{? $rulesGroup.type }} - if ({{= it.util.checkDataType($rulesGroup.type, $data) }}) { + if ({{= it.util.checkDataType($rulesGroup.type, $data, it.opts.strictNumbers) }}) { {{?}} {{? it.opts.useDefaults }} {{? $rulesGroup.type == 'object' && it.schema.properties }} @@ -254,12 +254,6 @@ var {{=$valid}} = errors === errs_{{=$lvl}}; {{?}} -{{# def.cleanUp }} - -{{? $top }} - {{# def.finalCleanUp }} -{{?}} - {{ function $shouldUseGroup($rulesGroup) { var rules = $rulesGroup.rules; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limit.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limit.js index f02a76014491ae..05a1979dcb8e92 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limit.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limit.js @@ -24,6 +24,12 @@ module.exports = function generate__limit(it, $keyword, $ruleType) { $op = $isMax ? '<' : '>', $notOp = $isMax ? '>' : '<', $errorKeyword = undefined; + if (!($isData || typeof $schema == 'number' || $schema === undefined)) { + throw new Error($keyword + ' must be number'); + } + if (!($isDataExcl || $schemaExcl === undefined || typeof $schemaExcl == 'number' || typeof $schemaExcl == 'boolean')) { + throw new Error($exclusiveKeyword + ' must be number or boolean'); + } if ($isDataExcl) { var $schemaValueExcl = it.util.getData($schemaExcl.$data, $dataLvl, it.dataPathArr), $exclusive = 'exclusive' + $lvl, diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitItems.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitItems.js index a27d11886e9af6..e092a559ea0ae0 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitItems.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitItems.js @@ -17,6 +17,9 @@ module.exports = function generate__limitItems(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxItems' ? '>' : '<'; out += 'if ( '; if ($isData) { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitLength.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitLength.js index 789f3741ed1b50..ecbd3fe1906f34 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitLength.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitLength.js @@ -17,6 +17,9 @@ module.exports = function generate__limitLength(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxLength' ? '>' : '<'; out += 'if ( '; if ($isData) { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitProperties.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitProperties.js index 11dc939314a89c..d232755ad0b21e 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitProperties.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/_limitProperties.js @@ -17,6 +17,9 @@ module.exports = function generate__limitProperties(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } var $op = $keyword == 'maxProperties' ? '>' : '<'; out += 'if ( '; if ($isData) { diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/allOf.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/allOf.js index 9c89544429f973..fb8c2e4bbefe95 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/allOf.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/allOf.js @@ -38,6 +38,5 @@ module.exports = function generate_allOf(it, $keyword, $ruleType) { out += ' ' + ($closingBraces.slice(0, -1)) + ' '; } } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js index 926400e3743b65..0600a9d42bce5b 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js @@ -64,7 +64,6 @@ module.exports = function generate_anyOf(it, $keyword, $ruleType) { if (it.opts.allErrors) { out += ' } '; } - out = it.util.cleanUpCode(out); } else { if ($breakOnError) { out += ' if (true) { '; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/contains.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/contains.js index 255f9654e6d0e3..7d763009073aa3 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/contains.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/contains.js @@ -77,6 +77,5 @@ module.exports = function generate_contains(it, $keyword, $ruleType) { if (it.opts.allErrors) { out += ' } '; } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/dependencies.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/dependencies.js index 81c8eb385bdab2..e4829497b0727c 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/dependencies.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/dependencies.js @@ -17,6 +17,7 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) { $propertyDeps = {}, $ownProperties = it.opts.ownProperties; for ($property in $schema) { + if ($property == '__proto__') continue; var $sch = $schema[$property]; var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps; $deps[$property] = $sch; @@ -163,6 +164,5 @@ module.exports = function generate_dependencies(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/if.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/if.js index 36e7200f13a124..94d27ad853836d 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/if.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/if.js @@ -94,7 +94,6 @@ module.exports = function generate_if(it, $keyword, $ruleType) { if ($breakOnError) { out += ' else { '; } - out = it.util.cleanUpCode(out); } else { if ($breakOnError) { out += ' if (true) { '; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/items.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/items.js index 8f92224cc7eaf7..bee5d67da246f3 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/items.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/items.js @@ -136,6 +136,5 @@ module.exports = function generate_items(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/multipleOf.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/multipleOf.js index af087d2c3ae4bd..9d6401b8f723f0 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/multipleOf.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/multipleOf.js @@ -16,6 +16,9 @@ module.exports = function generate_multipleOf(it, $keyword, $ruleType) { } else { $schemaValue = $schema; } + if (!($isData || typeof $schema == 'number')) { + throw new Error($keyword + ' must be number'); + } out += 'var division' + ($lvl) + ';if ('; if ($isData) { out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \'number\' || '; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/properties.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/properties.js index fb2c23393220b6..bc5ee55478090b 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/properties.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/properties.js @@ -18,9 +18,9 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { $dataNxt = $it.dataLevel = it.dataLevel + 1, $nextData = 'data' + $dataNxt, $dataProperties = 'dataProperties' + $lvl; - var $schemaKeys = Object.keys($schema || {}), + var $schemaKeys = Object.keys($schema || {}).filter(notProto), $pProperties = it.schema.patternProperties || {}, - $pPropertyKeys = Object.keys($pProperties), + $pPropertyKeys = Object.keys($pProperties).filter(notProto), $aProperties = it.schema.additionalProperties, $someProperties = $schemaKeys.length || $pPropertyKeys.length, $noAdditional = $aProperties === false, @@ -30,7 +30,13 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { $ownProperties = it.opts.ownProperties, $currentBaseId = it.baseId; var $required = it.schema.required; - if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) var $requiredHash = it.util.toHash($required); + if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) { + var $requiredHash = it.util.toHash($required); + } + + function notProto(p) { + return p !== '__proto__'; + } out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;'; if ($ownProperties) { out += ' var ' + ($dataProperties) + ' = undefined;'; @@ -325,6 +331,5 @@ module.exports = function generate_properties(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/propertyNames.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/propertyNames.js index 2ca36e2c980db1..2a54a08f45e549 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/propertyNames.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/propertyNames.js @@ -77,6 +77,5 @@ module.exports = function generate_propertyNames(it, $keyword, $ruleType) { if ($breakOnError) { out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {'; } - out = it.util.cleanUpCode(out); return out; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/uniqueItems.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/uniqueItems.js index c4f6536b472ee1..0736a0ed2333c6 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/uniqueItems.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/uniqueItems.js @@ -29,7 +29,7 @@ module.exports = function generate_uniqueItems(it, $keyword, $ruleType) { } else { out += ' var itemIndices = {}, item; for (;i--;) { var item = ' + ($data) + '[i]; '; var $method = 'checkDataType' + ($typeIsArray ? 's' : ''); - out += ' if (' + (it.util[$method]($itemType, 'item', true)) + ') continue; '; + out += ' if (' + (it.util[$method]($itemType, 'item', it.opts.strictNumbers, true)) + ') continue; '; if ($typeIsArray) { out += ' if (typeof item == \'string\') item = \'"\' + item; '; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/validate.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/validate.js index 563575641c5fe4..f295824b9325af 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/validate.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/validate.js @@ -149,7 +149,7 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { var $schemaPath = it.schemaPath + '.type', $errSchemaPath = it.errSchemaPath + '/type', $method = $typeIsArray ? 'checkDataTypes' : 'checkDataType'; - out += ' if (' + (it.util[$method]($typeSchema, $data, true)) + ') { '; + out += ' if (' + (it.util[$method]($typeSchema, $data, it.opts.strictNumbers, true)) + ') { '; if ($coerceToTypes) { var $dataType = 'dataType' + $lvl, $coerced = 'coerced' + $lvl; @@ -294,7 +294,7 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { $rulesGroup = arr2[i2 += 1]; if ($shouldUseGroup($rulesGroup)) { if ($rulesGroup.type) { - out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data)) + ') { '; + out += ' if (' + (it.util.checkDataType($rulesGroup.type, $data, it.opts.strictNumbers)) + ') { '; } if (it.opts.useDefaults) { if ($rulesGroup.type == 'object' && it.schema.properties) { @@ -462,10 +462,6 @@ module.exports = function generate_validate(it, $keyword, $ruleType) { } else { out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';'; } - out = it.util.cleanUpCode(out); - if ($top) { - out = it.util.finalCleanUpCode(out, $async); - } function $shouldUseGroup($rulesGroup) { var rules = $rulesGroup.rules; diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/keyword.js b/tools/node_modules/eslint/node_modules/ajv/lib/keyword.js index 5fec19a678657d..06da9a2dfbe5cc 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/keyword.js +++ b/tools/node_modules/eslint/node_modules/ajv/lib/keyword.js @@ -46,7 +46,7 @@ function addKeyword(keyword, definition) { metaSchema = { anyOf: [ metaSchema, - { '$ref': 'https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#' } + { '$ref': 'https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#' } ] }; } diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/refs/data.json b/tools/node_modules/eslint/node_modules/ajv/lib/refs/data.json index 87a2d1437195e2..64aac5b613db10 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/refs/data.json +++ b/tools/node_modules/eslint/node_modules/ajv/lib/refs/data.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#", + "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", "description": "Meta-schema for $data reference (JSON Schema extension proposal)", "type": "object", "required": [ "$data" ], diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/refs/json-schema-secure.json b/tools/node_modules/eslint/node_modules/ajv/lib/refs/json-schema-secure.json index 66faf84f84b924..0f7aad4793a7f2 100644 --- a/tools/node_modules/eslint/node_modules/ajv/lib/refs/json-schema-secure.json +++ b/tools/node_modules/eslint/node_modules/ajv/lib/refs/json-schema-secure.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-secure.json#", + "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/json-schema-secure.json#", "title": "Meta-schema for the security assessment of JSON Schemas", "description": "If a JSON Schema fails validation against this meta-schema, it may be unsafe to validate untrusted data", "definitions": { diff --git a/tools/node_modules/eslint/node_modules/ajv/package.json b/tools/node_modules/eslint/node_modules/ajv/package.json index 7e3ecdac6b4659..6657aaf6c4ab24 100644 --- a/tools/node_modules/eslint/node_modules/ajv/package.json +++ b/tools/node_modules/eslint/node_modules/ajv/package.json @@ -3,7 +3,7 @@ "name": "Evgeny Poberezkin" }, "bugs": { - "url": "https://github.com/epoberezkin/ajv/issues" + "url": "https://github.com/ajv-validator/ajv/issues" }, "bundleDependencies": false, "collective": { @@ -27,7 +27,7 @@ "coveralls": "^3.0.1", "del-cli": "^3.0.0", "dot": "^1.0.3", - "eslint": "^6.0.0", + "eslint": "^7.3.1", "gh-pages-generator": "^0.2.3", "glob": "^7.0.0", "if-node-version": "^1.0.0", @@ -38,11 +38,11 @@ "karma-chrome-launcher": "^3.0.0", "karma-mocha": "^2.0.0", "karma-sauce-launcher": "^4.1.3", - "mocha": "^7.0.1", + "mocha": "^8.0.1", "nyc": "^15.0.0", "pre-commit": "^1.1.1", "require-globify": "^1.3.0", - "typescript": "^2.8.3", + "typescript": "^3.9.5", "uglify-js": "^3.6.9", "watch": "^1.0.0" }, @@ -53,7 +53,11 @@ "LICENSE", ".tonic_example.js" ], - "homepage": "https://github.com/epoberezkin/ajv", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + }, + "homepage": "https://github.com/ajv-validator/ajv", "keywords": [ "JSON", "schema", @@ -79,7 +83,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/epoberezkin/ajv.git" + "url": "git+https://github.com/ajv-validator/ajv.git" }, "scripts": { "build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js", diff --git a/tools/node_modules/eslint/node_modules/ajv/scripts/publish-built-version b/tools/node_modules/eslint/node_modules/ajv/scripts/publish-built-version index 2796ed25f3411b..1b5712372d2059 100644 --- a/tools/node_modules/eslint/node_modules/ajv/scripts/publish-built-version +++ b/tools/node_modules/eslint/node_modules/ajv/scripts/publish-built-version @@ -8,7 +8,7 @@ if [[ -n $TRAVIS_TAG && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then git config user.email "$GIT_USER_EMAIL" git config user.name "$GIT_USER_NAME" - git clone https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv-dist.git ../ajv-dist + git clone https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv-dist.git ../ajv-dist rm -rf ../ajv-dist/dist mkdir ../ajv-dist/dist diff --git a/tools/node_modules/eslint/node_modules/ajv/scripts/travis-gh-pages b/tools/node_modules/eslint/node_modules/ajv/scripts/travis-gh-pages index 46ded1611af18d..b3d4f3d0f489d4 100644 --- a/tools/node_modules/eslint/node_modules/ajv/scripts/travis-gh-pages +++ b/tools/node_modules/eslint/node_modules/ajv/scripts/travis-gh-pages @@ -5,7 +5,7 @@ set -e if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { rm -rf ../gh-pages - git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages + git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv.git ../gh-pages mkdir -p ../gh-pages/_source cp *.md ../gh-pages/_source cp LICENSE ../gh-pages/_source diff --git a/tools/node_modules/eslint/node_modules/chardet/LICENSE b/tools/node_modules/eslint/node_modules/ansi-colors/LICENSE similarity index 93% rename from tools/node_modules/eslint/node_modules/chardet/LICENSE rename to tools/node_modules/eslint/node_modules/ansi-colors/LICENSE index fcdc87961cdea1..8749cc754e5d3d 100644 --- a/tools/node_modules/eslint/node_modules/chardet/LICENSE +++ b/tools/node_modules/eslint/node_modules/ansi-colors/LICENSE @@ -1,4 +1,6 @@ -Copyright (C) 2018 Dmitry Shirokov +The MIT License (MIT) + +Copyright (c) 2015-present, Brian Woodward. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/tools/node_modules/eslint/node_modules/ansi-colors/README.md b/tools/node_modules/eslint/node_modules/ansi-colors/README.md new file mode 100644 index 00000000000000..dcdbcb503d083b --- /dev/null +++ b/tools/node_modules/eslint/node_modules/ansi-colors/README.md @@ -0,0 +1,315 @@ +# ansi-colors [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W8YFZ425KND68) [![NPM version](https://img.shields.io/npm/v/ansi-colors.svg?style=flat)](https://www.npmjs.com/package/ansi-colors) [![NPM monthly downloads](https://img.shields.io/npm/dm/ansi-colors.svg?style=flat)](https://npmjs.org/package/ansi-colors) [![NPM total downloads](https://img.shields.io/npm/dt/ansi-colors.svg?style=flat)](https://npmjs.org/package/ansi-colors) [![Linux Build Status](https://img.shields.io/travis/doowb/ansi-colors.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/ansi-colors) + +> Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs). + +Please consider following this project's author, [Brian Woodward](https://github.com/doowb), and consider starring the project to show your :heart: and support. + +## Install + +Install with [npm](https://www.npmjs.com/): + +```sh +$ npm install --save ansi-colors +``` + +![image](https://user-images.githubusercontent.com/383994/39635445-8a98a3a6-4f8b-11e8-89c1-068c45d4fff8.png) + +## Why use this? + +ansi-colors is _the fastest Node.js library for terminal styling_. A more performant drop-in replacement for chalk, with no dependencies. + +* _Blazing fast_ - Fastest terminal styling library in node.js, 10-20x faster than chalk! + +* _Drop-in replacement_ for [chalk](https://github.com/chalk/chalk). +* _No dependencies_ (Chalk has 7 dependencies in its tree!) + +* _Safe_ - Does not modify the `String.prototype` like [colors](https://github.com/Marak/colors.js). +* Supports [nested colors](#nested-colors), **and does not have the [nested styling bug](#nested-styling-bug) that is present in [colorette](https://github.com/jorgebucaran/colorette), [chalk](https://github.com/chalk/chalk), and [kleur](https://github.com/lukeed/kleur)**. +* Supports [chained colors](#chained-colors). +* [Toggle color support](#toggle-color-support) on or off. + +## Usage + +```js +const c = require('ansi-colors'); + +console.log(c.red('This is a red string!')); +console.log(c.green('This is a red string!')); +console.log(c.cyan('This is a cyan string!')); +console.log(c.yellow('This is a yellow string!')); +``` + +![image](https://user-images.githubusercontent.com/383994/39653848-a38e67da-4fc0-11e8-89ae-98c65ebe9dcf.png) + +## Chained colors + +```js +console.log(c.bold.red('this is a bold red message')); +console.log(c.bold.yellow.italic('this is a bold yellow italicized message')); +console.log(c.green.bold.underline('this is a bold green underlined message')); +``` + +![image](https://user-images.githubusercontent.com/383994/39635780-7617246a-4f8c-11e8-89e9-05216cc54e38.png) + +## Nested colors + +```js +console.log(c.yellow(`foo ${c.red.bold('red')} bar ${c.cyan('cyan')} baz`)); +``` + +![image](https://user-images.githubusercontent.com/383994/39635817-8ed93d44-4f8c-11e8-8afd-8c3ea35f5fbe.png) + +### Nested styling bug + +`ansi-colors` does not have the nested styling bug found in [colorette](https://github.com/jorgebucaran/colorette), [chalk](https://github.com/chalk/chalk), and [kleur](https://github.com/lukeed/kleur). + +```js +const { bold, red } = require('ansi-styles'); +console.log(bold(`foo ${red.dim('bar')} baz`)); + +const colorette = require('colorette'); +console.log(colorette.bold(`foo ${colorette.red(colorette.dim('bar'))} baz`)); + +const kleur = require('kleur'); +console.log(kleur.bold(`foo ${kleur.red.dim('bar')} baz`)); + +const chalk = require('chalk'); +console.log(chalk.bold(`foo ${chalk.red.dim('bar')} baz`)); +``` + +**Results in the following** + +(sans icons and labels) + +![image](https://user-images.githubusercontent.com/383994/47280326-d2ee0580-d5a3-11e8-9611-ea6010f0a253.png) + +## Toggle color support + +Easily enable/disable colors. + +```js +const c = require('ansi-colors'); + +// disable colors manually +c.enabled = false; + +// or use a library to automatically detect support +c.enabled = require('color-support').hasBasic; + +console.log(c.red('I will only be colored red if the terminal supports colors')); +``` + +## Strip ANSI codes + +Use the `.unstyle` method to strip ANSI codes from a string. + +```js +console.log(c.unstyle(c.blue.bold('foo bar baz'))); +//=> 'foo bar baz' +``` + +## Available styles + +**Note** that bright and bright-background colors are not always supported. + +| Colors | Background Colors | Bright Colors | Bright Background Colors | +| ------- | ----------------- | ------------- | ------------------------ | +| black | bgBlack | blackBright | bgBlackBright | +| red | bgRed | redBright | bgRedBright | +| green | bgGreen | greenBright | bgGreenBright | +| yellow | bgYellow | yellowBright | bgYellowBright | +| blue | bgBlue | blueBright | bgBlueBright | +| magenta | bgMagenta | magentaBright | bgMagentaBright | +| cyan | bgCyan | cyanBright | bgCyanBright | +| white | bgWhite | whiteBright | bgWhiteBright | +| gray | | | | +| grey | | | | + +_(`gray` is the U.S. spelling, `grey` is more commonly used in the Canada and U.K.)_ + +### Style modifiers + +* dim +* **bold** + +* hidden +* _italic_ + +* underline +* inverse +* ~~strikethrough~~ + +* reset + +## Aliases + +Create custom aliases for styles. + +```js +const colors = require('ansi-colors'); + +colors.alias('primary', colors.yellow); +colors.alias('secondary', colors.bold); + +console.log(colors.primary.secondary('Foo')); +``` + +## Themes + +A theme is an object of custom aliases. + +```js +const colors = require('ansi-colors'); + +colors.theme({ + danger: colors.red, + dark: colors.dim.gray, + disabled: colors.gray, + em: colors.italic, + heading: colors.bold.underline, + info: colors.cyan, + muted: colors.dim, + primary: colors.blue, + strong: colors.bold, + success: colors.green, + underline: colors.underline, + warning: colors.yellow +}); + +// Now, we can use our custom styles alongside the built-in styles! +console.log(colors.danger.strong.em('Error!')); +console.log(colors.warning('Heads up!')); +console.log(colors.info('Did you know...')); +console.log(colors.success.bold('It worked!')); +``` + +## Performance + +**Libraries tested** + +* ansi-colors v3.0.4 +* chalk v2.4.1 + +### Mac + +> MacBook Pro, Intel Core i7, 2.3 GHz, 16 GB. + +**Load time** + +Time it takes to load the first time `require()` is called: + +* ansi-colors - `1.915ms` +* chalk - `12.437ms` + +**Benchmarks** + +``` +# All Colors + ansi-colors x 173,851 ops/sec ±0.42% (91 runs sampled) + chalk x 9,944 ops/sec ±2.53% (81 runs sampled))) + +# Chained colors + ansi-colors x 20,791 ops/sec ±0.60% (88 runs sampled) + chalk x 2,111 ops/sec ±2.34% (83 runs sampled) + +# Nested colors + ansi-colors x 59,304 ops/sec ±0.98% (92 runs sampled) + chalk x 4,590 ops/sec ±2.08% (82 runs sampled) +``` + +### Windows + +> Windows 10, Intel Core i7-7700k CPU @ 4.2 GHz, 32 GB + +**Load time** + +Time it takes to load the first time `require()` is called: + +* ansi-colors - `1.494ms` +* chalk - `11.523ms` + +**Benchmarks** + +``` +# All Colors + ansi-colors x 193,088 ops/sec ±0.51% (95 runs sampled)) + chalk x 9,612 ops/sec ±3.31% (77 runs sampled))) + +# Chained colors + ansi-colors x 26,093 ops/sec ±1.13% (94 runs sampled) + chalk x 2,267 ops/sec ±2.88% (80 runs sampled)) + +# Nested colors + ansi-colors x 67,747 ops/sec ±0.49% (93 runs sampled) + chalk x 4,446 ops/sec ±3.01% (82 runs sampled)) +``` + +## About + +
+Contributing + +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). + +
+ +
+Running Tests + +Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: + +```sh +$ npm install && npm test +``` + +
+ +
+Building docs + +_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ + +To generate the readme, run the following command: + +```sh +$ npm install -g verbose/verb#dev verb-generate-readme && verb +``` + +
+ +### Related projects + +You might also be interested in these projects: + +* [ansi-wrap](https://www.npmjs.com/package/ansi-wrap): Create ansi colors by passing the open and close codes. | [homepage](https://github.com/jonschlinkert/ansi-wrap "Create ansi colors by passing the open and close codes.") +* [strip-color](https://www.npmjs.com/package/strip-color): Strip ANSI color codes from a string. No dependencies. | [homepage](https://github.com/jonschlinkert/strip-color "Strip ANSI color codes from a string. No dependencies.") + +### Contributors + +| **Commits** | **Contributor** | +| --- | --- | +| 48 | [jonschlinkert](https://github.com/jonschlinkert) | +| 42 | [doowb](https://github.com/doowb) | +| 6 | [lukeed](https://github.com/lukeed) | +| 2 | [Silic0nS0ldier](https://github.com/Silic0nS0ldier) | +| 1 | [dwieeb](https://github.com/dwieeb) | +| 1 | [jorgebucaran](https://github.com/jorgebucaran) | +| 1 | [madhavarshney](https://github.com/madhavarshney) | +| 1 | [chapterjason](https://github.com/chapterjason) | + +### Author + +**Brian Woodward** + +* [GitHub Profile](https://github.com/doowb) +* [Twitter Profile](https://twitter.com/doowb) +* [LinkedIn Profile](https://linkedin.com/in/woodwardbrian) + +### License + +Copyright © 2019, [Brian Woodward](https://github.com/doowb). +Released under the [MIT License](LICENSE). + +*** + +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on July 01, 2019._ \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/ansi-colors/index.js b/tools/node_modules/eslint/node_modules/ansi-colors/index.js new file mode 100644 index 00000000000000..8e26419046aaea --- /dev/null +++ b/tools/node_modules/eslint/node_modules/ansi-colors/index.js @@ -0,0 +1,177 @@ +'use strict'; + +const isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val); +const identity = val => val; + +/* eslint-disable no-control-regex */ +// this is a modified version of https://github.com/chalk/ansi-regex (MIT License) +const ANSI_REGEX = /[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g; + +const create = () => { + const colors = { enabled: true, visible: true, styles: {}, keys: {} }; + + if ('FORCE_COLOR' in process.env) { + colors.enabled = process.env.FORCE_COLOR !== '0'; + } + + const ansi = style => { + let open = style.open = `\u001b[${style.codes[0]}m`; + let close = style.close = `\u001b[${style.codes[1]}m`; + let regex = style.regex = new RegExp(`\\u001b\\[${style.codes[1]}m`, 'g'); + style.wrap = (input, newline) => { + if (input.includes(close)) input = input.replace(regex, close + open); + let output = open + input + close; + // see https://github.com/chalk/chalk/pull/92, thanks to the + // chalk contributors for this fix. However, we've confirmed that + // this issue is also present in Windows terminals + return newline ? output.replace(/\r*\n/g, `${close}$&${open}`) : output; + }; + return style; + }; + + const wrap = (style, input, newline) => { + return typeof style === 'function' ? style(input) : style.wrap(input, newline); + }; + + const style = (input, stack) => { + if (input === '' || input == null) return ''; + if (colors.enabled === false) return input; + if (colors.visible === false) return ''; + let str = '' + input; + let nl = str.includes('\n'); + let n = stack.length; + if (n > 0 && stack.includes('unstyle')) { + stack = [...new Set(['unstyle', ...stack])].reverse(); + } + while (n-- > 0) str = wrap(colors.styles[stack[n]], str, nl); + return str; + }; + + const define = (name, codes, type) => { + colors.styles[name] = ansi({ name, codes }); + let keys = colors.keys[type] || (colors.keys[type] = []); + keys.push(name); + + Reflect.defineProperty(colors, name, { + configurable: true, + enumerable: true, + set(value) { + colors.alias(name, value); + }, + get() { + let color = input => style(input, color.stack); + Reflect.setPrototypeOf(color, colors); + color.stack = this.stack ? this.stack.concat(name) : [name]; + return color; + } + }); + }; + + define('reset', [0, 0], 'modifier'); + define('bold', [1, 22], 'modifier'); + define('dim', [2, 22], 'modifier'); + define('italic', [3, 23], 'modifier'); + define('underline', [4, 24], 'modifier'); + define('inverse', [7, 27], 'modifier'); + define('hidden', [8, 28], 'modifier'); + define('strikethrough', [9, 29], 'modifier'); + + define('black', [30, 39], 'color'); + define('red', [31, 39], 'color'); + define('green', [32, 39], 'color'); + define('yellow', [33, 39], 'color'); + define('blue', [34, 39], 'color'); + define('magenta', [35, 39], 'color'); + define('cyan', [36, 39], 'color'); + define('white', [37, 39], 'color'); + define('gray', [90, 39], 'color'); + define('grey', [90, 39], 'color'); + + define('bgBlack', [40, 49], 'bg'); + define('bgRed', [41, 49], 'bg'); + define('bgGreen', [42, 49], 'bg'); + define('bgYellow', [43, 49], 'bg'); + define('bgBlue', [44, 49], 'bg'); + define('bgMagenta', [45, 49], 'bg'); + define('bgCyan', [46, 49], 'bg'); + define('bgWhite', [47, 49], 'bg'); + + define('blackBright', [90, 39], 'bright'); + define('redBright', [91, 39], 'bright'); + define('greenBright', [92, 39], 'bright'); + define('yellowBright', [93, 39], 'bright'); + define('blueBright', [94, 39], 'bright'); + define('magentaBright', [95, 39], 'bright'); + define('cyanBright', [96, 39], 'bright'); + define('whiteBright', [97, 39], 'bright'); + + define('bgBlackBright', [100, 49], 'bgBright'); + define('bgRedBright', [101, 49], 'bgBright'); + define('bgGreenBright', [102, 49], 'bgBright'); + define('bgYellowBright', [103, 49], 'bgBright'); + define('bgBlueBright', [104, 49], 'bgBright'); + define('bgMagentaBright', [105, 49], 'bgBright'); + define('bgCyanBright', [106, 49], 'bgBright'); + define('bgWhiteBright', [107, 49], 'bgBright'); + + colors.ansiRegex = ANSI_REGEX; + colors.hasColor = colors.hasAnsi = str => { + colors.ansiRegex.lastIndex = 0; + return typeof str === 'string' && str !== '' && colors.ansiRegex.test(str); + }; + + colors.alias = (name, color) => { + let fn = typeof color === 'string' ? colors[color] : color; + + if (typeof fn !== 'function') { + throw new TypeError('Expected alias to be the name of an existing color (string) or a function'); + } + + if (!fn.stack) { + Reflect.defineProperty(fn, 'name', { value: name }); + colors.styles[name] = fn; + fn.stack = [name]; + } + + Reflect.defineProperty(colors, name, { + configurable: true, + enumerable: true, + set(value) { + colors.alias(name, value); + }, + get() { + let color = input => style(input, color.stack); + Reflect.setPrototypeOf(color, colors); + color.stack = this.stack ? this.stack.concat(fn.stack) : fn.stack; + return color; + } + }); + }; + + colors.theme = custom => { + if (!isObject(custom)) throw new TypeError('Expected theme to be an object'); + for (let name of Object.keys(custom)) { + colors.alias(name, custom[name]); + } + return colors; + }; + + colors.alias('unstyle', str => { + if (typeof str === 'string' && str !== '') { + colors.ansiRegex.lastIndex = 0; + return str.replace(colors.ansiRegex, ''); + } + return ''; + }); + + colors.alias('noop', str => str); + colors.none = colors.clear = colors.noop; + + colors.stripColor = colors.unstyle; + colors.symbols = require('./symbols'); + colors.define = define; + return colors; +}; + +module.exports = create(); +module.exports.create = create; diff --git a/tools/node_modules/eslint/node_modules/ansi-colors/package.json b/tools/node_modules/eslint/node_modules/ansi-colors/package.json new file mode 100644 index 00000000000000..8c23184218ac6b --- /dev/null +++ b/tools/node_modules/eslint/node_modules/ansi-colors/package.json @@ -0,0 +1,129 @@ +{ + "author": { + "name": "Brian Woodward", + "url": "https://github.com/doowb" + }, + "bugs": { + "url": "https://github.com/doowb/ansi-colors/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Brian Woodward", + "url": "https://twitter.com/doowb" + }, + { + "name": "Jason Schilling", + "url": "https://sourecode.de" + }, + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + }, + { + "name": "Jordan", + "url": "https://github.com/Silic0nS0ldier" + } + ], + "deprecated": false, + "description": "Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).", + "devDependencies": { + "decache": "^4.5.1", + "gulp-format-md": "^2.0.0", + "justified": "^1.0.1", + "mocha": "^6.1.4", + "text-table": "^0.2.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "symbols.js", + "types/index.d.ts" + ], + "homepage": "https://github.com/doowb/ansi-colors", + "keywords": [ + "ansi", + "bgblack", + "bgBlack", + "bgblue", + "bgBlue", + "bgcyan", + "bgCyan", + "bggreen", + "bgGreen", + "bgmagenta", + "bgMagenta", + "bgred", + "bgRed", + "bgwhite", + "bgWhite", + "bgyellow", + "bgYellow", + "black", + "blue", + "bold", + "clorox", + "colors", + "cyan", + "dim", + "gray", + "green", + "grey", + "hidden", + "inverse", + "italic", + "kleur", + "magenta", + "red", + "reset", + "strikethrough", + "underline", + "white", + "yellow" + ], + "license": "MIT", + "main": "index.js", + "name": "ansi-colors", + "repository": { + "type": "git", + "url": "git+https://github.com/doowb/ansi-colors.git" + }, + "scripts": { + "test": "mocha" + }, + "types": "./types/index.d.ts", + "verb": { + "toc": false, + "layout": "default", + "tasks": [ + "readme" + ], + "data": { + "author": { + "linkedin": "woodwardbrian", + "twitter": "doowb" + } + }, + "plugins": [ + "gulp-format-md" + ], + "lint": { + "reflinks": true + }, + "related": { + "list": [ + "ansi-wrap", + "strip-color" + ] + }, + "reflinks": [ + "chalk", + "colorette", + "colors", + "kleur" + ] + }, + "version": "4.1.1" +} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/ansi-colors/symbols.js b/tools/node_modules/eslint/node_modules/ansi-colors/symbols.js new file mode 100644 index 00000000000000..ee159457342a5e --- /dev/null +++ b/tools/node_modules/eslint/node_modules/ansi-colors/symbols.js @@ -0,0 +1,70 @@ +'use strict'; + +const isHyper = process.env.TERM_PROGRAM === 'Hyper'; +const isWindows = process.platform === 'win32'; +const isLinux = process.platform === 'linux'; + +const common = { + ballotDisabled: '☒', + ballotOff: '☐', + ballotOn: '☑', + bullet: '•', + bulletWhite: '◦', + fullBlock: '█', + heart: '❤', + identicalTo: '≡', + line: '─', + mark: '※', + middot: '·', + minus: '-', + multiplication: '×', + obelus: '÷', + pencilDownRight: '✎', + pencilRight: '✏', + pencilUpRight: '✐', + percent: '%', + pilcrow2: '❡', + pilcrow: '¶', + plusMinus: '±', + section: '§', + starsOff: '☆', + starsOn: '★', + upDownArrow: '↕' +}; + +const windows = Object.assign({}, common, { + check: '√', + cross: '×', + ellipsisLarge: '...', + ellipsis: '...', + info: 'i', + question: '?', + questionSmall: '?', + pointer: '>', + pointerSmall: '»', + radioOff: '( )', + radioOn: '(*)', + warning: '‼' +}); + +const other = Object.assign({}, common, { + ballotCross: '✘', + check: '✔', + cross: '✖', + ellipsisLarge: '⋯', + ellipsis: '…', + info: 'ℹ', + question: '?', + questionFull: '?', + questionSmall: '﹖', + pointer: isLinux ? '▸' : '❯', + pointerSmall: isLinux ? '‣' : '›', + radioOff: '◯', + radioOn: '◉', + warning: '⚠' +}); + +module.exports = (isWindows && !isHyper) ? windows : other; +Reflect.defineProperty(module.exports, 'common', { enumerable: false, value: common }); +Reflect.defineProperty(module.exports, 'windows', { enumerable: false, value: windows }); +Reflect.defineProperty(module.exports, 'other', { enumerable: false, value: other }); diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/index.js b/tools/node_modules/eslint/node_modules/ansi-escapes/index.js deleted file mode 100644 index 283331858f02e1..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/index.js +++ /dev/null @@ -1,157 +0,0 @@ -'use strict'; -const ansiEscapes = module.exports; -// TODO: remove this in the next major version -module.exports.default = ansiEscapes; - -const ESC = '\u001B['; -const OSC = '\u001B]'; -const BEL = '\u0007'; -const SEP = ';'; -const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal'; - -ansiEscapes.cursorTo = (x, y) => { - if (typeof x !== 'number') { - throw new TypeError('The `x` argument is required'); - } - - if (typeof y !== 'number') { - return ESC + (x + 1) + 'G'; - } - - return ESC + (y + 1) + ';' + (x + 1) + 'H'; -}; - -ansiEscapes.cursorMove = (x, y) => { - if (typeof x !== 'number') { - throw new TypeError('The `x` argument is required'); - } - - let ret = ''; - - if (x < 0) { - ret += ESC + (-x) + 'D'; - } else if (x > 0) { - ret += ESC + x + 'C'; - } - - if (y < 0) { - ret += ESC + (-y) + 'A'; - } else if (y > 0) { - ret += ESC + y + 'B'; - } - - return ret; -}; - -ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A'; -ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B'; -ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C'; -ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D'; - -ansiEscapes.cursorLeft = ESC + 'G'; -ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's'; -ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u'; -ansiEscapes.cursorGetPosition = ESC + '6n'; -ansiEscapes.cursorNextLine = ESC + 'E'; -ansiEscapes.cursorPrevLine = ESC + 'F'; -ansiEscapes.cursorHide = ESC + '?25l'; -ansiEscapes.cursorShow = ESC + '?25h'; - -ansiEscapes.eraseLines = count => { - let clear = ''; - - for (let i = 0; i < count; i++) { - clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : ''); - } - - if (count) { - clear += ansiEscapes.cursorLeft; - } - - return clear; -}; - -ansiEscapes.eraseEndLine = ESC + 'K'; -ansiEscapes.eraseStartLine = ESC + '1K'; -ansiEscapes.eraseLine = ESC + '2K'; -ansiEscapes.eraseDown = ESC + 'J'; -ansiEscapes.eraseUp = ESC + '1J'; -ansiEscapes.eraseScreen = ESC + '2J'; -ansiEscapes.scrollUp = ESC + 'S'; -ansiEscapes.scrollDown = ESC + 'T'; - -ansiEscapes.clearScreen = '\u001Bc'; - -ansiEscapes.clearTerminal = process.platform === 'win32' ? - `${ansiEscapes.eraseScreen}${ESC}0f` : - // 1. Erases the screen (Only done in case `2` is not supported) - // 2. Erases the whole screen including scrollback buffer - // 3. Moves cursor to the top-left position - // More info: https://www.real-world-systems.com/docs/ANSIcode.html - `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`; - -ansiEscapes.beep = BEL; - -ansiEscapes.link = (text, url) => { - return [ - OSC, - '8', - SEP, - SEP, - url, - BEL, - text, - OSC, - '8', - SEP, - SEP, - BEL - ].join(''); -}; - -ansiEscapes.image = (buffer, options = {}) => { - let ret = `${OSC}1337;File=inline=1`; - - if (options.width) { - ret += `;width=${options.width}`; - } - - if (options.height) { - ret += `;height=${options.height}`; - } - - if (options.preserveAspectRatio === false) { - ret += ';preserveAspectRatio=0'; - } - - return ret + ':' + buffer.toString('base64') + BEL; -}; - -ansiEscapes.iTerm = { - setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`, - - annotation: (message, options = {}) => { - let ret = `${OSC}1337;`; - - const hasX = typeof options.x !== 'undefined'; - const hasY = typeof options.y !== 'undefined'; - if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) { - throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined'); - } - - message = message.replace(/\|/g, ''); - - ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation='; - - if (options.length > 0) { - ret += - (hasX ? - [message, options.length, options.x, options.y] : - [options.length, message]).join('|'); - } else { - ret += message; - } - - return ret + BEL; - } -}; diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/license b/tools/node_modules/eslint/node_modules/ansi-escapes/license deleted file mode 100644 index fa7ceba3eb4a96..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/package.json b/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/package.json deleted file mode 100644 index 998747f17a2882..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/type-fest/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "A collection of essential TypeScript types", - "devDependencies": { - "@sindresorhus/tsconfig": "^0.7.0", - "@typescript-eslint/eslint-plugin": "2.17.0", - "@typescript-eslint/parser": "2.17.0", - "eslint-config-xo-typescript": "^0.24.1", - "tsd": "^0.7.3", - "typescript": "3.7.5", - "xo": "^0.25.3" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.d.ts", - "source" - ], - "funding": "https://github.com/sponsors/sindresorhus", - "homepage": "https://github.com/sindresorhus/type-fest#readme", - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "license": "(MIT OR CC0-1.0)", - "name": "type-fest", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/type-fest.git" - }, - "scripts": { - "test": "xo && tsd" - }, - "types": "index.d.ts", - "version": "0.11.0", - "xo": { - "extends": "xo-typescript", - "extensions": [ - "ts" - ], - "rules": { - "import/no-unresolved": "off", - "@typescript-eslint/indent": "off" - } - } -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/readme.md b/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/readme.md deleted file mode 100644 index 6eed5e359eb233..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/node_modules/type-fest/readme.md +++ /dev/null @@ -1,637 +0,0 @@ -
-
-
- type-fest -
-
- A collection of essential TypeScript types -
-
-
-
-
- -[![Build Status](https://travis-ci.com/sindresorhus/type-fest.svg?branch=master)](https://travis-ci.com/sindresorhus/type-fest) -[![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) - - -Many of the types here should have been built-in. You can help by suggesting some of them to the [TypeScript project](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). - -Either add this package as a dependency or copy-paste the needed types. No credit required. 👌 - -PR welcome for additional commonly needed types and docs improvements. Read the [contributing guidelines](.github/contributing.md) first. - -## Install - -``` -$ npm install type-fest -``` - -*Requires TypeScript >=3.2* - -## Usage - -```ts -import {Except} from 'type-fest'; - -type Foo = { - unicorn: string; - rainbow: boolean; -}; - -type FooWithoutRainbow = Except; -//=> {unicorn: string} -``` - -## API - -Click the type names for complete docs. - -### Basic - -- [`Primitive`](source/basic.d.ts) - Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive). -- [`Class`](source/basic.d.ts) - Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes). -- [`TypedArray`](source/basic.d.ts) - Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`. -- [`JsonObject`](source/basic.d.ts) - Matches a JSON object. -- [`JsonArray`](source/basic.d.ts) - Matches a JSON array. -- [`JsonValue`](source/basic.d.ts) - Matches any valid JSON value. -- [`ObservableLike`](source/basic.d.ts) - Matches a value that is like an [Observable](https://github.com/tc39/proposal-observable). - -### Utilities - -- [`Except`](source/except.d.ts) - Create a type from an object type without certain keys. This is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). -- [`Mutable`](source/mutable.d.ts) - Convert an object with `readonly` keys into a mutable object. The inverse of `Readonly`. -- [`Merge`](source/merge.d.ts) - Merge two types into a new type. Keys of the second type overrides keys of the first type. -- [`MergeExclusive`](source/merge-exclusive.d.ts) - Create a type that has mutually exclusive keys. -- [`RequireAtLeastOne`](source/require-at-least-one.d.ts) - Create a type that requires at least one of the given keys. -- [`RequireExactlyOne`](source/require-exactly-one.d.ts) - Create a type that requires exactly a single key of the given keys and disallows more. -- [`PartialDeep`](source/partial-deep.d.ts) - Create a deeply optional version of another type. Use [`Partial`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1401-L1406) if you only need one level deep. -- [`ReadonlyDeep`](source/readonly-deep.d.ts) - Create a deeply immutable version of an `object`/`Map`/`Set`/`Array` type. Use [`Readonly`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1415-L1420) if you only need one level deep. -- [`LiteralUnion`](source/literal-union.d.ts) - Create a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union. Workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). -- [`Promisable`](source/promisable.d.ts) - Create a type that represents either the value or the value wrapped in `PromiseLike`. -- [`Opaque`](source/opaque.d.ts) - Create an [opaque type](https://codemix.com/opaque-types-in-javascript/). -- [`SetOptional`](source/set-optional.d.ts) - Create a type that makes the given keys optional. -- [`SetRequired`](source/set-required.d.ts) - Create a type that makes the given keys required. -- [`PromiseValue`](source/promise-value.d.ts) - Returns the type that is wrapped inside a `Promise`. -- [`AsyncReturnType`](source/async-return-type.d.ts) - Unwrap the return type of a function that returns a `Promise`. -- [`ConditionalKeys`](source/conditional-keys.d.ts) - Extract keys from a shape where values extend the given `Condition` type. -- [`ConditionalPick`](source/conditional-pick.d.ts) - Like `Pick` except it selects properties from a shape where the values extend the given `Condition` type. -- [`ConditionalExcept`](source/conditional-except.d.ts) - Like `Omit` except it removes properties from a shape where the values extend the given `Condition` type. - -### Miscellaneous - -- [`PackageJson`](source/package-json.d.ts) - Type for [npm's `package.json` file](https://docs.npmjs.com/creating-a-package-json-file). -- [`TsConfigJson`](source/tsconfig-json.d.ts) - Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (TypeScript 3.7). - -## Declined types - -*If we decline a type addition, we will make sure to document the better solution here.* - -- [`Diff` and `Spread`](https://github.com/sindresorhus/type-fest/pull/7) - The PR author didn't provide any real-world use-cases and the PR went stale. If you think this type is useful, provide some real-world use-cases and we might reconsider. -- [`Dictionary`](https://github.com/sindresorhus/type-fest/issues/33) - You only save a few characters (`Dictionary` vs `Record`) from [`Record`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1429-L1434), which is more flexible and well-known. Also, you shouldn't use an object as a dictionary. We have `Map` in JavaScript now. - -## Tips - -### Built-in types - -There are many advanced types most users don't know about. - -- [`Partial`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1401-L1406) - Make all properties in `T` optional. -
- - Example - - - [Playground](https://www.typescriptlang.org/play/#code/JYOwLgpgTgZghgYwgAgHIHsAmEDC6QzADmyA3gLABQyycADnanALYQBcyAzmFKEQNxUaddFDAcQAV2YAjaIMoBfKlQQAbOJ05osEAIIMAQpOBrsUMkOR1eANziRkCfISKSoD4Pg4ZseAsTIALyW1DS0DEysHADkvvoMMQA0VsKi4sgAzAAMuVaKClY2wPaOknSYDrguADwA0sgQAB6QIJjaANYQAJ7oMDp+LsQAfAAUXd0cdUnI9mo+uv6uANp1ALoAlKHhyGAAFsCcAHTOAW4eYF4gyxNrwbNwago0ypRWp66jH8QcAApwYmAjxq8SWIy2FDCNDA3ToKFBQyIdR69wmfQG1TOhShyBgomQX3w3GQE2Q6IA8jIAFYQBBgI4TTiEs5bTQYsFInrLTbbHZOIlgZDlSqQABqj0kKBC3yINx6a2xfOQwH6o2FVXFaklwSCIUkbQghBAEEwENSfNOlykEGefNe5uhB2O6sgS3GPRmLogmslG1tLxUOKgEDA7hAuydtteryAA) - - ```ts - interface NodeConfig { - appName: string; - port: number; - } - - class NodeAppBuilder { - private configuration: NodeConfig = { - appName: 'NodeApp', - port: 3000 - }; - - private updateConfig(key: Key, value: NodeConfig[Key]) { - this.configuration[key] = value; - } - - config(config: Partial) { - type NodeConfigKey = keyof NodeConfig; - - for (const key of Object.keys(config) as NodeConfigKey[]) { - const updateValue = config[key]; - - if (updateValue === undefined) { - continue; - } - - this.updateConfig(key, updateValue); - } - - return this; - } - } - - // `Partial`` allows us to provide only a part of the - // NodeConfig interface. - new NodeAppBuilder().config({appName: 'ToDoApp'}); - ``` -
- -- [`Required`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1408-L1413) - Make all properties in `T` required. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/AQ4SwOwFwUwJwGYEMDGNgGED21VQGJZwC2wA3gFCjXAzFJgA2A-AFzADOUckA5gNxUaIYjA4ckvGG07c+g6gF8KQkAgCuEFFDA5O6gEbEwUbLm2ESwABQIixACJIoSdgCUYAR3Vg4MACYAPGYuFvYAfACU5Ko0APRxwADKMBD+wFAAFuh2Vv7OSBlYGdmc8ABu8LHKsRyGxqY4oQT21pTCIHQMjOwA5DAAHgACxAAOjDAAdChYxL0ANLHUouKSMH0AEmAAhJhY6ozpAJ77GTCMjMCiV0ToSAb7UJPPC9WRgrEJwAAqR6MwSRQPFGUFocDgRHYxnEfGAowh-zgUCOwF6KwkUl6tXqJhCeEsxDaS1AXSYfUGI3GUxmc0WSneQA) - - ```ts - interface ContactForm { - email?: string; - message?: string; - } - - function submitContactForm(formData: Required) { - // Send the form data to the server. - } - - submitContactForm({ - email: 'ex@mple.com', - message: 'Hi! Could you tell me more about…', - }); - - // TypeScript error: missing property 'message' - submitContactForm({ - email: 'ex@mple.com', - }); - ``` -
- -- [`Readonly`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1415-L1420) - Make all properties in `T` readonly. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/AQ4UwOwVwW2AZA9gc3mAbmANsA3gKFCOAHkAzMgGkOJABEwAjKZa2kAUQCcvEu32AMQCGAF2FYBIAL4BufDRABLCKLBcywgMZgEKZOoDCiCGSXI8i4hGEwwALmABnUVxXJ57YFgzZHSVF8sT1BpBSItLGEnJz1kAy5LLy0TM2RHACUwYQATEywATwAeAITjU3MAPnkrCJMXLigtUT4AClxgGztKbyDgaX99I1TzAEokr1BRAAslJwA6FIqLAF48TtswHp9MHDla9hJGACswZvmyLjAwAC8wVpm5xZHkUZDaMKIwqyWXYCW0oN4sNlsA1h0ug5gAByACyBQAggAHJHQ7ZBIFoXbzBjMCz7OoQP5YIaJNYQMAAdziCVaALGNSIAHomcAACoFJFgADKWjcSNEwG4vC4ji0wggEEQguiTnMEGALWAV1yAFp8gVgEjeFyuKICvMrCTgVxnst5jtsGC4ljsPNhXxGaAWcAAOq6YRXYDCRg+RWIcA5JSC+kWdCepQ+v3RYCU3RInzRMCGwlpC19NYBW1Ye08R1AA) - - ```ts - enum LogLevel { - Off, - Debug, - Error, - Fatal - }; - - interface LoggerConfig { - name: string; - level: LogLevel; - } - - class Logger { - config: Readonly; - - constructor({name, level}: LoggerConfig) { - this.config = {name, level}; - Object.freeze(this.config); - } - } - - const config: LoggerConfig = { - name: 'MyApp', - level: LogLevel.Debug - }; - - const logger = new Logger(config); - - // TypeScript Error: cannot assign to read-only property. - logger.config.level = LogLevel.Error; - - // We are able to edit config variable as we please. - config.level = LogLevel.Error; - ``` -
- -- [`Pick`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1422-L1427) - From `T`, pick a set of properties whose keys are in the union `K`. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/AQ4SwOwFwUwJwGYEMDGNgEE5TCgNugN4BQoZwOUBAXMAM5RyQDmA3KeSFABYCuAtgCMISMHloMmENh04oA9tBjQJjFuzIBfYrOAB6PcADCcGElh1gEGAHcKATwAO6ebyjB5CTNlwFwSxFR0BX5HeToYABNgBDh5fm8cfBg6AHIKG3ldA2BHOOcfFNpUygJ0pAhokr4hETFUgDpswywkggAFUwA3MFtgAF5gQgowKhhVKTYKGuFRcXo1aVZgbTIoJ3RW3xhOmB6+wfbcAGsAHi3kgBpgEtGy4AAfG54BWfqAPnZm4AAlZUj4MAkMA8GAGB4vEgfMlLLw6CwPBA8PYRmMgZVgAC6CgmI4cIommQELwICh8RBgKZKvALh1ur0bHQABR5PYMui0Wk7em2ADaAF0AJS0AASABUALIAGQAogR+Mp3CROCAFBBwVC2ikBpj5CgBIqGjizLA5TAFdAmalImAuqlBRoVQh5HBgEy1eDWfs7J5cjzGYKhroVfpDEhHM4MV6GRR5NN0JrtnRg6BVirTFBeHAKYmYY6QNpdB73LmCJZBlSAXAubtvczeSmQMNSuMbmKNgBlHFgPEUNwusBIPAAQlS1xetTmxT0SDoESgdD0C4aACtHMwxytLrohawgA) - - ```ts - interface Article { - title: string; - thumbnail: string; - content: string; - } - - // Creates new type out of the `Article` interface composed - // from the Articles' two properties: `title` and `thumbnail`. - // `ArticlePreview = {title: string; thumbnail: string}` - type ArticlePreview = Pick; - - // Render a list of articles using only title and description. - function renderArticlePreviews(previews: ArticlePreview[]): HTMLElement { - const articles = document.createElement('div'); - - for (const preview of previews) { - // Append preview to the articles. - } - - return articles; - } - - const articles = renderArticlePreviews([ - { - title: 'TypeScript tutorial!', - thumbnail: '/assets/ts.jpg' - } - ]); - ``` -
- -- [`Record`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1429-L1434) - Construct a type with a set of properties `K` of type `T`. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/AQ4ejYAUHsGcCWAXBMB2dgwGbAKYC2ADgDYwCeeemCaWArgE7ADGMxAhmuQHQBQoYEnJE8wALKEARnkaxEKdMAC8wAOS0kstGuAAfdQBM8ANzxlRjXQbVaWACwC0JPB0NqA3HwGgIwAJJoWozYHCxixnAsjAhStADmwESMMJYo1Fi4HMCIaPEu+MRklHj8gpqyoeHAAKJFFFTAAN4+giDYCIxwSAByHAR4AFw5SDF5Xm2gJBzdfQPD3WPxE5PAlBxdAPLYNQAelgh4aOHDaPQEMowrIAC+3oJ+AMKMrlrAXFhSAFZ4LEhC9g4-0BmA4JBISXgiCkBQABpILrJ5MhUGhYcATGD6Bk4Hh-jNgABrPDkOBlXyQAAq9ngYmJpOAAHcEOCRjAXqwYODfoo6DhakUSph+Uh7GI4P0xER4Cj0OSQGwMP8tP1hgAlX7swwAHgRl2RvIANALSA08ABtAC6AD4VM1Wm0Kow0MMrYaHYJjGYLLJXZb3at1HYnC43Go-QHQDcvA6-JsmEJXARgCDgMYWAhjIYhDAU+YiMAAFIwex0ZmilMITCGF79TLAGRsAgJYAAZRwSEZGzEABFTOZUrJ5Yn+jwnWgeER6HB7AAKJrADpdXqS4ZqYultTG6azVfqHswPBbtauLY7fayQ7HIbAAAMwBuAEoYw9IBq2Ixs9h2eFMOQYPQObALQKJgggABeYhghCIpikkKRpOQRIknAsZUiIeCttECBEP8NSMCkjDDAARMGziuIYxHwYOjDCMBmDNnAuTxA6irdCOBB1Lh5Dqpqn66tISIykawBnOCtqqC0gbjqc9DgpGkxegOliyfJDrRkAA) - - ```ts - // Positions of employees in our company. - type MemberPosition = 'intern' | 'developer' | 'tech-lead'; - - // Interface describing properties of a single employee. - interface Employee { - firstName: string; - lastName: string; - yearsOfExperience: number; - } - - // Create an object that has all possible `MemberPosition` values set as keys. - // Those keys will store a collection of Employees of the same position. - const team: Record = { - intern: [], - developer: [], - 'tech-lead': [], - }; - - // Our team has decided to help John with his dream of becoming Software Developer. - team.intern.push({ - firstName: 'John', - lastName: 'Doe', - yearsOfExperience: 0 - }); - - // `Record` forces you to initialize all of the property keys. - // TypeScript Error: "tech-lead" property is missing - const teamEmpty: Record = { - intern: null, - developer: null, - }; - ``` -
- -- [`Exclude`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1436-L1439) - Exclude from `T` those types that are assignable to `U`. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/JYOwLgpgTgZghgYwgAgMrQG7QMIHsQzADmyA3gFDLIAOuUYAXMiAK4A2byAPsgM5hRQJHqwC2AI2gBucgF9y5MAE9qKAEoQAjiwj8AEnBAATNtGQBeZAAooWphu26wAGmS3e93bRC8IASgsAPmRDJRlyAHoI5ABRAA8ENhYjFFYOZGVVZBgoXFFkAAM0zh5+QRBhZhYJaAKAOkjogEkQZAQ4X2QAdwALCFbaemRgXmQtFjhOMFwq9K6ULuB0lk6U+HYwZAxJnQaYFhAEMGB8ZCIIMAAFOjAANR2IK0HGWISklIAedCgsKDwCYgAbQA5M9gQBdVzFQJ+JhiSRQMiUYYwayZCC4VHPCzmSzAspCYEBWxgFhQAZwKC+FpgJ43VwARgADH4ZFQSWSBjcZPJyPtDsdTvxKWBvr8rD1DCZoJ5HPopaYoK4EPhCEQmGKcKriLCtrhgEYkVQVT5Nr4fmZLLZtMBbFZgT0wGBqES6ghbHBIJqoBKFdBWQpjfh+DQbhY2tqiHVsbjLMVkAB+ZAAZiZaeQTHOVxu9ySjxNaujNwDVHNvzqbBGkBAdPoAfkQA) - - ```ts - interface ServerConfig { - port: null | string | number; - } - - type RequestHandler = (request: Request, response: Response) => void; - - // Exclude `null` type from `null | string | number`. - // In case the port is equal to `null`, we will use default value. - function getPortValue(port: Exclude): number { - if (typeof port === 'string') { - return parseInt(port, 10); - } - - return port; - } - - function startServer(handler: RequestHandler, config: ServerConfig): void { - const server = require('http').createServer(handler); - - const port = config.port === null ? 3000 : getPortValue(config.port); - server.listen(port); - } - ``` -
- -- [`Extract`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1441-L1444) - Extract from `T` those types that are assignable to `U`. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXzSwEdkQBJYACgEoAueVZAWwCMQYBuAKDDwGcM8MgBF4AXngBlAJ6scESgHIRi6ty5ZUGdoihgEABXZ888AN5d48ANoiAuvUat23K6ihMQ9ATE0BzV3goPy8GZjZOLgBfLi4Aejj4AEEICBwAdz54MAALKFQQ+BxEeAAHY1NgKAwoIKy0grr4DByEUpgccpgMaXgAaxBerCzi+B9-ZulygDouFHRsU1z8kKMYE1RhaqgAHkt4AHkWACt4EAAPbVRgLLWNgBp9gGlBs8uQa6yAUUuYPQwdgNpKM7nh7mMML4CgA+R5WABqUAgpDeVxuhxO1he0jsXGh8EoOBO9COx3BQPo2PBADckaR6IjkSA6PBqTgsMBzPsicdrEC7OJWXSQNwYvFEgAVTS9JLXODpeDpKBZFg4GCoWa8VACIJykAKiQWKy2YQOAioYikCg0OEMDyhRSy4DyxS24KhAAMjyi6gS8AAwjh5OD0iBFHAkJoEOksC1mnkMJq8gUQKDNttKPlnfrwYp3J5XfBHXqoKpfYkAOI4ansTxaeDADmoRSCCBYAbxhC6TDx6rwYHIRX5bScjA4bLJwoDmDwDkfbA9JMrVMVdM1TN69LgkTgwgkchUahqIA) - - ```ts - declare function uniqueId(): number; - - const ID = Symbol('ID'); - - interface Person { - [ID]: number; - name: string; - age: number; - } - - // Allows changing the person data as long as the property key is of string type. - function changePersonData< - Obj extends Person, - Key extends Extract, - Value extends Obj[Key] - > (obj: Obj, key: Key, value: Value): void { - obj[key] = value; - } - - // Tiny Andrew was born. - const andrew = { - [ID]: uniqueId(), - name: 'Andrew', - age: 0, - }; - - // Cool, we're fine with that. - changePersonData(andrew, 'name', 'Pony'); - - // Goverment didn't like the fact that you wanted to change your identity. - changePersonData(andrew, ID, uniqueId()); - ``` -
- -- [`NonNullable`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1446-L1449) - Exclude `null` and `undefined` from `T`. -
- - Example - - Works with strictNullChecks set to true. (Read more here) - - [Playground](https://typescript-play.js.org/?target=6#code/C4TwDgpgBACg9gJ2AOQK4FsBGEFQLxQDOwCAlgHYDmUAPlORtrnQwDasDcAUFwPQBU-WAEMkUOADMowqAGNWwwoSgATCBIqlgpOOSjAAFsOBRSy1IQgr9cKJlSlW1mZYQA3HFH68u8xcoBlHA8EACEHJ08Aby4oKDBUTFZSWXjEFEYcAEIALihkXTR2YSSIAB54JDQsHAA+blj4xOTUsHSACkMzPKD3HHDHNQQAGjSkPMqMmoQASh7g-oihqBi4uNIpdraxPAI2VhmVxrX9AzMAOm2ppnwoAA4ABifuE4BfKAhWSyOTuK7CS7pao3AhXF5rV48E4ICDAVAIPT-cGQyG+XTEIgLMJLTx7CAAdygvRCA0iCHaMwarhJOIQjUBSHaACJHk8mYdeLwxtdcVAAOSsh58+lXdr7Dlcq7A3n3J4PEUdADMcspUE53OluAIUGVTx46oAKuAIAFZGQwCYAKIIBCILjUxaDHAMnla+iodjcIA) - - ```ts - type PortNumber = string | number | null; - - /** Part of a class definition that is used to build a server */ - class ServerBuilder { - portNumber!: NonNullable; - - port(this: ServerBuilder, port: PortNumber): ServerBuilder { - if (port == null) { - this.portNumber = 8000; - } else { - this.portNumber = port; - } - - return this; - } - } - - const serverBuilder = new ServerBuilder(); - - serverBuilder - .port('8000') // portNumber = '8000' - .port(null) // portNumber = 8000 - .port(3000); // portNumber = 3000 - - // TypeScript error - serverBuilder.portNumber = null; - ``` -
- -- [`Parameters`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1451-L1454) - Obtain the parameters of a function type in a tuple. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/GYVwdgxgLglg9mABAZwBYmMANgUwBQxgAOIUAXIgIZgCeA2gLoCUFAbnDACaIDeAUIkQB6IYgCypSlBxUATrMo1ECsJzgBbLEoipqAc0J7EMKMgDkiHLnU4wp46pwAPHMgB0fAL58+oSLARECEosLAA5ABUYG2QAHgAxJGdpVWREPDdMylk9ZApqemZEAF4APipacrw-CApEgBogkKwAYThwckQwEHUAIxxZJl4BYVEImiIZKF0oZRwiWVdbeygJmThgOYgcGFYcbhqApCJsyhtpWXcR1cnEePBoeDAABVPzgbTixFeFd8uEsClADcIxGiygIFkSEOT3SmTc2VydQeRx+ZxwF2QQ34gkEwDgsnSuFmMBKiAADEDjIhYk1Qm0OlSYABqZnYka4xA1DJZHJYkGc7yCbyeRA+CAIZCzNAYbA4CIAdxg2zJwVCkWirjwMswuEaACYmCCgA) - - ```ts - function shuffle(input: any[]): void { - // Mutate array randomly changing its' elements indexes. - } - - function callNTimes any> (func: Fn, callCount: number) { - // Type that represents the type of the received function parameters. - type FunctionParameters = Parameters; - - return function (...args: FunctionParameters) { - for (let i = 0; i < callCount; i++) { - func(...args); - } - } - } - - const shuffleTwice = callNTimes(shuffle, 2); - ``` -
- -- [`ConstructorParameters`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1456-L1459) - Obtain the parameters of a constructor function type in a tuple. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/MYGwhgzhAECCBOAXAlqApgWQPYBM0mgG8AoaaFRENALmgkXmQDsBzAblOmCycTV4D8teo1YdO3JiICuwRFngAKClWENmLAJRFOZRAAtkEAHQq00ALzlklNBzIBfYk+KhIMAJJTEYJsDQAwmDA+mgAPAAq0GgAHnxMODCKTGgA7tCKxllg8CwQtL4AngDaALraFgB80EWa1SRkAA6MAG5gfNAB4FABPDJyCrQR9tDNyG0dwMGhtBhgjWEiGgA00F70vv4RhY3hEZXVVinpc42KmuJkkv3y8Bly8EPaDWTkhiZd7r3e8LK3llwGCMXGQWGhEOsfH5zJlsrl8p0+gw-goAAo5MAAW3BaHgEEilU0tEhmzQ212BJ0ry4SOg+kg+gBBiMximIGA0nAfAQLGk2N4EAAEgzYcYcnkLsRdDTvNEYkYUKwSdCme9WdM0MYwYhFPSIPpJdTkAAzDKxBUaZX+aAAQgsVmkCTQxuYaBw2ng4Ok8CYcotSu8pMur09iG9vuObxZnx6SN+AyUWTF8MN0CcZE4Ywm5jZHK5aB5fP4iCFIqT4oRRTKRLo6lYVNeAHpG50wOzOe1zHr9NLQ+HoABybsD4HOKXXRA1JCoKhBELmI5pNaB6Fz0KKBAodDYPAgSUTmqYsAALx4m5nC6nW9nGq14KtaEUA9gR9PvuNCjQ9BgACNvcwNBtAcLiAA) - - ```ts - class ArticleModel { - title: string; - content?: string; - - constructor(title: string) { - this.title = title; - } - } - - class InstanceCache any)> { - private ClassConstructor: T; - private cache: Map> = new Map(); - - constructor (ctr: T) { - this.ClassConstructor = ctr; - } - - getInstance (...args: ConstructorParameters): InstanceType { - const hash = this.calculateArgumentsHash(...args); - - const existingInstance = this.cache.get(hash); - if (existingInstance !== undefined) { - return existingInstance; - } - - return new this.ClassConstructor(...args); - } - - private calculateArgumentsHash(...args: any[]): string { - // Calculate hash. - return 'hash'; - } - } - - const articleCache = new InstanceCache(ArticleModel); - const amazonArticle = articleCache.getInstance('Amazon forests burining!'); - ``` -
- -- [`ReturnType`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1461-L1464) – Obtain the return type of a function type. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/MYGwhgzhAECSAmICmBlJAnAbgS2E6A3gFDTTwD2AcuQC4AW2AdgOYAUAlAFzSbnbyEAvkWFFQkGJSQB3GMVI1sNZNwg10TZgG4S0YOUY0kh1es07d+xmvQBXYDXLpWi5UlMaWAGj0GjJ6BtNdkJdBQYIADpXZGgAXmgYpB1ScOwoq38aeN9DYxoU6GFRKzVoJjUwRjwAYXJbPPRuAFkwAAcAHgAxBodsAx9GWwBbACMMAD4cxhloVraOCyYjdAAzMDxoOut1e0d0UNIZ6WhWSPOwdGYIbiqATwBtAF0uaHudUQB6ACpv6ABpJBINqJdAbADW0Do5BOw3u5R2VTwMHIq2gAANtjZ0bkbHsnFCwJh8ONjHp0EgwEZ4JFoN9PkRVr1FAZoMwkDRYIjqkgOrosepoEgAB7+eAwAV2BxOLy6ACCVxgIrFEoMeOl6AACpcwMMORgIB1JRMiBNWKVdhruJKfOdIpdrtwFddXlzKjyACp3Nq842HaDIbL6BrZBIVGhIpB1EMYSLsmjmtWW-YhAA+qegAAYLKQLQj3ZsEsdccmnGcLor2Dn8xGedHGpEIBzEzspfsfMHDNAANTQACMVaIljV5GQkRA5DYmIpVKQAgAJARO9le33BDXIyi0YuLW2nJFGLqkOvxFB0YPdBSaLZ0IwNzyPkO8-xkGgsLh8Al427a3hWAhXwwHA8EHT5PmgAB1bAQBAANJ24adKWpft72RaBUTgRBUCAj89HAM8xCTaBjggABRQx0DuHJv25P9dCkWRZVIAAiBjoFImpmjlFBgA0NpsjadByDacgIDAEAIAAQmYpjoGYgAZSBsmGPw6DtZiiFA8CoJguDmAQmoZ2QvtUKQLdoAYmBTwgdEiCAA) - - ```ts - /** Provides every element of the iterable `iter` into the `callback` function and stores the results in an array. */ - function mapIter< - Elem, - Func extends (elem: Elem) => any, - Ret extends ReturnType - >(iter: Iterable, callback: Func): Ret[] { - const mapped: Ret[] = []; - - for (const elem of iter) { - mapped.push(callback(elem)); - } - - return mapped; - } - - const setObject: Set = new Set(); - const mapObject: Map = new Map(); - - mapIter(setObject, (value: string) => value.indexOf('Foo')); // number[] - - mapIter(mapObject, ([key, value]: [number, string]) => { - return key % 2 === 0 ? value : 'Odd'; - }); // string[] - ``` -
- -- [`InstanceType`](https://github.com/Microsoft/TypeScript/blob/2961bc3fc0ea1117d4e53bc8e97fa76119bc33e3/src/lib/es5.d.ts#L1466-L1469) – Obtain the instance type of a constructor function type. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/MYGwhgzhAECSAmICmBlJAnAbgS2E6A3gFDTTwD2AcuQC4AW2AdgOYAUAlAFzSbnbyEAvkWFFQkGJSQB3GMVI1sNZNwg10TZgG4S0YOUY0kh1es07d+xmvQBXYDXLpWi5UlMaWAGj0GjJ6BtNdkJdBQYIADpXZGgAXmgYpB1ScOwoq38aeN9DYxoU6GFRKzVoJjUwRjwAYXJbPPRuAFkwAAcAHgAxBodsAx9GWwBbACMMAD4cxhloVraOCyYjdAAzMDxoOut1e0d0UNIZ6WhWSPOwdGYIbiqATwBtAF0uaHudUQB6ACpv6ABpJBINqJdAbADW0Do5BOw3u5R2VTwMHIq2gAANtjZ0bkbHsnFCwJh8ONjHp0EgwEZ4JFoN9PkRVr1FAZoMwkDRYIjqkgOrosepoEgAB7+eAwAV2BxOLy6ACCVxgIrFEoMeOl6AACpcwMMORgIB1JRMiBNWKVdhruJKfOdIpdrtwFddXlzKjyACp3Nq842HaDIbL6BrZBIVGhIpB1EMYSLsmjmtWW-YhAA+qegAAYLKQLQj3ZsEsdccmnGcLor2Dn8xGedHGpEIBzEzspfsfMHDNAANTQACMVaIljV5GQkRA5DYmIpVKQAgAJARO9le33BDXIyi0YuLW2nJFGLqkOvxFB0YPdBSaLZ0IwNzyPkO8-xkGgsLh8Al427a3hWAhXwwHA8EHT5PmgAB1bAQBAANJ24adKWpft72RaBUTgRBUCAj89HAM8xCTaBjggABRQx0DuHJv25P9dCkWRZVIAAiBjoFImpmjlFBgA0NpsjadByDacgIDAEAIAAQmYpjoGYgAZSBsmGPw6DtZiiFA8CoJguDmAQmoZ2QvtUKQLdoAYmBTwgdEiCAA) - - ```ts - class IdleService { - doNothing (): void {} - } - - class News { - title: string; - content: string; - - constructor(title: string, content: string) { - this.title = title; - this.content = content; - } - } - - const instanceCounter: Map = new Map(); - - interface Constructor { - new(...args: any[]): any; - } - - // Keep track how many instances of `Constr` constructor have been created. - function getInstance< - Constr extends Constructor, - Args extends ConstructorParameters - >(constructor: Constr, ...args: Args): InstanceType { - let count = instanceCounter.get(constructor) || 0; - - const instance = new constructor(...args); - - instanceCounter.set(constructor, count + 1); - - console.log(`Created ${count + 1} instances of ${Constr.name} class`); - - return instance; - } - - - const idleService = getInstance(IdleService); - // Will log: `Created 1 instances of IdleService class` - const newsEntry = getInstance(News, 'New ECMAScript proposals!', 'Last month...'); - // Will log: `Created 1 instances of News class` - ``` -
- -- [`Omit`](https://github.com/microsoft/TypeScript/blob/71af02f7459dc812e85ac31365bfe23daf14b4e4/src/lib/es5.d.ts#L1446) – Constructs a type by picking all properties from T and then removing K. -
- - Example - - - [Playground](https://typescript-play.js.org/?target=6#code/JYOwLgpgTgZghgYwgAgIImAWzgG2QbwChlks4BzCAVShwC5kBnMKUcgbmKYAcIFgIjBs1YgOXMpSFMWbANoBdTiW5woFddwAW0kfKWEAvoUIB6U8gDCUCHEiNkICAHdkYAJ69kz4GC3JcPG4oAHteKDABBxCYNAxsPFBIWEQUCAAPJG4wZABySUFcgJAAEzMLXNV1ck0dIuCw6EjBADpy5AB1FAQ4EGQAV0YUP2AHDy8wEOQbUugmBLwtEIA3OcmQnEjuZBgQqE7gAGtgZAhwKHdkHFGwNvGUdDIcAGUliIBJEF3kAF5kAHlML4ADyPBIAGjyBUYRQAPnkqho4NoYQA+TiEGD9EAISIhPozErQMG4AASK2gn2+AApek9pCSXm8wFSQooAJQMUkAFQAsgAZACiOAgmDOOSIJAQ+OYyGl4DgoDmf2QJRCCH6YvALQQNjsEGFovF1NyJWAy1y7OUyHMyE+yRAuFImG4Iq1YDswHxbRINjA-SgfXlHqVUE4xiAA) - - ```ts - interface Animal { - imageUrl: string; - species: string; - images: string[]; - paragraphs: string[]; - } - - // Creates new type with all properties of the `Animal` interface - // except 'images' and 'paragraphs' properties. We can use this - // type to render small hover tooltip for a wiki entry list. - type AnimalShortInfo = Omit; - - function renderAnimalHoverInfo (animals: AnimalShortInfo[]): HTMLElement { - const container = document.createElement('div'); - // Internal implementation. - return container; - } - ``` -
- -You can find some examples in the [TypeScript docs](https://www.typescriptlang.org/docs/handbook/advanced-types.html#predefined-conditional-types). - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Jarek Radosz](https://github.com/CvX) -- [Dimitri Benin](https://github.com/BendingBender) - -## License - -(MIT OR CC0-1.0) - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/package.json b/tools/node_modules/eslint/node_modules/ansi-escapes/package.json deleted file mode 100644 index 7af795b0400c03..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/package.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/ansi-escapes/issues" - }, - "bundleDependencies": false, - "dependencies": { - "type-fest": "^0.11.0" - }, - "deprecated": false, - "description": "ANSI escape codes for manipulating the terminal", - "devDependencies": { - "@types/node": "^13.7.7", - "ava": "^2.1.0", - "tsd": "^0.11.0", - "xo": "^0.25.3" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "funding": "https://github.com/sponsors/sindresorhus", - "homepage": "https://github.com/sindresorhus/ansi-escapes#readme", - "keywords": [ - "ansi", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "escapes", - "formatting", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text", - "vt100", - "sequence", - "control", - "code", - "codes", - "cursor", - "iterm", - "iterm2" - ], - "license": "MIT", - "name": "ansi-escapes", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/ansi-escapes.git" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "version": "4.3.1" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md b/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md deleted file mode 100644 index 4bed0f825070e4..00000000000000 --- a/tools/node_modules/eslint/node_modules/ansi-escapes/readme.md +++ /dev/null @@ -1,245 +0,0 @@ -# ansi-escapes [![Build Status](https://travis-ci.org/sindresorhus/ansi-escapes.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-escapes) - -> [ANSI escape codes](http://www.termsys.demon.co.uk/vtansi.htm) for manipulating the terminal - -## Install - -``` -$ npm install ansi-escapes -``` - -## Usage - -```js -const ansiEscapes = require('ansi-escapes'); - -// Moves the cursor two rows up and to the left -process.stdout.write(ansiEscapes.cursorUp(2) + ansiEscapes.cursorLeft); -//=> '\u001B[2A\u001B[1000D' -``` - -## API - -### cursorTo(x, y?) - -Set the absolute position of the cursor. `x0` `y0` is the top left of the screen. - -### cursorMove(x, y?) - -Set the position of the cursor relative to its current position. - -### cursorUp(count) - -Move cursor up a specific amount of rows. Default is `1`. - -### cursorDown(count) - -Move cursor down a specific amount of rows. Default is `1`. - -### cursorForward(count) - -Move cursor forward a specific amount of columns. Default is `1`. - -### cursorBackward(count) - -Move cursor backward a specific amount of columns. Default is `1`. - -### cursorLeft - -Move cursor to the left side. - -### cursorSavePosition - -Save cursor position. - -### cursorRestorePosition - -Restore saved cursor position. - -### cursorGetPosition - -Get cursor position. - -### cursorNextLine - -Move cursor to the next line. - -### cursorPrevLine - -Move cursor to the previous line. - -### cursorHide - -Hide cursor. - -### cursorShow - -Show cursor. - -### eraseLines(count) - -Erase from the current cursor position up the specified amount of rows. - -### eraseEndLine - -Erase from the current cursor position to the end of the current line. - -### eraseStartLine - -Erase from the current cursor position to the start of the current line. - -### eraseLine - -Erase the entire current line. - -### eraseDown - -Erase the screen from the current line down to the bottom of the screen. - -### eraseUp - -Erase the screen from the current line up to the top of the screen. - -### eraseScreen - -Erase the screen and move the cursor the top left position. - -### scrollUp - -Scroll display up one line. - -### scrollDown - -Scroll display down one line. - -### clearScreen - -Clear the terminal screen. (Viewport) - -### clearTerminal - -Clear the whole terminal, including scrollback buffer. (Not just the visible part of it) - -### beep - -Output a beeping sound. - -### link(text, url) - -Create a clickable link. - -[Supported terminals.](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) Use [`supports-hyperlinks`](https://github.com/jamestalmage/supports-hyperlinks) to detect link support. - -### image(filePath, options?) - -Display an image. - -*Currently only supported on iTerm2 >=3* - -See [term-img](https://github.com/sindresorhus/term-img) for a higher-level module. - -#### input - -Type: `Buffer` - -Buffer of an image. Usually read in with `fs.readFile()`. - -#### options - -Type: `object` - -##### width -##### height - -Type: `string | number` - -The width and height are given as a number followed by a unit, or the word "auto". - -- `N`: N character cells. -- `Npx`: N pixels. -- `N%`: N percent of the session's width or height. -- `auto`: The image's inherent size will be used to determine an appropriate dimension. - -##### preserveAspectRatio - -Type: `boolean`\ -Default: `true` - -### iTerm.setCwd(path?) - -Type: `string`\ -Default: `process.cwd()` - -[Inform iTerm2](https://www.iterm2.com/documentation-escape-codes.html) of the current directory to help semantic history and enable [Cmd-clicking relative paths](https://coderwall.com/p/b7e82q/quickly-open-files-in-iterm-with-cmd-click). - -### iTerm.annotation(message, options?) - -Creates an escape code to display an "annotation" in iTerm2. - -An annotation looks like this when shown: - - - -See the [iTerm Proprietary Escape Codes documentation](https://iterm2.com/documentation-escape-codes.html) for more information. - -#### message - -Type: `string` - -The message to display within the annotation. - -The `|` character is disallowed and will be stripped. - -#### options - -Type: `object` - -##### length - -Type: `number`\ -Default: The remainder of the line - -Nonzero number of columns to annotate. - -##### x - -Type: `number`\ -Default: Cursor position - -Starting X coordinate. - -Must be used with `y` and `length`. - -##### y - -Type: `number`\ -Default: Cursor position - -Starting Y coordinate. - -Must be used with `x` and `length`. - -##### isHidden - -Type: `boolean`\ -Default: `false` - -Create a "hidden" annotation. - -Annotations created this way can be shown using the "Show Annotations" iTerm command. - -## Related - -- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/tools/node_modules/eslint/node_modules/astral-regex/index.js b/tools/node_modules/eslint/node_modules/astral-regex/index.js index f90e6a225c40ca..651177d40f1de3 100644 --- a/tools/node_modules/eslint/node_modules/astral-regex/index.js +++ b/tools/node_modules/eslint/node_modules/astral-regex/index.js @@ -1,4 +1,6 @@ 'use strict'; const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]'; -module.exports = opts => opts && opts.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g'); +const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g'); + +module.exports = astralRegex; diff --git a/tools/node_modules/eslint/node_modules/astral-regex/package.json b/tools/node_modules/eslint/node_modules/astral-regex/package.json index 61089098b382bc..50ad84da9d6243 100644 --- a/tools/node_modules/eslint/node_modules/astral-regex/package.json +++ b/tools/node_modules/eslint/node_modules/astral-regex/package.json @@ -8,18 +8,19 @@ "url": "https://github.com/kevva/astral-regex/issues" }, "bundleDependencies": false, - "dependencies": {}, "deprecated": false, "description": "Regular expression for matching astral symbols", "devDependencies": { - "ava": "*", - "xo": "*" + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" }, "engines": { - "node": ">=4" + "node": ">=8" }, "files": [ - "index.js" + "index.js", + "index.d.ts" ], "homepage": "https://github.com/kevva/astral-regex#readme", "keywords": [ @@ -35,7 +36,7 @@ "url": "git+https://github.com/kevva/astral-regex.git" }, "scripts": { - "test": "xo && ava" + "test": "xo && ava && tsd" }, - "version": "1.0.0" + "version": "2.0.0" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/astral-regex/readme.md b/tools/node_modules/eslint/node_modules/astral-regex/readme.md index cde44f7bc0cc83..89d6659a41fb4e 100644 --- a/tools/node_modules/eslint/node_modules/astral-regex/readme.md +++ b/tools/node_modules/eslint/node_modules/astral-regex/readme.md @@ -1,6 +1,6 @@ # astral-regex [![Build Status](https://travis-ci.org/kevva/astral-regex.svg?branch=master)](https://travis-ci.org/kevva/astral-regex) -> Regular expression for matching astral symbols +> Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane) ## Install @@ -15,8 +15,11 @@ $ npm install astral-regex ```js const astralRegex = require('astral-regex'); -astralRegex({exact: true}).test(''); +astralRegex({exact: true}).test('🦄'); //=> true + +'foo 🦄 💩 bar'.match(astralRegex()); +//=> ['🦄', '💩'] ``` diff --git a/tools/node_modules/eslint/node_modules/chalk/package.json b/tools/node_modules/eslint/node_modules/chalk/package.json index ca3e62533f058e..fbb12850511d0e 100644 --- a/tools/node_modules/eslint/node_modules/chalk/package.json +++ b/tools/node_modules/eslint/node_modules/chalk/package.json @@ -63,7 +63,7 @@ "bench": "matcha benchmark.js", "test": "xo && nyc ava && tsd" }, - "version": "4.0.0", + "version": "4.1.0", "xo": { "rules": { "unicorn/prefer-string-slice": "off", diff --git a/tools/node_modules/eslint/node_modules/chalk/readme.md b/tools/node_modules/eslint/node_modules/chalk/readme.md index a0ca245604033b..338f42cb8b525b 100644 --- a/tools/node_modules/eslint/node_modules/chalk/readme.md +++ b/tools/node_modules/eslint/node_modules/chalk/readme.md @@ -9,7 +9,7 @@ > Terminal string styling done right -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) [![run on repl.it](http://repl.it/badge/github/chalk/chalk)](https://repl.it/github/chalk/chalk) +[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) [![run on repl.it](https://repl.it/badge/github/chalk/chalk)](https://repl.it/github/chalk/chalk) @@ -199,7 +199,7 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color= ## Tagged template literal -Chalk can be used as a [tagged template literal](http://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals). +Chalk can be used as a [tagged template literal](https://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals). ```js const chalk = require('chalk'); @@ -215,10 +215,11 @@ console.log(chalk` Blocks are delimited by an opening curly brace (`{`), a style, some content, and a closing curly brace (`}`). -Template styles are chained exactly like normal Chalk styles. The following two statements are equivalent: +Template styles are chained exactly like normal Chalk styles. The following three statements are equivalent: ```js console.log(chalk.bold.rgb(10, 100, 200)('Hello!')); +console.log(chalk.bold.rgb(10, 100, 200)`Hello!`); console.log(chalk`{bold.rgb(10,100,200) Hello!}`); ``` diff --git a/tools/node_modules/eslint/node_modules/chalk/source/index.js b/tools/node_modules/eslint/node_modules/chalk/source/index.js index e3b2f1636724e4..75ec66350527a8 100644 --- a/tools/node_modules/eslint/node_modules/chalk/source/index.js +++ b/tools/node_modules/eslint/node_modules/chalk/source/index.js @@ -6,6 +6,8 @@ const { stringEncaseCRLFWithFirstIndex } = require('./util'); +const {isArray} = Array; + // `supportsColor.level` → `ansiStyles.color[name]` mapping const levelMapping = [ 'ansi', @@ -135,6 +137,11 @@ const createStyler = (open, close, parent) => { const createBuilder = (self, _styler, _isEmpty) => { const builder = (...arguments_) => { + if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) { + // Called as a template literal, for example: chalk.red`2 + 3 = {bold ${2+3}}` + return applyStyle(builder, chalkTag(builder, ...arguments_)); + } + // Single argument is hot path, implicit coercion is faster than anything // eslint-disable-next-line no-implicit-coercion return applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' ')); @@ -189,7 +196,7 @@ let template; const chalkTag = (chalk, ...strings) => { const [firstString] = strings; - if (!Array.isArray(firstString)) { + if (!isArray(firstString) || !isArray(firstString.raw)) { // If chalk() was called by itself or with a string, // return the string itself as a string. return strings.join(' '); diff --git a/tools/node_modules/eslint/node_modules/chardet/README.md b/tools/node_modules/eslint/node_modules/chardet/README.md deleted file mode 100644 index 9e317d7885733b..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/README.md +++ /dev/null @@ -1,81 +0,0 @@ - -chardet [![Build Status](https://travis-ci.org/runk/node-chardet.png)](https://travis-ci.org/runk/node-chardet) -===== - -Chardet is a character detection module for NodeJS written in pure Javascript. -Module is based on ICU project http://site.icu-project.org/, which uses character -occurency analysis to determine the most probable encoding. - -## Installation - -``` -npm i chardet -``` - -## Usage - -To return the encoding with the highest confidence: -```javascript -var chardet = require('chardet'); -chardet.detect(Buffer.alloc('hello there!')); -// or -chardet.detectFile('/path/to/file', function(err, encoding) {}); -// or -chardet.detectFileSync('/path/to/file'); -``` - - -To return the full list of possible encodings: -```javascript -var chardet = require('chardet'); -chardet.detectAll(Buffer.alloc('hello there!')); -// or -chardet.detectFileAll('/path/to/file', function(err, encoding) {}); -// or -chardet.detectFileAllSync('/path/to/file'); - -//Returned value is an array of objects sorted by confidence value in decending order -//e.g. [{ confidence: 90, name: 'UTF-8'}, {confidence: 20, name: 'windows-1252', lang: 'fr'}] -``` - -## Working with large data sets - -Sometimes, when data set is huge and you want to optimize performace (in tradeoff of less accuracy), -you can sample only first N bytes of the buffer: - -```javascript -chardet.detectFile('/path/to/file', { sampleSize: 32 }, function(err, encoding) {}); -``` - -## Supported Encodings: - -* UTF-8 -* UTF-16 LE -* UTF-16 BE -* UTF-32 LE -* UTF-32 BE -* ISO-2022-JP -* ISO-2022-KR -* ISO-2022-CN -* Shift-JIS -* Big5 -* EUC-JP -* EUC-KR -* GB18030 -* ISO-8859-1 -* ISO-8859-2 -* ISO-8859-5 -* ISO-8859-6 -* ISO-8859-7 -* ISO-8859-8 -* ISO-8859-9 -* windows-1250 -* windows-1251 -* windows-1252 -* windows-1253 -* windows-1254 -* windows-1255 -* windows-1256 -* KOI8-R - -Currently only these encodings are supported, more will be added soon. diff --git a/tools/node_modules/eslint/node_modules/chardet/encoding/iso2022.js b/tools/node_modules/eslint/node_modules/chardet/encoding/iso2022.js deleted file mode 100644 index afff88aec49667..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/encoding/iso2022.js +++ /dev/null @@ -1,141 +0,0 @@ -var util = require('util'), - Match = require ('../match'); - - -/** - * This is a superclass for the individual detectors for - * each of the detectable members of the ISO 2022 family - * of encodings. - */ - -function ISO_2022() {} - -ISO_2022.prototype.match = function(det) { - - /** - * Matching function shared among the 2022 detectors JP, CN and KR - * Counts up the number of legal an unrecognized escape sequences in - * the sample of text, and computes a score based on the total number & - * the proportion that fit the encoding. - * - * - * @param text the byte buffer containing text to analyse - * @param textLen the size of the text in the byte. - * @param escapeSequences the byte escape sequences to test for. - * @return match quality, in the range of 0-100. - */ - - var i, j; - var escN; - var hits = 0; - var misses = 0; - var shifts = 0; - var quality; - - // TODO: refactor me - var text = det.fInputBytes; - var textLen = det.fInputLen; - - scanInput: - for (i = 0; i < textLen; i++) { - if (text[i] == 0x1b) { - checkEscapes: - for (escN = 0; escN < this.escapeSequences.length; escN++) { - var seq = this.escapeSequences[escN]; - - if ((textLen - i) < seq.length) - continue checkEscapes; - - for (j = 1; j < seq.length; j++) - if (seq[j] != text[i + j]) - continue checkEscapes; - - - hits++; - i += seq.length - 1; - continue scanInput; - } - - misses++; - } - - // Shift in/out - if (text[i] == 0x0e || text[i] == 0x0f) - shifts++; - - } - - if (hits == 0) - return null; - - // - // Initial quality is based on relative proportion of recongized vs. - // unrecognized escape sequences. - // All good: quality = 100; - // half or less good: quality = 0; - // linear inbetween. - quality = (100 * hits - 100 * misses) / (hits + misses); - - // Back off quality if there were too few escape sequences seen. - // Include shifts in this computation, so that KR does not get penalized - // for having only a single Escape sequence, but many shifts. - if (hits + shifts < 5) - quality -= (5 - (hits + shifts)) * 10; - - return quality <= 0 ? null : new Match(det, this, quality); -}; - -module.exports.ISO_2022_JP = function() { - this.name = function() { - return 'ISO-2022-JP'; - }; - this.escapeSequences = [ - [ 0x1b, 0x24, 0x28, 0x43 ], // KS X 1001:1992 - [ 0x1b, 0x24, 0x28, 0x44 ], // JIS X 212-1990 - [ 0x1b, 0x24, 0x40 ], // JIS C 6226-1978 - [ 0x1b, 0x24, 0x41 ], // GB 2312-80 - [ 0x1b, 0x24, 0x42 ], // JIS X 208-1983 - [ 0x1b, 0x26, 0x40 ], // JIS X 208 1990, 1997 - [ 0x1b, 0x28, 0x42 ], // ASCII - [ 0x1b, 0x28, 0x48 ], // JIS-Roman - [ 0x1b, 0x28, 0x49 ], // Half-width katakana - [ 0x1b, 0x28, 0x4a ], // JIS-Roman - [ 0x1b, 0x2e, 0x41 ], // ISO 8859-1 - [ 0x1b, 0x2e, 0x46 ] // ISO 8859-7 - ]; -}; -util.inherits(module.exports.ISO_2022_JP, ISO_2022); - - - -module.exports.ISO_2022_KR = function() { - this.name = function() { - return 'ISO-2022-KR'; - }; - this.escapeSequences = [ - [ 0x1b, 0x24, 0x29, 0x43 ] - ]; -}; -util.inherits(module.exports.ISO_2022_KR, ISO_2022); - - - -module.exports.ISO_2022_CN = function() { - this.name = function() { - return 'ISO-2022-CN'; - }; - this.escapeSequences = [ - [ 0x1b, 0x24, 0x29, 0x41 ], // GB 2312-80 - [ 0x1b, 0x24, 0x29, 0x47 ], // CNS 11643-1992 Plane 1 - [ 0x1b, 0x24, 0x2A, 0x48 ], // CNS 11643-1992 Plane 2 - [ 0x1b, 0x24, 0x29, 0x45 ], // ISO-IR-165 - [ 0x1b, 0x24, 0x2B, 0x49 ], // CNS 11643-1992 Plane 3 - [ 0x1b, 0x24, 0x2B, 0x4A ], // CNS 11643-1992 Plane 4 - [ 0x1b, 0x24, 0x2B, 0x4B ], // CNS 11643-1992 Plane 5 - [ 0x1b, 0x24, 0x2B, 0x4C ], // CNS 11643-1992 Plane 6 - [ 0x1b, 0x24, 0x2B, 0x4D ], // CNS 11643-1992 Plane 7 - [ 0x1b, 0x4e ], // SS2 - [ 0x1b, 0x4f ] // SS3 - ]; -}; -util.inherits(module.exports.ISO_2022_CN, ISO_2022); diff --git a/tools/node_modules/eslint/node_modules/chardet/encoding/mbcs.js b/tools/node_modules/eslint/node_modules/chardet/encoding/mbcs.js deleted file mode 100644 index 5aa1557be414bf..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/encoding/mbcs.js +++ /dev/null @@ -1,502 +0,0 @@ -var util = require('util'), - Match = require ('../match'); - -/** - * Binary search implementation (recursive) - */ -function binarySearch(arr, searchValue) { - function find(arr, searchValue, left, right) { - if (right < left) - return -1; - - /* - int mid = mid = (left + right) / 2; - There is a bug in the above line; - Joshua Bloch suggests the following replacement: - */ - var mid = Math.floor((left + right) >>> 1); - if (searchValue > arr[mid]) - return find(arr, searchValue, mid + 1, right); - - if (searchValue < arr[mid]) - return find(arr, searchValue, left, mid - 1); - - return mid; - }; - - return find(arr, searchValue, 0, arr.length - 1); -}; - -// 'Character' iterated character class. -// Recognizers for specific mbcs encodings make their 'characters' available -// by providing a nextChar() function that fills in an instance of iteratedChar -// with the next char from the input. -// The returned characters are not converted to Unicode, but remain as the raw -// bytes (concatenated into an int) from the codepage data. -// -// For Asian charsets, use the raw input rather than the input that has been -// stripped of markup. Detection only considers multi-byte chars, effectively -// stripping markup anyway, and double byte chars do occur in markup too. -// -function IteratedChar() { - - this.charValue = 0; // 1-4 bytes from the raw input data - this.index = 0; - this.nextIndex = 0; - this.error = false; - this.done = false; - - this.reset = function() { - this.charValue = 0; - this.index = -1; - this.nextIndex = 0; - this.error = false; - this.done = false; - }; - - this.nextByte = function(det) { - if (this.nextIndex >= det.fRawLength) { - this.done = true; - return -1; - } - var byteValue = det.fRawInput[this.nextIndex++] & 0x00ff; - return byteValue; - }; -}; - - - -/** - * Asian double or multi-byte - charsets. - * Match is determined mostly by the input data adhering to the - * encoding scheme for the charset, and, optionally, - * frequency-of-occurence of characters. - */ - -function mbcs() {}; - -/** - * Test the match of this charset with the input text data - * which is obtained via the CharsetDetector object. - * - * @param det The CharsetDetector, which contains the input text - * to be checked for being in this charset. - * @return Two values packed into one int (Damn java, anyhow) - * bits 0-7: the match confidence, ranging from 0-100 - * bits 8-15: The match reason, an enum-like value. - */ -mbcs.prototype.match = function(det) { - - var singleByteCharCount = 0, //TODO Do we really need this? - doubleByteCharCount = 0, - commonCharCount = 0, - badCharCount = 0, - totalCharCount = 0, - confidence = 0; - - var iter = new IteratedChar(); - - detectBlock: { - for (iter.reset(); this.nextChar(iter, det);) { - totalCharCount++; - if (iter.error) { - badCharCount++; - } else { - var cv = iter.charValue & 0xFFFFFFFF; - - if (cv <= 0xff) { - singleByteCharCount++; - } else { - doubleByteCharCount++; - if (this.commonChars != null) { - // NOTE: This assumes that there are no 4-byte common chars. - if (binarySearch(this.commonChars, cv) >= 0) { - commonCharCount++; - } - } - } - } - if (badCharCount >= 2 && badCharCount * 5 >= doubleByteCharCount) { - // console.log('its here!') - // Bail out early if the byte data is not matching the encoding scheme. - break detectBlock; - } - } - - if (doubleByteCharCount <= 10 && badCharCount== 0) { - // Not many multi-byte chars. - if (doubleByteCharCount == 0 && totalCharCount < 10) { - // There weren't any multibyte sequences, and there was a low density of non-ASCII single bytes. - // We don't have enough data to have any confidence. - // Statistical analysis of single byte non-ASCII charcters would probably help here. - confidence = 0; - } - else { - // ASCII or ISO file? It's probably not our encoding, - // but is not incompatible with our encoding, so don't give it a zero. - confidence = 10; - } - break detectBlock; - } - - // - // No match if there are too many characters that don't fit the encoding scheme. - // (should we have zero tolerance for these?) - // - if (doubleByteCharCount < 20 * badCharCount) { - confidence = 0; - break detectBlock; - } - - if (this.commonChars == null) { - // We have no statistics on frequently occuring characters. - // Assess confidence purely on having a reasonable number of - // multi-byte characters (the more the better - confidence = 30 + doubleByteCharCount - 20 * badCharCount; - if (confidence > 100) { - confidence = 100; - } - } else { - // - // Frequency of occurence statistics exist. - // - var maxVal = Math.log(parseFloat(doubleByteCharCount) / 4); - var scaleFactor = 90.0 / maxVal; - confidence = Math.floor(Math.log(commonCharCount + 1) * scaleFactor + 10); - confidence = Math.min(confidence, 100); - } - } // end of detectBlock: - - return confidence == 0 ? null : new Match(det, this, confidence); -}; - -/** - * Get the next character (however many bytes it is) from the input data - * Subclasses for specific charset encodings must implement this function - * to get characters according to the rules of their encoding scheme. - * - * This function is not a method of class iteratedChar only because - * that would require a lot of extra derived classes, which is awkward. - * @param it The iteratedChar 'struct' into which the returned char is placed. - * @param det The charset detector, which is needed to get at the input byte data - * being iterated over. - * @return True if a character was returned, false at end of input. - */ - -mbcs.prototype.nextChar = function(iter, det) {}; - - - -/** - * Shift-JIS charset recognizer. - */ -module.exports.sjis = function() { - this.name = function() { - return 'Shift-JIS'; - }; - this.language = function() { - return 'ja'; - }; - - // TODO: This set of data comes from the character frequency- - // of-occurence analysis tool. The data needs to be moved - // into a resource and loaded from there. - this.commonChars = [ - 0x8140, 0x8141, 0x8142, 0x8145, 0x815b, 0x8169, 0x816a, 0x8175, 0x8176, 0x82a0, - 0x82a2, 0x82a4, 0x82a9, 0x82aa, 0x82ab, 0x82ad, 0x82af, 0x82b1, 0x82b3, 0x82b5, - 0x82b7, 0x82bd, 0x82be, 0x82c1, 0x82c4, 0x82c5, 0x82c6, 0x82c8, 0x82c9, 0x82cc, - 0x82cd, 0x82dc, 0x82e0, 0x82e7, 0x82e8, 0x82e9, 0x82ea, 0x82f0, 0x82f1, 0x8341, - 0x8343, 0x834e, 0x834f, 0x8358, 0x835e, 0x8362, 0x8367, 0x8375, 0x8376, 0x8389, - 0x838a, 0x838b, 0x838d, 0x8393, 0x8e96, 0x93fa, 0x95aa - ]; - - this.nextChar = function(iter, det) { - iter.index = iter.nextIndex; - iter.error = false; - - var firstByte; - firstByte = iter.charValue = iter.nextByte(det); - if (firstByte < 0) - return false; - - if (firstByte <= 0x7f || (firstByte > 0xa0 && firstByte <= 0xdf)) - return true; - - var secondByte = iter.nextByte(det); - if (secondByte < 0) - return false; - - iter.charValue = (firstByte << 8) | secondByte; - if (! ((secondByte >= 0x40 && secondByte <= 0x7f) || (secondByte >= 0x80 && secondByte <= 0xff))) { - // Illegal second byte value. - iter.error = true; - } - return true; - }; -}; -util.inherits(module.exports.sjis, mbcs); - - - -/** - * Big5 charset recognizer. - */ -module.exports.big5 = function() { - this.name = function() { - return 'Big5'; - }; - this.language = function() { - return 'zh'; - }; - // TODO: This set of data comes from the character frequency- - // of-occurence analysis tool. The data needs to be moved - // into a resource and loaded from there. - this.commonChars = [ - 0xa140, 0xa141, 0xa142, 0xa143, 0xa147, 0xa149, 0xa175, 0xa176, 0xa440, 0xa446, - 0xa447, 0xa448, 0xa451, 0xa454, 0xa457, 0xa464, 0xa46a, 0xa46c, 0xa477, 0xa4a3, - 0xa4a4, 0xa4a7, 0xa4c1, 0xa4ce, 0xa4d1, 0xa4df, 0xa4e8, 0xa4fd, 0xa540, 0xa548, - 0xa558, 0xa569, 0xa5cd, 0xa5e7, 0xa657, 0xa661, 0xa662, 0xa668, 0xa670, 0xa6a8, - 0xa6b3, 0xa6b9, 0xa6d3, 0xa6db, 0xa6e6, 0xa6f2, 0xa740, 0xa751, 0xa759, 0xa7da, - 0xa8a3, 0xa8a5, 0xa8ad, 0xa8d1, 0xa8d3, 0xa8e4, 0xa8fc, 0xa9c0, 0xa9d2, 0xa9f3, - 0xaa6b, 0xaaba, 0xaabe, 0xaacc, 0xaafc, 0xac47, 0xac4f, 0xacb0, 0xacd2, 0xad59, - 0xaec9, 0xafe0, 0xb0ea, 0xb16f, 0xb2b3, 0xb2c4, 0xb36f, 0xb44c, 0xb44e, 0xb54c, - 0xb5a5, 0xb5bd, 0xb5d0, 0xb5d8, 0xb671, 0xb7ed, 0xb867, 0xb944, 0xbad8, 0xbb44, - 0xbba1, 0xbdd1, 0xc2c4, 0xc3b9, 0xc440, 0xc45f - ]; - this.nextChar = function(iter, det) { - iter.index = iter.nextIndex; - iter.error = false; - - var firstByte = iter.charValue = iter.nextByte(det); - - if (firstByte < 0) - return false; - - // single byte character. - if (firstByte <= 0x7f || firstByte == 0xff) - return true; - - var secondByte = iter.nextByte(det); - - if (secondByte < 0) - return false; - - iter.charValue = (iter.charValue << 8) | secondByte; - - if (secondByte < 0x40 || secondByte == 0x7f || secondByte == 0xff) - iter.error = true; - - return true; - }; -}; -util.inherits(module.exports.big5, mbcs); - - - -/** - * EUC charset recognizers. One abstract class that provides the common function - * for getting the next character according to the EUC encoding scheme, - * and nested derived classes for EUC_KR, EUC_JP, EUC_CN. - * - * Get the next character value for EUC based encodings. - * Character 'value' is simply the raw bytes that make up the character - * packed into an int. - */ -function eucNextChar(iter, det) { - iter.index = iter.nextIndex; - iter.error = false; - var firstByte = 0; - var secondByte = 0; - var thirdByte = 0; - //int fourthByte = 0; - buildChar: { - firstByte = iter.charValue = iter.nextByte(det); - if (firstByte < 0) { - // Ran off the end of the input data - iter.done = true; - break buildChar; - } - if (firstByte <= 0x8d) { - // single byte char - break buildChar; - } - secondByte = iter.nextByte(det); - iter.charValue = (iter.charValue << 8) | secondByte; - if (firstByte >= 0xA1 && firstByte <= 0xfe) { - // Two byte Char - if (secondByte < 0xa1) { - iter.error = true; - } - break buildChar; - } - if (firstByte == 0x8e) { - // Code Set 2. - // In EUC-JP, total char size is 2 bytes, only one byte of actual char value. - // In EUC-TW, total char size is 4 bytes, three bytes contribute to char value. - // We don't know which we've got. - // Treat it like EUC-JP. If the data really was EUC-TW, the following two - // bytes will look like a well formed 2 byte char. - if (secondByte < 0xa1) { - iter.error = true; - } - break buildChar; - } - if (firstByte == 0x8f) { - // Code set 3. - // Three byte total char size, two bytes of actual char value. - thirdByte = iter.nextByte(det); - iter.charValue = (iter.charValue << 8) | thirdByte; - if (thirdByte < 0xa1) { - iter.error = true; - } - } - } - return iter.done == false; -}; - - - -/** - * The charset recognize for EUC-JP. A singleton instance of this class - * is created and kept by the public CharsetDetector class - */ -module.exports.euc_jp = function() { - this.name = function() { - return 'EUC-JP'; - }; - this.language = function() { - return 'ja'; - }; - - // TODO: This set of data comes from the character frequency- - // of-occurence analysis tool. The data needs to be moved - // into a resource and loaded from there. - this.commonChars = [ - 0xa1a1, 0xa1a2, 0xa1a3, 0xa1a6, 0xa1bc, 0xa1ca, 0xa1cb, 0xa1d6, 0xa1d7, 0xa4a2, - 0xa4a4, 0xa4a6, 0xa4a8, 0xa4aa, 0xa4ab, 0xa4ac, 0xa4ad, 0xa4af, 0xa4b1, 0xa4b3, - 0xa4b5, 0xa4b7, 0xa4b9, 0xa4bb, 0xa4bd, 0xa4bf, 0xa4c0, 0xa4c1, 0xa4c3, 0xa4c4, - 0xa4c6, 0xa4c7, 0xa4c8, 0xa4c9, 0xa4ca, 0xa4cb, 0xa4ce, 0xa4cf, 0xa4d0, 0xa4de, - 0xa4df, 0xa4e1, 0xa4e2, 0xa4e4, 0xa4e8, 0xa4e9, 0xa4ea, 0xa4eb, 0xa4ec, 0xa4ef, - 0xa4f2, 0xa4f3, 0xa5a2, 0xa5a3, 0xa5a4, 0xa5a6, 0xa5a7, 0xa5aa, 0xa5ad, 0xa5af, - 0xa5b0, 0xa5b3, 0xa5b5, 0xa5b7, 0xa5b8, 0xa5b9, 0xa5bf, 0xa5c3, 0xa5c6, 0xa5c7, - 0xa5c8, 0xa5c9, 0xa5cb, 0xa5d0, 0xa5d5, 0xa5d6, 0xa5d7, 0xa5de, 0xa5e0, 0xa5e1, - 0xa5e5, 0xa5e9, 0xa5ea, 0xa5eb, 0xa5ec, 0xa5ed, 0xa5f3, 0xb8a9, 0xb9d4, 0xbaee, - 0xbbc8, 0xbef0, 0xbfb7, 0xc4ea, 0xc6fc, 0xc7bd, 0xcab8, 0xcaf3, 0xcbdc, 0xcdd1 - ]; - - this.nextChar = eucNextChar; -}; -util.inherits(module.exports.euc_jp, mbcs); - - - -/** - * The charset recognize for EUC-KR. A singleton instance of this class - * is created and kept by the public CharsetDetector class - */ -module.exports.euc_kr = function() { - this.name = function() { - return 'EUC-KR'; - }; - this.language = function() { - return 'ko'; - }; - - // TODO: This set of data comes from the character frequency- - // of-occurence analysis tool. The data needs to be moved - // into a resource and loaded from there. - this.commonChars = [ - 0xb0a1, 0xb0b3, 0xb0c5, 0xb0cd, 0xb0d4, 0xb0e6, 0xb0ed, 0xb0f8, 0xb0fa, 0xb0fc, - 0xb1b8, 0xb1b9, 0xb1c7, 0xb1d7, 0xb1e2, 0xb3aa, 0xb3bb, 0xb4c2, 0xb4cf, 0xb4d9, - 0xb4eb, 0xb5a5, 0xb5b5, 0xb5bf, 0xb5c7, 0xb5e9, 0xb6f3, 0xb7af, 0xb7c2, 0xb7ce, - 0xb8a6, 0xb8ae, 0xb8b6, 0xb8b8, 0xb8bb, 0xb8e9, 0xb9ab, 0xb9ae, 0xb9cc, 0xb9ce, - 0xb9fd, 0xbab8, 0xbace, 0xbad0, 0xbaf1, 0xbbe7, 0xbbf3, 0xbbfd, 0xbcad, 0xbcba, - 0xbcd2, 0xbcf6, 0xbdba, 0xbdc0, 0xbdc3, 0xbdc5, 0xbec6, 0xbec8, 0xbedf, 0xbeee, - 0xbef8, 0xbefa, 0xbfa1, 0xbfa9, 0xbfc0, 0xbfe4, 0xbfeb, 0xbfec, 0xbff8, 0xc0a7, - 0xc0af, 0xc0b8, 0xc0ba, 0xc0bb, 0xc0bd, 0xc0c7, 0xc0cc, 0xc0ce, 0xc0cf, 0xc0d6, - 0xc0da, 0xc0e5, 0xc0fb, 0xc0fc, 0xc1a4, 0xc1a6, 0xc1b6, 0xc1d6, 0xc1df, 0xc1f6, - 0xc1f8, 0xc4a1, 0xc5cd, 0xc6ae, 0xc7cf, 0xc7d1, 0xc7d2, 0xc7d8, 0xc7e5, 0xc8ad - ]; - - this.nextChar = eucNextChar; -}; -util.inherits(module.exports.euc_kr, mbcs); - - - -/** - * GB-18030 recognizer. Uses simplified Chinese statistics. - */ -module.exports.gb_18030 = function() { - this.name = function() { - return 'GB18030'; - }; - this.language = function() { - return 'zh'; - }; - - /* - * Get the next character value for EUC based encodings. - * Character 'value' is simply the raw bytes that make up the character - * packed into an int. - */ - this.nextChar = function(iter, det) { - iter.index = iter.nextIndex; - iter.error = false; - var firstByte = 0; - var secondByte = 0; - var thirdByte = 0; - var fourthByte = 0; - buildChar: { - firstByte = iter.charValue = iter.nextByte(det); - if (firstByte < 0) { - // Ran off the end of the input data - iter.done = true; - break buildChar; - } - if (firstByte <= 0x80) { - // single byte char - break buildChar; - } - secondByte = iter.nextByte(det); - iter.charValue = (iter.charValue << 8) | secondByte; - if (firstByte >= 0x81 && firstByte <= 0xFE) { - // Two byte Char - if ((secondByte >= 0x40 && secondByte <= 0x7E) || (secondByte >=80 && secondByte <= 0xFE)) { - break buildChar; - } - // Four byte char - if (secondByte >= 0x30 && secondByte <= 0x39) { - thirdByte = iter.nextByte(det); - if (thirdByte >= 0x81 && thirdByte <= 0xFE) { - fourthByte = iter.nextByte(det); - if (fourthByte >= 0x30 && fourthByte <= 0x39) { - iter.charValue = (iter.charValue << 16) | (thirdByte << 8) | fourthByte; - break buildChar; - } - } - } - iter.error = true; - break buildChar; - } - } - return iter.done == false; - }; - - // TODO: This set of data comes from the character frequency- - // of-occurence analysis tool. The data needs to be moved - // into a resource and loaded from there. - this.commonChars = [ - 0xa1a1, 0xa1a2, 0xa1a3, 0xa1a4, 0xa1b0, 0xa1b1, 0xa1f1, 0xa1f3, 0xa3a1, 0xa3ac, - 0xa3ba, 0xb1a8, 0xb1b8, 0xb1be, 0xb2bb, 0xb3c9, 0xb3f6, 0xb4f3, 0xb5bd, 0xb5c4, - 0xb5e3, 0xb6af, 0xb6d4, 0xb6e0, 0xb7a2, 0xb7a8, 0xb7bd, 0xb7d6, 0xb7dd, 0xb8b4, - 0xb8df, 0xb8f6, 0xb9ab, 0xb9c9, 0xb9d8, 0xb9fa, 0xb9fd, 0xbacd, 0xbba7, 0xbbd6, - 0xbbe1, 0xbbfa, 0xbcbc, 0xbcdb, 0xbcfe, 0xbdcc, 0xbecd, 0xbedd, 0xbfb4, 0xbfc6, - 0xbfc9, 0xc0b4, 0xc0ed, 0xc1cb, 0xc2db, 0xc3c7, 0xc4dc, 0xc4ea, 0xc5cc, 0xc6f7, - 0xc7f8, 0xc8ab, 0xc8cb, 0xc8d5, 0xc8e7, 0xc9cf, 0xc9fa, 0xcab1, 0xcab5, 0xcac7, - 0xcad0, 0xcad6, 0xcaf5, 0xcafd, 0xccec, 0xcdf8, 0xceaa, 0xcec4, 0xced2, 0xcee5, - 0xcfb5, 0xcfc2, 0xcfd6, 0xd0c2, 0xd0c5, 0xd0d0, 0xd0d4, 0xd1a7, 0xd2aa, 0xd2b2, - 0xd2b5, 0xd2bb, 0xd2d4, 0xd3c3, 0xd3d0, 0xd3fd, 0xd4c2, 0xd4da, 0xd5e2, 0xd6d0 - ]; -}; -util.inherits(module.exports.gb_18030, mbcs); diff --git a/tools/node_modules/eslint/node_modules/chardet/encoding/sbcs.js b/tools/node_modules/eslint/node_modules/chardet/encoding/sbcs.js deleted file mode 100644 index 80d525e68149f6..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/encoding/sbcs.js +++ /dev/null @@ -1,907 +0,0 @@ -var util = require('util'), - Match = require ('../match'); - -/** - * This class recognizes single-byte encodings. Because the encoding scheme is so - * simple, language statistics are used to do the matching. - */ - -function NGramParser(theNgramList, theByteMap) { - var N_GRAM_MASK = 0xFFFFFF; - - this.byteIndex = 0; - this.ngram = 0; - - this.ngramList = theNgramList; - this.byteMap = theByteMap; - - this.ngramCount = 0; - this.hitCount = 0; - - this.spaceChar; - - /* - * Binary search for value in table, which must have exactly 64 entries. - */ - this.search = function(table, value) { - var index = 0; - - if (table[index + 32] <= value) index += 32; - if (table[index + 16] <= value) index += 16; - if (table[index + 8] <= value) index += 8; - if (table[index + 4] <= value) index += 4; - if (table[index + 2] <= value) index += 2; - if (table[index + 1] <= value) index += 1; - if (table[index] > value) index -= 1; - - if (index < 0 || table[index] != value) - return -1; - - return index; - }; - - this.lookup = function(thisNgram) { - this.ngramCount += 1; - if (this.search(this.ngramList, thisNgram) >= 0) { - this.hitCount += 1; - } - }; - - this.addByte = function(b) { - this.ngram = ((this.ngram << 8) + (b & 0xFF)) & N_GRAM_MASK; - this.lookup(this.ngram); - } - - this.nextByte = function(det) { - if (this.byteIndex >= det.fInputLen) - return -1; - - return det.fInputBytes[this.byteIndex++] & 0xFF; - } - - this.parse = function(det, spaceCh) { - var b, ignoreSpace = false; - this.spaceChar = spaceCh; - - while ((b = this.nextByte(det)) >= 0) { - var mb = this.byteMap[b]; - - // TODO: 0x20 might not be a space in all character sets... - if (mb != 0) { - if (!(mb == this.spaceChar && ignoreSpace)) { - this.addByte(mb); - } - - ignoreSpace = (mb == this.spaceChar); - } - } - - // TODO: Is this OK? The buffer could have ended in the middle of a word... - this.addByte(this.spaceChar); - - var rawPercent = this.hitCount / this.ngramCount; - - // TODO - This is a bit of a hack to take care of a case - // were we were getting a confidence of 135... - if (rawPercent > 0.33) - return 98; - - return Math.floor(rawPercent * 300.0); - }; -}; - -function NGramsPlusLang(la, ng) { - this.fLang = la; - this.fNGrams = ng; -}; - -function sbcs() {}; -sbcs.prototype.spaceChar = 0x20; -sbcs.prototype.ngrams = function() {}; -sbcs.prototype.byteMap = function() {}; -sbcs.prototype.match = function(det) { - - var ngrams = this.ngrams(); - var multiple = (Array.isArray(ngrams) && ngrams[0] instanceof NGramsPlusLang); - - if (!multiple) { - var parser = new NGramParser(ngrams, this.byteMap()); - var confidence = parser.parse(det, this.spaceChar); - return confidence <= 0 ? null : new Match(det, this, confidence); - } - - var bestConfidenceSoFar = -1; - var lang = null; - - for (var i = ngrams.length - 1; i >= 0; i--) { - var ngl = ngrams[i]; - - var parser = new NGramParser(ngl.fNGrams, this.byteMap()); - var confidence = parser.parse(det, this.spaceChar); - if (confidence > bestConfidenceSoFar) { - bestConfidenceSoFar = confidence; - lang = ngl.fLang; - } - } - - var name = this.name(det); - return bestConfidenceSoFar <= 0 ? null : new Match(det, this, bestConfidenceSoFar, name, lang); -}; - - -module.exports.ISO_8859_1 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0xAA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0xB5, 0x20, 0x20, - 0x20, 0x20, 0xBA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF - ]; - }; - - this.ngrams = function() { - return [ - new NGramsPlusLang('da', [ - 0x206166, 0x206174, 0x206465, 0x20656E, 0x206572, 0x20666F, 0x206861, 0x206920, - 0x206D65, 0x206F67, 0x2070E5, 0x207369, 0x207374, 0x207469, 0x207669, 0x616620, - 0x616E20, 0x616E64, 0x617220, 0x617420, 0x646520, 0x64656E, 0x646572, 0x646574, - 0x652073, 0x656420, 0x656465, 0x656E20, 0x656E64, 0x657220, 0x657265, 0x657320, - 0x657420, 0x666F72, 0x676520, 0x67656E, 0x676572, 0x696765, 0x696C20, 0x696E67, - 0x6B6520, 0x6B6B65, 0x6C6572, 0x6C6967, 0x6C6C65, 0x6D6564, 0x6E6465, 0x6E6520, - 0x6E6720, 0x6E6765, 0x6F6720, 0x6F6D20, 0x6F7220, 0x70E520, 0x722064, 0x722065, - 0x722073, 0x726520, 0x737465, 0x742073, 0x746520, 0x746572, 0x74696C, 0x766572 - ]), - new NGramsPlusLang('de', [ - 0x20616E, 0x206175, 0x206265, 0x206461, 0x206465, 0x206469, 0x206569, 0x206765, - 0x206861, 0x20696E, 0x206D69, 0x207363, 0x207365, 0x20756E, 0x207665, 0x20766F, - 0x207765, 0x207A75, 0x626572, 0x636820, 0x636865, 0x636874, 0x646173, 0x64656E, - 0x646572, 0x646965, 0x652064, 0x652073, 0x65696E, 0x656974, 0x656E20, 0x657220, - 0x657320, 0x67656E, 0x68656E, 0x687420, 0x696368, 0x696520, 0x696E20, 0x696E65, - 0x697420, 0x6C6963, 0x6C6C65, 0x6E2061, 0x6E2064, 0x6E2073, 0x6E6420, 0x6E6465, - 0x6E6520, 0x6E6720, 0x6E6765, 0x6E7465, 0x722064, 0x726465, 0x726569, 0x736368, - 0x737465, 0x742064, 0x746520, 0x74656E, 0x746572, 0x756E64, 0x756E67, 0x766572 - ]), - new NGramsPlusLang('en', [ - 0x206120, 0x20616E, 0x206265, 0x20636F, 0x20666F, 0x206861, 0x206865, 0x20696E, - 0x206D61, 0x206F66, 0x207072, 0x207265, 0x207361, 0x207374, 0x207468, 0x20746F, - 0x207768, 0x616964, 0x616C20, 0x616E20, 0x616E64, 0x617320, 0x617420, 0x617465, - 0x617469, 0x642061, 0x642074, 0x652061, 0x652073, 0x652074, 0x656420, 0x656E74, - 0x657220, 0x657320, 0x666F72, 0x686174, 0x686520, 0x686572, 0x696420, 0x696E20, - 0x696E67, 0x696F6E, 0x697320, 0x6E2061, 0x6E2074, 0x6E6420, 0x6E6720, 0x6E7420, - 0x6F6620, 0x6F6E20, 0x6F7220, 0x726520, 0x727320, 0x732061, 0x732074, 0x736169, - 0x737420, 0x742074, 0x746572, 0x746861, 0x746865, 0x74696F, 0x746F20, 0x747320 - ]), - new NGramsPlusLang('es', [ - 0x206120, 0x206361, 0x20636F, 0x206465, 0x20656C, 0x20656E, 0x206573, 0x20696E, - 0x206C61, 0x206C6F, 0x207061, 0x20706F, 0x207072, 0x207175, 0x207265, 0x207365, - 0x20756E, 0x207920, 0x612063, 0x612064, 0x612065, 0x61206C, 0x612070, 0x616369, - 0x61646F, 0x616C20, 0x617220, 0x617320, 0x6369F3, 0x636F6E, 0x646520, 0x64656C, - 0x646F20, 0x652064, 0x652065, 0x65206C, 0x656C20, 0x656E20, 0x656E74, 0x657320, - 0x657374, 0x69656E, 0x69F36E, 0x6C6120, 0x6C6F73, 0x6E2065, 0x6E7465, 0x6F2064, - 0x6F2065, 0x6F6E20, 0x6F7220, 0x6F7320, 0x706172, 0x717565, 0x726120, 0x726573, - 0x732064, 0x732065, 0x732070, 0x736520, 0x746520, 0x746F20, 0x756520, 0xF36E20 - ]), - new NGramsPlusLang('fr', [ - 0x206175, 0x20636F, 0x206461, 0x206465, 0x206475, 0x20656E, 0x206574, 0x206C61, - 0x206C65, 0x207061, 0x20706F, 0x207072, 0x207175, 0x207365, 0x20736F, 0x20756E, - 0x20E020, 0x616E74, 0x617469, 0x636520, 0x636F6E, 0x646520, 0x646573, 0x647520, - 0x652061, 0x652063, 0x652064, 0x652065, 0x65206C, 0x652070, 0x652073, 0x656E20, - 0x656E74, 0x657220, 0x657320, 0x657420, 0x657572, 0x696F6E, 0x697320, 0x697420, - 0x6C6120, 0x6C6520, 0x6C6573, 0x6D656E, 0x6E2064, 0x6E6520, 0x6E7320, 0x6E7420, - 0x6F6E20, 0x6F6E74, 0x6F7572, 0x717565, 0x72206C, 0x726520, 0x732061, 0x732064, - 0x732065, 0x73206C, 0x732070, 0x742064, 0x746520, 0x74696F, 0x756520, 0x757220 - ]), - new NGramsPlusLang('it', [ - 0x20616C, 0x206368, 0x20636F, 0x206465, 0x206469, 0x206520, 0x20696C, 0x20696E, - 0x206C61, 0x207065, 0x207072, 0x20756E, 0x612063, 0x612064, 0x612070, 0x612073, - 0x61746F, 0x636865, 0x636F6E, 0x64656C, 0x646920, 0x652061, 0x652063, 0x652064, - 0x652069, 0x65206C, 0x652070, 0x652073, 0x656C20, 0x656C6C, 0x656E74, 0x657220, - 0x686520, 0x692061, 0x692063, 0x692064, 0x692073, 0x696120, 0x696C20, 0x696E20, - 0x696F6E, 0x6C6120, 0x6C6520, 0x6C6920, 0x6C6C61, 0x6E6520, 0x6E6920, 0x6E6F20, - 0x6E7465, 0x6F2061, 0x6F2064, 0x6F2069, 0x6F2073, 0x6F6E20, 0x6F6E65, 0x706572, - 0x726120, 0x726520, 0x736920, 0x746120, 0x746520, 0x746920, 0x746F20, 0x7A696F - ]), - new NGramsPlusLang('nl', [ - 0x20616C, 0x206265, 0x206461, 0x206465, 0x206469, 0x206565, 0x20656E, 0x206765, - 0x206865, 0x20696E, 0x206D61, 0x206D65, 0x206F70, 0x207465, 0x207661, 0x207665, - 0x20766F, 0x207765, 0x207A69, 0x61616E, 0x616172, 0x616E20, 0x616E64, 0x617220, - 0x617420, 0x636874, 0x646520, 0x64656E, 0x646572, 0x652062, 0x652076, 0x65656E, - 0x656572, 0x656E20, 0x657220, 0x657273, 0x657420, 0x67656E, 0x686574, 0x696520, - 0x696E20, 0x696E67, 0x697320, 0x6E2062, 0x6E2064, 0x6E2065, 0x6E2068, 0x6E206F, - 0x6E2076, 0x6E6465, 0x6E6720, 0x6F6E64, 0x6F6F72, 0x6F7020, 0x6F7220, 0x736368, - 0x737465, 0x742064, 0x746520, 0x74656E, 0x746572, 0x76616E, 0x766572, 0x766F6F - ]), - new NGramsPlusLang('no', [ - 0x206174, 0x206176, 0x206465, 0x20656E, 0x206572, 0x20666F, 0x206861, 0x206920, - 0x206D65, 0x206F67, 0x2070E5, 0x207365, 0x20736B, 0x20736F, 0x207374, 0x207469, - 0x207669, 0x20E520, 0x616E64, 0x617220, 0x617420, 0x646520, 0x64656E, 0x646574, - 0x652073, 0x656420, 0x656E20, 0x656E65, 0x657220, 0x657265, 0x657420, 0x657474, - 0x666F72, 0x67656E, 0x696B6B, 0x696C20, 0x696E67, 0x6B6520, 0x6B6B65, 0x6C6520, - 0x6C6C65, 0x6D6564, 0x6D656E, 0x6E2073, 0x6E6520, 0x6E6720, 0x6E6765, 0x6E6E65, - 0x6F6720, 0x6F6D20, 0x6F7220, 0x70E520, 0x722073, 0x726520, 0x736F6D, 0x737465, - 0x742073, 0x746520, 0x74656E, 0x746572, 0x74696C, 0x747420, 0x747465, 0x766572 - ]), - new NGramsPlusLang('pt', [ - 0x206120, 0x20636F, 0x206461, 0x206465, 0x20646F, 0x206520, 0x206573, 0x206D61, - 0x206E6F, 0x206F20, 0x207061, 0x20706F, 0x207072, 0x207175, 0x207265, 0x207365, - 0x20756D, 0x612061, 0x612063, 0x612064, 0x612070, 0x616465, 0x61646F, 0x616C20, - 0x617220, 0x617261, 0x617320, 0x636F6D, 0x636F6E, 0x646120, 0x646520, 0x646F20, - 0x646F73, 0x652061, 0x652064, 0x656D20, 0x656E74, 0x657320, 0x657374, 0x696120, - 0x696361, 0x6D656E, 0x6E7465, 0x6E746F, 0x6F2061, 0x6F2063, 0x6F2064, 0x6F2065, - 0x6F2070, 0x6F7320, 0x706172, 0x717565, 0x726120, 0x726573, 0x732061, 0x732064, - 0x732065, 0x732070, 0x737461, 0x746520, 0x746F20, 0x756520, 0xE36F20, 0xE7E36F - ]), - new NGramsPlusLang('sv', [ - 0x206174, 0x206176, 0x206465, 0x20656E, 0x2066F6, 0x206861, 0x206920, 0x20696E, - 0x206B6F, 0x206D65, 0x206F63, 0x2070E5, 0x20736B, 0x20736F, 0x207374, 0x207469, - 0x207661, 0x207669, 0x20E472, 0x616465, 0x616E20, 0x616E64, 0x617220, 0x617474, - 0x636820, 0x646520, 0x64656E, 0x646572, 0x646574, 0x656420, 0x656E20, 0x657220, - 0x657420, 0x66F672, 0x67656E, 0x696C6C, 0x696E67, 0x6B6120, 0x6C6C20, 0x6D6564, - 0x6E2073, 0x6E6120, 0x6E6465, 0x6E6720, 0x6E6765, 0x6E696E, 0x6F6368, 0x6F6D20, - 0x6F6E20, 0x70E520, 0x722061, 0x722073, 0x726120, 0x736B61, 0x736F6D, 0x742073, - 0x746120, 0x746520, 0x746572, 0x74696C, 0x747420, 0x766172, 0xE47220, 0xF67220, - ]) - ]; - }; - - this.name = function(det) { - return (det && det.fC1Bytes) ? 'windows-1252' : 'ISO-8859-1'; - }; -}; -util.inherits(module.exports.ISO_8859_1, sbcs); - - -module.exports.ISO_8859_2 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0xB1, 0x20, 0xB3, 0x20, 0xB5, 0xB6, 0x20, - 0x20, 0xB9, 0xBA, 0xBB, 0xBC, 0x20, 0xBE, 0xBF, - 0x20, 0xB1, 0x20, 0xB3, 0x20, 0xB5, 0xB6, 0xB7, - 0x20, 0xB9, 0xBA, 0xBB, 0xBC, 0x20, 0xBE, 0xBF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0x20 - ]; - } - - this.ngrams = function() { - return [ - new NGramsPlusLang('cs', [ - 0x206120, 0x206279, 0x20646F, 0x206A65, 0x206E61, 0x206E65, 0x206F20, 0x206F64, - 0x20706F, 0x207072, 0x2070F8, 0x20726F, 0x207365, 0x20736F, 0x207374, 0x20746F, - 0x207620, 0x207679, 0x207A61, 0x612070, 0x636520, 0x636820, 0x652070, 0x652073, - 0x652076, 0x656D20, 0x656EED, 0x686F20, 0x686F64, 0x697374, 0x6A6520, 0x6B7465, - 0x6C6520, 0x6C6920, 0x6E6120, 0x6EE920, 0x6EEC20, 0x6EED20, 0x6F2070, 0x6F646E, - 0x6F6A69, 0x6F7374, 0x6F7520, 0x6F7661, 0x706F64, 0x706F6A, 0x70726F, 0x70F865, - 0x736520, 0x736F75, 0x737461, 0x737469, 0x73746E, 0x746572, 0x746EED, 0x746F20, - 0x752070, 0xBE6520, 0xE16EED, 0xE9686F, 0xED2070, 0xED2073, 0xED6D20, 0xF86564, - ]), - new NGramsPlusLang('hu', [ - 0x206120, 0x20617A, 0x206265, 0x206567, 0x20656C, 0x206665, 0x206861, 0x20686F, - 0x206973, 0x206B65, 0x206B69, 0x206BF6, 0x206C65, 0x206D61, 0x206D65, 0x206D69, - 0x206E65, 0x20737A, 0x207465, 0x20E973, 0x612061, 0x61206B, 0x61206D, 0x612073, - 0x616B20, 0x616E20, 0x617A20, 0x62616E, 0x62656E, 0x656779, 0x656B20, 0x656C20, - 0x656C65, 0x656D20, 0x656E20, 0x657265, 0x657420, 0x657465, 0x657474, 0x677920, - 0x686F67, 0x696E74, 0x697320, 0x6B2061, 0x6BF67A, 0x6D6567, 0x6D696E, 0x6E2061, - 0x6E616B, 0x6E656B, 0x6E656D, 0x6E7420, 0x6F6779, 0x732061, 0x737A65, 0x737A74, - 0x737AE1, 0x73E967, 0x742061, 0x747420, 0x74E173, 0x7A6572, 0xE16E20, 0xE97320, - ]), - new NGramsPlusLang('pl', [ - 0x20637A, 0x20646F, 0x206920, 0x206A65, 0x206B6F, 0x206D61, 0x206D69, 0x206E61, - 0x206E69, 0x206F64, 0x20706F, 0x207072, 0x207369, 0x207720, 0x207769, 0x207779, - 0x207A20, 0x207A61, 0x612070, 0x612077, 0x616E69, 0x636820, 0x637A65, 0x637A79, - 0x646F20, 0x647A69, 0x652070, 0x652073, 0x652077, 0x65207A, 0x65676F, 0x656A20, - 0x656D20, 0x656E69, 0x676F20, 0x696120, 0x696520, 0x69656A, 0x6B6120, 0x6B6920, - 0x6B6965, 0x6D6965, 0x6E6120, 0x6E6961, 0x6E6965, 0x6F2070, 0x6F7761, 0x6F7769, - 0x706F6C, 0x707261, 0x70726F, 0x70727A, 0x727A65, 0x727A79, 0x7369EA, 0x736B69, - 0x737461, 0x776965, 0x796368, 0x796D20, 0x7A6520, 0x7A6965, 0x7A7920, 0xF37720, - ]), - new NGramsPlusLang('ro', [ - 0x206120, 0x206163, 0x206361, 0x206365, 0x20636F, 0x206375, 0x206465, 0x206469, - 0x206C61, 0x206D61, 0x207065, 0x207072, 0x207365, 0x2073E3, 0x20756E, 0x20BA69, - 0x20EE6E, 0x612063, 0x612064, 0x617265, 0x617420, 0x617465, 0x617520, 0x636172, - 0x636F6E, 0x637520, 0x63E320, 0x646520, 0x652061, 0x652063, 0x652064, 0x652070, - 0x652073, 0x656120, 0x656920, 0x656C65, 0x656E74, 0x657374, 0x692061, 0x692063, - 0x692064, 0x692070, 0x696520, 0x696920, 0x696E20, 0x6C6120, 0x6C6520, 0x6C6F72, - 0x6C7569, 0x6E6520, 0x6E7472, 0x6F7220, 0x70656E, 0x726520, 0x726561, 0x727520, - 0x73E320, 0x746520, 0x747275, 0x74E320, 0x756920, 0x756C20, 0xBA6920, 0xEE6E20, - ]) - ]; - }; - - this.name = function(det) { - return (det && det.fC1Bytes) ? 'windows-1250' : 'ISO-8859-2'; - }; -}; -util.inherits(module.exports.ISO_8859_2, sbcs); - - -module.exports.ISO_8859_5 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0x20, 0xFE, 0xFF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, - 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, - 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0x20, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0x20, 0xFE, 0xFF - ]; - }; - - this.ngrams = function() { - return [ - 0x20D220, 0x20D2DE, 0x20D4DE, 0x20D7D0, 0x20D820, 0x20DAD0, 0x20DADE, 0x20DDD0, - 0x20DDD5, 0x20DED1, 0x20DFDE, 0x20DFE0, 0x20E0D0, 0x20E1DE, 0x20E1E2, 0x20E2DE, - 0x20E7E2, 0x20EDE2, 0xD0DDD8, 0xD0E2EC, 0xD3DE20, 0xD5DBEC, 0xD5DDD8, 0xD5E1E2, - 0xD5E220, 0xD820DF, 0xD8D520, 0xD8D820, 0xD8EF20, 0xDBD5DD, 0xDBD820, 0xDBECDD, - 0xDDD020, 0xDDD520, 0xDDD8D5, 0xDDD8EF, 0xDDDE20, 0xDDDED2, 0xDE20D2, 0xDE20DF, - 0xDE20E1, 0xDED220, 0xDED2D0, 0xDED3DE, 0xDED920, 0xDEDBEC, 0xDEDC20, 0xDEE1E2, - 0xDFDEDB, 0xDFE0D5, 0xDFE0D8, 0xDFE0DE, 0xE0D0D2, 0xE0D5D4, 0xE1E2D0, 0xE1E2D2, - 0xE1E2D8, 0xE1EF20, 0xE2D5DB, 0xE2DE20, 0xE2DEE0, 0xE2EC20, 0xE7E2DE, 0xEBE520 - ]; - }; - - this.name = function(det) { - return 'ISO-8859-5'; - }; - - this.language = function() { - return 'ru'; - }; -}; -util.inherits(module.exports.ISO_8859_5, sbcs); - - -module.exports.ISO_8859_6 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, - 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, - 0xD8, 0xD9, 0xDA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 - ]; - }; - - this.ngrams = function() { - return [ - 0x20C7E4, 0x20C7E6, 0x20C8C7, 0x20D9E4, 0x20E1EA, 0x20E4E4, 0x20E5E6, 0x20E8C7, - 0xC720C7, 0xC7C120, 0xC7CA20, 0xC7D120, 0xC7E420, 0xC7E4C3, 0xC7E4C7, 0xC7E4C8, - 0xC7E4CA, 0xC7E4CC, 0xC7E4CD, 0xC7E4CF, 0xC7E4D3, 0xC7E4D9, 0xC7E4E2, 0xC7E4E5, - 0xC7E4E8, 0xC7E4EA, 0xC7E520, 0xC7E620, 0xC7E6CA, 0xC820C7, 0xC920C7, 0xC920E1, - 0xC920E4, 0xC920E5, 0xC920E8, 0xCA20C7, 0xCF20C7, 0xCFC920, 0xD120C7, 0xD1C920, - 0xD320C7, 0xD920C7, 0xD9E4E9, 0xE1EA20, 0xE420C7, 0xE4C920, 0xE4E920, 0xE4EA20, - 0xE520C7, 0xE5C720, 0xE5C920, 0xE5E620, 0xE620C7, 0xE720C7, 0xE7C720, 0xE8C7E4, - 0xE8E620, 0xE920C7, 0xEA20C7, 0xEA20E5, 0xEA20E8, 0xEAC920, 0xEAD120, 0xEAE620 - ]; - }; - - this.name = function(det) { - return 'ISO-8859-6'; - }; - - this.language = function() { - return 'ar'; - }; -}; -util.inherits(module.exports.ISO_8859_6, sbcs); - - -module.exports.ISO_8859_7 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0xA1, 0xA2, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0xDC, 0x20, - 0xDD, 0xDE, 0xDF, 0x20, 0xFC, 0x20, 0xFD, 0xFE, - 0xC0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0x20, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xDC, 0xDD, 0xDE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0x20 - ]; - }; - - this.ngrams = function() { - return [ - 0x20E1ED, 0x20E1F0, 0x20E3E9, 0x20E4E9, 0x20E5F0, 0x20E720, 0x20EAE1, 0x20ECE5, - 0x20EDE1, 0x20EF20, 0x20F0E1, 0x20F0EF, 0x20F0F1, 0x20F3F4, 0x20F3F5, 0x20F4E7, - 0x20F4EF, 0xDFE120, 0xE120E1, 0xE120F4, 0xE1E920, 0xE1ED20, 0xE1F0FC, 0xE1F220, - 0xE3E9E1, 0xE5E920, 0xE5F220, 0xE720F4, 0xE7ED20, 0xE7F220, 0xE920F4, 0xE9E120, - 0xE9EADE, 0xE9F220, 0xEAE1E9, 0xEAE1F4, 0xECE520, 0xED20E1, 0xED20E5, 0xED20F0, - 0xEDE120, 0xEFF220, 0xEFF520, 0xF0EFF5, 0xF0F1EF, 0xF0FC20, 0xF220E1, 0xF220E5, - 0xF220EA, 0xF220F0, 0xF220F4, 0xF3E520, 0xF3E720, 0xF3F4EF, 0xF4E120, 0xF4E1E9, - 0xF4E7ED, 0xF4E7F2, 0xF4E9EA, 0xF4EF20, 0xF4EFF5, 0xF4F9ED, 0xF9ED20, 0xFEED20 - ]; - }; - - this.name = function(det) { - return (det && det.fC1Bytes) ? 'windows-1253' : 'ISO-8859-7'; - }; - - this.language = function() { - return 'el'; - }; -}; -util.inherits(module.exports.ISO_8859_7, sbcs); - -module.exports.ISO_8859_8 = function() { - - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0xB5, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0x20, 0x20, 0x20, 0x20, 0x20 - ]; - }; - - this.ngrams = function() { - return [ - new NGramsPlusLang('he', [ - 0x20E0E5, 0x20E0E7, 0x20E0E9, 0x20E0FA, 0x20E1E9, 0x20E1EE, 0x20E4E0, 0x20E4E5, - 0x20E4E9, 0x20E4EE, 0x20E4F2, 0x20E4F9, 0x20E4FA, 0x20ECE0, 0x20ECE4, 0x20EEE0, - 0x20F2EC, 0x20F9EC, 0xE0FA20, 0xE420E0, 0xE420E1, 0xE420E4, 0xE420EC, 0xE420EE, - 0xE420F9, 0xE4E5E0, 0xE5E020, 0xE5ED20, 0xE5EF20, 0xE5F820, 0xE5FA20, 0xE920E4, - 0xE9E420, 0xE9E5FA, 0xE9E9ED, 0xE9ED20, 0xE9EF20, 0xE9F820, 0xE9FA20, 0xEC20E0, - 0xEC20E4, 0xECE020, 0xECE420, 0xED20E0, 0xED20E1, 0xED20E4, 0xED20EC, 0xED20EE, - 0xED20F9, 0xEEE420, 0xEF20E4, 0xF0E420, 0xF0E920, 0xF0E9ED, 0xF2EC20, 0xF820E4, - 0xF8E9ED, 0xF9EC20, 0xFA20E0, 0xFA20E1, 0xFA20E4, 0xFA20EC, 0xFA20EE, 0xFA20F9, - ]), - new NGramsPlusLang('he', [ - 0x20E0E5, 0x20E0EC, 0x20E4E9, 0x20E4EC, 0x20E4EE, 0x20E4F0, 0x20E9F0, 0x20ECF2, - 0x20ECF9, 0x20EDE5, 0x20EDE9, 0x20EFE5, 0x20EFE9, 0x20F8E5, 0x20F8E9, 0x20FAE0, - 0x20FAE5, 0x20FAE9, 0xE020E4, 0xE020EC, 0xE020ED, 0xE020FA, 0xE0E420, 0xE0E5E4, - 0xE0EC20, 0xE0EE20, 0xE120E4, 0xE120ED, 0xE120FA, 0xE420E4, 0xE420E9, 0xE420EC, - 0xE420ED, 0xE420EF, 0xE420F8, 0xE420FA, 0xE4EC20, 0xE5E020, 0xE5E420, 0xE7E020, - 0xE9E020, 0xE9E120, 0xE9E420, 0xEC20E4, 0xEC20ED, 0xEC20FA, 0xECF220, 0xECF920, - 0xEDE9E9, 0xEDE9F0, 0xEDE9F8, 0xEE20E4, 0xEE20ED, 0xEE20FA, 0xEEE120, 0xEEE420, - 0xF2E420, 0xF920E4, 0xF920ED, 0xF920FA, 0xF9E420, 0xFAE020, 0xFAE420, 0xFAE5E9, - ]) - ]; - }; - - this.name = function(det) { - return (det && det.fC1Bytes) ? 'windows-1255' : 'ISO-8859-8'; - }; - - this.language = function() { - return 'he'; - }; - -}; -util.inherits(module.exports.ISO_8859_8, sbcs); - - -module.exports.ISO_8859_9 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0xAA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0xB5, 0x20, 0x20, - 0x20, 0x20, 0xBA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0x69, 0xFE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0x20, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF - ]; - }; - - this.ngrams = function() { - return [ - 0x206261, 0x206269, 0x206275, 0x206461, 0x206465, 0x206765, 0x206861, 0x20696C, - 0x206B61, 0x206B6F, 0x206D61, 0x206F6C, 0x207361, 0x207461, 0x207665, 0x207961, - 0x612062, 0x616B20, 0x616C61, 0x616D61, 0x616E20, 0x616EFD, 0x617220, 0x617261, - 0x6172FD, 0x6173FD, 0x617961, 0x626972, 0x646120, 0x646520, 0x646920, 0x652062, - 0x65206B, 0x656469, 0x656E20, 0x657220, 0x657269, 0x657369, 0x696C65, 0x696E20, - 0x696E69, 0x697220, 0x6C616E, 0x6C6172, 0x6C6520, 0x6C6572, 0x6E2061, 0x6E2062, - 0x6E206B, 0x6E6461, 0x6E6465, 0x6E6520, 0x6E6920, 0x6E696E, 0x6EFD20, 0x72696E, - 0x72FD6E, 0x766520, 0x796120, 0x796F72, 0xFD6E20, 0xFD6E64, 0xFD6EFD, 0xFDF0FD - ]; - }; - - this.name = function(det) { - return (det && det.fC1Bytes) ? 'windows-1254' : 'ISO-8859-9'; - }; - - this.language = function() { - return 'tr'; - }; -}; -util.inherits(module.exports.ISO_8859_9, sbcs); - - -module.exports.windows_1251 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x90, 0x83, 0x20, 0x83, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x9A, 0x20, 0x9C, 0x9D, 0x9E, 0x9F, - 0x90, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x9A, 0x20, 0x9C, 0x9D, 0x9E, 0x9F, - 0x20, 0xA2, 0xA2, 0xBC, 0x20, 0xB4, 0x20, 0x20, - 0xB8, 0x20, 0xBA, 0x20, 0x20, 0x20, 0x20, 0xBF, - 0x20, 0x20, 0xB3, 0xB3, 0xB4, 0xB5, 0x20, 0x20, - 0xB8, 0x20, 0xBA, 0x20, 0xBC, 0xBE, 0xBE, 0xBF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, - 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF - ]; - }; - - this.ngrams = function() { - return [ - 0x20E220, 0x20E2EE, 0x20E4EE, 0x20E7E0, 0x20E820, 0x20EAE0, 0x20EAEE, 0x20EDE0, - 0x20EDE5, 0x20EEE1, 0x20EFEE, 0x20EFF0, 0x20F0E0, 0x20F1EE, 0x20F1F2, 0x20F2EE, - 0x20F7F2, 0x20FDF2, 0xE0EDE8, 0xE0F2FC, 0xE3EE20, 0xE5EBFC, 0xE5EDE8, 0xE5F1F2, - 0xE5F220, 0xE820EF, 0xE8E520, 0xE8E820, 0xE8FF20, 0xEBE5ED, 0xEBE820, 0xEBFCED, - 0xEDE020, 0xEDE520, 0xEDE8E5, 0xEDE8FF, 0xEDEE20, 0xEDEEE2, 0xEE20E2, 0xEE20EF, - 0xEE20F1, 0xEEE220, 0xEEE2E0, 0xEEE3EE, 0xEEE920, 0xEEEBFC, 0xEEEC20, 0xEEF1F2, - 0xEFEEEB, 0xEFF0E5, 0xEFF0E8, 0xEFF0EE, 0xF0E0E2, 0xF0E5E4, 0xF1F2E0, 0xF1F2E2, - 0xF1F2E8, 0xF1FF20, 0xF2E5EB, 0xF2EE20, 0xF2EEF0, 0xF2FC20, 0xF7F2EE, 0xFBF520 - ]; - }; - - this.name = function(det) { - return 'windows-1251'; - }; - - this.language = function() { - return 'ru'; - }; -}; -util.inherits(module.exports.windows_1251, sbcs); - - -module.exports.windows_1256 = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x81, 0x20, 0x83, 0x20, 0x20, 0x20, 0x20, - 0x88, 0x20, 0x8A, 0x20, 0x9C, 0x8D, 0x8E, 0x8F, - 0x90, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x98, 0x20, 0x9A, 0x20, 0x9C, 0x20, 0x20, 0x9F, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0xAA, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0xB5, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, - 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0x20, - 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, - 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, - 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, - 0x20, 0x20, 0x20, 0x20, 0xF4, 0x20, 0x20, 0x20, - 0x20, 0xF9, 0x20, 0xFB, 0xFC, 0x20, 0x20, 0xFF - ]; - }; - - this.ngrams = function() { - return [ - 0x20C7E1, 0x20C7E4, 0x20C8C7, 0x20DAE1, 0x20DDED, 0x20E1E1, 0x20E3E4, 0x20E6C7, - 0xC720C7, 0xC7C120, 0xC7CA20, 0xC7D120, 0xC7E120, 0xC7E1C3, 0xC7E1C7, 0xC7E1C8, - 0xC7E1CA, 0xC7E1CC, 0xC7E1CD, 0xC7E1CF, 0xC7E1D3, 0xC7E1DA, 0xC7E1DE, 0xC7E1E3, - 0xC7E1E6, 0xC7E1ED, 0xC7E320, 0xC7E420, 0xC7E4CA, 0xC820C7, 0xC920C7, 0xC920DD, - 0xC920E1, 0xC920E3, 0xC920E6, 0xCA20C7, 0xCF20C7, 0xCFC920, 0xD120C7, 0xD1C920, - 0xD320C7, 0xDA20C7, 0xDAE1EC, 0xDDED20, 0xE120C7, 0xE1C920, 0xE1EC20, 0xE1ED20, - 0xE320C7, 0xE3C720, 0xE3C920, 0xE3E420, 0xE420C7, 0xE520C7, 0xE5C720, 0xE6C7E1, - 0xE6E420, 0xEC20C7, 0xED20C7, 0xED20E3, 0xED20E6, 0xEDC920, 0xEDD120, 0xEDE420 - ]; - }; - - this.name = function(det) { - return 'windows-1256'; - }; - - this.language = function() { - return 'ar'; - }; -}; -util.inherits(module.exports.windows_1256, sbcs); - - -module.exports.KOI8_R = function() { - this.byteMap = function() { - return [ - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, - 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, - 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, - 0x78, 0x79, 0x7A, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0xA3, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0xA3, 0x20, 0x20, 0x20, 0x20, - 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, - 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, - 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, - 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, - 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, - 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, - 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, - 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF - ]; - }; - - this.ngrams = function() { - return [ - 0x20C4CF, 0x20C920, 0x20CBC1, 0x20CBCF, 0x20CEC1, 0x20CEC5, 0x20CFC2, 0x20D0CF, - 0x20D0D2, 0x20D2C1, 0x20D3CF, 0x20D3D4, 0x20D4CF, 0x20D720, 0x20D7CF, 0x20DAC1, - 0x20DCD4, 0x20DED4, 0xC1CEC9, 0xC1D4D8, 0xC5CCD8, 0xC5CEC9, 0xC5D3D4, 0xC5D420, - 0xC7CF20, 0xC920D0, 0xC9C520, 0xC9C920, 0xC9D120, 0xCCC5CE, 0xCCC920, 0xCCD8CE, - 0xCEC120, 0xCEC520, 0xCEC9C5, 0xCEC9D1, 0xCECF20, 0xCECFD7, 0xCF20D0, 0xCF20D3, - 0xCF20D7, 0xCFC7CF, 0xCFCA20, 0xCFCCD8, 0xCFCD20, 0xCFD3D4, 0xCFD720, 0xCFD7C1, - 0xD0CFCC, 0xD0D2C5, 0xD0D2C9, 0xD0D2CF, 0xD2C1D7, 0xD2C5C4, 0xD3D120, 0xD3D4C1, - 0xD3D4C9, 0xD3D4D7, 0xD4C5CC, 0xD4CF20, 0xD4CFD2, 0xD4D820, 0xD9C820, 0xDED4CF - ]; - }; - - this.name = function(det) { - return 'KOI8-R'; - }; - - this.language = function() { - return 'ru'; - }; -}; -util.inherits(module.exports.KOI8_R, sbcs); - - -/* -module.exports.ISO_8859_7 = function() { - this.byteMap = function() { - return [ - - ]; - }; - - this.ngrams = function() { - return [ - - ]; - }; - - this.name = function(det) { - if (typeof det == 'undefined') - return 'ISO-8859-7'; - return det.fC1Bytes ? 'windows-1253' : 'ISO-8859-7'; - }; - - this.language = function() { - return 'el'; - }; -}; -util.inherits(module.exports.ISO_8859_7, sbcs); -*/ - diff --git a/tools/node_modules/eslint/node_modules/chardet/encoding/unicode.js b/tools/node_modules/eslint/node_modules/chardet/encoding/unicode.js deleted file mode 100644 index 6458d79f8868c5..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/encoding/unicode.js +++ /dev/null @@ -1,112 +0,0 @@ -'use strict'; -var util = require('util'), - Match = require ('../match'); - -/** - * This class matches UTF-16 and UTF-32, both big- and little-endian. The - * BOM will be used if it is present. - */ -module.exports.UTF_16BE = function() { - this.name = function() { - return 'UTF-16BE'; - }; - this.match = function(det) { - var input = det.fRawInput; - - if (input.length >= 2 && ((input[0] & 0xff) == 0xfe && (input[1] & 0xff) == 0xff)) { - return new Match(det, this, 100); // confidence = 100 - } - - // TODO: Do some statistics to check for unsigned UTF-16BE - return null; - }; -}; - -module.exports.UTF_16LE = function() { - this.name = function() { - return 'UTF-16LE'; - }; - this.match = function(det) { - var input = det.fRawInput; - - if (input.length >= 2 && ((input[0] & 0xff) == 0xff && (input[1] & 0xff) == 0xfe)) { - // LE BOM is present. - if (input.length >= 4 && input[2] == 0x00 && input[3] == 0x00) { - // It is probably UTF-32 LE, not UTF-16 - return null; - } - return new Match(det, this, 100); // confidence = 100 - } - - // TODO: Do some statistics to check for unsigned UTF-16LE - return null; - } -}; - -function UTF_32() {}; -UTF_32.prototype.match = function(det) { - var input = det.fRawInput, - limit = (det.fRawLength / 4) * 4, - numValid = 0, - numInvalid = 0, - hasBOM = false, - confidence = 0; - - if (limit == 0) { - return null; - } - - if (this.getChar(input, 0) == 0x0000FEFF) { - hasBOM = true; - } - - for (var i = 0; i < limit; i += 4) { - var ch = this.getChar(input, i); - - if (ch < 0 || ch >= 0x10FFFF || (ch >= 0xD800 && ch <= 0xDFFF)) { - numInvalid += 1; - } else { - numValid += 1; - } - } - - // Cook up some sort of confidence score, based on presence of a BOM - // and the existence of valid and/or invalid multi-byte sequences. - if (hasBOM && numInvalid == 0) { - confidence = 100; - } else if (hasBOM && numValid > numInvalid * 10) { - confidence = 80; - } else if (numValid > 3 && numInvalid == 0) { - confidence = 100; - } else if (numValid > 0 && numInvalid == 0) { - confidence = 80; - } else if (numValid > numInvalid * 10) { - // Probably corrupt UTF-32BE data. Valid sequences aren't likely by chance. - confidence = 25; - } - - // return confidence == 0 ? null : new CharsetMatch(det, this, confidence); - return confidence == 0 ? null : new Match(det, this, confidence); -}; - -module.exports.UTF_32BE = function() { - this.name = function() { - return 'UTF-32BE'; - }; - this.getChar = function(input, index) { - return (input[index + 0] & 0xff) << 24 | (input[index + 1] & 0xff) << 16 | - (input[index + 2] & 0xff) << 8 | (input[index + 3] & 0xff); - }; -}; -util.inherits(module.exports.UTF_32BE, UTF_32); - -module.exports.UTF_32LE = function() { - this.name = function() { - return 'UTF-32LE'; - }; - this.getChar = function(input, index) { - return (input[index + 3] & 0xff) << 24 | (input[index + 2] & 0xff) << 16 | - (input[index + 1] & 0xff) << 8 | (input[index + 0] & 0xff); - }; -}; -util.inherits(module.exports.UTF_32LE, UTF_32); diff --git a/tools/node_modules/eslint/node_modules/chardet/encoding/utf8.js b/tools/node_modules/eslint/node_modules/chardet/encoding/utf8.js deleted file mode 100644 index c996ce2b2001d0..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/encoding/utf8.js +++ /dev/null @@ -1,84 +0,0 @@ - -var Match = require ('../match'); - -/** - * Charset recognizer for UTF-8 - */ -module.exports = function() { - this.name = function() { - return 'UTF-8'; - }; - this.match = function(det) { - - var hasBOM = false, - numValid = 0, - numInvalid = 0, - input = det.fRawInput, - trailBytes = 0, - confidence; - - if (det.fRawLength >= 3 && - (input[0] & 0xff) == 0xef && (input[1] & 0xff) == 0xbb && (input[2] & 0xff) == 0xbf) { - hasBOM = true; - } - - // Scan for multi-byte sequences - for (var i = 0; i < det.fRawLength; i++) { - var b = input[i]; - if ((b & 0x80) == 0) - continue; // ASCII - - // Hi bit on char found. Figure out how long the sequence should be - if ((b & 0x0e0) == 0x0c0) { - trailBytes = 1; - } else if ((b & 0x0f0) == 0x0e0) { - trailBytes = 2; - } else if ((b & 0x0f8) == 0xf0) { - trailBytes = 3; - } else { - numInvalid++; - if (numInvalid > 5) - break; - trailBytes = 0; - } - - // Verify that we've got the right number of trail bytes in the sequence - for (;;) { - i++; - if (i >= det.fRawLength) - break; - - if ((input[i] & 0xc0) != 0x080) { - numInvalid++; - break; - } - if (--trailBytes == 0) { - numValid++; - break; - } - } - } - - // Cook up some sort of confidence score, based on presense of a BOM - // and the existence of valid and/or invalid multi-byte sequences. - confidence = 0; - if (hasBOM && numInvalid == 0) - confidence = 100; - else if (hasBOM && numValid > numInvalid * 10) - confidence = 80; - else if (numValid > 3 && numInvalid == 0) - confidence = 100; - else if (numValid > 0 && numInvalid == 0) - confidence = 80; - else if (numValid == 0 && numInvalid == 0) - // Plain ASCII. - confidence = 10; - else if (numValid > numInvalid * 10) - // Probably corruput utf-8 data. Valid sequences aren't likely by chance. - confidence = 25; - else - return null - - return new Match(det, this, confidence); - }; -}; diff --git a/tools/node_modules/eslint/node_modules/chardet/index.js b/tools/node_modules/eslint/node_modules/chardet/index.js deleted file mode 100644 index 91b2bec6cdee05..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/index.js +++ /dev/null @@ -1,151 +0,0 @@ - -var fs = require('fs'); - -var utf8 = require('./encoding/utf8'), - unicode = require('./encoding/unicode'), - mbcs = require('./encoding/mbcs'), - sbcs = require('./encoding/sbcs'), - iso2022 = require('./encoding/iso2022'); - -var self = this; - -var recognisers = [ - new utf8, - new unicode.UTF_16BE, - new unicode.UTF_16LE, - new unicode.UTF_32BE, - new unicode.UTF_32LE, - new mbcs.sjis, - new mbcs.big5, - new mbcs.euc_jp, - new mbcs.euc_kr, - new mbcs.gb_18030, - new iso2022.ISO_2022_JP, - new iso2022.ISO_2022_KR, - new iso2022.ISO_2022_CN, - new sbcs.ISO_8859_1, - new sbcs.ISO_8859_2, - new sbcs.ISO_8859_5, - new sbcs.ISO_8859_6, - new sbcs.ISO_8859_7, - new sbcs.ISO_8859_8, - new sbcs.ISO_8859_9, - new sbcs.windows_1251, - new sbcs.windows_1256, - new sbcs.KOI8_R -]; - -module.exports.detect = function(buffer, opts) { - - // Tally up the byte occurence statistics. - var fByteStats = []; - for (var i = 0; i < 256; i++) - fByteStats[i] = 0; - - for (var i = buffer.length - 1; i >= 0; i--) - fByteStats[buffer[i] & 0x00ff]++; - - var fC1Bytes = false; - for (var i = 0x80; i <= 0x9F; i += 1) { - if (fByteStats[i] != 0) { - fC1Bytes = true; - break; - } - } - - var context = { - fByteStats: fByteStats, - fC1Bytes: fC1Bytes, - fRawInput: buffer, - fRawLength: buffer.length, - fInputBytes: buffer, - fInputLen: buffer.length - }; - - var matches = recognisers.map(function(rec) { - return rec.match(context); - }).filter(function(match) { - return !!match; - }).sort(function(a, b) { - return b.confidence - a.confidence; - }); - - if (opts && opts.returnAllMatches === true) { - return matches; - } - else { - return matches.length > 0 ? matches[0].name : null; - } -}; - -module.exports.detectFile = function(filepath, opts, cb) { - if (typeof opts === 'function') { - cb = opts; - opts = undefined; - } - - var fd; - - var handler = function(err, buffer) { - if (fd) { - fs.closeSync(fd); - } - - if (err) return cb(err, null); - cb(null, self.detect(buffer, opts)); - }; - - if (opts && opts.sampleSize) { - fd = fs.openSync(filepath, 'r'), - sample = Buffer.allocUnsafe(opts.sampleSize); - - fs.read(fd, sample, 0, opts.sampleSize, null, function(err) { - handler(err, sample); - }); - return; - } - - fs.readFile(filepath, handler); -}; - -module.exports.detectFileSync = function(filepath, opts) { - if (opts && opts.sampleSize) { - var fd = fs.openSync(filepath, 'r'), - sample = Buffer.allocUnsafe(opts.sampleSize); - - fs.readSync(fd, sample, 0, opts.sampleSize); - fs.closeSync(fd); - return self.detect(sample, opts); - } - - return self.detect(fs.readFileSync(filepath), opts); -}; - -// Wrappers for the previous functions to return all encodings -module.exports.detectAll = function(buffer, opts) { - if (typeof opts !== 'object') { - opts = {}; - } - opts.returnAllMatches = true; - return self.detect(buffer, opts); -} - -module.exports.detectFileAll = function(filepath, opts, cb) { - if (typeof opts === 'function') { - cb = opts; - opts = undefined; - } - if (typeof opts !== 'object') { - opts = {}; - } - opts.returnAllMatches = true; - self.detectFile(filepath, opts, cb); -} - -module.exports.detectFileAllSync = function(filepath, opts) { - if (typeof opts !== 'object') { - opts = {}; - } - opts.returnAllMatches = true; - return self.detectFileSync(filepath, opts); -} diff --git a/tools/node_modules/eslint/node_modules/chardet/match.js b/tools/node_modules/eslint/node_modules/chardet/match.js deleted file mode 100644 index d52faa2dbc0711..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/match.js +++ /dev/null @@ -1,6 +0,0 @@ - -module.exports = function(det, rec, confidence, name, lang) { - this.confidence = confidence; - this.name = name || rec.name(det); - this.lang = lang; -}; diff --git a/tools/node_modules/eslint/node_modules/chardet/package.json b/tools/node_modules/eslint/node_modules/chardet/package.json deleted file mode 100644 index 7cae79288efb69..00000000000000 --- a/tools/node_modules/eslint/node_modules/chardet/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "author": { - "name": "Dmitry Shirokov", - "email": "deadrunk@gmail.com" - }, - "bugs": { - "url": "http://github.com/runk/node-chardet/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "@spikying" - }, - { - "name": "@wtgtybhertgeghgtwtg" - }, - { - "name": "@suisho" - }, - { - "name": "@seangarner" - }, - { - "name": "@zevanty" - } - ], - "deprecated": false, - "description": "Character detector", - "devDependencies": { - "github-publish-release": "^5.0.0", - "mocha": "^5.2.0" - }, - "directories": { - "test": "test" - }, - "engine": { - "node": ">=4" - }, - "homepage": "https://github.com/runk/node-chardet", - "keywords": [ - "encoding", - "character", - "utf8", - "detector", - "chardet", - "icu" - ], - "license": "MIT", - "main": "index.js", - "name": "chardet", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/runk/node-chardet.git" - }, - "scripts": { - "release": "scripts/release", - "test": "mocha -R spec --recursive --bail" - }, - "version": "0.7.0" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/cli-cursor/index.js b/tools/node_modules/eslint/node_modules/cli-cursor/index.js deleted file mode 100644 index 710c4051742f52..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-cursor/index.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -const restoreCursor = require('restore-cursor'); - -let isHidden = false; - -exports.show = (writableStream = process.stderr) => { - if (!writableStream.isTTY) { - return; - } - - isHidden = false; - writableStream.write('\u001B[?25h'); -}; - -exports.hide = (writableStream = process.stderr) => { - if (!writableStream.isTTY) { - return; - } - - restoreCursor(); - isHidden = true; - writableStream.write('\u001B[?25l'); -}; - -exports.toggle = (force, writableStream) => { - if (force !== undefined) { - isHidden = force; - } - - if (isHidden) { - exports.show(writableStream); - } else { - exports.hide(writableStream); - } -}; diff --git a/tools/node_modules/eslint/node_modules/cli-cursor/license b/tools/node_modules/eslint/node_modules/cli-cursor/license deleted file mode 100644 index e7af2f77107d73..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-cursor/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/cli-cursor/package.json b/tools/node_modules/eslint/node_modules/cli-cursor/package.json deleted file mode 100644 index f67104cccbd246..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-cursor/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/cli-cursor/issues" - }, - "bundleDependencies": false, - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "deprecated": false, - "description": "Toggle the CLI cursor", - "devDependencies": { - "@types/node": "^12.0.7", - "ava": "^2.1.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "homepage": "https://github.com/sindresorhus/cli-cursor#readme", - "keywords": [ - "cli", - "cursor", - "ansi", - "toggle", - "display", - "show", - "hide", - "term", - "terminal", - "console", - "tty", - "shell", - "command-line" - ], - "license": "MIT", - "name": "cli-cursor", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/cli-cursor.git" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "version": "3.1.0" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/cli-cursor/readme.md b/tools/node_modules/eslint/node_modules/cli-cursor/readme.md deleted file mode 100644 index 3478ac80e54fce..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-cursor/readme.md +++ /dev/null @@ -1,55 +0,0 @@ -# cli-cursor [![Build Status](https://travis-ci.org/sindresorhus/cli-cursor.svg?branch=master)](https://travis-ci.org/sindresorhus/cli-cursor) - -> Toggle the CLI cursor - -The cursor is [gracefully restored](https://github.com/sindresorhus/restore-cursor) if the process exits. - - -## Install - -``` -$ npm install cli-cursor -``` - - -## Usage - -```js -const cliCursor = require('cli-cursor'); - -cliCursor.hide(); - -const unicornsAreAwesome = true; -cliCursor.toggle(unicornsAreAwesome); -``` - - -## API - -### .show(stream?) - -### .hide(stream?) - -### .toggle(force?, stream?) - -#### force - -Useful for showing or hiding the cursor based on a boolean. - -#### stream - -Type: `stream.Writable`
-Default: `process.stderr` - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/00ef1b3d-3687-482b-8d03-de2f76b58f54.json b/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/00ef1b3d-3687-482b-8d03-de2f76b58f54.json deleted file mode 100644 index c275decd2d23a7..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/00ef1b3d-3687-482b-8d03-de2f76b58f54.json +++ /dev/null @@ -1 +0,0 @@ -{"/Users/ilya/maintained/cli-width/index.js":{"path":"/Users/ilya/maintained/cli-width/index.js","statementMap":{"0":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}},"1":{"start":{"line":6,"column":20},"end":{"line":10,"column":3}},"2":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":23}},"4":{"start":{"line":16,"column":2},"end":{"line":20,"column":5}},"5":{"start":{"line":17,"column":4},"end":{"line":19,"column":5}},"6":{"start":{"line":18,"column":6},"end":{"line":18,"column":38}},"7":{"start":{"line":22,"column":2},"end":{"line":22,"column":17}},"8":{"start":{"line":26,"column":13},"end":{"line":26,"column":35}},"9":{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},"10":{"start":{"line":29,"column":4},"end":{"line":29,"column":63}},"11":{"start":{"line":32,"column":2},"end":{"line":34,"column":3}},"12":{"start":{"line":33,"column":4},"end":{"line":33,"column":60}},"13":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"14":{"start":{"line":37,"column":4},"end":{"line":37,"column":31}},"15":{"start":{"line":40,"column":2},"end":{"line":46,"column":3}},"16":{"start":{"line":41,"column":16},"end":{"line":41,"column":51}},"17":{"start":{"line":43,"column":4},"end":{"line":45,"column":5}},"18":{"start":{"line":44,"column":6},"end":{"line":44,"column":19}},"19":{"start":{"line":48,"column":2},"end":{"line":48,"column":27}}},"fnMap":{"0":{"name":"normalizeOpts","decl":{"start":{"line":5,"column":9},"end":{"line":5,"column":22}},"loc":{"start":{"line":5,"column":32},"end":{"line":23,"column":1}},"line":5},"1":{"name":"(anonymous_1)","decl":{"start":{"line":16,"column":35},"end":{"line":16,"column":36}},"loc":{"start":{"line":16,"column":50},"end":{"line":20,"column":3}},"line":16},"2":{"name":"cliWidth","decl":{"start":{"line":25,"column":9},"end":{"line":25,"column":17}},"loc":{"start":{"line":25,"column":27},"end":{"line":49,"column":1}},"line":25}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},{"start":{"line":12,"column":2},"end":{"line":14,"column":3}}],"line":12},"1":{"loc":{"start":{"line":17,"column":4},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":19,"column":5}},{"start":{"line":17,"column":4},"end":{"line":19,"column":5}}],"line":17},"2":{"loc":{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},{"start":{"line":28,"column":2},"end":{"line":30,"column":3}}],"line":28},"3":{"loc":{"start":{"line":29,"column":11},"end":{"line":29,"column":62}},"type":"binary-expr","locations":[{"start":{"line":29,"column":11},"end":{"line":29,"column":41}},{"start":{"line":29,"column":45},"end":{"line":29,"column":62}}],"line":29},"4":{"loc":{"start":{"line":32,"column":2},"end":{"line":34,"column":3}},"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":34,"column":3}},{"start":{"line":32,"column":2},"end":{"line":34,"column":3}}],"line":32},"5":{"loc":{"start":{"line":33,"column":11},"end":{"line":33,"column":59}},"type":"binary-expr","locations":[{"start":{"line":33,"column":11},"end":{"line":33,"column":38}},{"start":{"line":33,"column":42},"end":{"line":33,"column":59}}],"line":33},"6":{"loc":{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},"type":"if","locations":[{"start":{"line":36,"column":2},"end":{"line":38,"column":3}},{"start":{"line":36,"column":2},"end":{"line":38,"column":3}}],"line":36},"7":{"loc":{"start":{"line":40,"column":2},"end":{"line":46,"column":3}},"type":"if","locations":[{"start":{"line":40,"column":2},"end":{"line":46,"column":3}},{"start":{"line":40,"column":2},"end":{"line":46,"column":3}}],"line":40},"8":{"loc":{"start":{"line":43,"column":4},"end":{"line":45,"column":5}},"type":"if","locations":[{"start":{"line":43,"column":4},"end":{"line":45,"column":5}},{"start":{"line":43,"column":4},"end":{"line":45,"column":5}}],"line":43},"9":{"loc":{"start":{"line":43,"column":8},"end":{"line":43,"column":36}},"type":"binary-expr","locations":[{"start":{"line":43,"column":8},"end":{"line":43,"column":21}},{"start":{"line":43,"column":25},"end":{"line":43,"column":36}}],"line":43}},"s":{"0":1,"1":11,"2":11,"3":5,"4":6,"5":18,"6":12,"7":6,"8":11,"9":11,"10":3,"11":8,"12":3,"13":5,"14":1,"15":4,"16":2,"17":2,"18":1,"19":3},"f":{"0":11,"1":18,"2":11},"b":{"0":[5,6],"1":[12,6],"2":[3,8],"3":[3,1],"4":[3,5],"5":[3,1],"6":[1,4],"7":[2,2],"8":[1,1],"9":[2,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"a4d7f0a30376f059a5bc5bb60422e8b1332adf0c","contentHash":"1ab1e2def09289f7630132524d4d3929b81fe2db9a3f07e64865500b9c42e817"}} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/00ef1b3d-3687-482b-8d03-de2f76b58f54.json b/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/00ef1b3d-3687-482b-8d03-de2f76b58f54.json deleted file mode 100644 index 10921d66e857a7..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/00ef1b3d-3687-482b-8d03-de2f76b58f54.json +++ /dev/null @@ -1 +0,0 @@ -{"parent":null,"pid":4489,"argv":["/Users/ilya/.volta/tools/image/node/12.16.0/6.13.4/bin/node","/Users/ilya/maintained/cli-width/test"],"execArgv":[],"cwd":"/Users/ilya/maintained/cli-width","time":1586875876791,"ppid":4487,"coverageFilename":"/Users/ilya/maintained/cli-width/.nyc_output/00ef1b3d-3687-482b-8d03-de2f76b58f54.json","externalId":"","uuid":"00ef1b3d-3687-482b-8d03-de2f76b58f54","files":["/Users/ilya/maintained/cli-width/index.js"]} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/index.json b/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/index.json deleted file mode 100644 index 7f9a443d80d22a..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/.nyc_output/processinfo/index.json +++ /dev/null @@ -1 +0,0 @@ -{"processes":{"00ef1b3d-3687-482b-8d03-de2f76b58f54":{"parent":null,"children":[]}},"files":{"/Users/ilya/maintained/cli-width/index.js":["00ef1b3d-3687-482b-8d03-de2f76b58f54"]},"externalIds":{}} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/cli-width/LICENSE b/tools/node_modules/eslint/node_modules/cli-width/LICENSE deleted file mode 100644 index 173ed319107356..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2015, Ilya Radchenko - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/cli-width/README.md b/tools/node_modules/eslint/node_modules/cli-width/README.md deleted file mode 100644 index b7157ea5284c0e..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/README.md +++ /dev/null @@ -1,72 +0,0 @@ -cli-width -========= - -Get stdout window width, with four fallbacks, `tty`, `output.columns`, a custom environment variable and then a default. - -[![npm version](https://badge.fury.io/js/cli-width.svg)](http://badge.fury.io/js/cli-width) -[![Build Status](https://travis-ci.org/knownasilya/cli-width.svg)](https://travis-ci.org/knownasilya/cli-width) -[![Coverage Status](https://coveralls.io/repos/knownasilya/cli-width/badge.svg?branch=master&service=github)](https://coveralls.io/github/knownasilya/cli-width?branch=master) - -## Usage - -``` -npm install --save cli-width -``` - -```js -'use strict'; - -var cliWidth = require('cli-width'); - -cliWidth(); // maybe 204 :) -``` - -You can also set the `CLI_WIDTH` environment variable. - -If none of the methods are supported, and the environment variable isn't set, -the default width value is going to be `0`, that can be changed using the configurable `options`. - -## API - -### cliWidth([options]) - -`cliWidth` can be configured using an `options` parameter, the possible properties are: - -- **defaultWidth**\ Defines a default value to be used if none of the methods are available, defaults to `0` -- **output**\ A stream to be used to read width values from, defaults to `process.stdout` -- **tty**\ TTY module to try to read width from as a fallback, defaults to `require('tty')` - - -### Examples - -Defining both a default width value and a stream output to try to read from: - -```js -var cliWidth = require('cli-width'); -var ttys = require('ttys'); - -cliWidth({ - defaultWidth: 80, - output: ttys.output -}); -``` - -Defines a different tty module to read width from: - -```js -var cliWidth = require('cli-width'); -var ttys = require('ttys'); - -cliWidth({ - tty: ttys -}); -``` - -## Tests - -```bash -npm install -npm test -``` - -Coverage can be generated with `npm run coverage`. diff --git a/tools/node_modules/eslint/node_modules/cli-width/index.js b/tools/node_modules/eslint/node_modules/cli-width/index.js deleted file mode 100644 index 2628b8d2c270f5..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/index.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict'; - -exports = module.exports = cliWidth; - -function normalizeOpts(options) { - var defaultOpts = { - defaultWidth: 0, - output: process.stdout, - tty: require('tty') - }; - - if (!options) { - return defaultOpts; - } - - Object.keys(defaultOpts).forEach(function (key) { - if (!options[key]) { - options[key] = defaultOpts[key]; - } - }); - - return options; -} - -function cliWidth(options) { - var opts = normalizeOpts(options); - - if (opts.output.getWindowSize) { - return opts.output.getWindowSize()[0] || opts.defaultWidth; - } - - if (opts.tty.getWindowSize) { - return opts.tty.getWindowSize()[1] || opts.defaultWidth; - } - - if (opts.output.columns) { - return opts.output.columns; - } - - if (process.env.CLI_WIDTH) { - var width = parseInt(process.env.CLI_WIDTH, 10); - - if (!isNaN(width) && width !== 0) { - return width; - } - } - - return opts.defaultWidth; -}; diff --git a/tools/node_modules/eslint/node_modules/cli-width/package.json b/tools/node_modules/eslint/node_modules/cli-width/package.json deleted file mode 100644 index ff44c7733bbad2..00000000000000 --- a/tools/node_modules/eslint/node_modules/cli-width/package.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "author": { - "name": "Ilya Radchenko", - "email": "knownasilya@gmail.com" - }, - "bugs": { - "url": "https://github.com/knownasilya/cli-width/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Get stdout window width, with two fallbacks, tty and then a default.", - "devDependencies": { - "coveralls": "^3.0.11", - "nyc": "^15.0.1", - "standard-version": "^7.1.0", - "tap-spec": "^5.0.0", - "tape": "^4.13.2" - }, - "homepage": "https://github.com/knownasilya/cli-width", - "license": "ISC", - "main": "index.js", - "name": "cli-width", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/knownasilya/cli-width.git" - }, - "scripts": { - "coverage": "nyc node test | tspec", - "coveralls": "npm run coverage -s && coveralls < coverage/lcov.info", - "release": "standard-version", - "test": "node test | tspec" - }, - "version": "2.2.1" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license b/tools/node_modules/eslint/node_modules/enquirer/LICENSE similarity index 93% rename from tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license rename to tools/node_modules/eslint/node_modules/enquirer/LICENSE index 654d0bfe943437..681d1bf7276277 100644 --- a/tools/node_modules/eslint/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license +++ b/tools/node_modules/eslint/node_modules/enquirer/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) 2016-present, Jon Schlinkert. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/tools/node_modules/eslint/node_modules/enquirer/README.md b/tools/node_modules/eslint/node_modules/enquirer/README.md new file mode 100644 index 00000000000000..1598742285b664 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/README.md @@ -0,0 +1,1752 @@ +

Enquirer

+ +

+ +version + + +travis + + +downloads + +

+ +
+
+ +

+Stylish CLI prompts that are user-friendly, intuitive and easy to create.
+>_ Prompts should be more like conversations than inquisitions▌ +

+ +
+ +

+(Example shows Enquirer's Survey Prompt) +Enquirer Survey Prompt
+The terminal in all examples is Hyper, theme is hyper-monokai-extended.

+See more prompt examples +

+ +
+
+ +Created by [jonschlinkert](https://github.com/jonschlinkert) and [doowb](https://github.com/doowb), Enquirer is fast, easy to use, and lightweight enough for small projects, while also being powerful and customizable enough for the most advanced use cases. + +* **Fast** - [Loads in ~4ms](#-performance) (that's about _3-4 times faster than a [single frame of a HD movie](http://www.endmemo.com/sconvert/framespersecondframespermillisecond.php) at 60fps_) +* **Lightweight** - Only one dependency, the excellent [ansi-colors](https://github.com/doowb/ansi-colors) by [Brian Woodward](https://github.com/doowb). +* **Easy to implement** - Uses promises and async/await and sensible defaults to make prompts easy to create and implement. +* **Easy to use** - Thrill your users with a better experience! Navigating around input and choices is a breeze. You can even create [quizzes](examples/fun/countdown.js), or [record](examples/fun/record.js) and [playback](examples/fun/play.js) key bindings to aid with tutorials and videos. +* **Intuitive** - Keypress combos are available to simplify usage. +* **Flexible** - All prompts can be used standalone or chained together. +* **Stylish** - Easily override semantic styles and symbols for any part of the prompt. +* **Extensible** - Easily create and use custom prompts by extending Enquirer's built-in [prompts](#-prompts). +* **Pluggable** - Add advanced features to Enquirer using plugins. +* **Validation** - Optionally validate user input with any prompt. +* **Well tested** - All prompts are well-tested, and tests are easy to create without having to use brittle, hacky solutions to spy on prompts or "inject" values. +* **Examples** - There are numerous [examples](examples) available to help you get started. + +If you like Enquirer, please consider starring or tweeting about this project to show your support. Thanks! + +
+ +

+>_ Ready to start making prompts your users will love? ▌
+Enquirer Select Prompt with heartbeat example +

+ +
+
+ +## ❯ Getting started + +Get started with Enquirer, the most powerful and easy-to-use Node.js library for creating interactive CLI prompts. + +* [Install](#-install) +* [Usage](#-usage) +* [Enquirer](#-enquirer) +* [Prompts](#-prompts) + - [Built-in Prompts](#-prompts) + - [Custom Prompts](#-custom-prompts) +* [Key Bindings](#-key-bindings) +* [Options](#-options) +* [Release History](#-release-history) +* [Performance](#-performance) +* [About](#-about) + +
+ +## ❯ Install + +Install with [npm](https://www.npmjs.com/): + +```sh +$ npm install enquirer --save +``` +Install with [yarn](https://yarnpkg.com/en/): + +```sh +$ yarn add enquirer +``` + +

+Install Enquirer with NPM +

+ +_(Requires Node.js 8.6 or higher. Please let us know if you need support for an earlier version by creating an [issue](../../issues/new).)_ + +
+ +## ❯ Usage + +### Single prompt + +The easiest way to get started with enquirer is to pass a [question object](#prompt-options) to the `prompt` method. + +```js +const { prompt } = require('enquirer'); + +const response = await prompt({ + type: 'input', + name: 'username', + message: 'What is your username?' +}); + +console.log(response); // { username: 'jonschlinkert' } +``` + +_(Examples with `await` need to be run inside an `async` function)_ + +### Multiple prompts + +Pass an array of ["question" objects](#prompt-options) to run a series of prompts. + +```js +const response = await prompt([ + { + type: 'input', + name: 'name', + message: 'What is your name?' + }, + { + type: 'input', + name: 'username', + message: 'What is your username?' + } +]); + +console.log(response); // { name: 'Edward Chan', username: 'edwardmchan' } +``` + +### Different ways to run enquirer + +#### 1. By importing the specific `built-in prompt` + +```js +const { Confirm } = require('enquirer'); + +const prompt = new Confirm({ + name: 'question', + message: 'Did you like enquirer?' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)); +``` + +#### 2. By passing the options to `prompt` + +```js +const { prompt } = require('enquirer'); + +prompt({ + type: 'confirm', + name: 'question', + message: 'Did you like enquirer?' +}) + .then(answer => console.log('Answer:', answer)); +``` + +**Jump to**: [Getting Started](#-getting-started) · [Prompts](#-prompts) · [Options](#-options) · [Key Bindings](#-key-bindings) + +
+ +## ❯ Enquirer + +**Enquirer is a prompt runner** + +Add Enquirer to your JavaScript project with following line of code. + +```js +const Enquirer = require('enquirer'); +``` + +The main export of this library is the `Enquirer` class, which has methods and features designed to simplify running prompts. + +```js +const { prompt } = require('enquirer'); +const question = [ + { + type: 'input', + name: 'username', + message: 'What is your username?' + }, + { + type: 'password', + name: 'password', + message: 'What is your password?' + } +]; + +let answers = await prompt(question); +console.log(answers); +``` + +**Prompts control how values are rendered and returned** + +Each individual prompt is a class with special features and functionality for rendering the types of values you want to show users in the terminal, and subsequently returning the types of values you need to use in your application. + +**How can I customize prompts?** + +Below in this guide you will find information about creating [custom prompts](#-custom-prompts). For now, we'll focus on how to customize an existing prompt. + +All of the individual [prompt classes](#built-in-prompts) in this library are exposed as static properties on Enquirer. This allows them to be used directly without using `enquirer.prompt()`. + +Use this approach if you need to modify a prompt instance, or listen for events on the prompt. + +**Example** + +```js +const { Input } = require('enquirer'); +const prompt = new Input({ + name: 'username', + message: 'What is your username?' +}); + +prompt.run() + .then(answer => console.log('Username:', answer)) + .catch(console.error); +``` + +### [Enquirer](index.js#L20) + +Create an instance of `Enquirer`. + +**Params** + +* `options` **{Object}**: (optional) Options to use with all prompts. +* `answers` **{Object}**: (optional) Answers object to initialize with. + +**Example** + +```js +const Enquirer = require('enquirer'); +const enquirer = new Enquirer(); +``` + +### [register()](index.js#L42) + +Register a custom prompt type. + +**Params** + +* `type` **{String}** +* `fn` **{Function|Prompt}**: `Prompt` class, or a function that returns a `Prompt` class. +* `returns` **{Object}**: Returns the Enquirer instance + +**Example** + +```js +const Enquirer = require('enquirer'); +const enquirer = new Enquirer(); +enquirer.register('customType', require('./custom-prompt')); +``` + +### [prompt()](index.js#L78) + +Prompt function that takes a "question" object or array of question objects, and returns an object with responses from the user. + +**Params** + +* `questions` **{Array|Object}**: Options objects for one or more prompts to run. +* `returns` **{Promise}**: Promise that returns an "answers" object with the user's responses. + +**Example** + +```js +const Enquirer = require('enquirer'); +const enquirer = new Enquirer(); + +const response = await enquirer.prompt({ + type: 'input', + name: 'username', + message: 'What is your username?' +}); +console.log(response); +``` + +### [use()](index.js#L160) + +Use an enquirer plugin. + +**Params** + +* `plugin` **{Function}**: Plugin function that takes an instance of Enquirer. +* `returns` **{Object}**: Returns the Enquirer instance. + +**Example** + +```js +const Enquirer = require('enquirer'); +const enquirer = new Enquirer(); +const plugin = enquirer => { + // do stuff to enquire instance +}; +enquirer.use(plugin); +``` + +### [Enquirer#prompt](index.js#L210) + +Prompt function that takes a "question" object or array of question objects, and returns an object with responses from the user. + +**Params** + +* `questions` **{Array|Object}**: Options objects for one or more prompts to run. +* `returns` **{Promise}**: Promise that returns an "answers" object with the user's responses. + +**Example** + +```js +const { prompt } = require('enquirer'); +const response = await prompt({ + type: 'input', + name: 'username', + message: 'What is your username?' +}); +console.log(response); +``` + +
+ +## ❯ Prompts + +This section is about Enquirer's prompts: what they look like, how they work, how to run them, available options, and how to customize the prompts or create your own prompt concept. + +**Getting started with Enquirer's prompts** + +* [Prompt](#prompt) - The base `Prompt` class used by other prompts + - [Prompt Options](#prompt-options) +* [Built-in prompts](#built-in-prompts) +* [Prompt Types](#prompt-types) - The base `Prompt` class used by other prompts +* [Custom prompts](#%E2%9D%AF-custom-prompts) - Enquirer 2.0 introduced the concept of prompt "types", with the goal of making custom prompts easier than ever to create and use. + +### Prompt + +The base `Prompt` class is used to create all other prompts. + +```js +const { Prompt } = require('enquirer'); +class MyCustomPrompt extends Prompt {} +``` + +See the documentation for [creating custom prompts](#-custom-prompts) to learn more about how this works. + +#### Prompt Options + +Each prompt takes an options object (aka "question" object), that implements the following interface: + +```js +{ + // required + type: string | function, + name: string | function, + message: string | function | async function, + + // optional + skip: boolean | function | async function, + initial: string | function | async function, + format: function | async function, + result: function | async function, + validate: function | async function, +} +``` +Each property of the options object is described below: + +| **Property** | **Required?** | **Type** | **Description** | +| ------------ | ------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | yes | `string\|function` | Enquirer uses this value to determine the type of prompt to run, but it's optional when prompts are run directly. | +| `name` | yes | `string\|function` | Used as the key for the answer on the returned values (answers) object. | +| `message` | yes | `string\|function` | The message to display when the prompt is rendered in the terminal. | +| `skip` | no | `boolean\|function` | If `true` it will not ask that prompt. | +| `initial` | no | `string\|function` | The default value to return if the user does not supply a value. | +| `format` | no | `function` | Function to format user input in the terminal. | +| `result` | no | `function` | Function to format the final submitted value before it's returned. | +| `validate` | no | `function` | Function to validate the submitted value before it's returned. This function may return a boolean or a string. If a string is returned it will be used as the validation error message. | + +**Example usage** + +```js +const { prompt } = require('enquirer'); + +const question = { + type: 'input', + name: 'username', + message: 'What is your username?' +}; + +prompt(question) + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +
+ +### Built-in prompts + +* [AutoComplete Prompt](#autocomplete-prompt) +* [BasicAuth Prompt](#basicauth-prompt) +* [Confirm Prompt](#confirm-prompt) +* [Form Prompt](#form-prompt) +* [Input Prompt](#input-prompt) +* [Invisible Prompt](#invisible-prompt) +* [List Prompt](#list-prompt) +* [MultiSelect Prompt](#multiselect-prompt) +* [Numeral Prompt](#numeral-prompt) +* [Password Prompt](#password-prompt) +* [Quiz Prompt](#quiz-prompt) +* [Survey Prompt](#survey-prompt) +* [Scale Prompt](#scale-prompt) +* [Select Prompt](#select-prompt) +* [Sort Prompt](#sort-prompt) +* [Snippet Prompt](#snippet-prompt) +* [Toggle Prompt](#toggle-prompt) + +### AutoComplete Prompt + +Prompt that auto-completes as the user types, and returns the selected value as a string. + +

+Enquirer AutoComplete Prompt +

+ +**Example Usage** + +```js +const { AutoComplete } = require('enquirer'); + +const prompt = new AutoComplete({ + name: 'flavor', + message: 'Pick your favorite flavor', + limit: 10, + initial: 2, + choices: [ + 'Almond', + 'Apple', + 'Banana', + 'Blackberry', + 'Blueberry', + 'Cherry', + 'Chocolate', + 'Cinnamon', + 'Coconut', + 'Cranberry', + 'Grape', + 'Nougat', + 'Orange', + 'Pear', + 'Pineapple', + 'Raspberry', + 'Strawberry', + 'Vanilla', + 'Watermelon', + 'Wintergreen' + ] +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**AutoComplete Options** + +| Option | Type | Default | Description | +| ----------- | ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `highlight` | `function` | `dim` version of primary style | The color to use when "highlighting" characters in the list that match user input. | +| `multiple` | `boolean` | `false` | Allow multiple choices to be selected. | +| `suggest` | `function` | Greedy match, returns true if choice message contains input string. | Function that filters choices. Takes user input and a choices array, and returns a list of matching choices. | +| `initial` | `number` | 0 | Preselected item in the list of choices. | +| `footer` | `function` | None | Function that displays [footer text](https://github.com/enquirer/enquirer/blob/6c2819518a1e2ed284242a99a685655fbaabfa28/examples/autocomplete/option-footer.js#L10) | + +**Related prompts** + +* [Select](#select-prompt) +* [MultiSelect](#multiselect-prompt) +* [Survey](#survey-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### BasicAuth Prompt + +Prompt that asks for username and password to authenticate the user. The default implementation of `authenticate` function in `BasicAuth` prompt is to compare the username and password with the values supplied while running the prompt. The implementer is expected to override the `authenticate` function with a custom logic such as making an API request to a server to authenticate the username and password entered and expect a token back. + +

+Enquirer BasicAuth Prompt +

+ +**Example Usage** + +```js +const { BasicAuth } = require('enquirer'); + + const prompt = new BasicAuth({ + name: 'password', + message: 'Please enter your password', + username: 'rajat-sr', + password: '123', + showPassword: true +}); + + prompt + .run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Confirm Prompt + +Prompt that returns `true` or `false`. + +

+Enquirer Confirm Prompt +

+ +**Example Usage** + +```js +const { Confirm } = require('enquirer'); + +const prompt = new Confirm({ + name: 'question', + message: 'Want to answer?' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [Input](#input-prompt) +* [Numeral](#numeral-prompt) +* [Password](#password-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Form Prompt + +Prompt that allows the user to enter and submit multiple values on a single terminal screen. + +

+Enquirer Form Prompt +

+ +**Example Usage** + +```js +const { Form } = require('enquirer'); + +const prompt = new Form({ + name: 'user', + message: 'Please provide the following information:', + choices: [ + { name: 'firstname', message: 'First Name', initial: 'Jon' }, + { name: 'lastname', message: 'Last Name', initial: 'Schlinkert' }, + { name: 'username', message: 'GitHub username', initial: 'jonschlinkert' } + ] +}); + +prompt.run() + .then(value => console.log('Answer:', value)) + .catch(console.error); +``` + +**Related prompts** + +* [Input](#input-prompt) +* [Survey](#survey-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Input Prompt + +Prompt that takes user input and returns a string. + +

+Enquirer Input Prompt +

+ +**Example Usage** + +```js +const { Input } = require('enquirer'); +const prompt = new Input({ + message: 'What is your username?', + initial: 'jonschlinkert' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.log); +``` + +You can use [data-store](https://github.com/jonschlinkert/data-store) to store [input history](https://github.com/enquirer/enquirer/blob/master/examples/input/option-history.js) that the user can cycle through (see [source](https://github.com/enquirer/enquirer/blob/8407dc3579123df5e6e20215078e33bb605b0c37/lib/prompts/input.js)). + +**Related prompts** + +* [Confirm](#confirm-prompt) +* [Numeral](#numeral-prompt) +* [Password](#password-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Invisible Prompt + +Prompt that takes user input, hides it from the terminal, and returns a string. + +

+Enquirer Invisible Prompt +

+ +**Example Usage** + +```js +const { Invisible } = require('enquirer'); +const prompt = new Invisible({ + name: 'secret', + message: 'What is your secret?' +}); + +prompt.run() + .then(answer => console.log('Answer:', { secret: answer })) + .catch(console.error); +``` + +**Related prompts** + +* [Password](#password-prompt) +* [Input](#input-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### List Prompt + +Prompt that returns a list of values, created by splitting the user input. The default split character is `,` with optional trailing whitespace. + +

+Enquirer List Prompt +

+ +**Example Usage** + +```js +const { List } = require('enquirer'); +const prompt = new List({ + name: 'keywords', + message: 'Type comma-separated keywords' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [Sort](#sort-prompt) +* [Select](#select-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### MultiSelect Prompt + +Prompt that allows the user to select multiple items from a list of options. + +

+Enquirer MultiSelect Prompt +

+ +**Example Usage** + +```js +const { MultiSelect } = require('enquirer'); + +const prompt = new MultiSelect({ + name: 'value', + message: 'Pick your favorite colors', + limit: 7, + choices: [ + { name: 'aqua', value: '#00ffff' }, + { name: 'black', value: '#000000' }, + { name: 'blue', value: '#0000ff' }, + { name: 'fuchsia', value: '#ff00ff' }, + { name: 'gray', value: '#808080' }, + { name: 'green', value: '#008000' }, + { name: 'lime', value: '#00ff00' }, + { name: 'maroon', value: '#800000' }, + { name: 'navy', value: '#000080' }, + { name: 'olive', value: '#808000' }, + { name: 'purple', value: '#800080' }, + { name: 'red', value: '#ff0000' }, + { name: 'silver', value: '#c0c0c0' }, + { name: 'teal', value: '#008080' }, + { name: 'white', value: '#ffffff' }, + { name: 'yellow', value: '#ffff00' } + ] +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); + +// Answer: ['aqua', 'blue', 'fuchsia'] +``` + +**Example key-value pairs** + +Optionally, pass a `result` function and use the `.map` method to return an object of key-value pairs of the selected names and values: [example](./examples/multiselect/option-result.js) + +```js +const { MultiSelect } = require('enquirer'); + +const prompt = new MultiSelect({ + name: 'value', + message: 'Pick your favorite colors', + limit: 7, + choices: [ + { name: 'aqua', value: '#00ffff' }, + { name: 'black', value: '#000000' }, + { name: 'blue', value: '#0000ff' }, + { name: 'fuchsia', value: '#ff00ff' }, + { name: 'gray', value: '#808080' }, + { name: 'green', value: '#008000' }, + { name: 'lime', value: '#00ff00' }, + { name: 'maroon', value: '#800000' }, + { name: 'navy', value: '#000080' }, + { name: 'olive', value: '#808000' }, + { name: 'purple', value: '#800080' }, + { name: 'red', value: '#ff0000' }, + { name: 'silver', value: '#c0c0c0' }, + { name: 'teal', value: '#008080' }, + { name: 'white', value: '#ffffff' }, + { name: 'yellow', value: '#ffff00' } + ], + result(names) { + return this.map(names); + } +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); + +// Answer: { aqua: '#00ffff', blue: '#0000ff', fuchsia: '#ff00ff' } +``` + +**Related prompts** + +* [AutoComplete](#autocomplete-prompt) +* [Select](#select-prompt) +* [Survey](#survey-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Numeral Prompt + +Prompt that takes a number as input. + +

+Enquirer Numeral Prompt +

+ +**Example Usage** + +```js +const { NumberPrompt } = require('enquirer'); + +const prompt = new NumberPrompt({ + name: 'number', + message: 'Please enter a number' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [Input](#input-prompt) +* [Confirm](#confirm-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Password Prompt + +Prompt that takes user input and masks it in the terminal. Also see the [invisible prompt](#invisible-prompt) + +

+Enquirer Password Prompt +

+ +**Example Usage** + +```js +const { Password } = require('enquirer'); + +const prompt = new Password({ + name: 'password', + message: 'What is your password?' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [Input](#input-prompt) +* [Invisible](#invisible-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Quiz Prompt + +Prompt that allows the user to play multiple-choice quiz questions. + +

+Enquirer Quiz Prompt +

+ +**Example Usage** + +```js +const { Quiz } = require('enquirer'); + + const prompt = new Quiz({ + name: 'countries', + message: 'How many countries are there in the world?', + choices: ['165', '175', '185', '195', '205'], + correctChoice: 3 +}); + + prompt + .run() + .then(answer => { + if (answer.correct) { + console.log('Correct!'); + } else { + console.log(`Wrong! Correct answer is ${answer.correctAnswer}`); + } + }) + .catch(console.error); +``` + +**Quiz Options** + +| Option | Type | Required | Description | +| ----------- | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------ | +| `choices` | `array` | Yes | The list of possible answers to the quiz question. | +| `correctChoice`| `number` | Yes | Index of the correct choice from the `choices` array. | + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Survey Prompt + +Prompt that allows the user to provide feedback for a list of questions. + +

+Enquirer Survey Prompt +

+ +**Example Usage** + +```js +const { Survey } = require('enquirer'); + +const prompt = new Survey({ + name: 'experience', + message: 'Please rate your experience', + scale: [ + { name: '1', message: 'Strongly Disagree' }, + { name: '2', message: 'Disagree' }, + { name: '3', message: 'Neutral' }, + { name: '4', message: 'Agree' }, + { name: '5', message: 'Strongly Agree' } + ], + margin: [0, 0, 2, 1], + choices: [ + { + name: 'interface', + message: 'The website has a friendly interface.' + }, + { + name: 'navigation', + message: 'The website is easy to navigate.' + }, + { + name: 'images', + message: 'The website usually has good images.' + }, + { + name: 'upload', + message: 'The website makes it easy to upload images.' + }, + { + name: 'colors', + message: 'The website has a pleasing color palette.' + } + ] +}); + +prompt.run() + .then(value => console.log('ANSWERS:', value)) + .catch(console.error); +``` + +**Related prompts** + +* [Scale](#scale-prompt) +* [Snippet](#snippet-prompt) +* [Select](#select-prompt) + +*** + +### Scale Prompt + +A more compact version of the [Survey prompt](#survey-prompt), the Scale prompt allows the user to quickly provide feedback using a [Likert Scale](https://en.wikipedia.org/wiki/Likert_scale). + +

+Enquirer Scale Prompt +

+ +**Example Usage** + +```js +const { Scale } = require('enquirer'); +const prompt = new Scale({ + name: 'experience', + message: 'Please rate your experience', + scale: [ + { name: '1', message: 'Strongly Disagree' }, + { name: '2', message: 'Disagree' }, + { name: '3', message: 'Neutral' }, + { name: '4', message: 'Agree' }, + { name: '5', message: 'Strongly Agree' } + ], + margin: [0, 0, 2, 1], + choices: [ + { + name: 'interface', + message: 'The website has a friendly interface.', + initial: 2 + }, + { + name: 'navigation', + message: 'The website is easy to navigate.', + initial: 2 + }, + { + name: 'images', + message: 'The website usually has good images.', + initial: 2 + }, + { + name: 'upload', + message: 'The website makes it easy to upload images.', + initial: 2 + }, + { + name: 'colors', + message: 'The website has a pleasing color palette.', + initial: 2 + } + ] +}); + +prompt.run() + .then(value => console.log('ANSWERS:', value)) + .catch(console.error); +``` + +**Related prompts** + +* [AutoComplete](#autocomplete-prompt) +* [Select](#select-prompt) +* [Survey](#survey-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Select Prompt + +Prompt that allows the user to select from a list of options. + +

+Enquirer Select Prompt +

+ +**Example Usage** + +```js +const { Select } = require('enquirer'); + +const prompt = new Select({ + name: 'color', + message: 'Pick a flavor', + choices: ['apple', 'grape', 'watermelon', 'cherry', 'orange'] +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [AutoComplete](#autocomplete-prompt) +* [MultiSelect](#multiselect-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Sort Prompt + +Prompt that allows the user to sort items in a list. + +**Example** + +In this [example](https://github.com/enquirer/enquirer/raw/master/examples/sort/prompt.js), custom styling is applied to the returned values to make it easier to see what's happening. + +

+Enquirer Sort Prompt +

+ +**Example Usage** + +```js +const colors = require('ansi-colors'); +const { Sort } = require('enquirer'); +const prompt = new Sort({ + name: 'colors', + message: 'Sort the colors in order of preference', + hint: 'Top is best, bottom is worst', + numbered: true, + choices: ['red', 'white', 'green', 'cyan', 'yellow'].map(n => ({ + name: n, + message: colors[n](n) + })) +}); + +prompt.run() + .then(function(answer = []) { + console.log(answer); + console.log('Your preferred order of colors is:'); + console.log(answer.map(key => colors[key](key)).join('\n')); + }) + .catch(console.error); +``` + +**Related prompts** + +* [List](#list-prompt) +* [Select](#select-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Snippet Prompt + +Prompt that allows the user to replace placeholders in a snippet of code or text. + +

+Prompts +

+ +**Example Usage** + +```js +const semver = require('semver'); +const { Snippet } = require('enquirer'); +const prompt = new Snippet({ + name: 'username', + message: 'Fill out the fields in package.json', + required: true, + fields: [ + { + name: 'author_name', + message: 'Author Name' + }, + { + name: 'version', + validate(value, state, item, index) { + if (item && item.name === 'version' && !semver.valid(value)) { + return prompt.styles.danger('version should be a valid semver value'); + } + return true; + } + } + ], + template: `{ + "name": "\${name}", + "description": "\${description}", + "version": "\${version}", + "homepage": "https://github.com/\${username}/\${name}", + "author": "\${author_name} (https://github.com/\${username})", + "repository": "\${username}/\${name}", + "license": "\${license:ISC}" +} +` +}); + +prompt.run() + .then(answer => console.log('Answer:', answer.result)) + .catch(console.error); +``` + +**Related prompts** + +* [Survey](#survey-prompt) +* [AutoComplete](#autocomplete-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Toggle Prompt + +Prompt that allows the user to toggle between two values then returns `true` or `false`. + +

+Enquirer Toggle Prompt +

+ +**Example Usage** + +```js +const { Toggle } = require('enquirer'); + +const prompt = new Toggle({ + message: 'Want to answer?', + enabled: 'Yep', + disabled: 'Nope' +}); + +prompt.run() + .then(answer => console.log('Answer:', answer)) + .catch(console.error); +``` + +**Related prompts** + +* [Confirm](#confirm-prompt) +* [Input](#input-prompt) +* [Sort](#sort-prompt) + +**↑ back to:** [Getting Started](#-getting-started) · [Prompts](#-prompts) + +*** + +### Prompt Types + +There are 5 (soon to be 6!) type classes: + +* [ArrayPrompt](#arrayprompt) + - [Options](#options) + - [Properties](#properties) + - [Methods](#methods) + - [Choices](#choices) + - [Defining choices](#defining-choices) + - [Choice properties](#choice-properties) + - [Related prompts](#related-prompts) +* [AuthPrompt](#authprompt) +* [BooleanPrompt](#booleanprompt) +* DatePrompt (Coming Soon!) +* [NumberPrompt](#numberprompt) +* [StringPrompt](#stringprompt) + +Each type is a low-level class that may be used as a starting point for creating higher level prompts. Continue reading to learn how. + +### ArrayPrompt + +The `ArrayPrompt` class is used for creating prompts that display a list of choices in the terminal. For example, Enquirer uses this class as the basis for the [Select](#select) and [Survey](#survey) prompts. + +#### Options + +In addition to the [options](#options) available to all prompts, Array prompts also support the following options. + +| **Option** | **Required?** | **Type** | **Description** | +| ----------- | ------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `autofocus` | `no` | `string\|number` | The index or name of the choice that should have focus when the prompt loads. Only one choice may have focus at a time. | | +| `stdin` | `no` | `stream` | The input stream to use for emitting keypress events. Defaults to `process.stdin`. | +| `stdout` | `no` | `stream` | The output stream to use for writing the prompt to the terminal. Defaults to `process.stdout`. | +| | + +#### Properties + +Array prompts have the following instance properties and getters. + +| **Property name** | **Type** | **Description** | +| ----------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `choices` | `array` | Array of choices that have been normalized from choices passed on the prompt options. | +| `cursor` | `number` | Position of the cursor relative to the _user input (string)_. | +| `enabled` | `array` | Returns an array of enabled choices. | +| `focused` | `array` | Returns the currently selected choice in the visible list of choices. This is similar to the concept of focus in HTML and CSS. Focused choices are always visible (on-screen). When a list of choices is longer than the list of visible choices, and an off-screen choice is _focused_, the list will scroll to the focused choice and re-render. | +| `focused` | Gets the currently selected choice. Equivalent to `prompt.choices[prompt.index]`. | +| `index` | `number` | Position of the pointer in the _visible list (array) of choices_. | +| `limit` | `number` | The number of choices to display on-screen. | +| `selected` | `array` | Either a list of enabled choices (when `options.multiple` is true) or the currently focused choice. | +| `visible` | `string` | | + +#### Methods + +| **Method** | **Description** | +| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `pointer()` | Returns the visual symbol to use to identify the choice that currently has focus. The `❯` symbol is often used for this. The pointer is not always visible, as with the `autocomplete` prompt. | +| `indicator()` | Returns the visual symbol that indicates whether or not a choice is checked/enabled. | +| `focus()` | Sets focus on a choice, if it can be focused. | + +#### Choices + +Array prompts support the `choices` option, which is the array of choices users will be able to select from when rendered in the terminal. + +**Type**: `string|object` + +**Example** + +```js +const { prompt } = require('enquirer'); + +const questions = [{ + type: 'select', + name: 'color', + message: 'Favorite color?', + initial: 1, + choices: [ + { name: 'red', message: 'Red', value: '#ff0000' }, //<= choice object + { name: 'green', message: 'Green', value: '#00ff00' }, //<= choice object + { name: 'blue', message: 'Blue', value: '#0000ff' } //<= choice object + ] +}]; + +let answers = await prompt(questions); +console.log('Answer:', answers.color); +``` + +#### Defining choices + +Whether defined as a string or object, choices are normalized to the following interface: + +```js +{ + name: string; + message: string | undefined; + value: string | undefined; + hint: string | undefined; + disabled: boolean | string | undefined; +} +``` + +**Example** + +```js +const question = { + name: 'fruit', + message: 'Favorite fruit?', + choices: ['Apple', 'Orange', 'Raspberry'] +}; +``` + +Normalizes to the following when the prompt is run: + +```js +const question = { + name: 'fruit', + message: 'Favorite fruit?', + choices: [ + { name: 'Apple', message: 'Apple', value: 'Apple' }, + { name: 'Orange', message: 'Orange', value: 'Orange' }, + { name: 'Raspberry', message: 'Raspberry', value: 'Raspberry' } + ] +}; +``` + +#### Choice properties + +The following properties are supported on `choice` objects. + +| **Option** | **Type** | **Description** | +| ----------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | `string` | The unique key to identify a choice | +| `message` | `string` | The message to display in the terminal. `name` is used when this is undefined. | +| `value` | `string` | Value to associate with the choice. Useful for creating key-value pairs from user choices. `name` is used when this is undefined. | +| `choices` | `array` | Array of "child" choices. | +| `hint` | `string` | Help message to display next to a choice. | +| `role` | `string` | Determines how the choice will be displayed. Currently the only role supported is `separator`. Additional roles may be added in the future (like `heading`, etc). Please create a [feature request] | +| `enabled` | `boolean` | Enabled a choice by default. This is only supported when `options.multiple` is true or on prompts that support multiple choices, like [MultiSelect](#-multiselect). | +| `disabled` | `boolean\|string` | Disable a choice so that it cannot be selected. This value may either be `true`, `false`, or a message to display. | +| `indicator` | `string\|function` | Custom indicator to render for a choice (like a check or radio button). | + +#### Related prompts + +* [AutoComplete](#autocomplete-prompt) +* [Form](#form-prompt) +* [MultiSelect](#multiselect-prompt) +* [Select](#select-prompt) +* [Survey](#survey-prompt) + +*** + +### AuthPrompt + +The `AuthPrompt` is used to create prompts to log in user using any authentication method. For example, Enquirer uses this class as the basis for the [BasicAuth Prompt](#basicauth-prompt). You can also find prompt examples in `examples/auth/` folder that utilizes `AuthPrompt` to create OAuth based authentication prompt or a prompt that authenticates using time-based OTP, among others. + +`AuthPrompt` has a factory function that creates an instance of `AuthPrompt` class and it expects an `authenticate` function, as an argument, which overrides the `authenticate` function of the `AuthPrompt` class. + +#### Methods + +| **Method** | **Description** | +| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authenticate()` | Contain all the authentication logic. This function should be overridden to implement custom authentication logic. The default `authenticate` function throws an error if no other function is provided. | + +#### Choices + +Auth prompt supports the `choices` option, which is the similar to the choices used in [Form Prompt](#form-prompt). + +**Example** + +```js +const { AuthPrompt } = require('enquirer'); + +function authenticate(value, state) { + if (value.username === this.options.username && value.password === this.options.password) { + return true; + } + return false; +} + +const CustomAuthPrompt = AuthPrompt.create(authenticate); + +const prompt = new CustomAuthPrompt({ + name: 'password', + message: 'Please enter your password', + username: 'rajat-sr', + password: '1234567', + choices: [ + { name: 'username', message: 'username' }, + { name: 'password', message: 'password' } + ] +}); + +prompt + .run() + .then(answer => console.log('Authenticated?', answer)) + .catch(console.error); +``` + +#### Related prompts + +* [BasicAuth Prompt](#basicauth-prompt) + +*** + +### BooleanPrompt + +The `BooleanPrompt` class is used for creating prompts that display and return a boolean value. + +```js +const { BooleanPrompt } = require('enquirer'); + +const prompt = new BooleanPrompt({ + header: '========================', + message: 'Do you love enquirer?', + footer: '========================', +}); + +prompt.run() + .then(answer => console.log('Selected:', answer)) + .catch(console.error); +``` + +**Returns**: `boolean` + +*** + +### NumberPrompt + +The `NumberPrompt` class is used for creating prompts that display and return a numerical value. + +```js +const { NumberPrompt } = require('enquirer'); + +const prompt = new NumberPrompt({ + header: '************************', + message: 'Input the Numbers:', + footer: '************************', +}); + +prompt.run() + .then(answer => console.log('Numbers are:', answer)) + .catch(console.error); +``` + +**Returns**: `string|number` (number, or number formatted as a string) + +*** + +### StringPrompt + +The `StringPrompt` class is used for creating prompts that display and return a string value. + +```js +const { StringPrompt } = require('enquirer'); + +const prompt = new StringPrompt({ + header: '************************', + message: 'Input the String:', + footer: '************************' +}); + +prompt.run() + .then(answer => console.log('String is:', answer)) + .catch(console.error); +``` + +**Returns**: `string` + +
+ +## ❯ Custom prompts + +With Enquirer 2.0, custom prompts are easier than ever to create and use. + +**How do I create a custom prompt?** + +Custom prompts are created by extending either: + +* Enquirer's `Prompt` class +* one of the built-in [prompts](#-prompts), or +* low-level [types](#-types). + + + +```js +const { Prompt } = require('enquirer'); + +class HaiKarate extends Prompt { + constructor(options = {}) { + super(options); + this.value = options.initial || 0; + this.cursorHide(); + } + up() { + this.value++; + this.render(); + } + down() { + this.value--; + this.render(); + } + render() { + this.clear(); // clear previously rendered prompt from the terminal + this.write(`${this.state.message}: ${this.value}`); + } +} + +// Use the prompt by creating an instance of your custom prompt class. +const prompt = new HaiKarate({ + message: 'How many sprays do you want?', + initial: 10 +}); + +prompt.run() + .then(answer => console.log('Sprays:', answer)) + .catch(console.error); +``` + +If you want to be able to specify your prompt by `type` so that it may be used alongside other prompts, you will need to first create an instance of `Enquirer`. + +```js +const Enquirer = require('enquirer'); +const enquirer = new Enquirer(); +``` + +Then use the `.register()` method to add your custom prompt. + +```js +enquirer.register('haikarate', HaiKarate); +``` + +Now you can do the following when defining "questions". + +```js +let spritzer = require('cologne-drone'); +let answers = await enquirer.prompt([ + { + type: 'haikarate', + name: 'cologne', + message: 'How many sprays do you need?', + initial: 10, + async onSubmit(name, value) { + await spritzer.activate(value); //<= activate drone + return value; + } + } +]); +``` + +
+ +## ❯ Key Bindings + +### All prompts + +These key combinations may be used with all prompts. + +| **command** | **description** | +| -------------------------------- | -------------------------------------- | +| ctrl + c | Cancel the prompt. | +| ctrl + g | Reset the prompt to its initial state. | + +
+ +### Move cursor + +These combinations may be used on prompts that support user input (eg. [input prompt](#input-prompt), [password prompt](#password-prompt), and [invisible prompt](#invisible-prompt)). + +| **command** | **description** | +| ------------------------------ | ---------------------------------------- | +| left | Move the cursor back one character. | +| right | Move the cursor forward one character. | +| ctrl + a | Move cursor to the start of the line | +| ctrl + e | Move cursor to the end of the line | +| ctrl + b | Move cursor back one character | +| ctrl + f | Move cursor forward one character | +| ctrl + x | Toggle between first and cursor position | + +
+ +### Edit Input + +These key combinations may be used on prompts that support user input (eg. [input prompt](#input-prompt), [password prompt](#password-prompt), and [invisible prompt](#invisible-prompt)). + +| **command** | **description** | +| ------------------------------ | ---------------------------------------- | +| ctrl + a | Move cursor to the start of the line | +| ctrl + e | Move cursor to the end of the line | +| ctrl + b | Move cursor back one character | +| ctrl + f | Move cursor forward one character | +| ctrl + x | Toggle between first and cursor position | + +
+ +| **command (Mac)** | **command (Windows)** | **description** | +| ----------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| delete | backspace | Delete one character to the left. | +| fn + delete | delete | Delete one character to the right. | +| option + up | alt + up | Scroll to the previous item in history ([Input prompt](#input-prompt) only, when [history is enabled](examples/input/option-history.js)). | +| option + down | alt + down | Scroll to the next item in history ([Input prompt](#input-prompt) only, when [history is enabled](examples/input/option-history.js)). | + +### Select choices + +These key combinations may be used on prompts that support _multiple_ choices, such as the [multiselect prompt](#multiselect-prompt), or the [select prompt](#select-prompt) when the `multiple` options is true. + +| **command** | **description** | +| ----------------- | -------------------------------------------------------------------------------------------------------------------- | +| space | Toggle the currently selected choice when `options.multiple` is true. | +| number | Move the pointer to the choice at the given index. Also toggles the selected choice when `options.multiple` is true. | +| a | Toggle all choices to be enabled or disabled. | +| i | Invert the current selection of choices. | +| g | Toggle the current choice group. | + +
+ +### Hide/show choices + +| **command** | **description** | +| ------------------------------- | ---------------------------------------------- | +| fn + up | Decrease the number of visible choices by one. | +| fn + down | Increase the number of visible choices by one. | + +
+ +### Move/lock Pointer + +| **command** | **description** | +| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| number | Move the pointer to the choice at the given index. Also toggles the selected choice when `options.multiple` is true. | +| up | Move the pointer up. | +| down | Move the pointer down. | +| ctrl + a | Move the pointer to the first _visible_ choice. | +| ctrl + e | Move the pointer to the last _visible_ choice. | +| shift + up | Scroll up one choice without changing pointer position (locks the pointer while scrolling). | +| shift + down | Scroll down one choice without changing pointer position (locks the pointer while scrolling). | + +
+ +| **command (Mac)** | **command (Windows)** | **description** | +| -------------------------------- | --------------------- | ---------------------------------------------------------- | +| fn + left | home | Move the pointer to the first choice in the choices array. | +| fn + right | end | Move the pointer to the last choice in the choices array. | + +
+ +## ❯ Release History + +Please see [CHANGELOG.md](CHANGELOG.md). + +## ❯ Performance + +### System specs + +MacBook Pro, Intel Core i7, 2.5 GHz, 16 GB. + +### Load time + +Time it takes for the module to load the first time (average of 3 runs): + +``` +enquirer: 4.013ms +inquirer: 286.717ms +``` + +
+ +## ❯ About + +
+Contributing + +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). + +### Todo + +We're currently working on documentation for the following items. Please star and watch the repository for updates! + +* [ ] Customizing symbols +* [ ] Customizing styles (palette) +* [ ] Customizing rendered input +* [ ] Customizing returned values +* [ ] Customizing key bindings +* [ ] Question validation +* [ ] Choice validation +* [ ] Skipping questions +* [ ] Async choices +* [ ] Async timers: loaders, spinners and other animations +* [ ] Links to examples +
+ +
+Running Tests + +Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: + +```sh +$ npm install && npm test +``` +```sh +$ yarn && yarn test +``` + +
+ +
+Building docs + +_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ + +To generate the readme, run the following command: + +```sh +$ npm install -g verbose/verb#dev verb-generate-readme && verb +``` + +
+ +#### Contributors + +| **Commits** | **Contributor** | +| --- | --- | +| 283 | [jonschlinkert](https://github.com/jonschlinkert) | +| 82 | [doowb](https://github.com/doowb) | +| 32 | [rajat-sr](https://github.com/rajat-sr) | +| 20 | [318097](https://github.com/318097) | +| 15 | [g-plane](https://github.com/g-plane) | +| 12 | [pixelass](https://github.com/pixelass) | +| 5 | [adityavyas611](https://github.com/adityavyas611) | +| 5 | [satotake](https://github.com/satotake) | +| 3 | [tunnckoCore](https://github.com/tunnckoCore) | +| 3 | [Ovyerus](https://github.com/Ovyerus) | +| 3 | [sw-yx](https://github.com/sw-yx) | +| 2 | [DanielRuf](https://github.com/DanielRuf) | +| 2 | [GabeL7r](https://github.com/GabeL7r) | +| 1 | [AlCalzone](https://github.com/AlCalzone) | +| 1 | [hipstersmoothie](https://github.com/hipstersmoothie) | +| 1 | [danieldelcore](https://github.com/danieldelcore) | +| 1 | [ImgBotApp](https://github.com/ImgBotApp) | +| 1 | [jsonkao](https://github.com/jsonkao) | +| 1 | [knpwrs](https://github.com/knpwrs) | +| 1 | [yeskunall](https://github.com/yeskunall) | +| 1 | [mischah](https://github.com/mischah) | +| 1 | [renarsvilnis](https://github.com/renarsvilnis) | +| 1 | [sbugert](https://github.com/sbugert) | +| 1 | [stephencweiss](https://github.com/stephencweiss) | +| 1 | [skellock](https://github.com/skellock) | +| 1 | [whxaxes](https://github.com/whxaxes) | + +#### Author + +**Jon Schlinkert** + +* [GitHub Profile](https://github.com/jonschlinkert) +* [Twitter Profile](https://twitter.com/jonschlinkert) +* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert) + +#### Credit + +Thanks to [derhuerst](https://github.com/derhuerst), creator of prompt libraries such as [prompt-skeleton](https://github.com/derhuerst/prompt-skeleton), which influenced some of the concepts we used in our prompts. + +#### License + +Copyright © 2018-present, [Jon Schlinkert](https://github.com/jonschlinkert). +Released under the [MIT License](LICENSE). \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/enquirer/index.js b/tools/node_modules/eslint/node_modules/enquirer/index.js new file mode 100644 index 00000000000000..d0ef3f69b092df --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/index.js @@ -0,0 +1,250 @@ +'use strict'; + +const assert = require('assert'); +const Events = require('events'); +const utils = require('./lib/utils'); + +/** + * Create an instance of `Enquirer`. + * + * ```js + * const Enquirer = require('enquirer'); + * const enquirer = new Enquirer(); + * ``` + * @name Enquirer + * @param {Object} `options` (optional) Options to use with all prompts. + * @param {Object} `answers` (optional) Answers object to initialize with. + * @api public + */ + +class Enquirer extends Events { + constructor(options, answers) { + super(); + this.options = utils.merge({}, options); + this.answers = { ...answers }; + } + + /** + * Register a custom prompt type. + * + * ```js + * const Enquirer = require('enquirer'); + * const enquirer = new Enquirer(); + * enquirer.register('customType', require('./custom-prompt')); + * ``` + * @name register() + * @param {String} `type` + * @param {Function|Prompt} `fn` `Prompt` class, or a function that returns a `Prompt` class. + * @return {Object} Returns the Enquirer instance + * @api public + */ + + register(type, fn) { + if (utils.isObject(type)) { + for (let key of Object.keys(type)) this.register(key, type[key]); + return this; + } + assert.equal(typeof fn, 'function', 'expected a function'); + let name = type.toLowerCase(); + if (fn.prototype instanceof this.Prompt) { + this.prompts[name] = fn; + } else { + this.prompts[name] = fn(this.Prompt, this); + } + return this; + } + + /** + * Prompt function that takes a "question" object or array of question objects, + * and returns an object with responses from the user. + * + * ```js + * const Enquirer = require('enquirer'); + * const enquirer = new Enquirer(); + * + * const response = await enquirer.prompt({ + * type: 'input', + * name: 'username', + * message: 'What is your username?' + * }); + * console.log(response); + * ``` + * @name prompt() + * @param {Array|Object} `questions` Options objects for one or more prompts to run. + * @return {Promise} Promise that returns an "answers" object with the user's responses. + * @api public + */ + + async prompt(questions = []) { + for (let question of [].concat(questions)) { + try { + if (typeof question === 'function') question = await question.call(this); + await this.ask(utils.merge({}, this.options, question)); + } catch (err) { + return Promise.reject(err); + } + } + return this.answers; + } + + async ask(question) { + if (typeof question === 'function') { + question = await question.call(this); + } + + let opts = utils.merge({}, this.options, question); + let { type, name } = question; + let { set, get } = utils; + + if (typeof type === 'function') { + type = await type.call(this, question, this.answers); + } + + if (!type) return this.answers[name]; + + assert(this.prompts[type], `Prompt "${type}" is not registered`); + + let prompt = new this.prompts[type](opts); + let value = get(this.answers, name); + + prompt.state.answers = this.answers; + prompt.enquirer = this; + + if (name) { + prompt.on('submit', value => { + this.emit('answer', name, value, prompt); + set(this.answers, name, value); + }); + } + + // bubble events + let emit = prompt.emit.bind(prompt); + prompt.emit = (...args) => { + this.emit.call(this, ...args); + return emit(...args); + }; + + this.emit('prompt', prompt, this); + + if (opts.autofill && value != null) { + prompt.value = prompt.input = value; + + // if "autofill=show" render the prompt, otherwise stay "silent" + if (opts.autofill === 'show') { + await prompt.submit(); + } + } else { + value = prompt.value = await prompt.run(); + } + + return value; + } + + /** + * Use an enquirer plugin. + * + * ```js + * const Enquirer = require('enquirer'); + * const enquirer = new Enquirer(); + * const plugin = enquirer => { + * // do stuff to enquire instance + * }; + * enquirer.use(plugin); + * ``` + * @name use() + * @param {Function} `plugin` Plugin function that takes an instance of Enquirer. + * @return {Object} Returns the Enquirer instance. + * @api public + */ + + use(plugin) { + plugin.call(this, this); + return this; + } + + set Prompt(value) { + this._Prompt = value; + } + get Prompt() { + return this._Prompt || this.constructor.Prompt; + } + + get prompts() { + return this.constructor.prompts; + } + + static set Prompt(value) { + this._Prompt = value; + } + static get Prompt() { + return this._Prompt || require('./lib/prompt'); + } + + static get prompts() { + return require('./lib/prompts'); + } + + static get types() { + return require('./lib/types'); + } + + /** + * Prompt function that takes a "question" object or array of question objects, + * and returns an object with responses from the user. + * + * ```js + * const { prompt } = require('enquirer'); + * const response = await prompt({ + * type: 'input', + * name: 'username', + * message: 'What is your username?' + * }); + * console.log(response); + * ``` + * @name Enquirer#prompt + * @param {Array|Object} `questions` Options objects for one or more prompts to run. + * @return {Promise} Promise that returns an "answers" object with the user's responses. + * @api public + */ + + static get prompt() { + const fn = (questions, ...rest) => { + let enquirer = new this(...rest); + let emit = enquirer.emit.bind(enquirer); + enquirer.emit = (...args) => { + fn.emit(...args); + return emit(...args); + }; + return enquirer.prompt(questions); + }; + utils.mixinEmitter(fn, new Events()); + return fn; + } +} + +utils.mixinEmitter(Enquirer, new Events()); +const prompts = Enquirer.prompts; + +for (let name of Object.keys(prompts)) { + let key = name.toLowerCase(); + + let run = options => new prompts[name](options).run(); + Enquirer.prompt[key] = run; + Enquirer[key] = run; + + if (!Enquirer[name]) { + Reflect.defineProperty(Enquirer, name, { get: () => prompts[name] }); + } +} + +const exp = name => { + utils.defineExport(Enquirer, name, () => Enquirer.types[name]); +}; + +exp('ArrayPrompt'); +exp('AuthPrompt'); +exp('BooleanPrompt'); +exp('NumberPrompt'); +exp('StringPrompt'); + +module.exports = Enquirer; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/ansi.js b/tools/node_modules/eslint/node_modules/enquirer/lib/ansi.js new file mode 100644 index 00000000000000..1ba19813d60bc9 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/ansi.js @@ -0,0 +1,116 @@ +'use strict'; + +const isTerm = process.env.TERM_PROGRAM === 'Apple_Terminal'; +const colors = require('ansi-colors'); +const utils = require('./utils'); +const ansi = module.exports = exports; +const ESC = '\u001b['; +const BEL = '\u0007'; +let hidden = false; + +const code = ansi.code = { + bell: BEL, + beep: BEL, + beginning: `${ESC}G`, + down: `${ESC}J`, + esc: ESC, + getPosition: `${ESC}6n`, + hide: `${ESC}?25l`, + line: `${ESC}2K`, + lineEnd: `${ESC}K`, + lineStart: `${ESC}1K`, + restorePosition: ESC + (isTerm ? '8' : 'u'), + savePosition: ESC + (isTerm ? '7' : 's'), + screen: `${ESC}2J`, + show: `${ESC}?25h`, + up: `${ESC}1J` +}; + +const cursor = ansi.cursor = { + get hidden() { + return hidden; + }, + + hide() { + hidden = true; + return code.hide; + }, + show() { + hidden = false; + return code.show; + }, + + forward: (count = 1) => `${ESC}${count}C`, + backward: (count = 1) => `${ESC}${count}D`, + nextLine: (count = 1) => `${ESC}E`.repeat(count), + prevLine: (count = 1) => `${ESC}F`.repeat(count), + + up: (count = 1) => count ? `${ESC}${count}A` : '', + down: (count = 1) => count ? `${ESC}${count}B` : '', + right: (count = 1) => count ? `${ESC}${count}C` : '', + left: (count = 1) => count ? `${ESC}${count}D` : '', + + to(x, y) { + return y ? `${ESC}${y + 1};${x + 1}H` : `${ESC}${x + 1}G`; + }, + + move(x = 0, y = 0) { + let res = ''; + res += (x < 0) ? cursor.left(-x) : (x > 0) ? cursor.right(x) : ''; + res += (y < 0) ? cursor.up(-y) : (y > 0) ? cursor.down(y) : ''; + return res; + }, + + restore(state = {}) { + let { after, cursor, initial, input, prompt, size, value } = state; + initial = utils.isPrimitive(initial) ? String(initial) : ''; + input = utils.isPrimitive(input) ? String(input) : ''; + value = utils.isPrimitive(value) ? String(value) : ''; + + if (size) { + let codes = ansi.cursor.up(size) + ansi.cursor.to(prompt.length); + let diff = input.length - cursor; + if (diff > 0) { + codes += ansi.cursor.left(diff); + } + return codes; + } + + if (value || after) { + let pos = (!input && !!initial) ? -initial.length : -input.length + cursor; + if (after) pos -= after.length; + if (input === '' && initial && !prompt.includes(initial)) { + pos += initial.length; + } + return ansi.cursor.move(pos); + } + } +}; + +const erase = ansi.erase = { + screen: code.screen, + up: code.up, + down: code.down, + line: code.line, + lineEnd: code.lineEnd, + lineStart: code.lineStart, + lines(n) { + let str = ''; + for (let i = 0; i < n; i++) { + str += ansi.erase.line + (i < n - 1 ? ansi.cursor.up(1) : ''); + } + if (n) str += ansi.code.beginning; + return str; + } +}; + +ansi.clear = (input = '', columns = process.stdout.columns) => { + if (!columns) return erase.line + cursor.to(0); + let width = str => [...colors.unstyle(str)].length; + let lines = input.split(/\r?\n/); + let rows = 0; + for (let line of lines) { + rows += 1 + Math.floor(Math.max(width(line) - 1, 0) / columns); + } + return (erase.line + cursor.prevLine()).repeat(rows - 1) + erase.line + cursor.to(0); +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/combos.js b/tools/node_modules/eslint/node_modules/enquirer/lib/combos.js new file mode 100644 index 00000000000000..5b9d86c553e8d0 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/combos.js @@ -0,0 +1,75 @@ +'use strict'; + +/** + * Actions are mappings from keypress event names to method names + * in the prompts. + */ + +exports.ctrl = { + a: 'first', + b: 'backward', + c: 'cancel', + d: 'deleteForward', + e: 'last', + f: 'forward', + g: 'reset', + i: 'tab', + k: 'cutForward', + l: 'reset', + n: 'newItem', + m: 'cancel', + j: 'submit', + p: 'search', + r: 'remove', + s: 'save', + u: 'undo', + w: 'cutLeft', + x: 'toggleCursor', + v: 'paste' +}; + +exports.shift = { + up: 'shiftUp', + down: 'shiftDown', + left: 'shiftLeft', + right: 'shiftRight', + tab: 'prev' +}; + +exports.fn = { + up: 'pageUp', + down: 'pageDown', + left: 'pageLeft', + right: 'pageRight', + delete: 'deleteForward' +}; + +// on Windows +exports.option = { + b: 'backward', + f: 'forward', + d: 'cutRight', + left: 'cutLeft', + up: 'altUp', + down: 'altDown' +}; + +exports.keys = { + pageup: 'pageUp', // + (mac), (windows) + pagedown: 'pageDown', // + (mac), (windows) + home: 'home', // + (mac), (windows) + end: 'end', // + (mac), (windows) + cancel: 'cancel', + delete: 'deleteForward', + backspace: 'delete', + down: 'down', + enter: 'submit', + escape: 'cancel', + left: 'left', + space: 'space', + number: 'number', + return: 'submit', + right: 'right', + tab: 'next', + up: 'up' +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/completer.js b/tools/node_modules/eslint/node_modules/enquirer/lib/completer.js new file mode 100644 index 00000000000000..4a50af0a13f41c --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/completer.js @@ -0,0 +1,52 @@ +'use strict'; + +const unique = arr => arr.filter((v, i) => arr.lastIndexOf(v) === i); +const compact = arr => unique(arr).filter(Boolean); + +module.exports = (action, data = {}, value = '') => { + let { past = [], present = '' } = data; + let rest, prev; + + switch (action) { + case 'prev': + case 'undo': + rest = past.slice(0, past.length - 1); + prev = past[past.length - 1] || ''; + return { + past: compact([value, ...rest]), + present: prev + }; + + case 'next': + case 'redo': + rest = past.slice(1); + prev = past[0] || ''; + return { + past: compact([...rest, value]), + present: prev + }; + + case 'save': + return { + past: compact([...past, value]), + present: '' + }; + + case 'remove': + prev = compact(past.filter(v => v !== value)); + present = ''; + + if (prev.length) { + present = prev.pop(); + } + + return { + past: prev, + present + }; + + default: { + throw new Error(`Invalid action: "${action}"`); + } + } +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/interpolate.js b/tools/node_modules/eslint/node_modules/enquirer/lib/interpolate.js new file mode 100644 index 00000000000000..c3d9b3f3f3e145 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/interpolate.js @@ -0,0 +1,266 @@ +'use strict'; + +const colors = require('ansi-colors'); +const clean = (str = '') => { + return typeof str === 'string' ? str.replace(/^['"]|['"]$/g, '') : ''; +}; + +/** + * This file contains the interpolation and rendering logic for + * the Snippet prompt. + */ + +class Item { + constructor(token) { + this.name = token.key; + this.field = token.field || {}; + this.value = clean(token.initial || this.field.initial || ''); + this.message = token.message || this.name; + this.cursor = 0; + this.input = ''; + this.lines = []; + } +} + +const tokenize = async(options = {}, defaults = {}, fn = token => token) => { + let unique = new Set(); + let fields = options.fields || []; + let input = options.template; + let tabstops = []; + let items = []; + let keys = []; + let line = 1; + + if (typeof input === 'function') { + input = await input(); + } + + let i = -1; + let next = () => input[++i]; + let peek = () => input[i + 1]; + let push = token => { + token.line = line; + tabstops.push(token); + }; + + push({ type: 'bos', value: '' }); + + while (i < input.length - 1) { + let value = next(); + + if (/^[^\S\n ]$/.test(value)) { + push({ type: 'text', value }); + continue; + } + + if (value === '\n') { + push({ type: 'newline', value }); + line++; + continue; + } + + if (value === '\\') { + value += next(); + push({ type: 'text', value }); + continue; + } + + if ((value === '$' || value === '#' || value === '{') && peek() === '{') { + let n = next(); + value += n; + + let token = { type: 'template', open: value, inner: '', close: '', value }; + let ch; + + while ((ch = next())) { + if (ch === '}') { + if (peek() === '}') ch += next(); + token.value += ch; + token.close = ch; + break; + } + + if (ch === ':') { + token.initial = ''; + token.key = token.inner; + } else if (token.initial !== void 0) { + token.initial += ch; + } + + token.value += ch; + token.inner += ch; + } + + token.template = token.open + (token.initial || token.inner) + token.close; + token.key = token.key || token.inner; + + if (defaults.hasOwnProperty(token.key)) { + token.initial = defaults[token.key]; + } + + token = fn(token); + push(token); + + keys.push(token.key); + unique.add(token.key); + + let item = items.find(item => item.name === token.key); + token.field = fields.find(ch => ch.name === token.key); + + if (!item) { + item = new Item(token); + items.push(item); + } + + item.lines.push(token.line - 1); + continue; + } + + let last = tabstops[tabstops.length - 1]; + if (last.type === 'text' && last.line === line) { + last.value += value; + } else { + push({ type: 'text', value }); + } + } + + push({ type: 'eos', value: '' }); + return { input, tabstops, unique, keys, items }; +}; + +module.exports = async prompt => { + let options = prompt.options; + let required = new Set(options.required === true ? [] : (options.required || [])); + let defaults = { ...options.values, ...options.initial }; + let { tabstops, items, keys } = await tokenize(options, defaults); + + let result = createFn('result', prompt, options); + let format = createFn('format', prompt, options); + let isValid = createFn('validate', prompt, options, true); + let isVal = prompt.isValue.bind(prompt); + + return async(state = {}, submitted = false) => { + let index = 0; + + state.required = required; + state.items = items; + state.keys = keys; + state.output = ''; + + let validate = async(value, state, item, index) => { + let error = await isValid(value, state, item, index); + if (error === false) { + return 'Invalid field ' + item.name; + } + return error; + }; + + for (let token of tabstops) { + let value = token.value; + let key = token.key; + + if (token.type !== 'template') { + if (value) state.output += value; + continue; + } + + if (token.type === 'template') { + let item = items.find(ch => ch.name === key); + + if (options.required === true) { + state.required.add(item.name); + } + + let val = [item.input, state.values[item.value], item.value, value].find(isVal); + let field = item.field || {}; + let message = field.message || token.inner; + + if (submitted) { + let error = await validate(state.values[key], state, item, index); + if ((error && typeof error === 'string') || error === false) { + state.invalid.set(key, error); + continue; + } + + state.invalid.delete(key); + let res = await result(state.values[key], state, item, index); + state.output += colors.unstyle(res); + continue; + } + + item.placeholder = false; + + let before = value; + value = await format(value, state, item, index); + + if (val !== value) { + state.values[key] = val; + value = prompt.styles.typing(val); + state.missing.delete(message); + + } else { + state.values[key] = void 0; + val = `<${message}>`; + value = prompt.styles.primary(val); + item.placeholder = true; + + if (state.required.has(key)) { + state.missing.add(message); + } + } + + if (state.missing.has(message) && state.validating) { + value = prompt.styles.warning(val); + } + + if (state.invalid.has(key) && state.validating) { + value = prompt.styles.danger(val); + } + + if (index === state.index) { + if (before !== value) { + value = prompt.styles.underline(value); + } else { + value = prompt.styles.heading(colors.unstyle(value)); + } + } + + index++; + } + + if (value) { + state.output += value; + } + } + + let lines = state.output.split('\n').map(l => ' ' + l); + let len = items.length; + let done = 0; + + for (let item of items) { + if (state.invalid.has(item.name)) { + item.lines.forEach(i => { + if (lines[i][0] !== ' ') return; + lines[i] = state.styles.danger(state.symbols.bullet) + lines[i].slice(1); + }); + } + + if (prompt.isValue(state.values[item.name])) { + done++; + } + } + + state.completed = ((done / len) * 100).toFixed(0); + state.output = lines.join('\n'); + return state.output; + }; +}; + +function createFn(prop, prompt, options, fallback) { + return (value, state, item, index) => { + if (typeof item.field[prop] === 'function') { + return item.field[prop].call(prompt, value, state, item, index); + } + return [fallback, value].find(v => prompt.isValue(v)); + }; +} diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/keypress.js b/tools/node_modules/eslint/node_modules/enquirer/lib/keypress.js new file mode 100644 index 00000000000000..15d7314970ffe2 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/keypress.js @@ -0,0 +1,243 @@ +'use strict'; + +const readline = require('readline'); +const combos = require('./combos'); + +/* eslint-disable no-control-regex */ +const metaKeyCodeRe = /^(?:\x1b)([a-zA-Z0-9])$/; +const fnKeyRe = /^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/; +const keyName = { + /* xterm/gnome ESC O letter */ + 'OP': 'f1', + 'OQ': 'f2', + 'OR': 'f3', + 'OS': 'f4', + /* xterm/rxvt ESC [ number ~ */ + '[11~': 'f1', + '[12~': 'f2', + '[13~': 'f3', + '[14~': 'f4', + /* from Cygwin and used in libuv */ + '[[A': 'f1', + '[[B': 'f2', + '[[C': 'f3', + '[[D': 'f4', + '[[E': 'f5', + /* common */ + '[15~': 'f5', + '[17~': 'f6', + '[18~': 'f7', + '[19~': 'f8', + '[20~': 'f9', + '[21~': 'f10', + '[23~': 'f11', + '[24~': 'f12', + /* xterm ESC [ letter */ + '[A': 'up', + '[B': 'down', + '[C': 'right', + '[D': 'left', + '[E': 'clear', + '[F': 'end', + '[H': 'home', + /* xterm/gnome ESC O letter */ + 'OA': 'up', + 'OB': 'down', + 'OC': 'right', + 'OD': 'left', + 'OE': 'clear', + 'OF': 'end', + 'OH': 'home', + /* xterm/rxvt ESC [ number ~ */ + '[1~': 'home', + '[2~': 'insert', + '[3~': 'delete', + '[4~': 'end', + '[5~': 'pageup', + '[6~': 'pagedown', + /* putty */ + '[[5~': 'pageup', + '[[6~': 'pagedown', + /* rxvt */ + '[7~': 'home', + '[8~': 'end', + /* rxvt keys with modifiers */ + '[a': 'up', + '[b': 'down', + '[c': 'right', + '[d': 'left', + '[e': 'clear', + + '[2$': 'insert', + '[3$': 'delete', + '[5$': 'pageup', + '[6$': 'pagedown', + '[7$': 'home', + '[8$': 'end', + + 'Oa': 'up', + 'Ob': 'down', + 'Oc': 'right', + 'Od': 'left', + 'Oe': 'clear', + + '[2^': 'insert', + '[3^': 'delete', + '[5^': 'pageup', + '[6^': 'pagedown', + '[7^': 'home', + '[8^': 'end', + /* misc. */ + '[Z': 'tab', +} + +function isShiftKey(code) { + return ['[a', '[b', '[c', '[d', '[e', '[2$', '[3$', '[5$', '[6$', '[7$', '[8$', '[Z'].includes(code) +} + +function isCtrlKey(code) { + return [ 'Oa', 'Ob', 'Oc', 'Od', 'Oe', '[2^', '[3^', '[5^', '[6^', '[7^', '[8^'].includes(code) +} + +const keypress = (s = '', event = {}) => { + let parts; + let key = { + name: event.name, + ctrl: false, + meta: false, + shift: false, + option: false, + sequence: s, + raw: s, + ...event + }; + + if (Buffer.isBuffer(s)) { + if (s[0] > 127 && s[1] === void 0) { + s[0] -= 128; + s = '\x1b' + String(s); + } else { + s = String(s); + } + } else if (s !== void 0 && typeof s !== 'string') { + s = String(s); + } else if (!s) { + s = key.sequence || ''; + } + + key.sequence = key.sequence || s || key.name; + + if (s === '\r') { + // carriage return + key.raw = void 0; + key.name = 'return'; + } else if (s === '\n') { + // enter, should have been called linefeed + key.name = 'enter'; + } else if (s === '\t') { + // tab + key.name = 'tab'; + } else if (s === '\b' || s === '\x7f' || s === '\x1b\x7f' || s === '\x1b\b') { + // backspace or ctrl+h + key.name = 'backspace'; + key.meta = s.charAt(0) === '\x1b'; + } else if (s === '\x1b' || s === '\x1b\x1b') { + // escape key + key.name = 'escape'; + key.meta = s.length === 2; + } else if (s === ' ' || s === '\x1b ') { + key.name = 'space'; + key.meta = s.length === 2; + } else if (s <= '\x1a') { + // ctrl+letter + key.name = String.fromCharCode(s.charCodeAt(0) + 'a'.charCodeAt(0) - 1); + key.ctrl = true; + } else if (s.length === 1 && s >= '0' && s <= '9') { + // number + key.name = 'number'; + } else if (s.length === 1 && s >= 'a' && s <= 'z') { + // lowercase letter + key.name = s; + } else if (s.length === 1 && s >= 'A' && s <= 'Z') { + // shift+letter + key.name = s.toLowerCase(); + key.shift = true; + } else if ((parts = metaKeyCodeRe.exec(s))) { + // meta+character key + key.meta = true; + key.shift = /^[A-Z]$/.test(parts[1]); + } else if ((parts = fnKeyRe.exec(s))) { + let segs = [...s]; + + if (segs[0] === '\u001b' && segs[1] === '\u001b') { + key.option = true; + } + + // ansi escape sequence + // reassemble the key code leaving out leading \x1b's, + // the modifier key bitflag and any meaningless "1;" sequence + let code = [parts[1], parts[2], parts[4], parts[6]].filter(Boolean).join(''); + let modifier = (parts[3] || parts[5] || 1) - 1; + + // Parse the key modifier + key.ctrl = !!(modifier & 4); + key.meta = !!(modifier & 10); + key.shift = !!(modifier & 1); + key.code = code; + + key.name = keyName[code]; + key.shift = isShiftKey(code) || key.shift; + key.ctrl = isCtrlKey(code) || key.ctrl; + } + return key; +}; + +keypress.listen = (options = {}, onKeypress) => { + let { stdin } = options; + + if (!stdin || (stdin !== process.stdin && !stdin.isTTY)) { + throw new Error('Invalid stream passed'); + } + + let rl = readline.createInterface({ terminal: true, input: stdin }); + readline.emitKeypressEvents(stdin, rl); + + let on = (buf, key) => onKeypress(buf, keypress(buf, key), rl); + let isRaw = stdin.isRaw; + + if (stdin.isTTY) stdin.setRawMode(true); + stdin.on('keypress', on); + rl.resume(); + + let off = () => { + if (stdin.isTTY) stdin.setRawMode(isRaw); + stdin.removeListener('keypress', on); + rl.pause(); + rl.close(); + }; + + return off; +}; + +keypress.action = (buf, key, customActions) => { + let obj = { ...combos, ...customActions }; + if (key.ctrl) { + key.action = obj.ctrl[key.name]; + return key; + } + + if (key.option && obj.option) { + key.action = obj.option[key.name]; + return key; + } + + if (key.shift) { + key.action = obj.shift[key.name]; + return key; + } + + key.action = obj.keys[key.name]; + return key; +}; + +module.exports = keypress; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/placeholder.js b/tools/node_modules/eslint/node_modules/enquirer/lib/placeholder.js new file mode 100644 index 00000000000000..ae2af1cff90b6b --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/placeholder.js @@ -0,0 +1,63 @@ +'use strict'; + +const utils = require('./utils'); + +/** + * Render a placeholder value with cursor and styling based on the + * position of the cursor. + * + * @param {Object} `prompt` Prompt instance. + * @param {String} `input` Input string. + * @param {String} `initial` The initial user-provided value. + * @param {Number} `pos` Current cursor position. + * @param {Boolean} `showCursor` Render a simulated cursor using the inverse primary style. + * @return {String} Returns the styled placeholder string. + * @api public + */ + +module.exports = (prompt, options = {}) => { + prompt.cursorHide(); + + let { input = '', initial = '', pos, showCursor = true, color } = options; + let style = color || prompt.styles.placeholder; + let inverse = utils.inverse(prompt.styles.primary); + let blinker = str => inverse(prompt.styles.black(str)); + let output = input; + let char = ' '; + let reverse = blinker(char); + + if (prompt.blink && prompt.blink.off === true) { + blinker = str => str; + reverse = ''; + } + + if (showCursor && pos === 0 && initial === '' && input === '') { + return blinker(char); + } + + if (showCursor && pos === 0 && (input === initial || input === '')) { + return blinker(initial[0]) + style(initial.slice(1)); + } + + initial = utils.isPrimitive(initial) ? `${initial}` : ''; + input = utils.isPrimitive(input) ? `${input}` : ''; + + let placeholder = initial && initial.startsWith(input) && initial !== input; + let cursor = placeholder ? blinker(initial[input.length]) : reverse; + + if (pos !== input.length && showCursor === true) { + output = input.slice(0, pos) + blinker(input[pos]) + input.slice(pos + 1); + cursor = ''; + } + + if (showCursor === false) { + cursor = ''; + } + + if (placeholder) { + let raw = prompt.styles.unstyle(output + cursor); + return output + cursor + style(initial.slice(raw.length)); + } + + return output + cursor; +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompt.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompt.js new file mode 100644 index 00000000000000..65f7bdd1e960a8 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompt.js @@ -0,0 +1,485 @@ +'use strict'; + +const Events = require('events'); +const colors = require('ansi-colors'); +const keypress = require('./keypress'); +const timer = require('./timer'); +const State = require('./state'); +const theme = require('./theme'); +const utils = require('./utils'); +const ansi = require('./ansi'); + +/** + * Base class for creating a new Prompt. + * @param {Object} `options` Question object. + */ + +class Prompt extends Events { + constructor(options = {}) { + super(); + this.name = options.name; + this.type = options.type; + this.options = options; + theme(this); + timer(this); + this.state = new State(this); + this.initial = [options.initial, options.default].find(v => v != null); + this.stdout = options.stdout || process.stdout; + this.stdin = options.stdin || process.stdin; + this.scale = options.scale || 1; + this.term = this.options.term || process.env.TERM_PROGRAM; + this.margin = margin(this.options.margin); + this.setMaxListeners(0); + setOptions(this); + } + + async keypress(input, event = {}) { + this.keypressed = true; + let key = keypress.action(input, keypress(input, event), this.options.actions); + this.state.keypress = key; + this.emit('keypress', input, key); + this.emit('state', this.state.clone()); + let fn = this.options[key.action] || this[key.action] || this.dispatch; + if (typeof fn === 'function') { + return await fn.call(this, input, key); + } + this.alert(); + } + + alert() { + delete this.state.alert; + if (this.options.show === false) { + this.emit('alert'); + } else { + this.stdout.write(ansi.code.beep); + } + } + + cursorHide() { + this.stdout.write(ansi.cursor.hide()); + utils.onExit(() => this.cursorShow()); + } + + cursorShow() { + this.stdout.write(ansi.cursor.show()); + } + + write(str) { + if (!str) return; + if (this.stdout && this.state.show !== false) { + this.stdout.write(str); + } + this.state.buffer += str; + } + + clear(lines = 0) { + let buffer = this.state.buffer; + this.state.buffer = ''; + if ((!buffer && !lines) || this.options.show === false) return; + this.stdout.write(ansi.cursor.down(lines) + ansi.clear(buffer, this.width)); + } + + restore() { + if (this.state.closed || this.options.show === false) return; + + let { prompt, after, rest } = this.sections(); + let { cursor, initial = '', input = '', value = '' } = this; + + let size = this.state.size = rest.length; + let state = { after, cursor, initial, input, prompt, size, value }; + let codes = ansi.cursor.restore(state); + if (codes) { + this.stdout.write(codes); + } + } + + sections() { + let { buffer, input, prompt } = this.state; + prompt = colors.unstyle(prompt); + let buf = colors.unstyle(buffer); + let idx = buf.indexOf(prompt); + let header = buf.slice(0, idx); + let rest = buf.slice(idx); + let lines = rest.split('\n'); + let first = lines[0]; + let last = lines[lines.length - 1]; + let promptLine = prompt + (input ? ' ' + input : ''); + let len = promptLine.length; + let after = len < first.length ? first.slice(len + 1) : ''; + return { header, prompt: first, after, rest: lines.slice(1), last }; + } + + async submit() { + this.state.submitted = true; + this.state.validating = true; + + // this will only be called when the prompt is directly submitted + // without initializing, i.e. when the prompt is skipped, etc. Otherwize, + // "options.onSubmit" is will be handled by the "initialize()" method. + if (this.options.onSubmit) { + await this.options.onSubmit.call(this, this.name, this.value, this); + } + + let result = this.state.error || await this.validate(this.value, this.state); + if (result !== true) { + let error = '\n' + this.symbols.pointer + ' '; + + if (typeof result === 'string') { + error += result.trim(); + } else { + error += 'Invalid input'; + } + + this.state.error = '\n' + this.styles.danger(error); + this.state.submitted = false; + await this.render(); + await this.alert(); + this.state.validating = false; + this.state.error = void 0; + return; + } + + this.state.validating = false; + await this.render(); + await this.close(); + + this.value = await this.result(this.value); + this.emit('submit', this.value); + } + + async cancel(err) { + this.state.cancelled = this.state.submitted = true; + + await this.render(); + await this.close(); + + if (typeof this.options.onCancel === 'function') { + await this.options.onCancel.call(this, this.name, this.value, this); + } + + this.emit('cancel', await this.error(err)); + } + + async close() { + this.state.closed = true; + + try { + let sections = this.sections(); + let lines = Math.ceil(sections.prompt.length / this.width); + if (sections.rest) { + this.write(ansi.cursor.down(sections.rest.length)); + } + this.write('\n'.repeat(lines)); + } catch (err) { /* do nothing */ } + + this.emit('close'); + } + + start() { + if (!this.stop && this.options.show !== false) { + this.stop = keypress.listen(this, this.keypress.bind(this)); + this.once('close', this.stop); + } + } + + async skip() { + this.skipped = this.options.skip === true; + if (typeof this.options.skip === 'function') { + this.skipped = await this.options.skip.call(this, this.name, this.value); + } + return this.skipped; + } + + async initialize() { + let { format, options, result } = this; + + this.format = () => format.call(this, this.value); + this.result = () => result.call(this, this.value); + + if (typeof options.initial === 'function') { + this.initial = await options.initial.call(this, this); + } + + if (typeof options.onRun === 'function') { + await options.onRun.call(this, this); + } + + // if "options.onSubmit" is defined, we wrap the "submit" method to guarantee + // that "onSubmit" will always called first thing inside the submit + // method, regardless of how it's handled in inheriting prompts. + if (typeof options.onSubmit === 'function') { + let onSubmit = options.onSubmit.bind(this); + let submit = this.submit.bind(this); + delete this.options.onSubmit; + this.submit = async() => { + await onSubmit(this.name, this.value, this); + return submit(); + }; + } + + await this.start(); + await this.render(); + } + + render() { + throw new Error('expected prompt to have a custom render method'); + } + + run() { + return new Promise(async(resolve, reject) => { + this.once('submit', resolve); + this.once('cancel', reject); + if (await this.skip()) { + this.render = () => {}; + return this.submit(); + } + await this.initialize(); + this.emit('run'); + }); + } + + async element(name, choice, i) { + let { options, state, symbols, timers } = this; + let timer = timers && timers[name]; + state.timer = timer; + let value = options[name] || state[name] || symbols[name]; + let val = choice && choice[name] != null ? choice[name] : await value; + if (val === '') return val; + + let res = await this.resolve(val, state, choice, i); + if (!res && choice && choice[name]) { + return this.resolve(value, state, choice, i); + } + return res; + } + + async prefix() { + let element = await this.element('prefix') || this.symbols; + let timer = this.timers && this.timers.prefix; + let state = this.state; + state.timer = timer; + if (utils.isObject(element)) element = element[state.status] || element.pending; + if (!utils.hasColor(element)) { + let style = this.styles[state.status] || this.styles.pending; + return style(element); + } + return element; + } + + async message() { + let message = await this.element('message'); + if (!utils.hasColor(message)) { + return this.styles.strong(message); + } + return message; + } + + async separator() { + let element = await this.element('separator') || this.symbols; + let timer = this.timers && this.timers.separator; + let state = this.state; + state.timer = timer; + let value = element[state.status] || element.pending || state.separator; + let ele = await this.resolve(value, state); + if (utils.isObject(ele)) ele = ele[state.status] || ele.pending; + if (!utils.hasColor(ele)) { + return this.styles.muted(ele); + } + return ele; + } + + async pointer(choice, i) { + let val = await this.element('pointer', choice, i); + + if (typeof val === 'string' && utils.hasColor(val)) { + return val; + } + + if (val) { + let styles = this.styles; + let focused = this.index === i; + let style = focused ? styles.primary : val => val; + let ele = await this.resolve(val[focused ? 'on' : 'off'] || val, this.state); + let styled = !utils.hasColor(ele) ? style(ele) : ele; + return focused ? styled : ' '.repeat(ele.length); + } + } + + async indicator(choice, i) { + let val = await this.element('indicator', choice, i); + if (typeof val === 'string' && utils.hasColor(val)) { + return val; + } + if (val) { + let styles = this.styles; + let enabled = choice.enabled === true; + let style = enabled ? styles.success : styles.dark; + let ele = val[enabled ? 'on' : 'off'] || val; + return !utils.hasColor(ele) ? style(ele) : ele; + } + return ''; + } + + body() { + return null; + } + + footer() { + if (this.state.status === 'pending') { + return this.element('footer'); + } + } + + header() { + if (this.state.status === 'pending') { + return this.element('header'); + } + } + + async hint() { + if (this.state.status === 'pending' && !this.isValue(this.state.input)) { + let hint = await this.element('hint'); + if (!utils.hasColor(hint)) { + return this.styles.muted(hint); + } + return hint; + } + } + + error(err) { + return !this.state.submitted ? (err || this.state.error) : ''; + } + + format(value) { + return value; + } + + result(value) { + return value; + } + + validate(value) { + if (this.options.required === true) { + return this.isValue(value); + } + return true; + } + + isValue(value) { + return value != null && value !== ''; + } + + resolve(value, ...args) { + return utils.resolve(this, value, ...args); + } + + get base() { + return Prompt.prototype; + } + + get style() { + return this.styles[this.state.status]; + } + + get height() { + return this.options.rows || utils.height(this.stdout, 25); + } + get width() { + return this.options.columns || utils.width(this.stdout, 80); + } + get size() { + return { width: this.width, height: this.height }; + } + + set cursor(value) { + this.state.cursor = value; + } + get cursor() { + return this.state.cursor; + } + + set input(value) { + this.state.input = value; + } + get input() { + return this.state.input; + } + + set value(value) { + this.state.value = value; + } + get value() { + let { input, value } = this.state; + let result = [value, input].find(this.isValue.bind(this)); + return this.isValue(result) ? result : this.initial; + } + + static get prompt() { + return options => new this(options).run(); + } +} + +function setOptions(prompt) { + let isValidKey = key => { + return prompt[key] === void 0 || typeof prompt[key] === 'function'; + }; + + let ignore = [ + 'actions', + 'choices', + 'initial', + 'margin', + 'roles', + 'styles', + 'symbols', + 'theme', + 'timers', + 'value' + ]; + + let ignoreFn = [ + 'body', + 'footer', + 'error', + 'header', + 'hint', + 'indicator', + 'message', + 'prefix', + 'separator', + 'skip' + ]; + + for (let key of Object.keys(prompt.options)) { + if (ignore.includes(key)) continue; + if (/^on[A-Z]/.test(key)) continue; + let option = prompt.options[key]; + if (typeof option === 'function' && isValidKey(key)) { + if (!ignoreFn.includes(key)) { + prompt[key] = option.bind(prompt); + } + } else if (typeof prompt[key] !== 'function') { + prompt[key] = option; + } + } +} + +function margin(value) { + if (typeof value === 'number') { + value = [value, value, value, value]; + } + let arr = [].concat(value || []); + let pad = i => i % 2 === 0 ? '\n' : ' '; + let res = []; + for (let i = 0; i < 4; i++) { + let char = pad(i); + if (arr[i]) { + res.push(char.repeat(arr[i])); + } else { + res.push(''); + } + } + return res; +} + +module.exports = Prompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/autocomplete.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/autocomplete.js new file mode 100644 index 00000000000000..daa4a16af6ad07 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/autocomplete.js @@ -0,0 +1,113 @@ +'use strict'; + +const Select = require('./select'); + +const highlight = (input, color) => { + let val = input.toLowerCase(); + return str => { + let s = str.toLowerCase(); + let i = s.indexOf(val); + let colored = color(str.slice(i, i + val.length)); + return i >= 0 ? str.slice(0, i) + colored + str.slice(i + val.length) : str; + }; +}; + +class AutoComplete extends Select { + constructor(options) { + super(options); + this.cursorShow(); + } + + moveCursor(n) { + this.state.cursor += n; + } + + dispatch(ch) { + return this.append(ch); + } + + space(ch) { + return this.options.multiple ? super.space(ch) : this.append(ch); + } + + append(ch) { + let { cursor, input } = this.state; + this.input = input.slice(0, cursor) + ch + input.slice(cursor); + this.moveCursor(1); + return this.complete(); + } + + delete() { + let { cursor, input } = this.state; + if (!input) return this.alert(); + this.input = input.slice(0, cursor - 1) + input.slice(cursor); + this.moveCursor(-1); + return this.complete(); + } + + deleteForward() { + let { cursor, input } = this.state; + if (input[cursor] === void 0) return this.alert(); + this.input = `${input}`.slice(0, cursor) + `${input}`.slice(cursor + 1); + return this.complete(); + } + + number(ch) { + return this.append(ch); + } + + async complete() { + this.completing = true; + this.choices = await this.suggest(this.input, this.state._choices); + this.state.limit = void 0; // allow getter/setter to reset limit + this.index = Math.min(Math.max(this.visible.length - 1, 0), this.index); + await this.render(); + this.completing = false; + } + + suggest(input = this.input, choices = this.state._choices) { + if (typeof this.options.suggest === 'function') { + return this.options.suggest.call(this, input, choices); + } + let str = input.toLowerCase(); + return choices.filter(ch => ch.message.toLowerCase().includes(str)); + } + + pointer() { + return ''; + } + + format() { + if (!this.focused) return this.input; + if (this.options.multiple && this.state.submitted) { + return this.selected.map(ch => this.styles.primary(ch.message)).join(', '); + } + if (this.state.submitted) { + let value = this.value = this.input = this.focused.value; + return this.styles.primary(value); + } + return this.input; + } + + async render() { + if (this.state.status !== 'pending') return super.render(); + let style = this.options.highlight + ? this.options.highlight.bind(this) + : this.styles.placeholder; + + let color = highlight(this.input, style); + let choices = this.choices; + this.choices = choices.map(ch => ({ ...ch, message: color(ch.message) })); + await super.render(); + this.choices = choices; + } + + submit() { + if (this.options.multiple) { + this.value = this.selected.map(ch => ch.name); + } + return super.submit(); + } +} + +module.exports = AutoComplete; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/basicauth.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/basicauth.js new file mode 100644 index 00000000000000..54c5ea77b7f5d3 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/basicauth.js @@ -0,0 +1,41 @@ +'use strict'; + +const AuthPrompt = require('../types/auth'); + +function defaultAuthenticate(value, state) { + if (value.username === this.options.username && value.password === this.options.password) { + return true; + } + return false; +} + +const factory = (authenticate = defaultAuthenticate) => { + const choices = [ + { name: 'username', message: 'username' }, + { + name: 'password', + message: 'password', + format(input) { + if (this.options.showPassword) { + return input; + } + let color = this.state.submitted ? this.styles.primary : this.styles.muted; + return color(this.symbols.asterisk.repeat(input.length)); + } + } + ]; + + class BasicAuthPrompt extends AuthPrompt.create(authenticate) { + constructor(options) { + super({ ...options, choices }); + } + + static create(authenticate) { + return factory(authenticate); + } + } + + return BasicAuthPrompt; +}; + +module.exports = factory(); diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/confirm.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/confirm.js new file mode 100644 index 00000000000000..61eae7ad9d607c --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/confirm.js @@ -0,0 +1,13 @@ +'use strict'; + +const BooleanPrompt = require('../types/boolean'); + +class ConfirmPrompt extends BooleanPrompt { + constructor(options) { + super(options); + this.default = this.options.default || (this.initial ? '(Y/n)' : '(y/N)'); + } +} + +module.exports = ConfirmPrompt; + diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/editable.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/editable.js new file mode 100644 index 00000000000000..042e4c9d011e3e --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/editable.js @@ -0,0 +1,136 @@ +'use strict'; + +const Select = require('./select'); +const Form = require('./form'); +const form = Form.prototype; + +class Editable extends Select { + constructor(options) { + super({ ...options, multiple: true }); + this.align = [this.options.align, 'left'].find(v => v != null); + this.emptyError = ''; + this.values = {}; + } + + dispatch(char, key) { + let choice = this.focused; + let parent = choice.parent || {}; + if (!choice.editable && !parent.editable) { + if (char === 'a' || char === 'i') return super[char](); + } + return form.dispatch.call(this, char, key); + } + + append(char, key) { + return form.append.call(this, char, key); + } + + delete(char, key) { + return form.delete.call(this, char, key); + } + + space(char) { + return this.focused.editable ? this.append(char) : super.space(); + } + + number(char) { + return this.focused.editable ? this.append(char) : super.number(char); + } + + next() { + return this.focused.editable ? form.next.call(this) : super.next(); + } + + prev() { + return this.focused.editable ? form.prev.call(this) : super.prev(); + } + + async indicator(choice, i) { + let symbol = choice.indicator || ''; + let value = choice.editable ? symbol : super.indicator(choice, i); + return await this.resolve(value, this.state, choice, i) || ''; + } + + indent(choice) { + return choice.role === 'heading' ? '' : (choice.editable ? ' ' : ' '); + } + + async renderChoice(choice, i) { + choice.indent = ''; + if (choice.editable) return form.renderChoice.call(this, choice, i); + return super.renderChoice(choice, i); + } + + error() { + return ''; + } + + footer() { + return this.state.error; + } + + async validate() { + let result = true; + + for (let choice of this.choices) { + if (typeof choice.validate !== 'function') { + continue; + } + + if (choice.role === 'heading') { + continue; + } + + let val = choice.parent ? this.value[choice.parent.name] : this.value; + + if (choice.editable) { + val = choice.value === choice.name ? choice.initial || '' : choice.value; + } else if (!this.isDisabled(choice)) { + val = choice.enabled === true; + } + + result = await choice.validate(val, this.state); + + if (result !== true) { + break; + } + } + + if (result !== true) { + this.state.error = typeof result === 'string' ? result : 'Invalid Input'; + } + + return result; + } + + submit() { + if (this.focused.newChoice === true) return super.submit(); + if (this.choices.some(ch => ch.newChoice)) { + return this.alert(); + } + + this.value = {}; + + for (let choice of this.choices) { + let val = choice.parent ? this.value[choice.parent.name] : this.value; + + if (choice.role === 'heading') { + this.value[choice.name] = {}; + continue; + } + + if (choice.editable) { + val[choice.name] = choice.value === choice.name + ? (choice.initial || '') + : choice.value; + + } else if (!this.isDisabled(choice)) { + val[choice.name] = choice.enabled === true; + } + } + + return this.base.submit.call(this); + } +} + +module.exports = Editable; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/form.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/form.js new file mode 100644 index 00000000000000..aad4c6c6f380ae --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/form.js @@ -0,0 +1,196 @@ +'use strict'; + +const colors = require('ansi-colors'); +const SelectPrompt = require('./select'); +const placeholder = require('../placeholder'); + +class FormPrompt extends SelectPrompt { + constructor(options) { + super({ ...options, multiple: true }); + this.type = 'form'; + this.initial = this.options.initial; + this.align = [this.options.align, 'right'].find(v => v != null); + this.emptyError = ''; + this.values = {}; + } + + async reset(first) { + await super.reset(); + if (first === true) this._index = this.index; + this.index = this._index; + this.values = {}; + this.choices.forEach(choice => choice.reset && choice.reset()); + return this.render(); + } + + dispatch(char) { + return !!char && this.append(char); + } + + append(char) { + let choice = this.focused; + if (!choice) return this.alert(); + let { cursor, input } = choice; + choice.value = choice.input = input.slice(0, cursor) + char + input.slice(cursor); + choice.cursor++; + return this.render(); + } + + delete() { + let choice = this.focused; + if (!choice || choice.cursor <= 0) return this.alert(); + let { cursor, input } = choice; + choice.value = choice.input = input.slice(0, cursor - 1) + input.slice(cursor); + choice.cursor--; + return this.render(); + } + + deleteForward() { + let choice = this.focused; + if (!choice) return this.alert(); + let { cursor, input } = choice; + if (input[cursor] === void 0) return this.alert(); + let str = `${input}`.slice(0, cursor) + `${input}`.slice(cursor + 1); + choice.value = choice.input = str; + return this.render(); + } + + right() { + let choice = this.focused; + if (!choice) return this.alert(); + if (choice.cursor >= choice.input.length) return this.alert(); + choice.cursor++; + return this.render(); + } + + left() { + let choice = this.focused; + if (!choice) return this.alert(); + if (choice.cursor <= 0) return this.alert(); + choice.cursor--; + return this.render(); + } + + space(ch, key) { + return this.dispatch(ch, key); + } + + number(ch, key) { + return this.dispatch(ch, key); + } + + next() { + let ch = this.focused; + if (!ch) return this.alert(); + let { initial, input } = ch; + if (initial && initial.startsWith(input) && input !== initial) { + ch.value = ch.input = initial; + ch.cursor = ch.value.length; + return this.render(); + } + return super.next(); + } + + prev() { + let ch = this.focused; + if (!ch) return this.alert(); + if (ch.cursor === 0) return super.prev(); + ch.value = ch.input = ''; + ch.cursor = 0; + return this.render(); + } + + separator() { + return ''; + } + + format(value) { + return !this.state.submitted ? super.format(value) : ''; + } + + pointer() { + return ''; + } + + indicator(choice) { + return choice.input ? '⦿' : '⊙'; + } + + async choiceSeparator(choice, i) { + let sep = await this.resolve(choice.separator, this.state, choice, i) || ':'; + return sep ? ' ' + this.styles.disabled(sep) : ''; + } + + async renderChoice(choice, i) { + await this.onChoice(choice, i); + + let { state, styles } = this; + let { cursor, initial = '', name, hint, input = '' } = choice; + let { muted, submitted, primary, danger } = styles; + + let help = hint; + let focused = this.index === i; + let validate = choice.validate || (() => true); + let sep = await this.choiceSeparator(choice, i); + let msg = choice.message; + + if (this.align === 'right') msg = msg.padStart(this.longest + 1, ' '); + if (this.align === 'left') msg = msg.padEnd(this.longest + 1, ' '); + + // re-populate the form values (answers) object + let value = this.values[name] = (input || initial); + let color = input ? 'success' : 'dark'; + + if ((await validate.call(choice, value, this.state)) !== true) { + color = 'danger'; + } + + let style = styles[color]; + let indicator = style(await this.indicator(choice, i)) + (choice.pad || ''); + + let indent = this.indent(choice); + let line = () => [indent, indicator, msg + sep, input, help].filter(Boolean).join(' '); + + if (state.submitted) { + msg = colors.unstyle(msg); + input = submitted(input); + help = ''; + return line(); + } + + if (choice.format) { + input = await choice.format.call(this, input, choice, i); + } else { + let color = this.styles.muted; + let options = { input, initial, pos: cursor, showCursor: focused, color }; + input = placeholder(this, options); + } + + if (!this.isValue(input)) { + input = this.styles.muted(this.symbols.ellipsis); + } + + if (choice.result) { + this.values[name] = await choice.result.call(this, value, choice, i); + } + + if (focused) { + msg = primary(msg); + } + + if (choice.error) { + input += (input ? ' ' : '') + danger(choice.error.trim()); + } else if (choice.hint) { + input += (input ? ' ' : '') + muted(choice.hint.trim()); + } + + return line(); + } + + async submit() { + this.value = this.values; + return super.base.submit.call(this); + } +} + +module.exports = FormPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/index.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/index.js new file mode 100644 index 00000000000000..a82fbfb4a4aee6 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/index.js @@ -0,0 +1,28 @@ +'use strict'; + +const utils = require('../utils'); + +const define = (key, fn) => { + utils.defineExport(exports, key, fn); + utils.defineExport(exports, key.toLowerCase(), fn); +}; + +define('AutoComplete', () => require('./autocomplete')); +define('BasicAuth', () => require('./basicauth')); +define('Confirm', () => require('./confirm')); +define('Editable', () => require('./editable')); +define('Form', () => require('./form')); +define('Input', () => require('./input')); +define('Invisible', () => require('./invisible')); +define('List', () => require('./list')); +define('MultiSelect', () => require('./multiselect')); +define('Numeral', () => require('./numeral')); +define('Password', () => require('./password')); +define('Scale', () => require('./scale')); +define('Select', () => require('./select')); +define('Snippet', () => require('./snippet')); +define('Sort', () => require('./sort')); +define('Survey', () => require('./survey')); +define('Text', () => require('./text')); +define('Toggle', () => require('./toggle')); +define('Quiz', () => require('./quiz')); diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/input.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/input.js new file mode 100644 index 00000000000000..80ba193b424ed0 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/input.js @@ -0,0 +1,55 @@ +'use strict'; + +const Prompt = require('../types/string'); +const completer = require('../completer'); + +class Input extends Prompt { + constructor(options) { + super(options); + let history = this.options.history; + if (history && history.store) { + let initial = history.values || this.initial; + this.autosave = !!history.autosave; + this.store = history.store; + this.data = this.store.get('values') || { past: [], present: initial }; + this.initial = this.data.present || this.data.past[this.data.past.length - 1]; + } + } + + completion(action) { + if (!this.store) return this.alert(); + this.data = completer(action, this.data, this.input); + if (!this.data.present) return this.alert(); + this.input = this.data.present; + this.cursor = this.input.length; + return this.render(); + } + + altUp() { + return this.completion('prev'); + } + + altDown() { + return this.completion('next'); + } + + prev() { + this.save(); + return super.prev(); + } + + save() { + if (!this.store) return; + this.data = completer('save', this.data, this.input); + this.store.set('values', this.data); + } + + submit() { + if (this.store && this.autosave === true) { + this.save(); + } + return super.submit(); + } +} + +module.exports = Input; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/invisible.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/invisible.js new file mode 100644 index 00000000000000..548106243e9d75 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/invisible.js @@ -0,0 +1,11 @@ +'use strict'; + +const StringPrompt = require('../types/string'); + +class InvisiblePrompt extends StringPrompt { + format() { + return ''; + } +} + +module.exports = InvisiblePrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/list.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/list.js new file mode 100644 index 00000000000000..7657c7fffd4eda --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/list.js @@ -0,0 +1,36 @@ +'use strict'; + +const StringPrompt = require('../types/string'); + +class ListPrompt extends StringPrompt { + constructor(options = {}) { + super(options); + this.sep = this.options.separator || /, */; + this.initial = options.initial || ''; + } + + split(input = this.value) { + return input ? String(input).split(this.sep) : []; + } + + format() { + let style = this.state.submitted ? this.styles.primary : val => val; + return this.list.map(style).join(', '); + } + + async submit(value) { + let result = this.state.error || await this.validate(this.list, this.state); + if (result !== true) { + this.state.error = result; + return super.submit(); + } + this.value = this.list; + return super.submit(); + } + + get list() { + return this.split(); + } +} + +module.exports = ListPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/multiselect.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/multiselect.js new file mode 100644 index 00000000000000..f64fcd58242784 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/multiselect.js @@ -0,0 +1,11 @@ +'use strict'; + +const Select = require('./select'); + +class MultiSelect extends Select { + constructor(options) { + super({ ...options, multiple: true }); + } +} + +module.exports = MultiSelect; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/numeral.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/numeral.js new file mode 100644 index 00000000000000..2a81fdd26dfaf2 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/numeral.js @@ -0,0 +1 @@ +module.exports = require('../types/number'); diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/password.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/password.js new file mode 100644 index 00000000000000..46df22d286f22d --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/password.js @@ -0,0 +1,18 @@ +'use strict'; + +const StringPrompt = require('../types/string'); + +class PasswordPrompt extends StringPrompt { + constructor(options) { + super(options); + this.cursorShow(); + } + + format(input = this.input) { + if (!this.keypressed) return ''; + let color = this.state.submitted ? this.styles.primary : this.styles.muted; + return color(this.symbols.asterisk.repeat(input.length)); + } +} + +module.exports = PasswordPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/quiz.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/quiz.js new file mode 100644 index 00000000000000..2be455184b9f87 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/quiz.js @@ -0,0 +1,37 @@ +'use strict'; + +const SelectPrompt = require('./select'); + +class Quiz extends SelectPrompt { + constructor(options) { + super(options); + if (typeof this.options.correctChoice !== 'number' || this.options.correctChoice < 0) { + throw new Error('Please specify the index of the correct answer from the list of choices'); + } + } + + async toChoices(value, parent) { + let choices = await super.toChoices(value, parent); + if (choices.length < 2) { + throw new Error('Please give at least two choices to the user'); + } + if (this.options.correctChoice > choices.length) { + throw new Error('Please specify the index of the correct answer from the list of choices'); + } + return choices; + } + + check(state) { + return state.index === this.options.correctChoice; + } + + async result(selected) { + return { + selectedAnswer: selected, + correctAnswer: this.options.choices[this.options.correctChoice].value, + correct: await this.check(this.state) + }; + } +} + +module.exports = Quiz; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/scale.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/scale.js new file mode 100644 index 00000000000000..29d682964b6972 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/scale.js @@ -0,0 +1,237 @@ +'use strict'; + +const colors = require('ansi-colors'); +const ArrayPrompt = require('../types/array'); +const utils = require('../utils'); + +class LikertScale extends ArrayPrompt { + constructor(options = {}) { + super(options); + this.widths = [].concat(options.messageWidth || 50); + this.align = [].concat(options.align || 'left'); + this.linebreak = options.linebreak || false; + this.edgeLength = options.edgeLength || 3; + this.newline = options.newline || '\n '; + let start = options.startNumber || 1; + if (typeof this.scale === 'number') { + this.scaleKey = false; + this.scale = Array(this.scale).fill(0).map((v, i) => ({ name: i + start })); + } + } + + async reset() { + this.tableized = false; + await super.reset(); + return this.render(); + } + + tableize() { + if (this.tableized === true) return; + this.tableized = true; + let longest = 0; + + for (let ch of this.choices) { + longest = Math.max(longest, ch.message.length); + ch.scaleIndex = ch.initial || 2; + ch.scale = []; + + for (let i = 0; i < this.scale.length; i++) { + ch.scale.push({ index: i }); + } + } + this.widths[0] = Math.min(this.widths[0], longest + 3); + } + + async dispatch(s, key) { + if (this.multiple) { + return this[key.name] ? await this[key.name](s, key) : await super.dispatch(s, key); + } + this.alert(); + } + + heading(msg, item, i) { + return this.styles.strong(msg); + } + + separator() { + return this.styles.muted(this.symbols.ellipsis); + } + + right() { + let choice = this.focused; + if (choice.scaleIndex >= this.scale.length - 1) return this.alert(); + choice.scaleIndex++; + return this.render(); + } + + left() { + let choice = this.focused; + if (choice.scaleIndex <= 0) return this.alert(); + choice.scaleIndex--; + return this.render(); + } + + indent() { + return ''; + } + + format() { + if (this.state.submitted) { + let values = this.choices.map(ch => this.styles.info(ch.index)); + return values.join(', '); + } + return ''; + } + + pointer() { + return ''; + } + + /** + * Render the scale "Key". Something like: + * @return {String} + */ + + renderScaleKey() { + if (this.scaleKey === false) return ''; + if (this.state.submitted) return ''; + let scale = this.scale.map(item => ` ${item.name} - ${item.message}`); + let key = ['', ...scale].map(item => this.styles.muted(item)); + return key.join('\n'); + } + + /** + * Render the heading row for the scale. + * @return {String} + */ + + renderScaleHeading(max) { + let keys = this.scale.map(ele => ele.name); + if (typeof this.options.renderScaleHeading === 'function') { + keys = this.options.renderScaleHeading.call(this, max); + } + let diff = this.scaleLength - keys.join('').length; + let spacing = Math.round(diff / (keys.length - 1)); + let names = keys.map(key => this.styles.strong(key)); + let headings = names.join(' '.repeat(spacing)); + let padding = ' '.repeat(this.widths[0]); + return this.margin[3] + padding + this.margin[1] + headings; + } + + /** + * Render a scale indicator => ◯ or ◉ by default + */ + + scaleIndicator(choice, item, i) { + if (typeof this.options.scaleIndicator === 'function') { + return this.options.scaleIndicator.call(this, choice, item, i); + } + let enabled = choice.scaleIndex === item.index; + if (item.disabled) return this.styles.hint(this.symbols.radio.disabled); + if (enabled) return this.styles.success(this.symbols.radio.on); + return this.symbols.radio.off; + } + + /** + * Render the actual scale => ◯────◯────◉────◯────◯ + */ + + renderScale(choice, i) { + let scale = choice.scale.map(item => this.scaleIndicator(choice, item, i)); + let padding = this.term === 'Hyper' ? '' : ' '; + return scale.join(padding + this.symbols.line.repeat(this.edgeLength)); + } + + /** + * Render a choice, including scale => + * "The website is easy to navigate. ◯───◯───◉───◯───◯" + */ + + async renderChoice(choice, i) { + await this.onChoice(choice, i); + + let focused = this.index === i; + let pointer = await this.pointer(choice, i); + let hint = await choice.hint; + + if (hint && !utils.hasColor(hint)) { + hint = this.styles.muted(hint); + } + + let pad = str => this.margin[3] + str.replace(/\s+$/, '').padEnd(this.widths[0], ' '); + let newline = this.newline; + let ind = this.indent(choice); + let message = await this.resolve(choice.message, this.state, choice, i); + let scale = await this.renderScale(choice, i); + let margin = this.margin[1] + this.margin[3]; + this.scaleLength = colors.unstyle(scale).length; + this.widths[0] = Math.min(this.widths[0], this.width - this.scaleLength - margin.length); + let msg = utils.wordWrap(message, { width: this.widths[0], newline }); + let lines = msg.split('\n').map(line => pad(line) + this.margin[1]); + + if (focused) { + scale = this.styles.info(scale); + lines = lines.map(line => this.styles.info(line)); + } + + lines[0] += scale; + + if (this.linebreak) lines.push(''); + return [ind + pointer, lines.join('\n')].filter(Boolean); + } + + async renderChoices() { + if (this.state.submitted) return ''; + this.tableize(); + let choices = this.visible.map(async(ch, i) => await this.renderChoice(ch, i)); + let visible = await Promise.all(choices); + let heading = await this.renderScaleHeading(); + return this.margin[0] + [heading, ...visible.map(v => v.join(' '))].join('\n'); + } + + async render() { + let { submitted, size } = this.state; + + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + let prompt = ''; + if (this.options.promptLine !== false) { + prompt = [prefix, message, separator, ''].join(' '); + this.state.prompt = prompt; + } + + let header = await this.header(); + let output = await this.format(); + let key = await this.renderScaleKey(); + let help = await this.error() || await this.hint(); + let body = await this.renderChoices(); + let footer = await this.footer(); + let err = this.emptyError; + + if (output) prompt += output; + if (help && !prompt.includes(help)) prompt += ' ' + help; + + if (submitted && !output && !body.trim() && this.multiple && err != null) { + prompt += this.styles.danger(err); + } + + this.clear(size); + this.write([header, prompt, key, body, footer].filter(Boolean).join('\n')); + if (!this.state.submitted) { + this.write(this.margin[2]); + } + this.restore(); + } + + submit() { + this.value = {}; + for (let choice of this.choices) { + this.value[choice.name] = choice.scaleIndex; + } + return this.base.submit.call(this); + } +} + +module.exports = LikertScale; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/select.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/select.js new file mode 100644 index 00000000000000..5d3ad3703ed970 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/select.js @@ -0,0 +1,139 @@ +'use strict'; + +const ArrayPrompt = require('../types/array'); +const utils = require('../utils'); + +class SelectPrompt extends ArrayPrompt { + constructor(options) { + super(options); + this.emptyError = this.options.emptyError || 'No items were selected'; + } + + async dispatch(s, key) { + if (this.multiple) { + return this[key.name] ? await this[key.name](s, key) : await super.dispatch(s, key); + } + this.alert(); + } + + separator() { + if (this.options.separator) return super.separator(); + let sep = this.styles.muted(this.symbols.ellipsis); + return this.state.submitted ? super.separator() : sep; + } + + pointer(choice, i) { + return (!this.multiple || this.options.pointer) ? super.pointer(choice, i) : ''; + } + + indicator(choice, i) { + return this.multiple ? super.indicator(choice, i) : ''; + } + + choiceMessage(choice, i) { + let message = this.resolve(choice.message, this.state, choice, i); + if (choice.role === 'heading' && !utils.hasColor(message)) { + message = this.styles.strong(message); + } + return this.resolve(message, this.state, choice, i); + } + + choiceSeparator() { + return ':'; + } + + async renderChoice(choice, i) { + await this.onChoice(choice, i); + + let focused = this.index === i; + let pointer = await this.pointer(choice, i); + let check = await this.indicator(choice, i) + (choice.pad || ''); + let hint = await this.resolve(choice.hint, this.state, choice, i); + + if (hint && !utils.hasColor(hint)) { + hint = this.styles.muted(hint); + } + + let ind = this.indent(choice); + let msg = await this.choiceMessage(choice, i); + let line = () => [this.margin[3], ind + pointer + check, msg, this.margin[1], hint].filter(Boolean).join(' '); + + if (choice.role === 'heading') { + return line(); + } + + if (choice.disabled) { + if (!utils.hasColor(msg)) { + msg = this.styles.disabled(msg); + } + return line(); + } + + if (focused) { + msg = this.styles.em(msg); + } + + return line(); + } + + async renderChoices() { + if (this.state.loading === 'choices') { + return this.styles.warning('Loading choices'); + } + + if (this.state.submitted) return ''; + let choices = this.visible.map(async(ch, i) => await this.renderChoice(ch, i)); + let visible = await Promise.all(choices); + if (!visible.length) visible.push(this.styles.danger('No matching choices')); + let result = this.margin[0] + visible.join('\n'); + let header; + + if (this.options.choicesHeader) { + header = await this.resolve(this.options.choicesHeader, this.state); + } + + return [header, result].filter(Boolean).join('\n'); + } + + format() { + if (!this.state.submitted || this.state.cancelled) return ''; + if (Array.isArray(this.selected)) { + return this.selected.map(choice => this.styles.primary(choice.name)).join(', '); + } + return this.styles.primary(this.selected.name); + } + + async render() { + let { submitted, size } = this.state; + + let prompt = ''; + let header = await this.header(); + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + if (this.options.promptLine !== false) { + prompt = [prefix, message, separator, ''].join(' '); + this.state.prompt = prompt; + } + + let output = await this.format(); + let help = (await this.error()) || (await this.hint()); + let body = await this.renderChoices(); + let footer = await this.footer(); + + if (output) prompt += output; + if (help && !prompt.includes(help)) prompt += ' ' + help; + + if (submitted && !output && !body.trim() && this.multiple && this.emptyError != null) { + prompt += this.styles.danger(this.emptyError); + } + + this.clear(size); + this.write([header, prompt, body, footer].filter(Boolean).join('\n')); + this.write(this.margin[2]); + this.restore(); + } +} + +module.exports = SelectPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/snippet.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/snippet.js new file mode 100644 index 00000000000000..eec6cc3ab562fa --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/snippet.js @@ -0,0 +1,185 @@ +'use strict'; + +const colors = require('ansi-colors'); +const interpolate = require('../interpolate'); +const Prompt = require('../prompt'); + +class SnippetPrompt extends Prompt { + constructor(options) { + super(options); + this.cursorHide(); + this.reset(true); + } + + async initialize() { + this.interpolate = await interpolate(this); + await super.initialize(); + } + + async reset(first) { + this.state.keys = []; + this.state.invalid = new Map(); + this.state.missing = new Set(); + this.state.completed = 0; + this.state.values = {}; + + if (first !== true) { + await this.initialize(); + await this.render(); + } + } + + moveCursor(n) { + let item = this.getItem(); + this.cursor += n; + item.cursor += n; + } + + dispatch(ch, key) { + if (!key.code && !key.ctrl && ch != null && this.getItem()) { + this.append(ch, key); + return; + } + this.alert(); + } + + append(ch, key) { + let item = this.getItem(); + let prefix = item.input.slice(0, this.cursor); + let suffix = item.input.slice(this.cursor); + this.input = item.input = `${prefix}${ch}${suffix}`; + this.moveCursor(1); + this.render(); + } + + delete() { + let item = this.getItem(); + if (this.cursor <= 0 || !item.input) return this.alert(); + let suffix = item.input.slice(this.cursor); + let prefix = item.input.slice(0, this.cursor - 1); + this.input = item.input = `${prefix}${suffix}`; + this.moveCursor(-1); + this.render(); + } + + increment(i) { + return i >= this.state.keys.length - 1 ? 0 : i + 1; + } + + decrement(i) { + return i <= 0 ? this.state.keys.length - 1 : i - 1; + } + + first() { + this.state.index = 0; + this.render(); + } + + last() { + this.state.index = this.state.keys.length - 1; + this.render(); + } + + right() { + if (this.cursor >= this.input.length) return this.alert(); + this.moveCursor(1); + this.render(); + } + + left() { + if (this.cursor <= 0) return this.alert(); + this.moveCursor(-1); + this.render(); + } + + prev() { + this.state.index = this.decrement(this.state.index); + this.getItem(); + this.render(); + } + + next() { + this.state.index = this.increment(this.state.index); + this.getItem(); + this.render(); + } + + up() { + this.prev(); + } + + down() { + this.next(); + } + + format(value) { + let color = this.state.completed < 100 ? this.styles.warning : this.styles.success; + if (this.state.submitted === true && this.state.completed !== 100) { + color = this.styles.danger; + } + return color(`${this.state.completed}% completed`); + } + + async render() { + let { index, keys = [], submitted, size } = this.state; + + let newline = [this.options.newline, '\n'].find(v => v != null); + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + let prompt = [prefix, message, separator].filter(Boolean).join(' '); + this.state.prompt = prompt; + + let header = await this.header(); + let error = (await this.error()) || ''; + let hint = (await this.hint()) || ''; + let body = submitted ? '' : await this.interpolate(this.state); + + let key = this.state.key = keys[index] || ''; + let input = await this.format(key); + let footer = await this.footer(); + if (input) prompt += ' ' + input; + if (hint && !input && this.state.completed === 0) prompt += ' ' + hint; + + this.clear(size); + let lines = [header, prompt, body, footer, error.trim()]; + this.write(lines.filter(Boolean).join(newline)); + this.restore(); + } + + getItem(name) { + let { items, keys, index } = this.state; + let item = items.find(ch => ch.name === keys[index]); + if (item && item.input != null) { + this.input = item.input; + this.cursor = item.cursor; + } + return item; + } + + async submit() { + if (typeof this.interpolate !== 'function') await this.initialize(); + await this.interpolate(this.state, true); + + let { invalid, missing, output, values } = this.state; + if (invalid.size) { + let err = ''; + for (let [key, value] of invalid) err += `Invalid ${key}: ${value}\n`; + this.state.error = err; + return super.submit(); + } + + if (missing.size) { + this.state.error = 'Required: ' + [...missing.keys()].join(', '); + return super.submit(); + } + + let lines = colors.unstyle(output).split('\n'); + let result = lines.map(v => v.slice(1)).join('\n'); + this.value = { values, result }; + return super.submit(); + } +} + +module.exports = SnippetPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/sort.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/sort.js new file mode 100644 index 00000000000000..b779b9b24e1790 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/sort.js @@ -0,0 +1,37 @@ +'use strict'; + +const hint = '(Use + to sort)'; +const Prompt = require('./select'); + +class Sort extends Prompt { + constructor(options) { + super({ ...options, reorder: false, sort: true, multiple: true }); + this.state.hint = [this.options.hint, hint].find(this.isValue.bind(this)); + } + + indicator() { + return ''; + } + + async renderChoice(choice, i) { + let str = await super.renderChoice(choice, i); + let sym = this.symbols.identicalTo + ' '; + let pre = (this.index === i && this.sorting) ? this.styles.muted(sym) : ' '; + if (this.options.drag === false) pre = ''; + if (this.options.numbered === true) { + return pre + `${i + 1} - ` + str; + } + return pre + str; + } + + get selected() { + return this.choices; + } + + submit() { + this.value = this.choices.map(choice => choice.value); + return super.submit(); + } +} + +module.exports = Sort; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/survey.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/survey.js new file mode 100644 index 00000000000000..5d39f6bd29a2b6 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/survey.js @@ -0,0 +1,163 @@ +'use strict'; + +const ArrayPrompt = require('../types/array'); + +class Survey extends ArrayPrompt { + constructor(options = {}) { + super(options); + this.emptyError = options.emptyError || 'No items were selected'; + this.term = process.env.TERM_PROGRAM; + + if (!this.options.header) { + let header = ['', '4 - Strongly Agree', '3 - Agree', '2 - Neutral', '1 - Disagree', '0 - Strongly Disagree', '']; + header = header.map(ele => this.styles.muted(ele)); + this.state.header = header.join('\n '); + } + } + + async toChoices(...args) { + if (this.createdScales) return false; + this.createdScales = true; + let choices = await super.toChoices(...args); + for (let choice of choices) { + choice.scale = createScale(5, this.options); + choice.scaleIdx = 2; + } + return choices; + } + + dispatch() { + this.alert(); + } + + space() { + let choice = this.focused; + let ele = choice.scale[choice.scaleIdx]; + let selected = ele.selected; + choice.scale.forEach(e => (e.selected = false)); + ele.selected = !selected; + return this.render(); + } + + indicator() { + return ''; + } + + pointer() { + return ''; + } + + separator() { + return this.styles.muted(this.symbols.ellipsis); + } + + right() { + let choice = this.focused; + if (choice.scaleIdx >= choice.scale.length - 1) return this.alert(); + choice.scaleIdx++; + return this.render(); + } + + left() { + let choice = this.focused; + if (choice.scaleIdx <= 0) return this.alert(); + choice.scaleIdx--; + return this.render(); + } + + indent() { + return ' '; + } + + async renderChoice(item, i) { + await this.onChoice(item, i); + let focused = this.index === i; + let isHyper = this.term === 'Hyper'; + let n = !isHyper ? 8 : 9; + let s = !isHyper ? ' ' : ''; + let ln = this.symbols.line.repeat(n); + let sp = ' '.repeat(n + (isHyper ? 0 : 1)); + let dot = enabled => (enabled ? this.styles.success('◉') : '◯') + s; + + let num = i + 1 + '.'; + let color = focused ? this.styles.heading : this.styles.noop; + let msg = await this.resolve(item.message, this.state, item, i); + let indent = this.indent(item); + let scale = indent + item.scale.map((e, i) => dot(i === item.scaleIdx)).join(ln); + let val = i => i === item.scaleIdx ? color(i) : i; + let next = indent + item.scale.map((e, i) => val(i)).join(sp); + + let line = () => [num, msg].filter(Boolean).join(' '); + let lines = () => [line(), scale, next, ' '].filter(Boolean).join('\n'); + + if (focused) { + scale = this.styles.cyan(scale); + next = this.styles.cyan(next); + } + + return lines(); + } + + async renderChoices() { + if (this.state.submitted) return ''; + let choices = this.visible.map(async(ch, i) => await this.renderChoice(ch, i)); + let visible = await Promise.all(choices); + if (!visible.length) visible.push(this.styles.danger('No matching choices')); + return visible.join('\n'); + } + + format() { + if (this.state.submitted) { + let values = this.choices.map(ch => this.styles.info(ch.scaleIdx)); + return values.join(', '); + } + return ''; + } + + async render() { + let { submitted, size } = this.state; + + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + let prompt = [prefix, message, separator].filter(Boolean).join(' '); + this.state.prompt = prompt; + + let header = await this.header(); + let output = await this.format(); + let help = await this.error() || await this.hint(); + let body = await this.renderChoices(); + let footer = await this.footer(); + + if (output || !help) prompt += ' ' + output; + if (help && !prompt.includes(help)) prompt += ' ' + help; + + if (submitted && !output && !body && this.multiple && this.type !== 'form') { + prompt += this.styles.danger(this.emptyError); + } + + this.clear(size); + this.write([prompt, header, body, footer].filter(Boolean).join('\n')); + this.restore(); + } + + submit() { + this.value = {}; + for (let choice of this.choices) { + this.value[choice.name] = choice.scaleIdx; + } + return this.base.submit.call(this); + } +} + +function createScale(n, options = {}) { + if (Array.isArray(options.scale)) { + return options.scale.map(ele => ({ ...ele })); + } + let scale = []; + for (let i = 1; i < n + 1; i++) scale.push({ i, selected: false }); + return scale; +} + +module.exports = Survey; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/text.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/text.js new file mode 100644 index 00000000000000..556e1db44d280b --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/text.js @@ -0,0 +1 @@ +module.exports = require('./input'); diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/toggle.js b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/toggle.js new file mode 100644 index 00000000000000..26d33945e926fa --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/prompts/toggle.js @@ -0,0 +1,109 @@ +'use strict'; + +const BooleanPrompt = require('../types/boolean'); + +class TogglePrompt extends BooleanPrompt { + async initialize() { + await super.initialize(); + this.value = this.initial = !!this.options.initial; + this.disabled = this.options.disabled || 'no'; + this.enabled = this.options.enabled || 'yes'; + await this.render(); + } + + reset() { + this.value = this.initial; + this.render(); + } + + delete() { + this.alert(); + } + + toggle() { + this.value = !this.value; + this.render(); + } + + enable() { + if (this.value === true) return this.alert(); + this.value = true; + this.render(); + } + disable() { + if (this.value === false) return this.alert(); + this.value = false; + this.render(); + } + + up() { + this.toggle(); + } + down() { + this.toggle(); + } + right() { + this.toggle(); + } + left() { + this.toggle(); + } + next() { + this.toggle(); + } + prev() { + this.toggle(); + } + + dispatch(ch = '', key) { + switch (ch.toLowerCase()) { + case ' ': + return this.toggle(); + case '1': + case 'y': + case 't': + return this.enable(); + case '0': + case 'n': + case 'f': + return this.disable(); + default: { + return this.alert(); + } + } + } + + format() { + let active = str => this.styles.primary.underline(str); + let value = [ + this.value ? this.disabled : active(this.disabled), + this.value ? active(this.enabled) : this.enabled + ]; + return value.join(this.styles.muted(' / ')); + } + + async render() { + let { size } = this.state; + + let header = await this.header(); + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + let output = await this.format(); + let help = (await this.error()) || (await this.hint()); + let footer = await this.footer(); + + let prompt = [prefix, message, separator, output].join(' '); + this.state.prompt = prompt; + + if (help && !prompt.includes(help)) prompt += ' ' + help; + + this.clear(size); + this.write([header, prompt, footer].filter(Boolean).join('\n')); + this.write(this.margin[2]); + this.restore(); + } +} + +module.exports = TogglePrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/render.js b/tools/node_modules/eslint/node_modules/enquirer/lib/render.js new file mode 100644 index 00000000000000..6a6df4a24b1d6c --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/render.js @@ -0,0 +1,33 @@ +'use strict'; + +module.exports = async(value, prompt, context = {}) => { + let { choices, multiple } = prompt.options; + let { size, submitted } = prompt.state; + + let prefix = context.prefix || await prompt.prefix(); + let separator = context.separator || await prompt.separator(); + let message = context.message || await prompt.message(); + + // ? Select your favorite colors > + // ^ ^ ^ + // prefix message separator + let promptLine = [prefix, message, separator].filter(Boolean).join(' '); + prompt.state.prompt = promptLine; + + let header = context.header || await prompt.header(); + let output = context.format || await prompt.format(value); + let help = context.help || await prompt.error() || await prompt.hint(); + let body = context.body || await prompt.body(); + let footer = context.footer || await prompt.footer(); + + if (output || !help) promptLine += ' ' + output; + if (help && !promptLine.includes(help)) promptLine += ' ' + help; + + if (submitted && choices && multiple && !output && !body) { + promptLine += prompt.styles.danger('No items were selected'); + } + + prompt.clear(size); + prompt.write([header, promptLine, body, footer].filter(Boolean).join('\n')); + prompt.restore(); +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/roles.js b/tools/node_modules/eslint/node_modules/enquirer/lib/roles.js new file mode 100644 index 00000000000000..1d663d22d85c2d --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/roles.js @@ -0,0 +1,46 @@ +'use strict'; + +const utils = require('./utils'); +const roles = { + default(prompt, choice) { + return choice; + }, + checkbox(prompt, choice) { + throw new Error('checkbox role is not implemented yet'); + }, + editable(prompt, choice) { + throw new Error('editable role is not implemented yet'); + }, + expandable(prompt, choice) { + throw new Error('expandable role is not implemented yet'); + }, + heading(prompt, choice) { + choice.disabled = ''; + choice.indicator = [choice.indicator, ' '].find(v => v != null); + choice.message = choice.message || ''; + return choice; + }, + input(prompt, choice) { + throw new Error('input role is not implemented yet'); + }, + option(prompt, choice) { + return roles.default(prompt, choice); + }, + radio(prompt, choice) { + throw new Error('radio role is not implemented yet'); + }, + separator(prompt, choice) { + choice.disabled = ''; + choice.indicator = [choice.indicator, ' '].find(v => v != null); + choice.message = choice.message || prompt.symbols.line.repeat(5); + return choice; + }, + spacer(prompt, choice) { + return choice; + } +}; + +module.exports = (name, options = {}) => { + let role = utils.merge({}, roles, options.roles); + return role[name] || role.default; +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/state.js b/tools/node_modules/eslint/node_modules/enquirer/lib/state.js new file mode 100644 index 00000000000000..501890b8e2df52 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/state.js @@ -0,0 +1,69 @@ +'use strict'; + +const { define, width } = require('./utils'); + +class State { + constructor(prompt) { + let options = prompt.options; + define(this, '_prompt', prompt); + this.type = prompt.type; + this.name = prompt.name; + this.message = ''; + this.header = ''; + this.footer = ''; + this.error = ''; + this.hint = ''; + this.input = ''; + this.cursor = 0; + this.index = 0; + this.lines = 0; + this.tick = 0; + this.prompt = ''; + this.buffer = ''; + this.width = width(options.stdout || process.stdout); + Object.assign(this, options); + this.name = this.name || this.message; + this.message = this.message || this.name; + this.symbols = prompt.symbols; + this.styles = prompt.styles; + this.required = new Set(); + this.cancelled = false; + this.submitted = false; + } + + clone() { + let state = { ...this }; + state.status = this.status; + state.buffer = Buffer.from(state.buffer); + delete state.clone; + return state; + } + + set color(val) { + this._color = val; + } + get color() { + let styles = this.prompt.styles; + if (this.cancelled) return styles.cancelled; + if (this.submitted) return styles.submitted; + let color = this._color || styles[this.status]; + return typeof color === 'function' ? color : styles.pending; + } + + set loading(value) { + this._loading = value; + } + get loading() { + if (typeof this._loading === 'boolean') return this._loading; + if (this.loadingChoices) return 'choices'; + return false; + } + + get status() { + if (this.cancelled) return 'cancelled'; + if (this.submitted) return 'submitted'; + return 'pending'; + } +} + +module.exports = State; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/styles.js b/tools/node_modules/eslint/node_modules/enquirer/lib/styles.js new file mode 100644 index 00000000000000..0a177f4298996b --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/styles.js @@ -0,0 +1,144 @@ +'use strict'; + +const utils = require('./utils'); +const colors = require('ansi-colors'); + +const styles = { + default: colors.noop, + noop: colors.noop, + + /** + * Modifiers + */ + + set inverse(custom) { + this._inverse = custom; + }, + get inverse() { + return this._inverse || utils.inverse(this.primary); + }, + + set complement(custom) { + this._complement = custom; + }, + get complement() { + return this._complement || utils.complement(this.primary); + }, + + /** + * Main color + */ + + primary: colors.cyan, + + /** + * Main palette + */ + + success: colors.green, + danger: colors.magenta, + strong: colors.bold, + warning: colors.yellow, + muted: colors.dim, + disabled: colors.gray, + dark: colors.dim.gray, + underline: colors.underline, + + set info(custom) { + this._info = custom; + }, + get info() { + return this._info || this.primary; + }, + + set em(custom) { + this._em = custom; + }, + get em() { + return this._em || this.primary.underline; + }, + + set heading(custom) { + this._heading = custom; + }, + get heading() { + return this._heading || this.muted.underline; + }, + + /** + * Statuses + */ + + set pending(custom) { + this._pending = custom; + }, + get pending() { + return this._pending || this.primary; + }, + + set submitted(custom) { + this._submitted = custom; + }, + get submitted() { + return this._submitted || this.success; + }, + + set cancelled(custom) { + this._cancelled = custom; + }, + get cancelled() { + return this._cancelled || this.danger; + }, + + /** + * Special styling + */ + + set typing(custom) { + this._typing = custom; + }, + get typing() { + return this._typing || this.dim; + }, + + set placeholder(custom) { + this._placeholder = custom; + }, + get placeholder() { + return this._placeholder || this.primary.dim; + }, + + set highlight(custom) { + this._highlight = custom; + }, + get highlight() { + return this._highlight || this.inverse; + } +}; + +styles.merge = (options = {}) => { + if (options.styles && typeof options.styles.enabled === 'boolean') { + colors.enabled = options.styles.enabled; + } + if (options.styles && typeof options.styles.visible === 'boolean') { + colors.visible = options.styles.visible; + } + + let result = utils.merge({}, styles, options.styles); + delete result.merge; + + for (let key of Object.keys(colors)) { + if (!result.hasOwnProperty(key)) { + Reflect.defineProperty(result, key, { get: () => colors[key] }); + } + } + + for (let key of Object.keys(colors.styles)) { + if (!result.hasOwnProperty(key)) { + Reflect.defineProperty(result, key, { get: () => colors[key] }); + } + } + return result; +}; + +module.exports = styles; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/symbols.js b/tools/node_modules/eslint/node_modules/enquirer/lib/symbols.js new file mode 100644 index 00000000000000..16adb8690eda19 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/symbols.js @@ -0,0 +1,66 @@ +'use strict'; + +const isWindows = process.platform === 'win32'; +const colors = require('ansi-colors'); +const utils = require('./utils'); + +const symbols = { + ...colors.symbols, + upDownDoubleArrow: '⇕', + upDownDoubleArrow2: '⬍', + upDownArrow: '↕', + asterisk: '*', + asterism: '⁂', + bulletWhite: '◦', + electricArrow: '⌁', + ellipsisLarge: '⋯', + ellipsisSmall: '…', + fullBlock: '█', + identicalTo: '≡', + indicator: colors.symbols.check, + leftAngle: '‹', + mark: '※', + minus: '−', + multiplication: '×', + obelus: '÷', + percent: '%', + pilcrow: '¶', + pilcrow2: '❡', + pencilUpRight: '✐', + pencilDownRight: '✎', + pencilRight: '✏', + plus: '+', + plusMinus: '±', + pointRight: '☞', + rightAngle: '›', + section: '§', + hexagon: { off: '⬡', on: '⬢', disabled: '⬢' }, + ballot: { on: '☑', off: '☐', disabled: '☒' }, + stars: { on: '★', off: '☆', disabled: '☆' }, + folder: { on: '▼', off: '▶', disabled: '▶' }, + prefix: { + pending: colors.symbols.question, + submitted: colors.symbols.check, + cancelled: colors.symbols.cross + }, + separator: { + pending: colors.symbols.pointerSmall, + submitted: colors.symbols.middot, + cancelled: colors.symbols.middot + }, + radio: { + off: isWindows ? '( )' : '◯', + on: isWindows ? '(*)' : '◉', + disabled: isWindows ? '(|)' : 'Ⓘ' + }, + numbers: ['⓪', '①', '②', '③', '④', '⑤', '⑥', '⑦', '⑧', '⑨', '⑩', '⑪', '⑫', '⑬', '⑭', '⑮', '⑯', '⑰', '⑱', '⑲', '⑳', '㉑', '㉒', '㉓', '㉔', '㉕', '㉖', '㉗', '㉘', '㉙', '㉚', '㉛', '㉜', '㉝', '㉞', '㉟', '㊱', '㊲', '㊳', '㊴', '㊵', '㊶', '㊷', '㊸', '㊹', '㊺', '㊻', '㊼', '㊽', '㊾', '㊿'] +}; + +symbols.merge = options => { + let result = utils.merge({}, colors.symbols, symbols, options.symbols); + delete result.merge; + return result; +}; + +module.exports = symbols; + diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/theme.js b/tools/node_modules/eslint/node_modules/enquirer/lib/theme.js new file mode 100644 index 00000000000000..f9c642ac56fdca --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/theme.js @@ -0,0 +1,11 @@ +'use strict'; + +const styles = require('./styles'); +const symbols = require('./symbols'); +const utils = require('./utils'); + +module.exports = prompt => { + prompt.options = utils.merge({}, prompt.options.theme, prompt.options); + prompt.symbols = symbols.merge(prompt.options); + prompt.styles = styles.merge(prompt.options); +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/timer.js b/tools/node_modules/eslint/node_modules/enquirer/lib/timer.js new file mode 100644 index 00000000000000..564998b3a68138 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/timer.js @@ -0,0 +1,38 @@ +'use strict'; + +module.exports = prompt => { + prompt.timers = prompt.timers || {}; + + let timers = prompt.options.timers; + if (!timers) return; + + for (let key of Object.keys(timers)) { + let opts = timers[key]; + if (typeof opts === 'number') { + opts = { interval: opts }; + } + create(prompt, key, opts); + } +}; + +function create(prompt, name, options = {}) { + let timer = prompt.timers[name] = { name, start: Date.now(), ms: 0, tick: 0 }; + let ms = options.interval || 120; + timer.frames = options.frames || []; + timer.loading = true; + + let interval = setInterval(() => { + timer.ms = Date.now() - timer.start; + timer.tick++; + prompt.render(); + }, ms); + + timer.stop = () => { + timer.loading = false; + clearInterval(interval); + }; + + Reflect.defineProperty(timer, 'interval', { value: interval }); + prompt.once('close', () => timer.stop()); + return timer.stop; +} diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/array.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/array.js new file mode 100644 index 00000000000000..0a522cb20d1a8f --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/array.js @@ -0,0 +1,658 @@ +'use strict'; + +const colors = require('ansi-colors'); +const Prompt = require('../prompt'); +const roles = require('../roles'); +const utils = require('../utils'); +const { reorder, scrollUp, scrollDown, isObject, swap } = utils; + +class ArrayPrompt extends Prompt { + constructor(options) { + super(options); + this.cursorHide(); + this.maxSelected = options.maxSelected || Infinity; + this.multiple = options.multiple || false; + this.initial = options.initial || 0; + this.delay = options.delay || 0; + this.longest = 0; + this.num = ''; + } + + async initialize() { + if (typeof this.options.initial === 'function') { + this.initial = await this.options.initial.call(this); + } + await this.reset(true); + await super.initialize(); + } + + async reset() { + let { choices, initial, autofocus, suggest } = this.options; + this.state._choices = []; + this.state.choices = []; + + this.choices = await Promise.all(await this.toChoices(choices)); + this.choices.forEach(ch => (ch.enabled = false)); + + if (typeof suggest !== 'function' && this.selectable.length === 0) { + throw new Error('At least one choice must be selectable'); + } + + if (isObject(initial)) initial = Object.keys(initial); + if (Array.isArray(initial)) { + if (autofocus != null) this.index = this.findIndex(autofocus); + initial.forEach(v => this.enable(this.find(v))); + await this.render(); + } else { + if (autofocus != null) initial = autofocus; + if (typeof initial === 'string') initial = this.findIndex(initial); + if (typeof initial === 'number' && initial > -1) { + this.index = Math.max(0, Math.min(initial, this.choices.length)); + this.enable(this.find(this.index)); + } + } + + if (this.isDisabled(this.focused)) { + await this.down(); + } + } + + async toChoices(value, parent) { + this.state.loadingChoices = true; + let choices = []; + let index = 0; + + let toChoices = async(items, parent) => { + if (typeof items === 'function') items = await items.call(this); + if (items instanceof Promise) items = await items; + + for (let i = 0; i < items.length; i++) { + let choice = items[i] = await this.toChoice(items[i], index++, parent); + choices.push(choice); + + if (choice.choices) { + await toChoices(choice.choices, choice); + } + } + return choices; + }; + + return toChoices(value, parent) + .then(choices => { + this.state.loadingChoices = false; + return choices; + }); + } + + async toChoice(ele, i, parent) { + if (typeof ele === 'function') ele = await ele.call(this, this); + if (ele instanceof Promise) ele = await ele; + if (typeof ele === 'string') ele = { name: ele }; + + if (ele.normalized) return ele; + ele.normalized = true; + + let origVal = ele.value; + let role = roles(ele.role, this.options); + ele = role(this, ele); + + if (typeof ele.disabled === 'string' && !ele.hint) { + ele.hint = ele.disabled; + ele.disabled = true; + } + + if (ele.disabled === true && ele.hint == null) { + ele.hint = '(disabled)'; + } + + // if the choice was already normalized, return it + if (ele.index != null) return ele; + ele.name = ele.name || ele.key || ele.title || ele.value || ele.message; + ele.message = ele.message || ele.name || ''; + ele.value = [ele.value, ele.name].find(this.isValue.bind(this)); + + ele.input = ''; + ele.index = i; + ele.cursor = 0; + + utils.define(ele, 'parent', parent); + ele.level = parent ? parent.level + 1 : 1; + if (ele.indent == null) { + ele.indent = parent ? parent.indent + ' ' : (ele.indent || ''); + } + + ele.path = parent ? parent.path + '.' + ele.name : ele.name; + ele.enabled = !!(this.multiple && !this.isDisabled(ele) && (ele.enabled || this.isSelected(ele))); + + if (!this.isDisabled(ele)) { + this.longest = Math.max(this.longest, colors.unstyle(ele.message).length); + } + + // shallow clone the choice first + let choice = { ...ele }; + + // then allow the choice to be reset using the "original" values + ele.reset = (input = choice.input, value = choice.value) => { + for (let key of Object.keys(choice)) ele[key] = choice[key]; + ele.input = input; + ele.value = value; + }; + + if (origVal == null && typeof ele.initial === 'function') { + ele.input = await ele.initial.call(this, this.state, ele, i); + } + + return ele; + } + + async onChoice(choice, i) { + this.emit('choice', choice, i, this); + + if (typeof choice.onChoice === 'function') { + await choice.onChoice.call(this, this.state, choice, i); + } + } + + async addChoice(ele, i, parent) { + let choice = await this.toChoice(ele, i, parent); + this.choices.push(choice); + this.index = this.choices.length - 1; + this.limit = this.choices.length; + return choice; + } + + async newItem(item, i, parent) { + let ele = { name: 'New choice name?', editable: true, newChoice: true, ...item }; + let choice = await this.addChoice(ele, i, parent); + + choice.updateChoice = () => { + delete choice.newChoice; + choice.name = choice.message = choice.input; + choice.input = ''; + choice.cursor = 0; + }; + + return this.render(); + } + + indent(choice) { + if (choice.indent == null) { + return choice.level > 1 ? ' '.repeat(choice.level - 1) : ''; + } + return choice.indent; + } + + dispatch(s, key) { + if (this.multiple && this[key.name]) return this[key.name](); + this.alert(); + } + + focus(choice, enabled) { + if (typeof enabled !== 'boolean') enabled = choice.enabled; + if (enabled && !choice.enabled && this.selected.length >= this.maxSelected) { + return this.alert(); + } + this.index = choice.index; + choice.enabled = enabled && !this.isDisabled(choice); + return choice; + } + + space() { + if (!this.multiple) return this.alert(); + this.toggle(this.focused); + return this.render(); + } + + a() { + if (this.maxSelected < this.choices.length) return this.alert(); + let enabled = this.selectable.every(ch => ch.enabled); + this.choices.forEach(ch => (ch.enabled = !enabled)); + return this.render(); + } + + i() { + // don't allow choices to be inverted if it will result in + // more than the maximum number of allowed selected items. + if (this.choices.length - this.selected.length > this.maxSelected) { + return this.alert(); + } + this.choices.forEach(ch => (ch.enabled = !ch.enabled)); + return this.render(); + } + + g(choice = this.focused) { + if (!this.choices.some(ch => !!ch.parent)) return this.a(); + this.toggle((choice.parent && !choice.choices) ? choice.parent : choice); + return this.render(); + } + + toggle(choice, enabled) { + if (!choice.enabled && this.selected.length >= this.maxSelected) { + return this.alert(); + } + + if (typeof enabled !== 'boolean') enabled = !choice.enabled; + choice.enabled = enabled; + + if (choice.choices) { + choice.choices.forEach(ch => this.toggle(ch, enabled)); + } + + let parent = choice.parent; + while (parent) { + let choices = parent.choices.filter(ch => this.isDisabled(ch)); + parent.enabled = choices.every(ch => ch.enabled === true); + parent = parent.parent; + } + + reset(this, this.choices); + this.emit('toggle', choice, this); + return choice; + } + + enable(choice) { + if (this.selected.length >= this.maxSelected) return this.alert(); + choice.enabled = !this.isDisabled(choice); + choice.choices && choice.choices.forEach(this.enable.bind(this)); + return choice; + } + + disable(choice) { + choice.enabled = false; + choice.choices && choice.choices.forEach(this.disable.bind(this)); + return choice; + } + + number(n) { + this.num += n; + + let number = num => { + let i = Number(num); + if (i > this.choices.length - 1) return this.alert(); + + let focused = this.focused; + let choice = this.choices.find(ch => i === ch.index); + + if (!choice.enabled && this.selected.length >= this.maxSelected) { + return this.alert(); + } + + if (this.visible.indexOf(choice) === -1) { + let choices = reorder(this.choices); + let actualIdx = choices.indexOf(choice); + + if (focused.index > actualIdx) { + let start = choices.slice(actualIdx, actualIdx + this.limit); + let end = choices.filter(ch => !start.includes(ch)); + this.choices = start.concat(end); + } else { + let pos = actualIdx - this.limit + 1; + this.choices = choices.slice(pos).concat(choices.slice(0, pos)); + } + } + + this.index = this.choices.indexOf(choice); + this.toggle(this.focused); + return this.render(); + }; + + clearTimeout(this.numberTimeout); + + return new Promise(resolve => { + let len = this.choices.length; + let num = this.num; + + let handle = (val = false, res) => { + clearTimeout(this.numberTimeout); + if (val) res = number(num); + this.num = ''; + resolve(res); + }; + + if (num === '0' || (num.length === 1 && Number(num + '0') > len)) { + return handle(true); + } + + if (Number(num) > len) { + return handle(false, this.alert()); + } + + this.numberTimeout = setTimeout(() => handle(true), this.delay); + }); + } + + home() { + this.choices = reorder(this.choices); + this.index = 0; + return this.render(); + } + + end() { + let pos = this.choices.length - this.limit; + let choices = reorder(this.choices); + this.choices = choices.slice(pos).concat(choices.slice(0, pos)); + this.index = this.limit - 1; + return this.render(); + } + + first() { + this.index = 0; + return this.render(); + } + + last() { + this.index = this.visible.length - 1; + return this.render(); + } + + prev() { + if (this.visible.length <= 1) return this.alert(); + return this.up(); + } + + next() { + if (this.visible.length <= 1) return this.alert(); + return this.down(); + } + + right() { + if (this.cursor >= this.input.length) return this.alert(); + this.cursor++; + return this.render(); + } + + left() { + if (this.cursor <= 0) return this.alert(); + this.cursor--; + return this.render(); + } + + up() { + let len = this.choices.length; + let vis = this.visible.length; + let idx = this.index; + if (this.options.scroll === false && idx === 0) { + return this.alert(); + } + if (len > vis && idx === 0) { + return this.scrollUp(); + } + this.index = ((idx - 1 % len) + len) % len; + if (this.isDisabled()) { + return this.up(); + } + return this.render(); + } + + down() { + let len = this.choices.length; + let vis = this.visible.length; + let idx = this.index; + if (this.options.scroll === false && idx === vis - 1) { + return this.alert(); + } + if (len > vis && idx === vis - 1) { + return this.scrollDown(); + } + this.index = (idx + 1) % len; + if (this.isDisabled()) { + return this.down(); + } + return this.render(); + } + + scrollUp(i = 0) { + this.choices = scrollUp(this.choices); + this.index = i; + if (this.isDisabled()) { + return this.up(); + } + return this.render(); + } + + scrollDown(i = this.visible.length - 1) { + this.choices = scrollDown(this.choices); + this.index = i; + if (this.isDisabled()) { + return this.down(); + } + return this.render(); + } + + async shiftUp() { + if (this.options.sort === true) { + this.sorting = true; + this.swap(this.index - 1); + await this.up(); + this.sorting = false; + return; + } + return this.scrollUp(this.index); + } + + async shiftDown() { + if (this.options.sort === true) { + this.sorting = true; + this.swap(this.index + 1); + await this.down(); + this.sorting = false; + return; + } + return this.scrollDown(this.index); + } + + pageUp() { + if (this.visible.length <= 1) return this.alert(); + this.limit = Math.max(this.limit - 1, 0); + this.index = Math.min(this.limit - 1, this.index); + this._limit = this.limit; + if (this.isDisabled()) { + return this.up(); + } + return this.render(); + } + + pageDown() { + if (this.visible.length >= this.choices.length) return this.alert(); + this.index = Math.max(0, this.index); + this.limit = Math.min(this.limit + 1, this.choices.length); + this._limit = this.limit; + if (this.isDisabled()) { + return this.down(); + } + return this.render(); + } + + swap(pos) { + swap(this.choices, this.index, pos); + } + + isDisabled(choice = this.focused) { + let keys = ['disabled', 'collapsed', 'hidden', 'completing', 'readonly']; + if (choice && keys.some(key => choice[key] === true)) { + return true; + } + return choice && choice.role === 'heading'; + } + + isEnabled(choice = this.focused) { + if (Array.isArray(choice)) return choice.every(ch => this.isEnabled(ch)); + if (choice.choices) { + let choices = choice.choices.filter(ch => !this.isDisabled(ch)); + return choice.enabled && choices.every(ch => this.isEnabled(ch)); + } + return choice.enabled && !this.isDisabled(choice); + } + + isChoice(choice, value) { + return choice.name === value || choice.index === Number(value); + } + + isSelected(choice) { + if (Array.isArray(this.initial)) { + return this.initial.some(value => this.isChoice(choice, value)); + } + return this.isChoice(choice, this.initial); + } + + map(names = [], prop = 'value') { + return [].concat(names || []).reduce((acc, name) => { + acc[name] = this.find(name, prop); + return acc; + }, {}); + } + + filter(value, prop) { + let isChoice = (ele, i) => [ele.name, i].includes(value); + let fn = typeof value === 'function' ? value : isChoice; + let choices = this.options.multiple ? this.state._choices : this.choices; + let result = choices.filter(fn); + if (prop) { + return result.map(ch => ch[prop]); + } + return result; + } + + find(value, prop) { + if (isObject(value)) return prop ? value[prop] : value; + let isChoice = (ele, i) => [ele.name, i].includes(value); + let fn = typeof value === 'function' ? value : isChoice; + let choice = this.choices.find(fn); + if (choice) { + return prop ? choice[prop] : choice; + } + } + + findIndex(value) { + return this.choices.indexOf(this.find(value)); + } + + async submit() { + let choice = this.focused; + if (!choice) return this.alert(); + + if (choice.newChoice) { + if (!choice.input) return this.alert(); + choice.updateChoice(); + return this.render(); + } + + if (this.choices.some(ch => ch.newChoice)) { + return this.alert(); + } + + let { reorder, sort } = this.options; + let multi = this.multiple === true; + let value = this.selected; + if (value === void 0) { + return this.alert(); + } + + // re-sort choices to original order + if (Array.isArray(value) && reorder !== false && sort !== true) { + value = utils.reorder(value); + } + + this.value = multi ? value.map(ch => ch.name) : value.name; + return super.submit(); + } + + set choices(choices = []) { + this.state._choices = this.state._choices || []; + this.state.choices = choices; + + for (let choice of choices) { + if (!this.state._choices.some(ch => ch.name === choice.name)) { + this.state._choices.push(choice); + } + } + + if (!this._initial && this.options.initial) { + this._initial = true; + let init = this.initial; + if (typeof init === 'string' || typeof init === 'number') { + let choice = this.find(init); + if (choice) { + this.initial = choice.index; + this.focus(choice, true); + } + } + } + } + get choices() { + return reset(this, this.state.choices || []); + } + + set visible(visible) { + this.state.visible = visible; + } + get visible() { + return (this.state.visible || this.choices).slice(0, this.limit); + } + + set limit(num) { + this.state.limit = num; + } + get limit() { + let { state, options, choices } = this; + let limit = state.limit || this._limit || options.limit || choices.length; + return Math.min(limit, this.height); + } + + set value(value) { + super.value = value; + } + get value() { + if (typeof super.value !== 'string' && super.value === this.initial) { + return this.input; + } + return super.value; + } + + set index(i) { + this.state.index = i; + } + get index() { + return Math.max(0, this.state ? this.state.index : 0); + } + + get enabled() { + return this.filter(this.isEnabled.bind(this)); + } + + get focused() { + let choice = this.choices[this.index]; + if (choice && this.state.submitted && this.multiple !== true) { + choice.enabled = true; + } + return choice; + } + + get selectable() { + return this.choices.filter(choice => !this.isDisabled(choice)); + } + + get selected() { + return this.multiple ? this.enabled : this.focused; + } +} + +function reset(prompt, choices) { + if (choices instanceof Promise) return choices; + if (typeof choices === 'function') { + if (utils.isAsyncFn(choices)) return choices; + choices = choices.call(prompt, prompt); + } + for (let choice of choices) { + if (Array.isArray(choice.choices)) { + let items = choice.choices.filter(ch => !prompt.isDisabled(ch)); + choice.enabled = items.every(ch => ch.enabled === true); + } + if (prompt.isDisabled(choice) === true) { + delete choice.enabled; + } + } + return choices; +} + +module.exports = ArrayPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/auth.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/auth.js new file mode 100644 index 00000000000000..c2c66fae969215 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/auth.js @@ -0,0 +1,29 @@ +'use strict'; + +const FormPrompt = require('../prompts/form'); + +const defaultAuthenticate = () => { + throw new Error('expected prompt to have a custom authenticate method'); +}; + +const factory = (authenticate = defaultAuthenticate) => { + + class AuthPrompt extends FormPrompt { + constructor(options) { + super(options); + } + + async submit() { + this.value = await authenticate.call(this, this.values, this.state); + super.base.submit.call(this); + } + + static create(authenticate) { + return factory(authenticate); + } + } + + return AuthPrompt; +}; + +module.exports = factory(); diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/boolean.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/boolean.js new file mode 100644 index 00000000000000..d3e7f34081fb6c --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/boolean.js @@ -0,0 +1,88 @@ +'use strict'; + +const Prompt = require('../prompt'); +const { isPrimitive, hasColor } = require('../utils'); + +class BooleanPrompt extends Prompt { + constructor(options) { + super(options); + this.cursorHide(); + } + + async initialize() { + let initial = await this.resolve(this.initial, this.state); + this.input = await this.cast(initial); + await super.initialize(); + } + + dispatch(ch) { + if (!this.isValue(ch)) return this.alert(); + this.input = ch; + return this.submit(); + } + + format(value) { + let { styles, state } = this; + return !state.submitted ? styles.primary(value) : styles.success(value); + } + + cast(input) { + return this.isTrue(input); + } + + isTrue(input) { + return /^[ty1]/i.test(input); + } + + isFalse(input) { + return /^[fn0]/i.test(input); + } + + isValue(value) { + return isPrimitive(value) && (this.isTrue(value) || this.isFalse(value)); + } + + async hint() { + if (this.state.status === 'pending') { + let hint = await this.element('hint'); + if (!hasColor(hint)) { + return this.styles.muted(hint); + } + return hint; + } + } + + async render() { + let { input, size } = this.state; + + let prefix = await this.prefix(); + let sep = await this.separator(); + let msg = await this.message(); + let hint = this.styles.muted(this.default); + + let promptLine = [prefix, msg, hint, sep].filter(Boolean).join(' '); + this.state.prompt = promptLine; + + let header = await this.header(); + let value = this.value = this.cast(input); + let output = await this.format(value); + let help = (await this.error()) || (await this.hint()); + let footer = await this.footer(); + + if (help && !promptLine.includes(help)) output += ' ' + help; + promptLine += ' ' + output; + + this.clear(size); + this.write([header, promptLine, footer].filter(Boolean).join('\n')); + this.restore(); + } + + set value(value) { + super.value = value; + } + get value() { + return this.cast(super.value); + } +} + +module.exports = BooleanPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/index.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/index.js new file mode 100644 index 00000000000000..b3a2300d863913 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/index.js @@ -0,0 +1,7 @@ +module.exports = { + ArrayPrompt: require('./array'), + AuthPrompt: require('./auth'), + BooleanPrompt: require('./boolean'), + NumberPrompt: require('./number'), + StringPrompt: require('./string') +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/number.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/number.js new file mode 100644 index 00000000000000..199a7c99a46791 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/number.js @@ -0,0 +1,86 @@ +'use strict'; + +const StringPrompt = require('./string'); + +class NumberPrompt extends StringPrompt { + constructor(options = {}) { + super({ style: 'number', ...options }); + this.min = this.isValue(options.min) ? this.toNumber(options.min) : -Infinity; + this.max = this.isValue(options.max) ? this.toNumber(options.max) : Infinity; + this.delay = options.delay != null ? options.delay : 1000; + this.float = options.float !== false; + this.round = options.round === true || options.float === false; + this.major = options.major || 10; + this.minor = options.minor || 1; + this.initial = options.initial != null ? options.initial : ''; + this.input = String(this.initial); + this.cursor = this.input.length; + this.cursorShow(); + } + + append(ch) { + if (!/[-+.]/.test(ch) || (ch === '.' && this.input.includes('.'))) { + return this.alert('invalid number'); + } + return super.append(ch); + } + + number(ch) { + return super.append(ch); + } + + next() { + if (this.input && this.input !== this.initial) return this.alert(); + if (!this.isValue(this.initial)) return this.alert(); + this.input = this.initial; + this.cursor = String(this.initial).length; + return this.render(); + } + + up(number) { + let step = number || this.minor; + let num = this.toNumber(this.input); + if (num > this.max + step) return this.alert(); + this.input = `${num + step}`; + return this.render(); + } + + down(number) { + let step = number || this.minor; + let num = this.toNumber(this.input); + if (num < this.min - step) return this.alert(); + this.input = `${num - step}`; + return this.render(); + } + + shiftDown() { + return this.down(this.major); + } + + shiftUp() { + return this.up(this.major); + } + + format(input = this.input) { + if (typeof this.options.format === 'function') { + return this.options.format.call(this, input); + } + return this.styles.info(input); + } + + toNumber(value = '') { + return this.float ? +value : Math.round(+value); + } + + isValue(value) { + return /^[-+]?[0-9]+((\.)|(\.[0-9]+))?$/.test(value); + } + + submit() { + let value = [this.input, this.initial].find(v => this.isValue(v)); + this.value = this.toNumber(value || 0); + return super.submit(); + } +} + +module.exports = NumberPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/types/string.js b/tools/node_modules/eslint/node_modules/enquirer/lib/types/string.js new file mode 100644 index 00000000000000..d4e0ce9ad3b932 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/types/string.js @@ -0,0 +1,185 @@ +'use strict'; + +const Prompt = require('../prompt'); +const placeholder = require('../placeholder'); +const { isPrimitive } = require('../utils'); + +class StringPrompt extends Prompt { + constructor(options) { + super(options); + this.initial = isPrimitive(this.initial) ? String(this.initial) : ''; + if (this.initial) this.cursorHide(); + this.state.prevCursor = 0; + this.state.clipboard = []; + } + + async keypress(input, key = {}) { + let prev = this.state.prevKeypress; + this.state.prevKeypress = key; + if (this.options.multiline === true && key.name === 'return') { + if (!prev || prev.name !== 'return') { + return this.append('\n', key); + } + } + return super.keypress(input, key); + } + + moveCursor(n) { + this.cursor += n; + } + + reset() { + this.input = this.value = ''; + this.cursor = 0; + return this.render(); + } + + dispatch(ch, key) { + if (!ch || key.ctrl || key.code) return this.alert(); + this.append(ch); + } + + append(ch) { + let { cursor, input } = this.state; + this.input = `${input}`.slice(0, cursor) + ch + `${input}`.slice(cursor); + this.moveCursor(String(ch).length); + this.render(); + } + + insert(str) { + this.append(str); + } + + delete() { + let { cursor, input } = this.state; + if (cursor <= 0) return this.alert(); + this.input = `${input}`.slice(0, cursor - 1) + `${input}`.slice(cursor); + this.moveCursor(-1); + this.render(); + } + + deleteForward() { + let { cursor, input } = this.state; + if (input[cursor] === void 0) return this.alert(); + this.input = `${input}`.slice(0, cursor) + `${input}`.slice(cursor + 1); + this.render(); + } + + cutForward() { + let pos = this.cursor; + if (this.input.length <= pos) return this.alert(); + this.state.clipboard.push(this.input.slice(pos)); + this.input = this.input.slice(0, pos); + this.render(); + } + + cutLeft() { + let pos = this.cursor; + if (pos === 0) return this.alert(); + let before = this.input.slice(0, pos); + let after = this.input.slice(pos); + let words = before.split(' '); + this.state.clipboard.push(words.pop()); + this.input = words.join(' '); + this.cursor = this.input.length; + this.input += after; + this.render(); + } + + paste() { + if (!this.state.clipboard.length) return this.alert(); + this.insert(this.state.clipboard.pop()); + this.render(); + } + + toggleCursor() { + if (this.state.prevCursor) { + this.cursor = this.state.prevCursor; + this.state.prevCursor = 0; + } else { + this.state.prevCursor = this.cursor; + this.cursor = 0; + } + this.render(); + } + + first() { + this.cursor = 0; + this.render(); + } + + last() { + this.cursor = this.input.length - 1; + this.render(); + } + + next() { + let init = this.initial != null ? String(this.initial) : ''; + if (!init || !init.startsWith(this.input)) return this.alert(); + this.input = this.initial; + this.cursor = this.initial.length; + this.render(); + } + + prev() { + if (!this.input) return this.alert(); + this.reset(); + } + + backward() { + return this.left(); + } + + forward() { + return this.right(); + } + + right() { + if (this.cursor >= this.input.length) return this.alert(); + this.moveCursor(1); + return this.render(); + } + + left() { + if (this.cursor <= 0) return this.alert(); + this.moveCursor(-1); + return this.render(); + } + + isValue(value) { + return !!value; + } + + async format(input = this.value) { + let initial = await this.resolve(this.initial, this.state); + if (!this.state.submitted) { + return placeholder(this, { input, initial, pos: this.cursor }); + } + return this.styles.submitted(input || initial); + } + + async render() { + let size = this.state.size; + + let prefix = await this.prefix(); + let separator = await this.separator(); + let message = await this.message(); + + let prompt = [prefix, message, separator].filter(Boolean).join(' '); + this.state.prompt = prompt; + + let header = await this.header(); + let output = await this.format(); + let help = (await this.error()) || (await this.hint()); + let footer = await this.footer(); + + if (help && !output.includes(help)) output += ' ' + help; + prompt += ' ' + output; + + this.clear(size); + this.write([header, prompt, footer].filter(Boolean).join('\n')); + this.restore(); + } +} + +module.exports = StringPrompt; diff --git a/tools/node_modules/eslint/node_modules/enquirer/lib/utils.js b/tools/node_modules/eslint/node_modules/enquirer/lib/utils.js new file mode 100644 index 00000000000000..7493c0d5346c0d --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/lib/utils.js @@ -0,0 +1,268 @@ +'use strict'; + +const toString = Object.prototype.toString; +const colors = require('ansi-colors'); +let called = false; +let fns = []; + +const complements = { + 'yellow': 'blue', + 'cyan': 'red', + 'green': 'magenta', + 'black': 'white', + 'blue': 'yellow', + 'red': 'cyan', + 'magenta': 'green', + 'white': 'black' +}; + +exports.longest = (arr, prop) => { + return arr.reduce((a, v) => Math.max(a, prop ? v[prop].length : v.length), 0); +}; + +exports.hasColor = str => !!str && colors.hasColor(str); + +const isObject = exports.isObject = val => { + return val !== null && typeof val === 'object' && !Array.isArray(val); +}; + +exports.nativeType = val => { + return toString.call(val).slice(8, -1).toLowerCase().replace(/\s/g, ''); +}; + +exports.isAsyncFn = val => { + return exports.nativeType(val) === 'asyncfunction'; +}; + +exports.isPrimitive = val => { + return val != null && typeof val !== 'object' && typeof val !== 'function'; +}; + +exports.resolve = (context, value, ...rest) => { + if (typeof value === 'function') { + return value.call(context, ...rest); + } + return value; +}; + +exports.scrollDown = (choices = []) => [...choices.slice(1), choices[0]]; +exports.scrollUp = (choices = []) => [choices.pop(), ...choices]; + +exports.reorder = (arr = []) => { + let res = arr.slice(); + res.sort((a, b) => { + if (a.index > b.index) return 1; + if (a.index < b.index) return -1; + return 0; + }); + return res; +}; + +exports.swap = (arr, index, pos) => { + let len = arr.length; + let idx = pos === len ? 0 : pos < 0 ? len - 1 : pos; + let choice = arr[index]; + arr[index] = arr[idx]; + arr[idx] = choice; +}; + +exports.width = (stream, fallback = 80) => { + let columns = (stream && stream.columns) ? stream.columns : fallback; + if (stream && typeof stream.getWindowSize === 'function') { + columns = stream.getWindowSize()[0]; + } + if (process.platform === 'win32') { + return columns - 1; + } + return columns; +}; + +exports.height = (stream, fallback = 20) => { + let rows = (stream && stream.rows) ? stream.rows : fallback; + if (stream && typeof stream.getWindowSize === 'function') { + rows = stream.getWindowSize()[1]; + } + return rows; +}; + +exports.wordWrap = (str, options = {}) => { + if (!str) return str; + + if (typeof options === 'number') { + options = { width: options }; + } + + let { indent = '', newline = ('\n' + indent), width = 80 } = options; + let spaces = (newline + indent).match(/[^\S\n]/g) || []; + width -= spaces.length; + let source = `.{1,${width}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`; + let output = str.trim(); + let regex = new RegExp(source, 'g'); + let lines = output.match(regex) || []; + lines = lines.map(line => line.replace(/\n$/, '')); + if (options.padEnd) lines = lines.map(line => line.padEnd(width, ' ')); + if (options.padStart) lines = lines.map(line => line.padStart(width, ' ')); + return indent + lines.join(newline); +}; + +exports.unmute = color => { + let name = color.stack.find(n => colors.keys.color.includes(n)); + if (name) { + return colors[name]; + } + let bg = color.stack.find(n => n.slice(2) === 'bg'); + if (bg) { + return colors[name.slice(2)]; + } + return str => str; +}; + +exports.pascal = str => str ? str[0].toUpperCase() + str.slice(1) : ''; + +exports.inverse = color => { + if (!color || !color.stack) return color; + let name = color.stack.find(n => colors.keys.color.includes(n)); + if (name) { + let col = colors['bg' + exports.pascal(name)]; + return col ? col.black : color; + } + let bg = color.stack.find(n => n.slice(0, 2) === 'bg'); + if (bg) { + return colors[bg.slice(2).toLowerCase()] || color; + } + return colors.none; +}; + +exports.complement = color => { + if (!color || !color.stack) return color; + let name = color.stack.find(n => colors.keys.color.includes(n)); + let bg = color.stack.find(n => n.slice(0, 2) === 'bg'); + if (name && !bg) { + return colors[complements[name] || name]; + } + if (bg) { + let lower = bg.slice(2).toLowerCase(); + let comp = complements[lower]; + if (!comp) return color; + return colors['bg' + exports.pascal(comp)] || color; + } + return colors.none; +}; + +exports.meridiem = date => { + let hours = date.getHours(); + let minutes = date.getMinutes(); + let ampm = hours >= 12 ? 'pm' : 'am'; + hours = hours % 12; + let hrs = hours === 0 ? 12 : hours; + let min = minutes < 10 ? '0' + minutes : minutes; + return hrs + ':' + min + ' ' + ampm; +}; + +/** + * Set a value on the given object. + * @param {Object} obj + * @param {String} prop + * @param {any} value + */ + +exports.set = (obj = {}, prop = '', val) => { + return prop.split('.').reduce((acc, k, i, arr) => { + let value = arr.length - 1 > i ? (acc[k] || {}) : val; + if (!exports.isObject(value) && i < arr.length - 1) value = {}; + return (acc[k] = value); + }, obj); +}; + +/** + * Get a value from the given object. + * @param {Object} obj + * @param {String} prop + */ + +exports.get = (obj = {}, prop = '', fallback) => { + let value = obj[prop] == null + ? prop.split('.').reduce((acc, k) => acc && acc[k], obj) + : obj[prop]; + return value == null ? fallback : value; +}; + +exports.mixin = (target, b) => { + if (!isObject(target)) return b; + if (!isObject(b)) return target; + for (let key of Object.keys(b)) { + let desc = Object.getOwnPropertyDescriptor(b, key); + if (desc.hasOwnProperty('value')) { + if (target.hasOwnProperty(key) && isObject(desc.value)) { + let existing = Object.getOwnPropertyDescriptor(target, key); + if (isObject(existing.value)) { + target[key] = exports.merge({}, target[key], b[key]); + } else { + Reflect.defineProperty(target, key, desc); + } + } else { + Reflect.defineProperty(target, key, desc); + } + } else { + Reflect.defineProperty(target, key, desc); + } + } + return target; +}; + +exports.merge = (...args) => { + let target = {}; + for (let ele of args) exports.mixin(target, ele); + return target; +}; + +exports.mixinEmitter = (obj, emitter) => { + let proto = emitter.constructor.prototype; + for (let key of Object.keys(proto)) { + let val = proto[key]; + if (typeof val === 'function') { + exports.define(obj, key, val.bind(emitter)); + } else { + exports.define(obj, key, val); + } + } +}; + +exports.onExit = callback => { + const onExit = (quit, code) => { + if (called) return; + + called = true; + fns.forEach(fn => fn()); + + if (quit === true) { + process.exit(128 + code); + } + }; + + if (fns.length === 0) { + process.once('SIGTERM', onExit.bind(null, true, 15)); + process.once('SIGINT', onExit.bind(null, true, 2)); + process.once('exit', onExit); + } + + fns.push(callback); +}; + +exports.define = (obj, key, value) => { + Reflect.defineProperty(obj, key, { value }); +}; + +exports.defineExport = (obj, key, fn) => { + let custom; + Reflect.defineProperty(obj, key, { + enumerable: true, + configurable: true, + set(val) { + custom = val; + }, + get() { + return custom ? custom() : fn(); + } + }); +}; diff --git a/tools/node_modules/eslint/node_modules/enquirer/package.json b/tools/node_modules/eslint/node_modules/enquirer/package.json new file mode 100644 index 00000000000000..c6d3a5ae0b8d7c --- /dev/null +++ b/tools/node_modules/eslint/node_modules/enquirer/package.json @@ -0,0 +1,125 @@ +{ + "author": { + "name": "Jon Schlinkert", + "url": "https://github.com/jonschlinkert" + }, + "bugs": { + "url": "https://github.com/enquirer/enquirer/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Brian Woodward", + "url": "https://twitter.com/doowb" + }, + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + } + ], + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "deprecated": false, + "description": "Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.", + "devDependencies": { + "@types/node": "^8", + "gulp-format-md": "^2.0.0", + "inquirer": "^6.2.0", + "mocha": "^5.2.0", + "nyc": "^13.1.0", + "prompts": "^1.2.1", + "time-require": "github:jonschlinkert/time-require", + "typescript": "^3.1.6" + }, + "engines": { + "node": ">=8.6" + }, + "files": [ + "index.js", + "index.d.ts", + "lib" + ], + "homepage": "https://github.com/enquirer/enquirer", + "keywords": [ + "answer", + "answers", + "ask", + "base", + "cli", + "command", + "command-line", + "confirm", + "enquirer", + "generator", + "generate", + "hyper", + "input", + "inquire", + "inquirer", + "interface", + "iterm", + "javascript", + "node", + "nodejs", + "prompt", + "prompts", + "promptly", + "question", + "readline", + "scaffold", + "scaffolding", + "scaffolder", + "stdin", + "stdout", + "terminal", + "tty", + "ui", + "yeoman", + "yo", + "zsh" + ], + "license": "MIT", + "lintDeps": { + "devDependencies": { + "files": { + "patterns": [ + "examples/**/*.js", + "perf/*.js", + "recipes/*.js" + ] + } + } + }, + "main": "index.js", + "name": "enquirer", + "repository": { + "type": "git", + "url": "git+https://github.com/enquirer/enquirer.git" + }, + "scripts": { + "cover": "nyc --reporter=text --reporter=html mocha", + "test": "mocha && tsc -p ./test/types" + }, + "verb": { + "toc": false, + "layout": false, + "tasks": [ + "readme" + ], + "plugins": [ + "gulp-format-md" + ], + "helpers": [ + "./docs/helpers.js" + ], + "lint": { + "reflinks": true + }, + "reflinks": [ + "inquirer", + "prompt-skeleton" + ] + }, + "version": "2.3.6" +} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/eslint-utils/index.js b/tools/node_modules/eslint/node_modules/eslint-utils/index.js index b61c8741abdf7a..3d55509aa8e9db 100644 --- a/tools/node_modules/eslint/node_modules/eslint-utils/index.js +++ b/tools/node_modules/eslint/node_modules/eslint-utils/index.js @@ -491,23 +491,34 @@ const operations = Object.freeze({ if (args != null) { if (calleeNode.type === "MemberExpression") { const object = getStaticValueR(calleeNode.object, initialScope); - const property = calleeNode.computed - ? getStaticValueR(calleeNode.property, initialScope) - : { value: calleeNode.property.name }; - - if (object != null && property != null) { - const receiver = object.value; - const methodName = property.value; - if (callAllowed.has(receiver[methodName])) { - return { value: receiver[methodName](...args) } + if (object != null) { + if ( + object.value == null && + (object.optional || node.optional) + ) { + return { value: undefined, optional: true } } - if (callPassThrough.has(receiver[methodName])) { - return { value: args[0] } + const property = calleeNode.computed + ? getStaticValueR(calleeNode.property, initialScope) + : { value: calleeNode.property.name }; + + if (property != null) { + const receiver = object.value; + const methodName = property.value; + if (callAllowed.has(receiver[methodName])) { + return { value: receiver[methodName](...args) } + } + if (callPassThrough.has(receiver[methodName])) { + return { value: args[0] } + } } } } else { const callee = getStaticValueR(calleeNode, initialScope); if (callee != null) { + if (callee.value == null && node.optional) { + return { value: undefined, optional: true } + } const func = callee.value; if (callAllowed.has(func)) { return { value: func(...args) } @@ -580,7 +591,8 @@ const operations = Object.freeze({ if (left != null) { if ( (node.operator === "||" && Boolean(left.value) === true) || - (node.operator === "&&" && Boolean(left.value) === false) + (node.operator === "&&" && Boolean(left.value) === false) || + (node.operator === "??" && left.value != null) ) { return left } @@ -596,16 +608,25 @@ const operations = Object.freeze({ MemberExpression(node, initialScope) { const object = getStaticValueR(node.object, initialScope); - const property = node.computed - ? getStaticValueR(node.property, initialScope) - : { value: node.property.name }; + if (object != null) { + if (object.value == null && (object.optional || node.optional)) { + return { value: undefined, optional: true } + } + const property = node.computed + ? getStaticValueR(node.property, initialScope) + : { value: node.property.name }; - if ( - object != null && - property != null && - !isGetter(object.value, property.value) - ) { - return { value: object.value[property.value] } + if (property != null && !isGetter(object.value, property.value)) { + return { value: object.value[property.value] } + } + } + return null + }, + + ChainExpression(node, initialScope) { + const expression = getStaticValueR(node.expression, initialScope); + if (expression != null) { + return { value: expression.value } } return null }, @@ -733,7 +754,7 @@ const operations = Object.freeze({ * Get the value of a given node if it's a static value. * @param {Node} node The node to get. * @param {Scope|undefined} initialScope The scope to start finding variable. - * @returns {{value:any}|null} The static value of the node, or `null`. + * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`. */ function getStaticValueR(node, initialScope) { if (node != null && Object.hasOwnProperty.call(operations, node.type)) { @@ -746,7 +767,7 @@ function getStaticValueR(node, initialScope) { * Get the value of a given node if it's a static value. * @param {Node} node The node to get. * @param {Scope} [initialScope] The scope to start finding variable. Optional. If this scope was given, this tries to resolve identifier references which are in the given node as much as possible. - * @returns {{value:any}|null} The static value of the node, or `null`. + * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`. */ function getStaticValue(node, initialScope = null) { try { @@ -856,6 +877,23 @@ function getFunctionNameWithKind(node) { } } + if (node.type === "ArrowFunctionExpression") { + if ( + parent.type === "VariableDeclarator" && + parent.id && + parent.id.type === "Identifier" + ) { + tokens.push(`'${parent.id.name}'`); + } + if ( + parent.type === "AssignmentExpression" && + parent.left && + parent.left.type === "Identifier" + ) { + tokens.push(`'${parent.left.name}'`); + } + } + return tokens.join(" ") } @@ -882,6 +920,16 @@ const typeConversionBinaryOps = Object.freeze( ]) ); const typeConversionUnaryOps = Object.freeze(new Set(["-", "+", "!", "~"])); + +/** + * Check whether the given value is an ASTNode or not. + * @param {any} x The value to check. + * @returns {boolean} `true` if the value is an ASTNode. + */ +function isNode(x) { + return x !== null && typeof x === "object" && typeof x.type === "string" +} + const visitor = Object.freeze( Object.assign(Object.create(null), { $visit(node, options, visitorKeys) { @@ -903,13 +951,16 @@ const visitor = Object.freeze( if (Array.isArray(value)) { for (const element of value) { if ( - element && + isNode(element) && this.$visit(element, options, visitorKeys) ) { return true } } - } else if (value && this.$visit(value, options, visitorKeys)) { + } else if ( + isNode(value) && + this.$visit(value, options, visitorKeys) + ) { return true } } @@ -1337,6 +1388,8 @@ function isPassThrough(node) { return true case "SequenceExpression": return parent.expressions[parent.expressions.length - 1] === node + case "ChainExpression": + return true default: return false diff --git a/tools/node_modules/eslint/node_modules/eslint-utils/index.mjs b/tools/node_modules/eslint/node_modules/eslint-utils/index.mjs index c6fab531e1fe6f..6940337c8f8ae9 100644 --- a/tools/node_modules/eslint/node_modules/eslint-utils/index.mjs +++ b/tools/node_modules/eslint/node_modules/eslint-utils/index.mjs @@ -485,23 +485,34 @@ const operations = Object.freeze({ if (args != null) { if (calleeNode.type === "MemberExpression") { const object = getStaticValueR(calleeNode.object, initialScope); - const property = calleeNode.computed - ? getStaticValueR(calleeNode.property, initialScope) - : { value: calleeNode.property.name }; - - if (object != null && property != null) { - const receiver = object.value; - const methodName = property.value; - if (callAllowed.has(receiver[methodName])) { - return { value: receiver[methodName](...args) } + if (object != null) { + if ( + object.value == null && + (object.optional || node.optional) + ) { + return { value: undefined, optional: true } } - if (callPassThrough.has(receiver[methodName])) { - return { value: args[0] } + const property = calleeNode.computed + ? getStaticValueR(calleeNode.property, initialScope) + : { value: calleeNode.property.name }; + + if (property != null) { + const receiver = object.value; + const methodName = property.value; + if (callAllowed.has(receiver[methodName])) { + return { value: receiver[methodName](...args) } + } + if (callPassThrough.has(receiver[methodName])) { + return { value: args[0] } + } } } } else { const callee = getStaticValueR(calleeNode, initialScope); if (callee != null) { + if (callee.value == null && node.optional) { + return { value: undefined, optional: true } + } const func = callee.value; if (callAllowed.has(func)) { return { value: func(...args) } @@ -574,7 +585,8 @@ const operations = Object.freeze({ if (left != null) { if ( (node.operator === "||" && Boolean(left.value) === true) || - (node.operator === "&&" && Boolean(left.value) === false) + (node.operator === "&&" && Boolean(left.value) === false) || + (node.operator === "??" && left.value != null) ) { return left } @@ -590,16 +602,25 @@ const operations = Object.freeze({ MemberExpression(node, initialScope) { const object = getStaticValueR(node.object, initialScope); - const property = node.computed - ? getStaticValueR(node.property, initialScope) - : { value: node.property.name }; + if (object != null) { + if (object.value == null && (object.optional || node.optional)) { + return { value: undefined, optional: true } + } + const property = node.computed + ? getStaticValueR(node.property, initialScope) + : { value: node.property.name }; - if ( - object != null && - property != null && - !isGetter(object.value, property.value) - ) { - return { value: object.value[property.value] } + if (property != null && !isGetter(object.value, property.value)) { + return { value: object.value[property.value] } + } + } + return null + }, + + ChainExpression(node, initialScope) { + const expression = getStaticValueR(node.expression, initialScope); + if (expression != null) { + return { value: expression.value } } return null }, @@ -727,7 +748,7 @@ const operations = Object.freeze({ * Get the value of a given node if it's a static value. * @param {Node} node The node to get. * @param {Scope|undefined} initialScope The scope to start finding variable. - * @returns {{value:any}|null} The static value of the node, or `null`. + * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`. */ function getStaticValueR(node, initialScope) { if (node != null && Object.hasOwnProperty.call(operations, node.type)) { @@ -740,7 +761,7 @@ function getStaticValueR(node, initialScope) { * Get the value of a given node if it's a static value. * @param {Node} node The node to get. * @param {Scope} [initialScope] The scope to start finding variable. Optional. If this scope was given, this tries to resolve identifier references which are in the given node as much as possible. - * @returns {{value:any}|null} The static value of the node, or `null`. + * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`. */ function getStaticValue(node, initialScope = null) { try { @@ -850,6 +871,23 @@ function getFunctionNameWithKind(node) { } } + if (node.type === "ArrowFunctionExpression") { + if ( + parent.type === "VariableDeclarator" && + parent.id && + parent.id.type === "Identifier" + ) { + tokens.push(`'${parent.id.name}'`); + } + if ( + parent.type === "AssignmentExpression" && + parent.left && + parent.left.type === "Identifier" + ) { + tokens.push(`'${parent.left.name}'`); + } + } + return tokens.join(" ") } @@ -876,6 +914,16 @@ const typeConversionBinaryOps = Object.freeze( ]) ); const typeConversionUnaryOps = Object.freeze(new Set(["-", "+", "!", "~"])); + +/** + * Check whether the given value is an ASTNode or not. + * @param {any} x The value to check. + * @returns {boolean} `true` if the value is an ASTNode. + */ +function isNode(x) { + return x !== null && typeof x === "object" && typeof x.type === "string" +} + const visitor = Object.freeze( Object.assign(Object.create(null), { $visit(node, options, visitorKeys) { @@ -897,13 +945,16 @@ const visitor = Object.freeze( if (Array.isArray(value)) { for (const element of value) { if ( - element && + isNode(element) && this.$visit(element, options, visitorKeys) ) { return true } } - } else if (value && this.$visit(value, options, visitorKeys)) { + } else if ( + isNode(value) && + this.$visit(value, options, visitorKeys) + ) { return true } } @@ -1331,6 +1382,8 @@ function isPassThrough(node) { return true case "SequenceExpression": return parent.expressions[parent.expressions.length - 1] === node + case "ChainExpression": + return true default: return false diff --git a/tools/node_modules/eslint/node_modules/eslint-utils/package.json b/tools/node_modules/eslint/node_modules/eslint-utils/package.json index 81da6fd3701e75..38ea2a071cdf83 100644 --- a/tools/node_modules/eslint/node_modules/eslint-utils/package.json +++ b/tools/node_modules/eslint/node_modules/eslint-utils/package.json @@ -25,6 +25,7 @@ "rimraf": "^3.0.0", "rollup": "^1.25.0", "rollup-plugin-sourcemaps": "^0.4.2", + "semver": "^7.3.2", "vuepress": "^1.2.0", "warun": "^1.0.0" }, @@ -34,6 +35,7 @@ "files": [ "index.*" ], + "funding": "https://github.com/sponsors/mysticatea", "homepage": "https://github.com/mysticatea/eslint-utils#readme", "keywords": [ "eslint" @@ -63,5 +65,5 @@ "watch": "warun \"{src,test}/**/*.js\" -- npm run -s test:mocha" }, "sideEffects": false, - "version": "2.0.0" + "version": "2.1.0" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.json b/tools/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.json index e77fb9e4253be6..a33bbc66005b6a 100644 --- a/tools/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.json +++ b/tools/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.json @@ -38,6 +38,9 @@ "param", "body" ], + "ChainExpression": [ + "expression" + ], "ClassBody": [ "body" ], diff --git a/tools/node_modules/eslint/node_modules/eslint-visitor-keys/package.json b/tools/node_modules/eslint/node_modules/eslint-visitor-keys/package.json index 0baf3d0826b4b8..5845760935ce9b 100644 --- a/tools/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +++ b/tools/node_modules/eslint/node_modules/eslint-visitor-keys/package.json @@ -44,4 +44,4 @@ "test": "nyc mocha tests/lib" }, "version": "2.0.0" -} +} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/estraverse.js b/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/estraverse.js index b7db020775eb2d..93225bb0c4013e 100644 --- a/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/estraverse.js +++ b/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/estraverse.js @@ -84,6 +84,7 @@ BreakStatement: 'BreakStatement', CallExpression: 'CallExpression', CatchClause: 'CatchClause', + ChainExpression: 'ChainExpression', ClassBody: 'ClassBody', ClassDeclaration: 'ClassDeclaration', ClassExpression: 'ClassExpression', @@ -159,6 +160,7 @@ BreakStatement: ['label'], CallExpression: ['callee', 'arguments'], CatchClause: ['param', 'body'], + ChainExpression: ['expression'], ClassBody: ['body'], ClassDeclaration: ['id', 'superClass', 'body'], ClassExpression: ['id', 'superClass', 'body'], diff --git a/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/package.json b/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/package.json index 8affb3d09038a3..4d336a00e8b526 100644 --- a/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/package.json +++ b/tools/node_modules/eslint/node_modules/esquery/node_modules/estraverse/package.json @@ -41,5 +41,5 @@ "test": "npm run-script lint && npm run-script unit-test", "unit-test": "mocha --compilers js:babel-register" }, - "version": "5.1.0" + "version": "5.2.0" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/external-editor/LICENSE b/tools/node_modules/eslint/node_modules/external-editor/LICENSE deleted file mode 100644 index f5f61859557eb4..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Kevin Gravier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/external-editor/README.md b/tools/node_modules/eslint/node_modules/external-editor/README.md deleted file mode 100644 index 53a8e70132500d..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/README.md +++ /dev/null @@ -1,171 +0,0 @@ -# External Editor - -[![ExternalEditor on Travis CI](https://img.shields.io/travis/mrkmg/node-external-editor.svg?style=flat-square)](https://travis-ci.org/mrkmg/node-external-editor/branches) -[![ExternalEditor on NPM](https://img.shields.io/npm/v/external-editor.svg?style=flat-square)](https://www.npmjs.com/package/external-editor) -[![ExternalEditor uses the MIT](https://img.shields.io/npm/l/external-editor.svg?style=flat-square)](https://opensource.org/licenses/MIT) - - -A node module to edit a string with a users preferred text editor using $VISUAL or $ENVIRONMENT. - -Version: 3.1.0 - -As of version 3.0.0, the minimum version of node supported is 4. - -## Install - -`npm install external-editor --save` - -## Usage - -A simple example using the `.edit` convenience method - - import {edit} from "external-editor"; - const data = edit('\n\n# Please write your text above'); - console.log(data); - -A full featured example - - import {ExternalEditor, CreateFileError, ReadFileError, RemoveFileError} from "external-editor" - - try { - const editor = new ExternalEditor(); - const text = editor.run() // the text is also available in editor.text - - if (editor.last_exit_status !== 0) { - console.log("The editor exited with a non-zero code"); - } - } catch (err) { - if (err instanceOf CreateFileError) { - console.log('Failed to create the temporary file'); - } else if (err instanceOf ReadFileError) { - console.log('Failed to read the temporary file'); - } else if (err instanceOf LaunchEditorError) { - console.log('Failed to launch your editor'); - } else { - throw err; - } - } - - // Do things with the text - - // Eventually call the cleanup to remove the temporary file - try { - editor.cleanup(); - } catch (err) { - if (err instanceOf RemoveFileError) { - console.log('Failed to remove the temporary file'); - } else { - throw err - } - } - - -#### API -**Convenience Methods** - -- `edit(text, config)` - - `text` (string) *Optional* Defaults to empty string - - `config` (Config) *Optional* Options for temporary file creation - - **Returns** (string) The contents of the file - - Could throw `CreateFileError`, `ReadFileError`, or `LaunchEditorError`, or `RemoveFileError` -- `editAsync(text, callback, config)` - - `text` (string) *Optional* Defaults to empty string - - `callback` (function (error, text)) - - `error` could be of type `CreateFileError`, `ReadFileError`, or `LaunchEditorError`, or `RemoveFileError` - - `text`(string) The contents of the file - - `config` (Config) *Optional* Options for temporary file creation - - -**Errors** - -- `CreateFileError` Error thrown if the temporary file could not be created. -- `ReadFileError` Error thrown if the temporary file could not be read. -- `RemoveFileError` Error thrown if the temporary file could not be removed during cleanup. -- `LaunchEditorError` Error thrown if the editor could not be launched. - -**External Editor Public Methods** - -- `new ExternalEditor(text, config)` - - `text` (string) *Optional* Defaults to empty string - - `config` (Config) *Optional* Options for temporary file creation - - Could throw `CreateFileError` -- `run()` Launches the editor. - - **Returns** (string) The contents of the file - - Could throw `LaunchEditorError` or `ReadFileError` -- `runAsync(callback)` Launches the editor in an async way - - `callback` (function (error, text)) - - `error` could be of type `ReadFileError` or `LaunchEditorError` - - `text`(string) The contents of the file -- `cleanup()` Removes the temporary file. - - Could throw `RemoveFileError` - -**External Editor Public Properties** - -- `text` (string) *readonly* The text in the temporary file. -- `editor.bin` (string) The editor determined from the environment. -- `editor.args` (array) Default arguments for the bin -- `tempFile` (string) Path to temporary file. Can be changed, but be careful as the temporary file probably already - exists and would need be removed manually. -- `lastExitStatus` (number) The last exit code emitted from the editor. - -**Config Options** - -- `prefix` (string) *Optional* A prefix for the file name. -- `postfix` (string; *Optional* A postfix for the file name. Useful if you want to provide an extension. -- `mode` (number) *Optional* Which mode to create the file with. e.g. 644 -- `template` (string) *Optional* A template for the filename. See [tmp](https://www.npmjs.com/package/tmp). -- `dir` (string) *Optional* Which path to store the file. - -## Errors - -All errors have a simple message explaining what went wrong. They all also have an `originalError` property containing -the original error thrown for debugging purposes. - -## Why Synchronous? - -Everything is synchronous to make sure the editor has complete control of the stdin and stdout. Testing has shown -async launching of the editor can lead to issues when using readline or other packages which try to read from stdin or -write to stdout. Seeing as this will be used in an interactive CLI environment, I made the decision to force the package -to be synchronous. If you know a reliable way to force all stdin and stdout to be limited only to the child_process, -please submit a PR. - -If async is really needed, you can use `editAsync` or `runAsync`. If you are using readline or have anything else -listening to the stdin or you write to stdout, you will most likely have problem, so make sure to remove any other -listeners on stdin, stdout, or stderr. - -## Demo - -[![asciicast](https://asciinema.org/a/a1qh9lypbe65mj0ivfuoslz2s.png)](https://asciinema.org/a/a1qh9lypbe65mj0ivfuoslz2s) - -## Breaking Changes from v2 to v3 - -- NodeJS 0.12 support dropped. -- Switched to named imports. -- All "snake_cased" variables and properties are now "camelCased". - - `ExternalEditor.temp_file` is now `ExternalEditor.tempFile`. - - `ExternalEditor.last_exit_status` is now `ExternalEditor.lastExitStatus`. - - `Error.original_error` is now `Error.originalError`. - -## License - -The MIT License (MIT) - -Copyright (c) 2016-2018 Kevin Gravier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/external-editor/example_async.js b/tools/node_modules/eslint/node_modules/external-editor/example_async.js deleted file mode 100644 index 05261661eefc32..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/example_async.js +++ /dev/null @@ -1,40 +0,0 @@ -var ExternalEditor = require('./main').ExternalEditor; -var readline = require('readline'); - -var rl = readline.createInterface({ - input: process.stdin, - output: null -}); - -var message = '\n\n# Please Write a message\n# Any line starting with # is ignored'; - -process.stdout.write('Please write a message. (press enter to launch your preferred editor)'); - -editor = new ExternalEditor(message); - -rl.on('line', function () { - try { - rl.pause(); - editor.runAsync(function (error, response) - { - if (error) { - process.stdout.write(error.message); - process.exit(1); - } - if (response.length === 0) { - readline.moveCursor(process.stdout, 0, -1); - process.stdout.write('Your message was empty, please try again. (press enter to launch your preferred editor)'); - rl.resume(); - } else { - process.stdout.write('Your Message:\n'); - process.stdout.write(response); - process.stdout.write('\n'); - rl.close(); - } - }); - } catch (err) { - process.stderr.write(err.message); - process.stdout.write('\n'); - rl.close(); - } -}); diff --git a/tools/node_modules/eslint/node_modules/external-editor/example_sync.js b/tools/node_modules/eslint/node_modules/external-editor/example_sync.js deleted file mode 100644 index 4ebee95fe97d7e..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/example_sync.js +++ /dev/null @@ -1,38 +0,0 @@ -var ExternalEditor = require('./main').ExternalEditor; -var readline = require('readline'); - -var rl = readline.createInterface({ - input: process.stdin, - output: null -}); - -var message = '\n\n# Please Write a message\n# Any line starting with # is ignored'; - -process.stdout.write('Please write a message. (press enter to launch your preferred editor)'); - -editor = new ExternalEditor(message); - -rl.on('line', function () { - try { - // Get response, remove all lines starting with #, remove any trailing newlines. - var response = editor.run().replace(/^#.*\n?/gm, '').replace(/\n+$/g, '').trim(); - - if (editor.lastExitStatus !== 0) { - process.stderr.write("WARN: The editor exited with a non-zero status\n\n") - } - - if (response.length === 0) { - readline.moveCursor(process.stdout, 0, -1); - process.stdout.write('Your message was empty, please try again. (press enter to launch your preferred editor)'); - } else { - process.stdout.write('Your Message:\n'); - process.stdout.write(response); - process.stdout.write('\n'); - rl.close(); - } - } catch (err) { - process.stderr.write(err.message); - process.stdout.write('\n'); - rl.close(); - } -}); diff --git a/tools/node_modules/eslint/node_modules/external-editor/main/errors/CreateFileError.js b/tools/node_modules/eslint/node_modules/external-editor/main/errors/CreateFileError.js deleted file mode 100644 index 7faa34c82c7790..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/main/errors/CreateFileError.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -/*** - * Node External Editor - * - * Kevin Gravier - * MIT 2018 - */ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var CreateFileError = /** @class */ (function (_super) { - __extends(CreateFileError, _super); - function CreateFileError(originalError) { - var _newTarget = this.constructor; - var _this = _super.call(this, "Failed to create temporary file for editor") || this; - _this.originalError = originalError; - var proto = _newTarget.prototype; - if (Object.setPrototypeOf) { - Object.setPrototypeOf(_this, proto); - } - else { - _this.__proto__ = _newTarget.prototype; - } - return _this; - } - return CreateFileError; -}(Error)); -exports.CreateFileError = CreateFileError; diff --git a/tools/node_modules/eslint/node_modules/external-editor/main/errors/LaunchEditorError.js b/tools/node_modules/eslint/node_modules/external-editor/main/errors/LaunchEditorError.js deleted file mode 100644 index 85a164e7a8fa86..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/main/errors/LaunchEditorError.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -/*** - * Node External Editor - * - * Kevin Gravier - * MIT 2018 - */ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var LaunchEditorError = /** @class */ (function (_super) { - __extends(LaunchEditorError, _super); - function LaunchEditorError(originalError) { - var _newTarget = this.constructor; - var _this = _super.call(this, "Failed launch editor") || this; - _this.originalError = originalError; - var proto = _newTarget.prototype; - if (Object.setPrototypeOf) { - Object.setPrototypeOf(_this, proto); - } - else { - _this.__proto__ = _newTarget.prototype; - } - return _this; - } - return LaunchEditorError; -}(Error)); -exports.LaunchEditorError = LaunchEditorError; diff --git a/tools/node_modules/eslint/node_modules/external-editor/main/errors/ReadFileError.js b/tools/node_modules/eslint/node_modules/external-editor/main/errors/ReadFileError.js deleted file mode 100644 index 69e0513627ac0d..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/main/errors/ReadFileError.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -/*** - * Node External Editor - * - * Kevin Gravier - * MIT 2018 - */ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var ReadFileError = /** @class */ (function (_super) { - __extends(ReadFileError, _super); - function ReadFileError(originalError) { - var _newTarget = this.constructor; - var _this = _super.call(this, "Failed to read temporary file") || this; - _this.originalError = originalError; - var proto = _newTarget.prototype; - if (Object.setPrototypeOf) { - Object.setPrototypeOf(_this, proto); - } - else { - _this.__proto__ = _newTarget.prototype; - } - return _this; - } - return ReadFileError; -}(Error)); -exports.ReadFileError = ReadFileError; diff --git a/tools/node_modules/eslint/node_modules/external-editor/main/errors/RemoveFileError.js b/tools/node_modules/eslint/node_modules/external-editor/main/errors/RemoveFileError.js deleted file mode 100644 index 23d266f248cb46..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/main/errors/RemoveFileError.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; -/*** - * Node External Editor - * - * Kevin Gravier - * MIT 2018 - */ -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -var RemoveFileError = /** @class */ (function (_super) { - __extends(RemoveFileError, _super); - function RemoveFileError(originalError) { - var _newTarget = this.constructor; - var _this = _super.call(this, "Failed to cleanup temporary file") || this; - _this.originalError = originalError; - var proto = _newTarget.prototype; - if (Object.setPrototypeOf) { - Object.setPrototypeOf(_this, proto); - } - else { - _this.__proto__ = _newTarget.prototype; - } - return _this; - } - return RemoveFileError; -}(Error)); -exports.RemoveFileError = RemoveFileError; diff --git a/tools/node_modules/eslint/node_modules/external-editor/main/index.js b/tools/node_modules/eslint/node_modules/external-editor/main/index.js deleted file mode 100644 index 258f31964b73b2..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/main/index.js +++ /dev/null @@ -1,193 +0,0 @@ -"use strict"; -/*** - * Node External Editor - * - * Kevin Gravier - * MIT 2019 - */ -Object.defineProperty(exports, "__esModule", { value: true }); -var chardet_1 = require("chardet"); -var child_process_1 = require("child_process"); -var fs_1 = require("fs"); -var iconv_lite_1 = require("iconv-lite"); -var tmp_1 = require("tmp"); -var CreateFileError_1 = require("./errors/CreateFileError"); -exports.CreateFileError = CreateFileError_1.CreateFileError; -var LaunchEditorError_1 = require("./errors/LaunchEditorError"); -exports.LaunchEditorError = LaunchEditorError_1.LaunchEditorError; -var ReadFileError_1 = require("./errors/ReadFileError"); -exports.ReadFileError = ReadFileError_1.ReadFileError; -var RemoveFileError_1 = require("./errors/RemoveFileError"); -exports.RemoveFileError = RemoveFileError_1.RemoveFileError; -function edit(text, fileOptions) { - if (text === void 0) { text = ""; } - var editor = new ExternalEditor(text, fileOptions); - editor.run(); - editor.cleanup(); - return editor.text; -} -exports.edit = edit; -function editAsync(text, callback, fileOptions) { - if (text === void 0) { text = ""; } - var editor = new ExternalEditor(text, fileOptions); - editor.runAsync(function (err, result) { - if (err) { - setImmediate(callback, err, null); - } - else { - try { - editor.cleanup(); - setImmediate(callback, null, result); - } - catch (cleanupError) { - setImmediate(callback, cleanupError, null); - } - } - }); -} -exports.editAsync = editAsync; -var ExternalEditor = /** @class */ (function () { - function ExternalEditor(text, fileOptions) { - if (text === void 0) { text = ""; } - this.text = ""; - this.fileOptions = {}; - this.text = text; - if (fileOptions) { - this.fileOptions = fileOptions; - } - this.determineEditor(); - this.createTemporaryFile(); - } - ExternalEditor.splitStringBySpace = function (str) { - var pieces = []; - var currentString = ""; - for (var strIndex = 0; strIndex < str.length; strIndex++) { - var currentLetter = str[strIndex]; - if (strIndex > 0 && currentLetter === " " && str[strIndex - 1] !== "\\" && currentString.length > 0) { - pieces.push(currentString); - currentString = ""; - } - else { - currentString += currentLetter; - } - } - if (currentString.length > 0) { - pieces.push(currentString); - } - return pieces; - }; - Object.defineProperty(ExternalEditor.prototype, "temp_file", { - get: function () { - console.log("DEPRECATED: temp_file. Use tempFile moving forward."); - return this.tempFile; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ExternalEditor.prototype, "last_exit_status", { - get: function () { - console.log("DEPRECATED: last_exit_status. Use lastExitStatus moving forward."); - return this.lastExitStatus; - }, - enumerable: true, - configurable: true - }); - ExternalEditor.prototype.run = function () { - this.launchEditor(); - this.readTemporaryFile(); - return this.text; - }; - ExternalEditor.prototype.runAsync = function (callback) { - var _this = this; - try { - this.launchEditorAsync(function () { - try { - _this.readTemporaryFile(); - setImmediate(callback, null, _this.text); - } - catch (readError) { - setImmediate(callback, readError, null); - } - }); - } - catch (launchError) { - setImmediate(callback, launchError, null); - } - }; - ExternalEditor.prototype.cleanup = function () { - this.removeTemporaryFile(); - }; - ExternalEditor.prototype.determineEditor = function () { - var editor = process.env.VISUAL ? process.env.VISUAL : - process.env.EDITOR ? process.env.EDITOR : - /^win/.test(process.platform) ? "notepad" : - "vim"; - var editorOpts = ExternalEditor.splitStringBySpace(editor).map(function (piece) { return piece.replace("\\ ", " "); }); - var bin = editorOpts.shift(); - this.editor = { args: editorOpts, bin: bin }; - }; - ExternalEditor.prototype.createTemporaryFile = function () { - try { - this.tempFile = tmp_1.tmpNameSync(this.fileOptions); - var opt = { encoding: "utf8" }; - if (this.fileOptions.hasOwnProperty("mode")) { - opt.mode = this.fileOptions.mode; - } - fs_1.writeFileSync(this.tempFile, this.text, opt); - } - catch (createFileError) { - throw new CreateFileError_1.CreateFileError(createFileError); - } - }; - ExternalEditor.prototype.readTemporaryFile = function () { - try { - var tempFileBuffer = fs_1.readFileSync(this.tempFile); - if (tempFileBuffer.length === 0) { - this.text = ""; - } - else { - var encoding = chardet_1.detect(tempFileBuffer).toString(); - if (!iconv_lite_1.encodingExists(encoding)) { - // Probably a bad idea, but will at least prevent crashing - encoding = "utf8"; - } - this.text = iconv_lite_1.decode(tempFileBuffer, encoding); - } - } - catch (readFileError) { - throw new ReadFileError_1.ReadFileError(readFileError); - } - }; - ExternalEditor.prototype.removeTemporaryFile = function () { - try { - fs_1.unlinkSync(this.tempFile); - } - catch (removeFileError) { - throw new RemoveFileError_1.RemoveFileError(removeFileError); - } - }; - ExternalEditor.prototype.launchEditor = function () { - try { - var editorProcess = child_process_1.spawnSync(this.editor.bin, this.editor.args.concat([this.tempFile]), { stdio: "inherit" }); - this.lastExitStatus = editorProcess.status; - } - catch (launchError) { - throw new LaunchEditorError_1.LaunchEditorError(launchError); - } - }; - ExternalEditor.prototype.launchEditorAsync = function (callback) { - var _this = this; - try { - var editorProcess = child_process_1.spawn(this.editor.bin, this.editor.args.concat([this.tempFile]), { stdio: "inherit" }); - editorProcess.on("exit", function (code) { - _this.lastExitStatus = code; - setImmediate(callback); - }); - } - catch (launchError) { - throw new LaunchEditorError_1.LaunchEditorError(launchError); - } - }; - return ExternalEditor; -}()); -exports.ExternalEditor = ExternalEditor; diff --git a/tools/node_modules/eslint/node_modules/external-editor/package.json b/tools/node_modules/eslint/node_modules/external-editor/package.json deleted file mode 100644 index ea87070894f653..00000000000000 --- a/tools/node_modules/eslint/node_modules/external-editor/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "author": { - "name": "Kevin Gravier", - "email": "kevin@mrkmg.com", - "url": "https://mrkmg.com" - }, - "bugs": { - "url": "https://github.com/mrkmg/node-external-editor/issues" - }, - "bundleDependencies": false, - "config": { - "ndt": { - "versions": [ - "major" - ] - } - }, - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "deprecated": false, - "description": "Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT", - "devDependencies": { - "@types/chai": "^4.1.4", - "@types/chardet": "^0.5.0", - "@types/mocha": "^5.2.5", - "@types/node": "^10.14.12", - "@types/tmp": "0.0.33", - "chai": "^4.0.0", - "es6-shim": "^0.35.3", - "mocha": "^5.2.0", - "ts-node": "^7.0.1", - "tslint": "^5.18.0", - "typescript": "^3.5.2" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "main", - "example_sync.js", - "example_async.js" - ], - "homepage": "https://github.com/mrkmg/node-external-editor#readme", - "keywords": [ - "editor", - "external", - "user", - "visual" - ], - "license": "MIT", - "main": "main/index.js", - "name": "external-editor", - "repository": { - "type": "git", - "url": "git+https://github.com/mrkmg/node-external-editor.git" - }, - "scripts": { - "compile": "tsc -p tsconfig.json", - "lint": "tslint './src/**/*.ts' './test/**/*.ts'", - "test": "mocha --recursive --require ts-node/register --timeout 10000 ./test/spec 'test/spec/**/*.ts'" - }, - "types": "main/index.d.ts", - "version": "3.1.0" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/fast-deep-equal/package.json b/tools/node_modules/eslint/node_modules/fast-deep-equal/package.json index 0bf38f5a850705..6377dca7e45e79 100644 --- a/tools/node_modules/eslint/node_modules/fast-deep-equal/package.json +++ b/tools/node_modules/eslint/node_modules/fast-deep-equal/package.json @@ -9,16 +9,16 @@ "deprecated": false, "description": "Fast deep equal", "devDependencies": { - "coveralls": "^2.13.1", + "coveralls": "^3.1.0", "dot": "^1.1.2", - "eslint": "^4.0.0", - "mocha": "^3.4.2", - "nyc": "^11.0.2", + "eslint": "^7.2.0", + "mocha": "^7.2.0", + "nyc": "^15.1.0", "pre-commit": "^1.2.2", "react": "^16.12.0", "react-test-renderer": "^16.12.0", - "sinon": "^7.5.0", - "typescript": "^2.6.1" + "sinon": "^9.0.2", + "typescript": "^3.9.5" }, "files": [ "index.js", @@ -61,5 +61,5 @@ "test-ts": "tsc --target ES5 --noImplicitAny index.d.ts" }, "types": "index.d.ts", - "version": "3.1.1" + "version": "3.1.3" } \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/figures/index.js b/tools/node_modules/eslint/node_modules/figures/index.js deleted file mode 100644 index 2cbe2db981638c..00000000000000 --- a/tools/node_modules/eslint/node_modules/figures/index.js +++ /dev/null @@ -1,151 +0,0 @@ -'use strict'; -const escapeStringRegexp = require('escape-string-regexp'); - -const {platform} = process; - -const main = { - tick: '✔', - cross: '✖', - star: '★', - square: '▇', - squareSmall: '◻', - squareSmallFilled: '◼', - play: '▶', - circle: '◯', - circleFilled: '◉', - circleDotted: '◌', - circleDouble: '◎', - circleCircle: 'ⓞ', - circleCross: 'ⓧ', - circlePipe: 'Ⓘ', - circleQuestionMark: '?⃝', - bullet: '●', - dot: '․', - line: '─', - ellipsis: '…', - pointer: '❯', - pointerSmall: '›', - info: 'ℹ', - warning: '⚠', - hamburger: '☰', - smiley: '㋡', - mustache: '෴', - heart: '♥', - nodejs: '⬢', - arrowUp: '↑', - arrowDown: '↓', - arrowLeft: '←', - arrowRight: '→', - radioOn: '◉', - radioOff: '◯', - checkboxOn: '☒', - checkboxOff: '☐', - checkboxCircleOn: 'ⓧ', - checkboxCircleOff: 'Ⓘ', - questionMarkPrefix: '?⃝', - oneHalf: '½', - oneThird: '⅓', - oneQuarter: '¼', - oneFifth: '⅕', - oneSixth: '⅙', - oneSeventh: '⅐', - oneEighth: '⅛', - oneNinth: '⅑', - oneTenth: '⅒', - twoThirds: '⅔', - twoFifths: '⅖', - threeQuarters: '¾', - threeFifths: '⅗', - threeEighths: '⅜', - fourFifths: '⅘', - fiveSixths: '⅚', - fiveEighths: '⅝', - sevenEighths: '⅞' -}; - -const windows = { - tick: '√', - cross: '×', - star: '*', - square: '█', - squareSmall: '[ ]', - squareSmallFilled: '[█]', - play: '►', - circle: '( )', - circleFilled: '(*)', - circleDotted: '( )', - circleDouble: '( )', - circleCircle: '(○)', - circleCross: '(×)', - circlePipe: '(│)', - circleQuestionMark: '(?)', - bullet: '*', - dot: '.', - line: '─', - ellipsis: '...', - pointer: '>', - pointerSmall: '»', - info: 'i', - warning: '‼', - hamburger: '≡', - smiley: '☺', - mustache: '┌─┐', - heart: main.heart, - nodejs: '♦', - arrowUp: main.arrowUp, - arrowDown: main.arrowDown, - arrowLeft: main.arrowLeft, - arrowRight: main.arrowRight, - radioOn: '(*)', - radioOff: '( )', - checkboxOn: '[×]', - checkboxOff: '[ ]', - checkboxCircleOn: '(×)', - checkboxCircleOff: '( )', - questionMarkPrefix: '?', - oneHalf: '1/2', - oneThird: '1/3', - oneQuarter: '1/4', - oneFifth: '1/5', - oneSixth: '1/6', - oneSeventh: '1/7', - oneEighth: '1/8', - oneNinth: '1/9', - oneTenth: '1/10', - twoThirds: '2/3', - twoFifths: '2/5', - threeQuarters: '3/4', - threeFifths: '3/5', - threeEighths: '3/8', - fourFifths: '4/5', - fiveSixths: '5/6', - fiveEighths: '5/8', - sevenEighths: '7/8' -}; - -if (platform === 'linux') { - // The main one doesn't look that good on Ubuntu. - main.questionMarkPrefix = '?'; -} - -const figures = platform === 'win32' ? windows : main; - -const fn = string => { - if (figures === main) { - return string; - } - - for (const [key, value] of Object.entries(main)) { - if (value === figures[key]) { - continue; - } - - string = string.replace(new RegExp(escapeStringRegexp(value), 'g'), figures[key]); - } - - return string; -}; - -module.exports = Object.assign(fn, figures); -module.exports.main = main; -module.exports.windows = windows; diff --git a/tools/node_modules/eslint/node_modules/figures/license b/tools/node_modules/eslint/node_modules/figures/license deleted file mode 100644 index fa7ceba3eb4a96..00000000000000 --- a/tools/node_modules/eslint/node_modules/figures/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/figures/package.json b/tools/node_modules/eslint/node_modules/figures/package.json deleted file mode 100644 index 555265616de0d8..00000000000000 --- a/tools/node_modules/eslint/node_modules/figures/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/figures/issues" - }, - "bundleDependencies": false, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "deprecated": false, - "description": "Unicode symbols with Windows CMD fallbacks", - "devDependencies": { - "ava": "^1.4.1", - "markdown-table": "^1.1.2", - "tsd": "^0.7.2", - "xo": "^0.24.0" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "funding": "https://github.com/sponsors/sindresorhus", - "homepage": "https://github.com/sindresorhus/figures#readme", - "keywords": [ - "unicode", - "cli", - "cmd", - "command-line", - "characters", - "symbol", - "symbols", - "figure", - "figures", - "fallback" - ], - "license": "MIT", - "name": "figures", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/figures.git" - }, - "scripts": { - "make": "./makefile.js", - "test": "xo && ava && tsd" - }, - "version": "3.2.0" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/figures/readme.md b/tools/node_modules/eslint/node_modules/figures/readme.md deleted file mode 100644 index 22d3620a96b28e..00000000000000 --- a/tools/node_modules/eslint/node_modules/figures/readme.md +++ /dev/null @@ -1,139 +0,0 @@ -# figures [![Build Status](https://travis-ci.org/sindresorhus/figures.svg?branch=master)](https://travis-ci.org/sindresorhus/figures) - -> Unicode symbols with Windows CMD fallbacks - -[![](screenshot.png)](index.js) - -[*and more...*](index.js) - -Windows CMD only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437). - -## Install - -``` -$ npm install figures -``` - -## Usage - -See the [source](index.js) for supported symbols. - -```js -const figures = require('figures'); - -console.log(figures('✔︎ check')); -// On non-Windows OSes: ✔︎ check -// On Windows: √ check - -console.log(figures.tick); -// On non-Windows OSes: ✔︎ -// On Windows: √ - -console.log(figures.main.tick); -// On all OSes: ✔︎ - -console.log(figures.windows.tick); -// On all OSes: √ -``` - -## API - -### figures(string) - -Returns the input with replaced fallback Unicode symbols on Windows. - -All the below [figures](#figures) are attached to the main export as shown in the example above. - -#### string - -Type: `string` - -String where the Unicode symbols will be replaced with fallback symbols depending on the OS. - -### figures.main - -Symbols to use when not running on Windows. - -### figures.windows - -Symbols to use when running on Windows. - - -## Figures - -| Name | Non-Windows | Windows | -| ------------------ | :---------: | :-----: | -| tick | ✔ | √ | -| cross | ✖ | × | -| star | ★ | * | -| square | ▇ | █ | -| squareSmall | ◻ | [ ] | -| squareSmallFilled | ◼ | [█] | -| play | ▶ | ► | -| circle | ◯ | ( ) | -| circleFilled | ◉ | (*) | -| circleDotted | ◌ | ( ) | -| circleDouble | ◎ | ( ) | -| circleCircle | ⓞ | (○) | -| circleCross | ⓧ | (×) | -| circlePipe | Ⓘ | (│) | -| circleQuestionMark | ?⃝ | (?) | -| bullet | ● | * | -| dot | ․ | . | -| line | ─ | ─ | -| ellipsis | … | ... | -| pointer | ❯ | > | -| pointerSmall | › | » | -| info | ℹ | i | -| warning | ⚠ | ‼ | -| hamburger | ☰ | ≡ | -| smiley | ㋡ | ☺ | -| mustache | ෴ | ┌─┐ | -| heart | ♥ | ♥ | -| nodejs | ⬢ | ♦ | -| arrowUp | ↑ | ↑ | -| arrowDown | ↓ | ↓ | -| arrowLeft | ← | ← | -| arrowRight | → | → | -| radioOn | ◉ | (*) | -| radioOff | ◯ | ( ) | -| checkboxOn | ☒ | [×] | -| checkboxOff | ☐ | [ ] | -| checkboxCircleOn | ⓧ | (×) | -| checkboxCircleOff | Ⓘ | ( ) | -| questionMarkPrefix | ?⃝ | ? | -| oneHalf | ½ | 1/2 | -| oneThird | ⅓ | 1/3 | -| oneQuarter | ¼ | 1/4 | -| oneFifth | ⅕ | 1/5 | -| oneSixth | ⅙ | 1/6 | -| oneSeventh | ⅐ | 1/7 | -| oneEighth | ⅛ | 1/8 | -| oneNinth | ⅑ | 1/9 | -| oneTenth | ⅒ | 1/10 | -| twoThirds | ⅔ | 2/3 | -| twoFifths | ⅖ | 2/5 | -| threeQuarters | ¾ | 3/4 | -| threeFifths | ⅗ | 3/5 | -| threeEighths | ⅜ | 3/8 | -| fourFifths | ⅘ | 4/5 | -| fiveSixths | ⅚ | 5/6 | -| fiveEighths | ⅝ | 5/8 | -| sevenEighths | ⅞ | 7/8 | - - -## Related - -- [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/LICENSE b/tools/node_modules/eslint/node_modules/iconv-lite/LICENSE deleted file mode 100644 index d518d8376af9fa..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) 2011 Alexander Shtuchkin - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/README.md b/tools/node_modules/eslint/node_modules/iconv-lite/README.md deleted file mode 100644 index c981c3708582a5..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/README.md +++ /dev/null @@ -1,156 +0,0 @@ -## Pure JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?branch=master)](https://travis-ci.org/ashtuchkin/iconv-lite) - - * Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud9](http://c9.io). - * Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parser), - [Grunt](http://gruntjs.com/), [Nodemailer](http://www.nodemailer.com/), [Yeoman](http://yeoman.io/) and others. - * Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance comparison). - * Intuitive encode/decode API - * Streaming support for Node v0.10+ - * [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encodings. - * In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compressed with Buffer shim included). - * Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included. - * React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stream`). - * License: MIT. - -[![NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.org/packages/iconv-lite/) - -## Usage -### Basic API -```javascript -var iconv = require('iconv-lite'); - -// Convert from an encoded buffer to js string. -str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251'); - -// Convert from js string to an encoded buffer. -buf = iconv.encode("Sample input string", 'win1251'); - -// Check if encoding is supported -iconv.encodingExists("us-ascii") -``` - -### Streaming API (Node v0.10+) -```javascript - -// Decode stream (from binary stream to js strings) -http.createServer(function(req, res) { - var converterStream = iconv.decodeStream('win1251'); - req.pipe(converterStream); - - converterStream.on('data', function(str) { - console.log(str); // Do something with decoded strings, chunk-by-chunk. - }); -}); - -// Convert encoding streaming example -fs.createReadStream('file-in-win1251.txt') - .pipe(iconv.decodeStream('win1251')) - .pipe(iconv.encodeStream('ucs2')) - .pipe(fs.createWriteStream('file-in-ucs2.txt')); - -// Sugar: all encode/decode streams have .collect(cb) method to accumulate data. -http.createServer(function(req, res) { - req.pipe(iconv.decodeStream('win1251')).collect(function(err, body) { - assert(typeof body == 'string'); - console.log(body); // full request body string - }); -}); -``` - -### [Deprecated] Extend Node.js own encodings -> NOTE: This doesn't work on latest Node versions. See [details](https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility). - -```javascript -// After this call all Node basic primitives will understand iconv-lite encodings. -iconv.extendNodeEncodings(); - -// Examples: -buf = new Buffer(str, 'win1251'); -buf.write(str, 'gbk'); -str = buf.toString('latin1'); -assert(Buffer.isEncoding('iso-8859-15')); -Buffer.byteLength(str, 'us-ascii'); - -http.createServer(function(req, res) { - req.setEncoding('big5'); - req.collect(function(err, body) { - console.log(body); - }); -}); - -fs.createReadStream("file.txt", "shift_jis"); - -// External modules are also supported (if they use Node primitives, which they probably do). -request = require('request'); -request({ - url: "http://github.com/", - encoding: "cp932" -}); - -// To remove extensions -iconv.undoExtendNodeEncodings(); -``` - -## Supported encodings - - * All node.js native encodings: utf8, ucs2 / utf16-le, ascii, binary, base64, hex. - * Additional unicode encodings: utf16, utf16-be, utf-7, utf-7-imap. - * All widespread singlebyte encodings: Windows 125x family, ISO-8859 family, - IBM/DOS codepages, Macintosh family, KOI8 family, all others supported by iconv library. - Aliases like 'latin1', 'us-ascii' also supported. - * All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP. - -See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings). - -Most singlebyte encodings are generated automatically from [node-iconv](https://github.com/bnoordhuis/node-iconv). Thank you Ben Noordhuis and libiconv authors! - -Multibyte encodings are generated from [Unicode.org mappings](http://www.unicode.org/Public/MAPPINGS/) and [WHATWG Encoding Standard mappings](http://encoding.spec.whatwg.org/). Thank you, respective authors! - - -## Encoding/decoding speed - -Comparison with node-iconv module (1000x256kb, on MacBook Pro, Core i5/2.6 GHz, Node v0.12.0). -Note: your results may vary, so please always check on your hardware. - - operation iconv@2.1.4 iconv-lite@0.4.7 - ---------------------------------------------------------- - encode('win1251') ~96 Mb/s ~320 Mb/s - decode('win1251') ~95 Mb/s ~246 Mb/s - -## BOM handling - - * Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options - (f.ex. `iconv.decode(buf, enc, {stripBOM: false})`). - A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was actually found. - * If you want to detect UTF-8 BOM when decoding other encodings, use [node-autodetect-decoder-stream](https://github.com/danielgindi/node-autodetect-decoder-stream) module. - * Encoding: No BOM added, unless overridden by `addBOM: true` option. - -## UTF-16 Encodings - -This library supports UTF-16LE, UTF-16BE and UTF-16 encodings. First two are straightforward, but UTF-16 is trying to be -smart about endianness in the following ways: - * Decoding: uses BOM and 'spaces heuristic' to determine input endianness. Default is UTF-16LE, but can be - overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`. - * Encoding: uses UTF-16LE and writes BOM by default. Use `addBOM: false` to override. - -## Other notes - -When decoding, be sure to supply a Buffer to decode() method, otherwise [bad things usually happen](https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding). -Untranslatable characters are set to � or ?. No transliteration is currently supported. -Node versions 0.10.31 and 0.11.13 are buggy, don't use them (see #65, #77). - -## Testing - -```bash -$ git clone git@github.com:ashtuchkin/iconv-lite.git -$ cd iconv-lite -$ npm install -$ npm test - -$ # To view performance: -$ node test/performance.js - -$ # To view test coverage: -$ npm run coverage -$ open coverage/lcov-report/index.html -``` diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-codec.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-codec.js deleted file mode 100644 index 1fe3e160112aa9..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-codec.js +++ /dev/null @@ -1,555 +0,0 @@ -"use strict"; -var Buffer = require("safer-buffer").Buffer; - -// Multibyte codec. In this scheme, a character is represented by 1 or more bytes. -// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. -// To save memory and loading time, we read table files only when requested. - -exports._dbcs = DBCSCodec; - -var UNASSIGNED = -1, - GB18030_CODE = -2, - SEQ_START = -10, - NODE_START = -1000, - UNASSIGNED_NODE = new Array(0x100), - DEF_CHAR = -1; - -for (var i = 0; i < 0x100; i++) - UNASSIGNED_NODE[i] = UNASSIGNED; - - -// Class DBCSCodec reads and initializes mapping tables. -function DBCSCodec(codecOptions, iconv) { - this.encodingName = codecOptions.encodingName; - if (!codecOptions) - throw new Error("DBCS codec is called without the data.") - if (!codecOptions.table) - throw new Error("Encoding '" + this.encodingName + "' has no data."); - - // Load tables. - var mappingTable = codecOptions.table(); - - - // Decode tables: MBCS -> Unicode. - - // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256. - // Trie root is decodeTables[0]. - // Values: >= 0 -> unicode character code. can be > 0xFFFF - // == UNASSIGNED -> unknown/unassigned sequence. - // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence. - // <= NODE_START -> index of the next node in our trie to process next byte. - // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq. - this.decodeTables = []; - this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node. - - // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. - this.decodeTableSeq = []; - - // Actual mapping tables consist of chunks. Use them to fill up decode tables. - for (var i = 0; i < mappingTable.length; i++) - this._addDecodeChunk(mappingTable[i]); - - this.defaultCharUnicode = iconv.defaultCharUnicode; - - - // Encode tables: Unicode -> DBCS. - - // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance. - // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null. - // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.). - // == UNASSIGNED -> no conversion found. Output a default char. - // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence. - this.encodeTable = []; - - // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of - // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key - // means end of sequence (needed when one sequence is a strict subsequence of another). - // Objects are kept separately from encodeTable to increase performance. - this.encodeTableSeq = []; - - // Some chars can be decoded, but need not be encoded. - var skipEncodeChars = {}; - if (codecOptions.encodeSkipVals) - for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) { - var val = codecOptions.encodeSkipVals[i]; - if (typeof val === 'number') - skipEncodeChars[val] = true; - else - for (var j = val.from; j <= val.to; j++) - skipEncodeChars[j] = true; - } - - // Use decode trie to recursively fill out encode tables. - this._fillEncodeTable(0, 0, skipEncodeChars); - - // Add more encoding pairs when needed. - if (codecOptions.encodeAdd) { - for (var uChar in codecOptions.encodeAdd) - if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)) - this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]); - } - - this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; - if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?']; - if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); - - - // Load & create GB18030 tables when needed. - if (typeof codecOptions.gb18030 === 'function') { - this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges. - - // Add GB18030 decode tables. - var thirdByteNodeIdx = this.decodeTables.length; - var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0); - - var fourthByteNodeIdx = this.decodeTables.length; - var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0); - - for (var i = 0x81; i <= 0xFE; i++) { - var secondByteNodeIdx = NODE_START - this.decodeTables[0][i]; - var secondByteNode = this.decodeTables[secondByteNodeIdx]; - for (var j = 0x30; j <= 0x39; j++) - secondByteNode[j] = NODE_START - thirdByteNodeIdx; - } - for (var i = 0x81; i <= 0xFE; i++) - thirdByteNode[i] = NODE_START - fourthByteNodeIdx; - for (var i = 0x30; i <= 0x39; i++) - fourthByteNode[i] = GB18030_CODE - } -} - -DBCSCodec.prototype.encoder = DBCSEncoder; -DBCSCodec.prototype.decoder = DBCSDecoder; - -// Decoder helpers -DBCSCodec.prototype._getDecodeTrieNode = function(addr) { - var bytes = []; - for (; addr > 0; addr >>= 8) - bytes.push(addr & 0xFF); - if (bytes.length == 0) - bytes.push(0); - - var node = this.decodeTables[0]; - for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie. - var val = node[bytes[i]]; - - if (val == UNASSIGNED) { // Create new node. - node[bytes[i]] = NODE_START - this.decodeTables.length; - this.decodeTables.push(node = UNASSIGNED_NODE.slice(0)); - } - else if (val <= NODE_START) { // Existing node. - node = this.decodeTables[NODE_START - val]; - } - else - throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16)); - } - return node; -} - - -DBCSCodec.prototype._addDecodeChunk = function(chunk) { - // First element of chunk is the hex mbcs code where we start. - var curAddr = parseInt(chunk[0], 16); - - // Choose the decoding node where we'll write our chars. - var writeTable = this._getDecodeTrieNode(curAddr); - curAddr = curAddr & 0xFF; - - // Write all other elements of the chunk to the table. - for (var k = 1; k < chunk.length; k++) { - var part = chunk[k]; - if (typeof part === "string") { // String, write as-is. - for (var l = 0; l < part.length;) { - var code = part.charCodeAt(l++); - if (0xD800 <= code && code < 0xDC00) { // Decode surrogate - var codeTrail = part.charCodeAt(l++); - if (0xDC00 <= codeTrail && codeTrail < 0xE000) - writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00); - else - throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]); - } - else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used) - var len = 0xFFF - code + 2; - var seq = []; - for (var m = 0; m < len; m++) - seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq. - - writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length; - this.decodeTableSeq.push(seq); - } - else - writeTable[curAddr++] = code; // Basic char - } - } - else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character. - var charCode = writeTable[curAddr - 1] + 1; - for (var l = 0; l < part; l++) - writeTable[curAddr++] = charCode++; - } - else - throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]); - } - if (curAddr > 0xFF) - throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr); -} - -// Encoder helpers -DBCSCodec.prototype._getEncodeBucket = function(uCode) { - var high = uCode >> 8; // This could be > 0xFF because of astral characters. - if (this.encodeTable[high] === undefined) - this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand. - return this.encodeTable[high]; -} - -DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) { - var bucket = this._getEncodeBucket(uCode); - var low = uCode & 0xFF; - if (bucket[low] <= SEQ_START) - this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it. - else if (bucket[low] == UNASSIGNED) - bucket[low] = dbcsCode; -} - -DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) { - - // Get the root of character tree according to first character of the sequence. - var uCode = seq[0]; - var bucket = this._getEncodeBucket(uCode); - var low = uCode & 0xFF; - - var node; - if (bucket[low] <= SEQ_START) { - // There's already a sequence with - use it. - node = this.encodeTableSeq[SEQ_START-bucket[low]]; - } - else { - // There was no sequence object - allocate a new one. - node = {}; - if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence. - bucket[low] = SEQ_START - this.encodeTableSeq.length; - this.encodeTableSeq.push(node); - } - - // Traverse the character tree, allocating new nodes as needed. - for (var j = 1; j < seq.length-1; j++) { - var oldVal = node[uCode]; - if (typeof oldVal === 'object') - node = oldVal; - else { - node = node[uCode] = {} - if (oldVal !== undefined) - node[DEF_CHAR] = oldVal - } - } - - // Set the leaf to given dbcsCode. - uCode = seq[seq.length-1]; - node[uCode] = dbcsCode; -} - -DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) { - var node = this.decodeTables[nodeIdx]; - for (var i = 0; i < 0x100; i++) { - var uCode = node[i]; - var mbCode = prefix + i; - if (skipEncodeChars[mbCode]) - continue; - - if (uCode >= 0) - this._setEncodeChar(uCode, mbCode); - else if (uCode <= NODE_START) - this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars); - else if (uCode <= SEQ_START) - this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode); - } -} - - - -// == Encoder ================================================================== - -function DBCSEncoder(options, codec) { - // Encoder state - this.leadSurrogate = -1; - this.seqObj = undefined; - - // Static data - this.encodeTable = codec.encodeTable; - this.encodeTableSeq = codec.encodeTableSeq; - this.defaultCharSingleByte = codec.defCharSB; - this.gb18030 = codec.gb18030; -} - -DBCSEncoder.prototype.write = function(str) { - var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)), - leadSurrogate = this.leadSurrogate, - seqObj = this.seqObj, nextChar = -1, - i = 0, j = 0; - - while (true) { - // 0. Get next character. - if (nextChar === -1) { - if (i == str.length) break; - var uCode = str.charCodeAt(i++); - } - else { - var uCode = nextChar; - nextChar = -1; - } - - // 1. Handle surrogates. - if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates. - if (uCode < 0xDC00) { // We've got lead surrogate. - if (leadSurrogate === -1) { - leadSurrogate = uCode; - continue; - } else { - leadSurrogate = uCode; - // Double lead surrogate found. - uCode = UNASSIGNED; - } - } else { // We've got trail surrogate. - if (leadSurrogate !== -1) { - uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00); - leadSurrogate = -1; - } else { - // Incomplete surrogate pair - only trail surrogate found. - uCode = UNASSIGNED; - } - - } - } - else if (leadSurrogate !== -1) { - // Incomplete surrogate pair - only lead surrogate found. - nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char. - leadSurrogate = -1; - } - - // 2. Convert uCode character. - var dbcsCode = UNASSIGNED; - if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence - var resCode = seqObj[uCode]; - if (typeof resCode === 'object') { // Sequence continues. - seqObj = resCode; - continue; - - } else if (typeof resCode == 'number') { // Sequence finished. Write it. - dbcsCode = resCode; - - } else if (resCode == undefined) { // Current character is not part of the sequence. - - // Try default character for this sequence - resCode = seqObj[DEF_CHAR]; - if (resCode !== undefined) { - dbcsCode = resCode; // Found. Write it. - nextChar = uCode; // Current character will be written too in the next iteration. - - } else { - // TODO: What if we have no default? (resCode == undefined) - // Then, we should write first char of the sequence as-is and try the rest recursively. - // Didn't do it for now because no encoding has this situation yet. - // Currently, just skip the sequence and write current char. - } - } - seqObj = undefined; - } - else if (uCode >= 0) { // Regular character - var subtable = this.encodeTable[uCode >> 8]; - if (subtable !== undefined) - dbcsCode = subtable[uCode & 0xFF]; - - if (dbcsCode <= SEQ_START) { // Sequence start - seqObj = this.encodeTableSeq[SEQ_START-dbcsCode]; - continue; - } - - if (dbcsCode == UNASSIGNED && this.gb18030) { - // Use GB18030 algorithm to find character(s) to write. - var idx = findIdx(this.gb18030.uChars, uCode); - if (idx != -1) { - var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]); - newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600; - newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260; - newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10; - newBuf[j++] = 0x30 + dbcsCode; - continue; - } - } - } - - // 3. Write dbcsCode character. - if (dbcsCode === UNASSIGNED) - dbcsCode = this.defaultCharSingleByte; - - if (dbcsCode < 0x100) { - newBuf[j++] = dbcsCode; - } - else if (dbcsCode < 0x10000) { - newBuf[j++] = dbcsCode >> 8; // high byte - newBuf[j++] = dbcsCode & 0xFF; // low byte - } - else { - newBuf[j++] = dbcsCode >> 16; - newBuf[j++] = (dbcsCode >> 8) & 0xFF; - newBuf[j++] = dbcsCode & 0xFF; - } - } - - this.seqObj = seqObj; - this.leadSurrogate = leadSurrogate; - return newBuf.slice(0, j); -} - -DBCSEncoder.prototype.end = function() { - if (this.leadSurrogate === -1 && this.seqObj === undefined) - return; // All clean. Most often case. - - var newBuf = Buffer.alloc(10), j = 0; - - if (this.seqObj) { // We're in the sequence. - var dbcsCode = this.seqObj[DEF_CHAR]; - if (dbcsCode !== undefined) { // Write beginning of the sequence. - if (dbcsCode < 0x100) { - newBuf[j++] = dbcsCode; - } - else { - newBuf[j++] = dbcsCode >> 8; // high byte - newBuf[j++] = dbcsCode & 0xFF; // low byte - } - } else { - // See todo above. - } - this.seqObj = undefined; - } - - if (this.leadSurrogate !== -1) { - // Incomplete surrogate pair - only lead surrogate found. - newBuf[j++] = this.defaultCharSingleByte; - this.leadSurrogate = -1; - } - - return newBuf.slice(0, j); -} - -// Export for testing -DBCSEncoder.prototype.findIdx = findIdx; - - -// == Decoder ================================================================== - -function DBCSDecoder(options, codec) { - // Decoder state - this.nodeIdx = 0; - this.prevBuf = Buffer.alloc(0); - - // Static data - this.decodeTables = codec.decodeTables; - this.decodeTableSeq = codec.decodeTableSeq; - this.defaultCharUnicode = codec.defaultCharUnicode; - this.gb18030 = codec.gb18030; -} - -DBCSDecoder.prototype.write = function(buf) { - var newBuf = Buffer.alloc(buf.length*2), - nodeIdx = this.nodeIdx, - prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length, - seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence. - uCode; - - if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later. - prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]); - - for (var i = 0, j = 0; i < buf.length; i++) { - var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset]; - - // Lookup in current trie node. - var uCode = this.decodeTables[nodeIdx][curByte]; - - if (uCode >= 0) { - // Normal character, just use it. - } - else if (uCode === UNASSIGNED) { // Unknown char. - // TODO: Callback with seq. - //var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); - i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle). - uCode = this.defaultCharUnicode.charCodeAt(0); - } - else if (uCode === GB18030_CODE) { - var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); - var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30); - var idx = findIdx(this.gb18030.gbChars, ptr); - uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx]; - } - else if (uCode <= NODE_START) { // Go to next trie node. - nodeIdx = NODE_START - uCode; - continue; - } - else if (uCode <= SEQ_START) { // Output a sequence of chars. - var seq = this.decodeTableSeq[SEQ_START - uCode]; - for (var k = 0; k < seq.length - 1; k++) { - uCode = seq[k]; - newBuf[j++] = uCode & 0xFF; - newBuf[j++] = uCode >> 8; - } - uCode = seq[seq.length-1]; - } - else - throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte); - - // Write the character to buffer, handling higher planes using surrogate pair. - if (uCode > 0xFFFF) { - uCode -= 0x10000; - var uCodeLead = 0xD800 + Math.floor(uCode / 0x400); - newBuf[j++] = uCodeLead & 0xFF; - newBuf[j++] = uCodeLead >> 8; - - uCode = 0xDC00 + uCode % 0x400; - } - newBuf[j++] = uCode & 0xFF; - newBuf[j++] = uCode >> 8; - - // Reset trie node. - nodeIdx = 0; seqStart = i+1; - } - - this.nodeIdx = nodeIdx; - this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset); - return newBuf.slice(0, j).toString('ucs2'); -} - -DBCSDecoder.prototype.end = function() { - var ret = ''; - - // Try to parse all remaining chars. - while (this.prevBuf.length > 0) { - // Skip 1 character in the buffer. - ret += this.defaultCharUnicode; - var buf = this.prevBuf.slice(1); - - // Parse remaining as usual. - this.prevBuf = Buffer.alloc(0); - this.nodeIdx = 0; - if (buf.length > 0) - ret += this.write(buf); - } - - this.nodeIdx = 0; - return ret; -} - -// Binary search for GB18030. Returns largest i such that table[i] <= val. -function findIdx(table, val) { - if (table[0] > val) - return -1; - - var l = 0, r = table.length; - while (l < r-1) { // always table[l] <= val < table[r] - var mid = l + Math.floor((r-l+1)/2); - if (table[mid] <= val) - l = mid; - else - r = mid; - } - return l; -} - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-data.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-data.js deleted file mode 100644 index 4b61914341f916..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/dbcs-data.js +++ /dev/null @@ -1,176 +0,0 @@ -"use strict"; - -// Description of supported double byte encodings and aliases. -// Tables are not require()-d until they are needed to speed up library load. -// require()-s are direct to support Browserify. - -module.exports = { - - // == Japanese/ShiftJIS ==================================================== - // All japanese encodings are based on JIS X set of standards: - // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. - // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. - // Has several variations in 1978, 1983, 1990 and 1997. - // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. - // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. - // 2 planes, first is superset of 0208, second - revised 0212. - // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) - - // Byte encodings are: - // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte - // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. - // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. - // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. - // 0x00-0x7F - lower part of 0201 - // 0x8E, 0xA1-0xDF - upper part of 0201 - // (0xA1-0xFE)x2 - 0208 plane (94x94). - // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). - // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. - // Used as-is in ISO2022 family. - // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, - // 0201-1976 Roman, 0208-1978, 0208-1983. - // * ISO2022-JP-1: Adds esc seq for 0212-1990. - // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. - // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. - // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. - // - // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. - // - // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html - - 'shiftjis': { - type: '_dbcs', - table: function() { return require('./tables/shiftjis.json') }, - encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, - encodeSkipVals: [{from: 0xED40, to: 0xF940}], - }, - 'csshiftjis': 'shiftjis', - 'mskanji': 'shiftjis', - 'sjis': 'shiftjis', - 'windows31j': 'shiftjis', - 'ms31j': 'shiftjis', - 'xsjis': 'shiftjis', - 'windows932': 'shiftjis', - 'ms932': 'shiftjis', - '932': 'shiftjis', - 'cp932': 'shiftjis', - - 'eucjp': { - type: '_dbcs', - table: function() { return require('./tables/eucjp.json') }, - encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, - }, - - // TODO: KDDI extension to Shift_JIS - // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. - // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. - - - // == Chinese/GBK ========================================================== - // http://en.wikipedia.org/wiki/GBK - // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder - - // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 - 'gb2312': 'cp936', - 'gb231280': 'cp936', - 'gb23121980': 'cp936', - 'csgb2312': 'cp936', - 'csiso58gb231280': 'cp936', - 'euccn': 'cp936', - - // Microsoft's CP936 is a subset and approximation of GBK. - 'windows936': 'cp936', - 'ms936': 'cp936', - '936': 'cp936', - 'cp936': { - type: '_dbcs', - table: function() { return require('./tables/cp936.json') }, - }, - - // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. - 'gbk': { - type: '_dbcs', - table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) }, - }, - 'xgbk': 'gbk', - 'isoir58': 'gbk', - - // GB18030 is an algorithmic extension of GBK. - // Main source: https://www.w3.org/TR/encoding/#gbk-encoder - // http://icu-project.org/docs/papers/gb18030.html - // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml - // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 - 'gb18030': { - type: '_dbcs', - table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) }, - gb18030: function() { return require('./tables/gb18030-ranges.json') }, - encodeSkipVals: [0x80], - encodeAdd: {'€': 0xA2E3}, - }, - - 'chinese': 'gb18030', - - - // == Korean =============================================================== - // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. - 'windows949': 'cp949', - 'ms949': 'cp949', - '949': 'cp949', - 'cp949': { - type: '_dbcs', - table: function() { return require('./tables/cp949.json') }, - }, - - 'cseuckr': 'cp949', - 'csksc56011987': 'cp949', - 'euckr': 'cp949', - 'isoir149': 'cp949', - 'korean': 'cp949', - 'ksc56011987': 'cp949', - 'ksc56011989': 'cp949', - 'ksc5601': 'cp949', - - - // == Big5/Taiwan/Hong Kong ================================================ - // There are lots of tables for Big5 and cp950. Please see the following links for history: - // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html - // Variations, in roughly number of defined chars: - // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT - // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ - // * Big5-2003 (Taiwan standard) almost superset of cp950. - // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. - // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. - // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. - // Plus, it has 4 combining sequences. - // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 - // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. - // Implementations are not consistent within browsers; sometimes labeled as just big5. - // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. - // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 - // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. - // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt - // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt - // - // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder - // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. - - 'windows950': 'cp950', - 'ms950': 'cp950', - '950': 'cp950', - 'cp950': { - type: '_dbcs', - table: function() { return require('./tables/cp950.json') }, - }, - - // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. - 'big5': 'big5hkscs', - 'big5hkscs': { - type: '_dbcs', - table: function() { return require('./tables/cp950.json').concat(require('./tables/big5-added.json')) }, - encodeSkipVals: [0xa2cc], - }, - - 'cnbig5': 'big5hkscs', - 'csbig5': 'big5hkscs', - 'xxbig5': 'big5hkscs', -}; diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/index.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/index.js deleted file mode 100644 index e30400317c18fb..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/index.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; - -// Update this array if you add/rename/remove files in this directory. -// We support Browserify by skipping automatic module discovery and requiring modules directly. -var modules = [ - require("./internal"), - require("./utf16"), - require("./utf7"), - require("./sbcs-codec"), - require("./sbcs-data"), - require("./sbcs-data-generated"), - require("./dbcs-codec"), - require("./dbcs-data"), -]; - -// Put all encoding/alias/codec definitions to single object and export it. -for (var i = 0; i < modules.length; i++) { - var module = modules[i]; - for (var enc in module) - if (Object.prototype.hasOwnProperty.call(module, enc)) - exports[enc] = module[enc]; -} diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/internal.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/internal.js deleted file mode 100644 index 05ce38b276eee2..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/internal.js +++ /dev/null @@ -1,188 +0,0 @@ -"use strict"; -var Buffer = require("safer-buffer").Buffer; - -// Export Node.js internal encodings. - -module.exports = { - // Encodings - utf8: { type: "_internal", bomAware: true}, - cesu8: { type: "_internal", bomAware: true}, - unicode11utf8: "utf8", - - ucs2: { type: "_internal", bomAware: true}, - utf16le: "ucs2", - - binary: { type: "_internal" }, - base64: { type: "_internal" }, - hex: { type: "_internal" }, - - // Codec. - _internal: InternalCodec, -}; - -//------------------------------------------------------------------------------ - -function InternalCodec(codecOptions, iconv) { - this.enc = codecOptions.encodingName; - this.bomAware = codecOptions.bomAware; - - if (this.enc === "base64") - this.encoder = InternalEncoderBase64; - else if (this.enc === "cesu8") { - this.enc = "utf8"; // Use utf8 for decoding. - this.encoder = InternalEncoderCesu8; - - // Add decoder for versions of Node not supporting CESU-8 - if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') { - this.decoder = InternalDecoderCesu8; - this.defaultCharUnicode = iconv.defaultCharUnicode; - } - } -} - -InternalCodec.prototype.encoder = InternalEncoder; -InternalCodec.prototype.decoder = InternalDecoder; - -//------------------------------------------------------------------------------ - -// We use node.js internal decoder. Its signature is the same as ours. -var StringDecoder = require('string_decoder').StringDecoder; - -if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. - StringDecoder.prototype.end = function() {}; - - -function InternalDecoder(options, codec) { - StringDecoder.call(this, codec.enc); -} - -InternalDecoder.prototype = StringDecoder.prototype; - - -//------------------------------------------------------------------------------ -// Encoder is mostly trivial - -function InternalEncoder(options, codec) { - this.enc = codec.enc; -} - -InternalEncoder.prototype.write = function(str) { - return Buffer.from(str, this.enc); -} - -InternalEncoder.prototype.end = function() { -} - - -//------------------------------------------------------------------------------ -// Except base64 encoder, which must keep its state. - -function InternalEncoderBase64(options, codec) { - this.prevStr = ''; -} - -InternalEncoderBase64.prototype.write = function(str) { - str = this.prevStr + str; - var completeQuads = str.length - (str.length % 4); - this.prevStr = str.slice(completeQuads); - str = str.slice(0, completeQuads); - - return Buffer.from(str, "base64"); -} - -InternalEncoderBase64.prototype.end = function() { - return Buffer.from(this.prevStr, "base64"); -} - - -//------------------------------------------------------------------------------ -// CESU-8 encoder is also special. - -function InternalEncoderCesu8(options, codec) { -} - -InternalEncoderCesu8.prototype.write = function(str) { - var buf = Buffer.alloc(str.length * 3), bufIdx = 0; - for (var i = 0; i < str.length; i++) { - var charCode = str.charCodeAt(i); - // Naive implementation, but it works because CESU-8 is especially easy - // to convert from UTF-16 (which all JS strings are encoded in). - if (charCode < 0x80) - buf[bufIdx++] = charCode; - else if (charCode < 0x800) { - buf[bufIdx++] = 0xC0 + (charCode >>> 6); - buf[bufIdx++] = 0x80 + (charCode & 0x3f); - } - else { // charCode will always be < 0x10000 in javascript. - buf[bufIdx++] = 0xE0 + (charCode >>> 12); - buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f); - buf[bufIdx++] = 0x80 + (charCode & 0x3f); - } - } - return buf.slice(0, bufIdx); -} - -InternalEncoderCesu8.prototype.end = function() { -} - -//------------------------------------------------------------------------------ -// CESU-8 decoder is not implemented in Node v4.0+ - -function InternalDecoderCesu8(options, codec) { - this.acc = 0; - this.contBytes = 0; - this.accBytes = 0; - this.defaultCharUnicode = codec.defaultCharUnicode; -} - -InternalDecoderCesu8.prototype.write = function(buf) { - var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, - res = ''; - for (var i = 0; i < buf.length; i++) { - var curByte = buf[i]; - if ((curByte & 0xC0) !== 0x80) { // Leading byte - if (contBytes > 0) { // Previous code is invalid - res += this.defaultCharUnicode; - contBytes = 0; - } - - if (curByte < 0x80) { // Single-byte code - res += String.fromCharCode(curByte); - } else if (curByte < 0xE0) { // Two-byte code - acc = curByte & 0x1F; - contBytes = 1; accBytes = 1; - } else if (curByte < 0xF0) { // Three-byte code - acc = curByte & 0x0F; - contBytes = 2; accBytes = 1; - } else { // Four or more are not supported for CESU-8. - res += this.defaultCharUnicode; - } - } else { // Continuation byte - if (contBytes > 0) { // We're waiting for it. - acc = (acc << 6) | (curByte & 0x3f); - contBytes--; accBytes++; - if (contBytes === 0) { - // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80) - if (accBytes === 2 && acc < 0x80 && acc > 0) - res += this.defaultCharUnicode; - else if (accBytes === 3 && acc < 0x800) - res += this.defaultCharUnicode; - else - // Actually add character. - res += String.fromCharCode(acc); - } - } else { // Unexpected continuation byte - res += this.defaultCharUnicode; - } - } - } - this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes; - return res; -} - -InternalDecoderCesu8.prototype.end = function() { - var res = 0; - if (this.contBytes > 0) - res += this.defaultCharUnicode; - return res; -} diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-codec.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-codec.js deleted file mode 100644 index abac5ffaac97da..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-codec.js +++ /dev/null @@ -1,72 +0,0 @@ -"use strict"; -var Buffer = require("safer-buffer").Buffer; - -// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that -// correspond to encoded bytes (if 128 - then lower half is ASCII). - -exports._sbcs = SBCSCodec; -function SBCSCodec(codecOptions, iconv) { - if (!codecOptions) - throw new Error("SBCS codec is called without the data.") - - // Prepare char buffer for decoding. - if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256)) - throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)"); - - if (codecOptions.chars.length === 128) { - var asciiString = ""; - for (var i = 0; i < 128; i++) - asciiString += String.fromCharCode(i); - codecOptions.chars = asciiString + codecOptions.chars; - } - - this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); - - // Encoding buffer. - var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0)); - - for (var i = 0; i < codecOptions.chars.length; i++) - encodeBuf[codecOptions.chars.charCodeAt(i)] = i; - - this.encodeBuf = encodeBuf; -} - -SBCSCodec.prototype.encoder = SBCSEncoder; -SBCSCodec.prototype.decoder = SBCSDecoder; - - -function SBCSEncoder(options, codec) { - this.encodeBuf = codec.encodeBuf; -} - -SBCSEncoder.prototype.write = function(str) { - var buf = Buffer.alloc(str.length); - for (var i = 0; i < str.length; i++) - buf[i] = this.encodeBuf[str.charCodeAt(i)]; - - return buf; -} - -SBCSEncoder.prototype.end = function() { -} - - -function SBCSDecoder(options, codec) { - this.decodeBuf = codec.decodeBuf; -} - -SBCSDecoder.prototype.write = function(buf) { - // Strings are immutable in JS -> we use ucs2 buffer to speed up computations. - var decodeBuf = this.decodeBuf; - var newBuf = Buffer.alloc(buf.length*2); - var idx1 = 0, idx2 = 0; - for (var i = 0; i < buf.length; i++) { - idx1 = buf[i]*2; idx2 = i*2; - newBuf[idx2] = decodeBuf[idx1]; - newBuf[idx2+1] = decodeBuf[idx1+1]; - } - return newBuf.toString('ucs2'); -} - -SBCSDecoder.prototype.end = function() { -} diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data-generated.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data-generated.js deleted file mode 100644 index 9b4823607b6071..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data-generated.js +++ /dev/null @@ -1,451 +0,0 @@ -"use strict"; - -// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. -module.exports = { - "437": "cp437", - "737": "cp737", - "775": "cp775", - "850": "cp850", - "852": "cp852", - "855": "cp855", - "856": "cp856", - "857": "cp857", - "858": "cp858", - "860": "cp860", - "861": "cp861", - "862": "cp862", - "863": "cp863", - "864": "cp864", - "865": "cp865", - "866": "cp866", - "869": "cp869", - "874": "windows874", - "922": "cp922", - "1046": "cp1046", - "1124": "cp1124", - "1125": "cp1125", - "1129": "cp1129", - "1133": "cp1133", - "1161": "cp1161", - "1162": "cp1162", - "1163": "cp1163", - "1250": "windows1250", - "1251": "windows1251", - "1252": "windows1252", - "1253": "windows1253", - "1254": "windows1254", - "1255": "windows1255", - "1256": "windows1256", - "1257": "windows1257", - "1258": "windows1258", - "28591": "iso88591", - "28592": "iso88592", - "28593": "iso88593", - "28594": "iso88594", - "28595": "iso88595", - "28596": "iso88596", - "28597": "iso88597", - "28598": "iso88598", - "28599": "iso88599", - "28600": "iso885910", - "28601": "iso885911", - "28603": "iso885913", - "28604": "iso885914", - "28605": "iso885915", - "28606": "iso885916", - "windows874": { - "type": "_sbcs", - "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" - }, - "win874": "windows874", - "cp874": "windows874", - "windows1250": { - "type": "_sbcs", - "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" - }, - "win1250": "windows1250", - "cp1250": "windows1250", - "windows1251": { - "type": "_sbcs", - "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" - }, - "win1251": "windows1251", - "cp1251": "windows1251", - "windows1252": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" - }, - "win1252": "windows1252", - "cp1252": "windows1252", - "windows1253": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" - }, - "win1253": "windows1253", - "cp1253": "windows1253", - "windows1254": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" - }, - "win1254": "windows1254", - "cp1254": "windows1254", - "windows1255": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" - }, - "win1255": "windows1255", - "cp1255": "windows1255", - "windows1256": { - "type": "_sbcs", - "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" - }, - "win1256": "windows1256", - "cp1256": "windows1256", - "windows1257": { - "type": "_sbcs", - "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" - }, - "win1257": "windows1257", - "cp1257": "windows1257", - "windows1258": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" - }, - "win1258": "windows1258", - "cp1258": "windows1258", - "iso88591": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" - }, - "cp28591": "iso88591", - "iso88592": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" - }, - "cp28592": "iso88592", - "iso88593": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙" - }, - "cp28593": "iso88593", - "iso88594": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙" - }, - "cp28594": "iso88594", - "iso88595": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ" - }, - "cp28595": "iso88595", - "iso88596": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������" - }, - "cp28596": "iso88596", - "iso88597": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" - }, - "cp28597": "iso88597", - "iso88598": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" - }, - "cp28598": "iso88598", - "iso88599": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" - }, - "cp28599": "iso88599", - "iso885910": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ" - }, - "cp28600": "iso885910", - "iso885911": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" - }, - "cp28601": "iso885911", - "iso885913": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’" - }, - "cp28603": "iso885913", - "iso885914": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ" - }, - "cp28604": "iso885914", - "iso885915": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" - }, - "cp28605": "iso885915", - "iso885916": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ" - }, - "cp28606": "iso885916", - "cp437": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm437": "cp437", - "csibm437": "cp437", - "cp737": { - "type": "_sbcs", - "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " - }, - "ibm737": "cp737", - "csibm737": "cp737", - "cp775": { - "type": "_sbcs", - "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£ØפĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ " - }, - "ibm775": "cp775", - "csibm775": "cp775", - "cp850": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " - }, - "ibm850": "cp850", - "csibm850": "cp850", - "cp852": { - "type": "_sbcs", - "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " - }, - "ibm852": "cp852", - "csibm852": "cp852", - "cp855": { - "type": "_sbcs", - "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ " - }, - "ibm855": "cp855", - "csibm855": "cp855", - "cp856": { - "type": "_sbcs", - "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ " - }, - "ibm856": "cp856", - "csibm856": "cp856", - "cp857": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " - }, - "ibm857": "cp857", - "csibm857": "cp857", - "cp858": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " - }, - "ibm858": "cp858", - "csibm858": "cp858", - "cp860": { - "type": "_sbcs", - "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm860": "cp860", - "csibm860": "cp860", - "cp861": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm861": "cp861", - "csibm861": "cp861", - "cp862": { - "type": "_sbcs", - "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm862": "cp862", - "csibm862": "cp862", - "cp863": { - "type": "_sbcs", - "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm863": "cp863", - "csibm863": "cp863", - "cp864": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�" - }, - "ibm864": "cp864", - "csibm864": "cp864", - "cp865": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - "ibm865": "cp865", - "csibm865": "cp865", - "cp866": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " - }, - "ibm866": "cp866", - "csibm866": "cp866", - "cp869": { - "type": "_sbcs", - "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ " - }, - "ibm869": "cp869", - "csibm869": "cp869", - "cp922": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ" - }, - "ibm922": "cp922", - "csibm922": "cp922", - "cp1046": { - "type": "_sbcs", - "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�" - }, - "ibm1046": "cp1046", - "csibm1046": "cp1046", - "cp1124": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ" - }, - "ibm1124": "cp1124", - "csibm1124": "cp1124", - "cp1125": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ " - }, - "ibm1125": "cp1125", - "csibm1125": "cp1125", - "cp1129": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" - }, - "ibm1129": "cp1129", - "csibm1129": "cp1129", - "cp1133": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�" - }, - "ibm1133": "cp1133", - "csibm1133": "cp1133", - "cp1161": { - "type": "_sbcs", - "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ " - }, - "ibm1161": "cp1161", - "csibm1161": "cp1161", - "cp1162": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" - }, - "ibm1162": "cp1162", - "csibm1162": "cp1162", - "cp1163": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" - }, - "ibm1163": "cp1163", - "csibm1163": "cp1163", - "maccroatian": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ" - }, - "maccyrillic": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" - }, - "macgreek": { - "type": "_sbcs", - "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" - }, - "maciceland": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" - }, - "macroman": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" - }, - "macromania": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" - }, - "macthai": { - "type": "_sbcs", - "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����" - }, - "macturkish": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" - }, - "macukraine": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" - }, - "koi8r": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" - }, - "koi8u": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" - }, - "koi8ru": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" - }, - "koi8t": { - "type": "_sbcs", - "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" - }, - "armscii8": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�" - }, - "rk1048": { - "type": "_sbcs", - "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" - }, - "tcvn": { - "type": "_sbcs", - "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ" - }, - "georgianacademy": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ" - }, - "georgianps": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" - }, - "pt154": { - "type": "_sbcs", - "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" - }, - "viscii": { - "type": "_sbcs", - "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ" - }, - "iso646cn": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" - }, - "iso646jp": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" - }, - "hproman8": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�" - }, - "macintosh": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" - }, - "ascii": { - "type": "_sbcs", - "chars": "��������������������������������������������������������������������������������������������������������������������������������" - }, - "tis620": { - "type": "_sbcs", - "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" - } -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data.js deleted file mode 100644 index fdb81a39ac9853..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/sbcs-data.js +++ /dev/null @@ -1,174 +0,0 @@ -"use strict"; - -// Manually added data to be used by sbcs codec in addition to generated one. - -module.exports = { - // Not supported by iconv, not sure why. - "10029": "maccenteuro", - "maccenteuro": { - "type": "_sbcs", - "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" - }, - - "808": "cp808", - "ibm808": "cp808", - "cp808": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ " - }, - - "mik": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - - // Aliases of generated encodings. - "ascii8bit": "ascii", - "usascii": "ascii", - "ansix34": "ascii", - "ansix341968": "ascii", - "ansix341986": "ascii", - "csascii": "ascii", - "cp367": "ascii", - "ibm367": "ascii", - "isoir6": "ascii", - "iso646us": "ascii", - "iso646irv": "ascii", - "us": "ascii", - - "latin1": "iso88591", - "latin2": "iso88592", - "latin3": "iso88593", - "latin4": "iso88594", - "latin5": "iso88599", - "latin6": "iso885910", - "latin7": "iso885913", - "latin8": "iso885914", - "latin9": "iso885915", - "latin10": "iso885916", - - "csisolatin1": "iso88591", - "csisolatin2": "iso88592", - "csisolatin3": "iso88593", - "csisolatin4": "iso88594", - "csisolatincyrillic": "iso88595", - "csisolatinarabic": "iso88596", - "csisolatingreek" : "iso88597", - "csisolatinhebrew": "iso88598", - "csisolatin5": "iso88599", - "csisolatin6": "iso885910", - - "l1": "iso88591", - "l2": "iso88592", - "l3": "iso88593", - "l4": "iso88594", - "l5": "iso88599", - "l6": "iso885910", - "l7": "iso885913", - "l8": "iso885914", - "l9": "iso885915", - "l10": "iso885916", - - "isoir14": "iso646jp", - "isoir57": "iso646cn", - "isoir100": "iso88591", - "isoir101": "iso88592", - "isoir109": "iso88593", - "isoir110": "iso88594", - "isoir144": "iso88595", - "isoir127": "iso88596", - "isoir126": "iso88597", - "isoir138": "iso88598", - "isoir148": "iso88599", - "isoir157": "iso885910", - "isoir166": "tis620", - "isoir179": "iso885913", - "isoir199": "iso885914", - "isoir203": "iso885915", - "isoir226": "iso885916", - - "cp819": "iso88591", - "ibm819": "iso88591", - - "cyrillic": "iso88595", - - "arabic": "iso88596", - "arabic8": "iso88596", - "ecma114": "iso88596", - "asmo708": "iso88596", - - "greek" : "iso88597", - "greek8" : "iso88597", - "ecma118" : "iso88597", - "elot928" : "iso88597", - - "hebrew": "iso88598", - "hebrew8": "iso88598", - - "turkish": "iso88599", - "turkish8": "iso88599", - - "thai": "iso885911", - "thai8": "iso885911", - - "celtic": "iso885914", - "celtic8": "iso885914", - "isoceltic": "iso885914", - - "tis6200": "tis620", - "tis62025291": "tis620", - "tis62025330": "tis620", - - "10000": "macroman", - "10006": "macgreek", - "10007": "maccyrillic", - "10079": "maciceland", - "10081": "macturkish", - - "cspc8codepage437": "cp437", - "cspc775baltic": "cp775", - "cspc850multilingual": "cp850", - "cspcp852": "cp852", - "cspc862latinhebrew": "cp862", - "cpgr": "cp869", - - "msee": "cp1250", - "mscyrl": "cp1251", - "msansi": "cp1252", - "msgreek": "cp1253", - "msturk": "cp1254", - "mshebr": "cp1255", - "msarab": "cp1256", - "winbaltrim": "cp1257", - - "cp20866": "koi8r", - "20866": "koi8r", - "ibm878": "koi8r", - "cskoi8r": "koi8r", - - "cp21866": "koi8u", - "21866": "koi8u", - "ibm1168": "koi8u", - - "strk10482002": "rk1048", - - "tcvn5712": "tcvn", - "tcvn57121": "tcvn", - - "gb198880": "iso646cn", - "cn": "iso646cn", - - "csiso14jisc6220ro": "iso646jp", - "jisc62201969ro": "iso646jp", - "jp": "iso646jp", - - "cshproman8": "hproman8", - "r8": "hproman8", - "roman8": "hproman8", - "xroman8": "hproman8", - "ibm1051": "hproman8", - - "mac": "macintosh", - "csmacintosh": "macintosh", -}; - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/big5-added.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/big5-added.json deleted file mode 100644 index 3c3d3c2f7b14c6..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/big5-added.json +++ /dev/null @@ -1,122 +0,0 @@ -[ -["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"], -["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"], -["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"], -["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"], -["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"], -["8940","𪎩𡅅"], -["8943","攊"], -["8946","丽滝鵎釟"], -["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"], -["89a1","琑糼緍楆竉刧"], -["89ab","醌碸酞肼"], -["89b0","贋胶𠧧"], -["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"], -["89c1","溚舾甙"], -["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"], -["8a40","𧶄唥"], -["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"], -["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"], -["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"], -["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"], -["8aac","䠋𠆩㿺塳𢶍"], -["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"], -["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"], -["8ac9","𪘁𠸉𢫏𢳉"], -["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"], -["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"], -["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"], -["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"], -["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"], -["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"], -["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"], -["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"], -["8ca1","𣏹椙橃𣱣泿"], -["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"], -["8cc9","顨杫䉶圽"], -["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"], -["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"], -["8d40","𠮟"], -["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"], -["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"], -["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"], -["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"], -["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"], -["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"], -["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"], -["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"], -["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"], -["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"], -["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"], -["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"], -["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"], -["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"], -["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"], -["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"], -["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"], -["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"], -["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"], -["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"], -["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"], -["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"], -["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"], -["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"], -["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"], -["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"], -["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"], -["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"], -["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"], -["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"], -["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"], -["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"], -["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"], -["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"], -["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"], -["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"], -["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"], -["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"], -["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"], -["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"], -["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"], -["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"], -["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"], -["9fae","酙隁酜"], -["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"], -["9fc1","𤤙盖鮝个𠳔莾衂"], -["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"], -["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"], -["9fe7","毺蠘罸"], -["9feb","嘠𪙊蹷齓"], -["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"], -["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"], -["a055","𡠻𦸅"], -["a058","詾𢔛"], -["a05b","惽癧髗鵄鍮鮏蟵"], -["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"], -["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"], -["a0a1","嵗𨯂迚𨸹"], -["a0a6","僙𡵆礆匲阸𠼻䁥"], -["a0ae","矾"], -["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"], -["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"], -["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"], -["a3c0","␀",31,"␡"], -["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23], -["c740","す",58,"ァアィイ"], -["c7a1","ゥ",81,"А",5,"ЁЖ",4], -["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"], -["c8a1","龰冈龱𧘇"], -["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"], -["c8f5","ʃɐɛɔɵœøŋʊɪ"], -["f9fe","■"], -["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"], -["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"], -["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"], -["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"], -["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"], -["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"], -["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"], -["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"], -["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"], -["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp936.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp936.json deleted file mode 100644 index 49ddb9a1d68fd7..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp936.json +++ /dev/null @@ -1,264 +0,0 @@ -[ -["0","\u0000",127,"€"], -["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"], -["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"], -["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11], -["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"], -["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"], -["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5], -["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"], -["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"], -["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"], -["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"], -["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"], -["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"], -["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4], -["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6], -["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"], -["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7], -["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"], -["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"], -["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"], -["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5], -["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"], -["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6], -["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"], -["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4], -["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4], -["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"], -["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"], -["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6], -["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"], -["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"], -["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"], -["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6], -["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"], -["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"], -["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"], -["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"], -["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"], -["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"], -["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8], -["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"], -["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"], -["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"], -["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"], -["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5], -["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"], -["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"], -["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"], -["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"], -["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5], -["9980","檧檨檪檭",114,"欥欦欨",6], -["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"], -["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"], -["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"], -["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"], -["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"], -["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5], -["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"], -["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"], -["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6], -["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"], -["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"], -["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4], -["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19], -["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"], -["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"], -["a2a1","ⅰ",9], -["a2b1","⒈",19,"⑴",19,"①",9], -["a2e5","㈠",9], -["a2f1","Ⅰ",11], -["a3a1","!"#¥%",88," ̄"], -["a4a1","ぁ",82], -["a5a1","ァ",85], -["a6a1","Α",16,"Σ",6], -["a6c1","α",16,"σ",6], -["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"], -["a6ee","︻︼︷︸︱"], -["a6f4","︳︴"], -["a7a1","А",5,"ЁЖ",25], -["a7d1","а",5,"ёж",25], -["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6], -["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"], -["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"], -["a8bd","ńň"], -["a8c0","ɡ"], -["a8c5","ㄅ",36], -["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"], -["a959","℡㈱"], -["a95c","‐"], -["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8], -["a980","﹢",4,"﹨﹩﹪﹫"], -["a996","〇"], -["a9a4","─",75], -["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8], -["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"], -["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4], -["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4], -["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11], -["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"], -["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12], -["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"], -["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"], -["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"], -["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"], -["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"], -["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"], -["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"], -["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"], -["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"], -["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4], -["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"], -["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"], -["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"], -["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9], -["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"], -["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"], -["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"], -["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"], -["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"], -["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16], -["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"], -["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"], -["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"], -["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"], -["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"], -["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"], -["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"], -["bb40","籃",9,"籎",36,"籵",5,"籾",9], -["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"], -["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5], -["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"], -["bd40","紷",54,"絯",7], -["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"], -["be40","継",12,"綧",6,"綯",42], -["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"], -["bf40","緻",62], -["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"], -["c040","繞",35,"纃",23,"纜纝纞"], -["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"], -["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"], -["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"], -["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"], -["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"], -["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"], -["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"], -["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"], -["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"], -["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"], -["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"], -["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"], -["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"], -["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"], -["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"], -["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"], -["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"], -["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"], -["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"], -["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10], -["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"], -["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"], -["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"], -["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"], -["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"], -["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"], -["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"], -["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"], -["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"], -["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9], -["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"], -["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"], -["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"], -["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5], -["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"], -["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"], -["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"], -["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6], -["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"], -["d440","訞",31,"訿",8,"詉",21], -["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"], -["d540","誁",7,"誋",7,"誔",46], -["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"], -["d640","諤",34,"謈",27], -["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"], -["d740","譆",31,"譧",4,"譭",25], -["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"], -["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"], -["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"], -["d940","貮",62], -["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"], -["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"], -["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"], -["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"], -["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"], -["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7], -["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"], -["dd40","軥",62], -["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"], -["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"], -["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"], -["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"], -["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"], -["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"], -["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"], -["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"], -["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"], -["e240","釦",62], -["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"], -["e340","鉆",45,"鉵",16], -["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"], -["e440","銨",5,"銯",24,"鋉",31], -["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"], -["e540","錊",51,"錿",10], -["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"], -["e640","鍬",34,"鎐",27], -["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"], -["e740","鏎",7,"鏗",54], -["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"], -["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"], -["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"], -["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42], -["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"], -["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"], -["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"], -["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"], -["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"], -["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7], -["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"], -["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46], -["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"], -["ee40","頏",62], -["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"], -["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4], -["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"], -["f040","餈",4,"餎餏餑",28,"餯",26], -["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"], -["f140","馌馎馚",10,"馦馧馩",47], -["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"], -["f240","駺",62], -["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"], -["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"], -["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"], -["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5], -["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"], -["f540","魼",62], -["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"], -["f640","鯜",62], -["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"], -["f740","鰼",62], -["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"], -["f840","鳣",62], -["f880","鴢",32], -["f940","鵃",62], -["f980","鶂",32], -["fa40","鶣",62], -["fa80","鷢",32], -["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"], -["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"], -["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6], -["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"], -["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38], -["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"], -["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp949.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp949.json deleted file mode 100644 index 2022a007ff7ac9..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp949.json +++ /dev/null @@ -1,273 +0,0 @@ -[ -["0","\u0000",127], -["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"], -["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"], -["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"], -["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5], -["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"], -["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18], -["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7], -["8361","긝",18,"긲긳긵긶긹긻긼"], -["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8], -["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8], -["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18], -["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"], -["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4], -["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"], -["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"], -["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"], -["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10], -["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"], -["8741","놞",9,"놩",15], -["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"], -["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4], -["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4], -["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"], -["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"], -["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"], -["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"], -["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15], -["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"], -["8a61","둧",4,"둭",18,"뒁뒂"], -["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"], -["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"], -["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8], -["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18], -["8c41","똀",15,"똒똓똕똖똗똙",4], -["8c61","똞",6,"똦",5,"똭",6,"똵",5], -["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16], -["8d41","뛃",16,"뛕",8], -["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"], -["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"], -["8e41","랟랡",6,"랪랮",5,"랶랷랹",8], -["8e61","럂",4,"럈럊",19], -["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7], -["8f41","뢅",7,"뢎",17], -["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4], -["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5], -["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"], -["9061","륾",5,"릆릈릋릌릏",15], -["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"], -["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5], -["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5], -["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6], -["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"], -["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4], -["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"], -["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"], -["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8], -["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"], -["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8], -["9461","봞",5,"봥",6,"봭",12], -["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24], -["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"], -["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"], -["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14], -["9641","뺸",23,"뻒뻓"], -["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8], -["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44], -["9741","뾃",16,"뾕",8], -["9761","뾞",17,"뾱",7], -["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"], -["9841","쁀",16,"쁒",5,"쁙쁚쁛"], -["9861","쁝쁞쁟쁡",6,"쁪",15], -["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"], -["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"], -["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"], -["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"], -["9a41","숤숥숦숧숪숬숮숰숳숵",16], -["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"], -["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"], -["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8], -["9b61","쌳",17,"썆",7], -["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"], -["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5], -["9c61","쏿",8,"쐉",6,"쐑",9], -["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12], -["9d41","쒪",13,"쒹쒺쒻쒽",8], -["9d61","쓆",25], -["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"], -["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"], -["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"], -["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"], -["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"], -["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"], -["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"], -["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"], -["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13], -["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"], -["a141","좥좦좧좩",18,"좾좿죀죁"], -["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"], -["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"], -["a241","줐줒",5,"줙",18], -["a261","줭",6,"줵",18], -["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"], -["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"], -["a361","즑",6,"즚즜즞",16], -["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"], -["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"], -["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12], -["a481","쨦쨧쨨쨪",28,"ㄱ",93], -["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"], -["a561","쩫",17,"쩾",5,"쪅쪆"], -["a581","쪇",16,"쪙",14,"ⅰ",9], -["a5b0","Ⅰ",9], -["a5c1","Α",16,"Σ",6], -["a5e1","α",16,"σ",6], -["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"], -["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6], -["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7], -["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7], -["a761","쬪",22,"쭂쭃쭄"], -["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"], -["a841","쭭",10,"쭺",14], -["a861","쮉",18,"쮝",6], -["a881","쮤",19,"쮹",11,"ÆЪĦ"], -["a8a6","IJ"], -["a8a8","ĿŁØŒºÞŦŊ"], -["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"], -["a941","쯅",14,"쯕",10], -["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18], -["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"], -["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"], -["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"], -["aa81","챳챴챶",29,"ぁ",82], -["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"], -["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5], -["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85], -["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"], -["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4], -["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25], -["acd1","а",5,"ёж",25], -["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7], -["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"], -["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"], -["ae41","췆",5,"췍췎췏췑",16], -["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4], -["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"], -["af41","츬츭츮츯츲츴츶",19], -["af61","칊",13,"칚칛칝칞칢",5,"칪칬"], -["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"], -["b041","캚",5,"캢캦",5,"캮",12], -["b061","캻",5,"컂",19], -["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"], -["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"], -["b161","켥",6,"켮켲",5,"켹",11], -["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"], -["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"], -["b261","쾎",18,"쾢",5,"쾩"], -["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"], -["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"], -["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5], -["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"], -["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5], -["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"], -["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"], -["b541","킕",14,"킦킧킩킪킫킭",5], -["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4], -["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"], -["b641","턅",7,"턎",17], -["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"], -["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"], -["b741","텮",13,"텽",6,"톅톆톇톉톊"], -["b761","톋",20,"톢톣톥톦톧"], -["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"], -["b841","퇐",7,"퇙",17], -["b861","퇫",8,"퇵퇶퇷퇹",13], -["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"], -["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"], -["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"], -["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"], -["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"], -["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5], -["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"], -["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"], -["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"], -["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"], -["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"], -["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"], -["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"], -["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"], -["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13], -["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"], -["be41","퐸",7,"푁푂푃푅",14], -["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"], -["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"], -["bf41","풞",10,"풪",14], -["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"], -["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"], -["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5], -["c061","픞",25], -["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"], -["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"], -["c161","햌햍햎햏햑",19,"햦햧"], -["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"], -["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"], -["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"], -["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"], -["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4], -["c361","홢",4,"홨홪",5,"홲홳홵",11], -["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"], -["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"], -["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4], -["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"], -["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"], -["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4], -["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"], -["c641","힍힎힏힑",6,"힚힜힞",5], -["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"], -["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"], -["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"], -["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"], -["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"], -["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"], -["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"], -["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"], -["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"], -["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"], -["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"], -["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"], -["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"], -["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"], -["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"], -["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"], -["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"], -["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"], -["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"], -["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"], -["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"], -["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"], -["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"], -["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"], -["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"], -["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"], -["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"], -["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"], -["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"], -["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"], -["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"], -["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"], -["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"], -["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"], -["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"], -["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"], -["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"], -["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"], -["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"], -["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"], -["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"], -["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"], -["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"], -["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"], -["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"], -["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"], -["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"], -["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"], -["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"], -["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"], -["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"], -["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"], -["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"], -["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"], -["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp950.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp950.json deleted file mode 100644 index d8bc87178dd38f..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/cp950.json +++ /dev/null @@ -1,177 +0,0 @@ -[ -["0","\u0000",127], -["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"], -["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"], -["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"], -["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21], -["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10], -["a3a1","ㄐ",25,"˙ˉˊˇˋ"], -["a3e1","€"], -["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"], -["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"], -["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"], -["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"], -["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"], -["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"], -["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"], -["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"], -["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"], -["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"], -["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"], -["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"], -["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"], -["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"], -["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"], -["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"], -["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"], -["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"], -["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"], -["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"], -["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"], -["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"], -["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"], -["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"], -["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"], -["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"], -["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"], -["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"], -["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"], -["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"], -["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"], -["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"], -["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"], -["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"], -["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"], -["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"], -["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"], -["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"], -["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"], -["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"], -["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"], -["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"], -["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"], -["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"], -["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"], -["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"], -["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"], -["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"], -["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"], -["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"], -["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"], -["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"], -["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"], -["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"], -["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"], -["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"], -["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"], -["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"], -["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"], -["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"], -["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"], -["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"], -["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"], -["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"], -["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"], -["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"], -["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"], -["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"], -["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"], -["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"], -["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"], -["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"], -["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"], -["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"], -["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"], -["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"], -["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"], -["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"], -["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"], -["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"], -["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"], -["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"], -["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"], -["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"], -["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"], -["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"], -["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"], -["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"], -["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"], -["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"], -["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"], -["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"], -["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"], -["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"], -["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"], -["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"], -["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"], -["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"], -["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"], -["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"], -["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"], -["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"], -["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"], -["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"], -["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"], -["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"], -["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"], -["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"], -["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"], -["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"], -["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"], -["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"], -["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"], -["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"], -["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"], -["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"], -["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"], -["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"], -["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"], -["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"], -["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"], -["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"], -["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"], -["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"], -["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"], -["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"], -["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"], -["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"], -["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"], -["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"], -["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"], -["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"], -["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"], -["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"], -["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"], -["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"], -["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"], -["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"], -["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"], -["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"], -["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"], -["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"], -["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"], -["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"], -["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"], -["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"], -["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"], -["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"], -["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"], -["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"], -["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"], -["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"], -["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"], -["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"], -["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"], -["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"], -["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"], -["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"], -["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"], -["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"], -["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"], -["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"], -["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"], -["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"], -["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"], -["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"], -["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/eucjp.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/eucjp.json deleted file mode 100644 index 4fa61ca116009e..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/eucjp.json +++ /dev/null @@ -1,182 +0,0 @@ -[ -["0","\u0000",127], -["8ea1","。",62], -["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"], -["a2a1","◆□■△▲▽▼※〒→←↑↓〓"], -["a2ba","∈∋⊆⊇⊂⊃∪∩"], -["a2ca","∧∨¬⇒⇔∀∃"], -["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"], -["a2f2","ʼn♯♭♪†‡¶"], -["a2fe","◯"], -["a3b0","0",9], -["a3c1","A",25], -["a3e1","a",25], -["a4a1","ぁ",82], -["a5a1","ァ",85], -["a6a1","Α",16,"Σ",6], -["a6c1","α",16,"σ",6], -["a7a1","А",5,"ЁЖ",25], -["a7d1","а",5,"ёж",25], -["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"], -["ada1","①",19,"Ⅰ",9], -["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"], -["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"], -["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"], -["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"], -["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"], -["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"], -["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"], -["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"], -["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"], -["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"], -["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"], -["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"], -["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"], -["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"], -["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"], -["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"], -["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"], -["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"], -["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"], -["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"], -["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"], -["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"], -["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"], -["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"], -["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"], -["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"], -["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"], -["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"], -["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"], -["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"], -["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"], -["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"], -["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"], -["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"], -["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"], -["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"], -["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"], -["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"], -["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"], -["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"], -["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"], -["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"], -["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"], -["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"], -["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"], -["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"], -["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"], -["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"], -["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"], -["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"], -["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"], -["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"], -["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"], -["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"], -["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"], -["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"], -["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"], -["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"], -["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"], -["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"], -["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"], -["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"], -["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"], -["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"], -["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"], -["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"], -["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"], -["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"], -["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"], -["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"], -["f4a1","堯槇遙瑤凜熙"], -["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"], -["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"], -["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"], -["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"], -["fcf1","ⅰ",9,"¬¦'""], -["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"], -["8fa2c2","¡¦¿"], -["8fa2eb","ºª©®™¤№"], -["8fa6e1","ΆΈΉΊΪ"], -["8fa6e7","Ό"], -["8fa6e9","ΎΫ"], -["8fa6ec","Ώ"], -["8fa6f1","άέήίϊΐόςύϋΰώ"], -["8fa7c2","Ђ",10,"ЎЏ"], -["8fa7f2","ђ",10,"ўџ"], -["8fa9a1","ÆĐ"], -["8fa9a4","Ħ"], -["8fa9a6","IJ"], -["8fa9a8","ŁĿ"], -["8fa9ab","ŊØŒ"], -["8fa9af","ŦÞ"], -["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"], -["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"], -["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"], -["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"], -["8fabbd","ġĥíìïîǐ"], -["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"], -["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"], -["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"], -["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"], -["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"], -["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"], -["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"], -["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"], -["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"], -["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"], -["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"], -["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"], -["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"], -["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"], -["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"], -["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"], -["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"], -["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"], -["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"], -["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"], -["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"], -["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"], -["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"], -["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"], -["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"], -["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"], -["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"], -["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"], -["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"], -["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"], -["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"], -["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"], -["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"], -["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"], -["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"], -["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5], -["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"], -["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"], -["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"], -["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"], -["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"], -["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"], -["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"], -["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"], -["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"], -["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"], -["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"], -["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"], -["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"], -["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"], -["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"], -["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"], -["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"], -["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"], -["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"], -["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"], -["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"], -["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"], -["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4], -["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"], -["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"], -["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"], -["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json deleted file mode 100644 index 85c6934757761e..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +++ /dev/null @@ -1 +0,0 @@ -{"uChars":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],"gbChars":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gbk-added.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gbk-added.json deleted file mode 100644 index 8abfa9f7b987ad..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/gbk-added.json +++ /dev/null @@ -1,55 +0,0 @@ -[ -["a140","",62], -["a180","",32], -["a240","",62], -["a280","",32], -["a2ab","",5], -["a2e3","€"], -["a2ef",""], -["a2fd",""], -["a340","",62], -["a380","",31," "], -["a440","",62], -["a480","",32], -["a4f4","",10], -["a540","",62], -["a580","",32], -["a5f7","",7], -["a640","",62], -["a680","",32], -["a6b9","",7], -["a6d9","",6], -["a6ec",""], -["a6f3",""], -["a6f6","",8], -["a740","",62], -["a780","",32], -["a7c2","",14], -["a7f2","",12], -["a896","",10], -["a8bc",""], -["a8bf","ǹ"], -["a8c1",""], -["a8ea","",20], -["a958",""], -["a95b",""], -["a95d",""], -["a989","〾⿰",11], -["a997","",12], -["a9f0","",14], -["aaa1","",93], -["aba1","",93], -["aca1","",93], -["ada1","",93], -["aea1","",93], -["afa1","",93], -["d7fa","",4], -["f8a1","",93], -["f9a1","",93], -["faa1","",93], -["fba1","",93], -["fca1","",93], -["fda1","",93], -["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"], -["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/shiftjis.json b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/shiftjis.json deleted file mode 100644 index 5a3a43cf8cf6d2..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/tables/shiftjis.json +++ /dev/null @@ -1,125 +0,0 @@ -[ -["0","\u0000",128], -["a1","。",62], -["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"], -["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"], -["81b8","∈∋⊆⊇⊂⊃∪∩"], -["81c8","∧∨¬⇒⇔∀∃"], -["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"], -["81f0","ʼn♯♭♪†‡¶"], -["81fc","◯"], -["824f","0",9], -["8260","A",25], -["8281","a",25], -["829f","ぁ",82], -["8340","ァ",62], -["8380","ム",22], -["839f","Α",16,"Σ",6], -["83bf","α",16,"σ",6], -["8440","А",5,"ЁЖ",25], -["8470","а",5,"ёж",7], -["8480","о",17], -["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"], -["8740","①",19,"Ⅰ",9], -["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"], -["877e","㍻"], -["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"], -["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"], -["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"], -["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"], -["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"], -["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"], -["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"], -["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"], -["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"], -["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"], -["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"], -["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"], -["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"], -["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"], -["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"], -["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"], -["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"], -["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"], -["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"], -["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"], -["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"], -["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"], -["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"], -["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"], -["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"], -["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"], -["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"], -["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"], -["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"], -["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"], -["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"], -["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"], -["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"], -["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"], -["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"], -["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"], -["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"], -["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"], -["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"], -["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"], -["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"], -["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"], -["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"], -["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"], -["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"], -["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"], -["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"], -["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"], -["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"], -["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"], -["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"], -["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"], -["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"], -["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"], -["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"], -["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"], -["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"], -["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"], -["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"], -["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"], -["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"], -["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"], -["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"], -["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"], -["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"], -["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"], -["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"], -["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"], -["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"], -["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"], -["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"], -["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"], -["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"], -["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"], -["eeef","ⅰ",9,"¬¦'""], -["f040","",62], -["f080","",124], -["f140","",62], -["f180","",124], -["f240","",62], -["f280","",124], -["f340","",62], -["f380","",124], -["f440","",62], -["f480","",124], -["f540","",62], -["f580","",124], -["f640","",62], -["f680","",124], -["f740","",62], -["f780","",124], -["f840","",62], -["f880","",124], -["f940",""], -["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"], -["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"], -["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"], -["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"], -["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"] -] diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf16.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf16.js deleted file mode 100644 index 54765aeee2f11e..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf16.js +++ /dev/null @@ -1,177 +0,0 @@ -"use strict"; -var Buffer = require("safer-buffer").Buffer; - -// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js - -// == UTF16-BE codec. ========================================================== - -exports.utf16be = Utf16BECodec; -function Utf16BECodec() { -} - -Utf16BECodec.prototype.encoder = Utf16BEEncoder; -Utf16BECodec.prototype.decoder = Utf16BEDecoder; -Utf16BECodec.prototype.bomAware = true; - - -// -- Encoding - -function Utf16BEEncoder() { -} - -Utf16BEEncoder.prototype.write = function(str) { - var buf = Buffer.from(str, 'ucs2'); - for (var i = 0; i < buf.length; i += 2) { - var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp; - } - return buf; -} - -Utf16BEEncoder.prototype.end = function() { -} - - -// -- Decoding - -function Utf16BEDecoder() { - this.overflowByte = -1; -} - -Utf16BEDecoder.prototype.write = function(buf) { - if (buf.length == 0) - return ''; - - var buf2 = Buffer.alloc(buf.length + 1), - i = 0, j = 0; - - if (this.overflowByte !== -1) { - buf2[0] = buf[0]; - buf2[1] = this.overflowByte; - i = 1; j = 2; - } - - for (; i < buf.length-1; i += 2, j+= 2) { - buf2[j] = buf[i+1]; - buf2[j+1] = buf[i]; - } - - this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1; - - return buf2.slice(0, j).toString('ucs2'); -} - -Utf16BEDecoder.prototype.end = function() { -} - - -// == UTF-16 codec ============================================================= -// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic. -// Defaults to UTF-16LE, as it's prevalent and default in Node. -// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le -// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); - -// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false). - -exports.utf16 = Utf16Codec; -function Utf16Codec(codecOptions, iconv) { - this.iconv = iconv; -} - -Utf16Codec.prototype.encoder = Utf16Encoder; -Utf16Codec.prototype.decoder = Utf16Decoder; - - -// -- Encoding (pass-through) - -function Utf16Encoder(options, codec) { - options = options || {}; - if (options.addBOM === undefined) - options.addBOM = true; - this.encoder = codec.iconv.getEncoder('utf-16le', options); -} - -Utf16Encoder.prototype.write = function(str) { - return this.encoder.write(str); -} - -Utf16Encoder.prototype.end = function() { - return this.encoder.end(); -} - - -// -- Decoding - -function Utf16Decoder(options, codec) { - this.decoder = null; - this.initialBytes = []; - this.initialBytesLen = 0; - - this.options = options || {}; - this.iconv = codec.iconv; -} - -Utf16Decoder.prototype.write = function(buf) { - if (!this.decoder) { - // Codec is not chosen yet. Accumulate initial bytes. - this.initialBytes.push(buf); - this.initialBytesLen += buf.length; - - if (this.initialBytesLen < 16) // We need more bytes to use space heuristic (see below) - return ''; - - // We have enough bytes -> detect endianness. - var buf = Buffer.concat(this.initialBytes), - encoding = detectEncoding(buf, this.options.defaultEncoding); - this.decoder = this.iconv.getDecoder(encoding, this.options); - this.initialBytes.length = this.initialBytesLen = 0; - } - - return this.decoder.write(buf); -} - -Utf16Decoder.prototype.end = function() { - if (!this.decoder) { - var buf = Buffer.concat(this.initialBytes), - encoding = detectEncoding(buf, this.options.defaultEncoding); - this.decoder = this.iconv.getDecoder(encoding, this.options); - - var res = this.decoder.write(buf), - trail = this.decoder.end(); - - return trail ? (res + trail) : res; - } - return this.decoder.end(); -} - -function detectEncoding(buf, defaultEncoding) { - var enc = defaultEncoding || 'utf-16le'; - - if (buf.length >= 2) { - // Check BOM. - if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM - enc = 'utf-16be'; - else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM - enc = 'utf-16le'; - else { - // No BOM found. Try to deduce encoding from initial content. - // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon. - // So, we count ASCII as if it was LE or BE, and decide from that. - var asciiCharsLE = 0, asciiCharsBE = 0, // Counts of chars in both positions - _len = Math.min(buf.length - (buf.length % 2), 64); // Len is always even. - - for (var i = 0; i < _len; i += 2) { - if (buf[i] === 0 && buf[i+1] !== 0) asciiCharsBE++; - if (buf[i] !== 0 && buf[i+1] === 0) asciiCharsLE++; - } - - if (asciiCharsBE > asciiCharsLE) - enc = 'utf-16be'; - else if (asciiCharsBE < asciiCharsLE) - enc = 'utf-16le'; - } - } - - return enc; -} - - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf7.js b/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf7.js deleted file mode 100644 index b7631c23a801b0..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/encodings/utf7.js +++ /dev/null @@ -1,290 +0,0 @@ -"use strict"; -var Buffer = require("safer-buffer").Buffer; - -// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152 -// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3 - -exports.utf7 = Utf7Codec; -exports.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7 -function Utf7Codec(codecOptions, iconv) { - this.iconv = iconv; -}; - -Utf7Codec.prototype.encoder = Utf7Encoder; -Utf7Codec.prototype.decoder = Utf7Decoder; -Utf7Codec.prototype.bomAware = true; - - -// -- Encoding - -var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g; - -function Utf7Encoder(options, codec) { - this.iconv = codec.iconv; -} - -Utf7Encoder.prototype.write = function(str) { - // Naive implementation. - // Non-direct chars are encoded as "+-"; single "+" char is encoded as "+-". - return Buffer.from(str.replace(nonDirectChars, function(chunk) { - return "+" + (chunk === '+' ? '' : - this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) - + "-"; - }.bind(this))); -} - -Utf7Encoder.prototype.end = function() { -} - - -// -- Decoding - -function Utf7Decoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = ''; -} - -var base64Regex = /[A-Za-z0-9\/+]/; -var base64Chars = []; -for (var i = 0; i < 256; i++) - base64Chars[i] = base64Regex.test(String.fromCharCode(i)); - -var plusChar = '+'.charCodeAt(0), - minusChar = '-'.charCodeAt(0), - andChar = '&'.charCodeAt(0); - -Utf7Decoder.prototype.write = function(buf) { - var res = "", lastI = 0, - inBase64 = this.inBase64, - base64Accum = this.base64Accum; - - // The decoder is more involved as we must handle chunks in stream. - - for (var i = 0; i < buf.length; i++) { - if (!inBase64) { // We're in direct mode. - // Write direct chars until '+' - if (buf[i] == plusChar) { - res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. - lastI = i+1; - inBase64 = true; - } - } else { // We decode base64. - if (!base64Chars[buf[i]]) { // Base64 ended. - if (i == lastI && buf[i] == minusChar) {// "+-" -> "+" - res += "+"; - } else { - var b64str = base64Accum + buf.slice(lastI, i).toString(); - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - if (buf[i] != minusChar) // Minus is absorbed after base64. - i--; - - lastI = i+1; - inBase64 = false; - base64Accum = ''; - } - } - } - - if (!inBase64) { - res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. - } else { - var b64str = base64Accum + buf.slice(lastI).toString(); - - var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. - base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. - b64str = b64str.slice(0, canBeDecoded); - - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - this.inBase64 = inBase64; - this.base64Accum = base64Accum; - - return res; -} - -Utf7Decoder.prototype.end = function() { - var res = ""; - if (this.inBase64 && this.base64Accum.length > 0) - res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); - - this.inBase64 = false; - this.base64Accum = ''; - return res; -} - - -// UTF-7-IMAP codec. -// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3) -// Differences: -// * Base64 part is started by "&" instead of "+" -// * Direct characters are 0x20-0x7E, except "&" (0x26) -// * In Base64, "," is used instead of "/" -// * Base64 must not be used to represent direct characters. -// * No implicit shift back from Base64 (should always end with '-') -// * String must end in non-shifted position. -// * "-&" while in base64 is not allowed. - - -exports.utf7imap = Utf7IMAPCodec; -function Utf7IMAPCodec(codecOptions, iconv) { - this.iconv = iconv; -}; - -Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; -Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; -Utf7IMAPCodec.prototype.bomAware = true; - - -// -- Encoding - -function Utf7IMAPEncoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = Buffer.alloc(6); - this.base64AccumIdx = 0; -} - -Utf7IMAPEncoder.prototype.write = function(str) { - var inBase64 = this.inBase64, - base64Accum = this.base64Accum, - base64AccumIdx = this.base64AccumIdx, - buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0; - - for (var i = 0; i < str.length; i++) { - var uChar = str.charCodeAt(i); - if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'. - if (inBase64) { - if (base64AccumIdx > 0) { - bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); - base64AccumIdx = 0; - } - - buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. - inBase64 = false; - } - - if (!inBase64) { - buf[bufIdx++] = uChar; // Write direct character - - if (uChar === andChar) // Ampersand -> '&-' - buf[bufIdx++] = minusChar; - } - - } else { // Non-direct character - if (!inBase64) { - buf[bufIdx++] = andChar; // Write '&', then go to base64 mode. - inBase64 = true; - } - if (inBase64) { - base64Accum[base64AccumIdx++] = uChar >> 8; - base64Accum[base64AccumIdx++] = uChar & 0xFF; - - if (base64AccumIdx == base64Accum.length) { - bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); - base64AccumIdx = 0; - } - } - } - } - - this.inBase64 = inBase64; - this.base64AccumIdx = base64AccumIdx; - - return buf.slice(0, bufIdx); -} - -Utf7IMAPEncoder.prototype.end = function() { - var buf = Buffer.alloc(10), bufIdx = 0; - if (this.inBase64) { - if (this.base64AccumIdx > 0) { - bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); - this.base64AccumIdx = 0; - } - - buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. - this.inBase64 = false; - } - - return buf.slice(0, bufIdx); -} - - -// -- Decoding - -function Utf7IMAPDecoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = ''; -} - -var base64IMAPChars = base64Chars.slice(); -base64IMAPChars[','.charCodeAt(0)] = true; - -Utf7IMAPDecoder.prototype.write = function(buf) { - var res = "", lastI = 0, - inBase64 = this.inBase64, - base64Accum = this.base64Accum; - - // The decoder is more involved as we must handle chunks in stream. - // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end). - - for (var i = 0; i < buf.length; i++) { - if (!inBase64) { // We're in direct mode. - // Write direct chars until '&' - if (buf[i] == andChar) { - res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. - lastI = i+1; - inBase64 = true; - } - } else { // We decode base64. - if (!base64IMAPChars[buf[i]]) { // Base64 ended. - if (i == lastI && buf[i] == minusChar) { // "&-" -> "&" - res += "&"; - } else { - var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/'); - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - if (buf[i] != minusChar) // Minus may be absorbed after base64. - i--; - - lastI = i+1; - inBase64 = false; - base64Accum = ''; - } - } - } - - if (!inBase64) { - res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. - } else { - var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/'); - - var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. - base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. - b64str = b64str.slice(0, canBeDecoded); - - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - this.inBase64 = inBase64; - this.base64Accum = base64Accum; - - return res; -} - -Utf7IMAPDecoder.prototype.end = function() { - var res = ""; - if (this.inBase64 && this.base64Accum.length > 0) - res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); - - this.inBase64 = false; - this.base64Accum = ''; - return res; -} - - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/lib/bom-handling.js b/tools/node_modules/eslint/node_modules/iconv-lite/lib/bom-handling.js deleted file mode 100644 index 1050872385c7f9..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/lib/bom-handling.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; - -var BOMChar = '\uFEFF'; - -exports.PrependBOM = PrependBOMWrapper -function PrependBOMWrapper(encoder, options) { - this.encoder = encoder; - this.addBOM = true; -} - -PrependBOMWrapper.prototype.write = function(str) { - if (this.addBOM) { - str = BOMChar + str; - this.addBOM = false; - } - - return this.encoder.write(str); -} - -PrependBOMWrapper.prototype.end = function() { - return this.encoder.end(); -} - - -//------------------------------------------------------------------------------ - -exports.StripBOM = StripBOMWrapper; -function StripBOMWrapper(decoder, options) { - this.decoder = decoder; - this.pass = false; - this.options = options || {}; -} - -StripBOMWrapper.prototype.write = function(buf) { - var res = this.decoder.write(buf); - if (this.pass || !res) - return res; - - if (res[0] === BOMChar) { - res = res.slice(1); - if (typeof this.options.stripBOM === 'function') - this.options.stripBOM(); - } - - this.pass = true; - return res; -} - -StripBOMWrapper.prototype.end = function() { - return this.decoder.end(); -} - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/lib/extend-node.js b/tools/node_modules/eslint/node_modules/iconv-lite/lib/extend-node.js deleted file mode 100644 index 87f5394a4b3966..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/lib/extend-node.js +++ /dev/null @@ -1,217 +0,0 @@ -"use strict"; -var Buffer = require("buffer").Buffer; -// Note: not polyfilled with safer-buffer on a purpose, as overrides Buffer - -// == Extend Node primitives to use iconv-lite ================================= - -module.exports = function (iconv) { - var original = undefined; // Place to keep original methods. - - // Node authors rewrote Buffer internals to make it compatible with - // Uint8Array and we cannot patch key functions since then. - // Note: this does use older Buffer API on a purpose - iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array); - - iconv.extendNodeEncodings = function extendNodeEncodings() { - if (original) return; - original = {}; - - if (!iconv.supportsNodeEncodingsExtension) { - console.error("ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node"); - console.error("See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility"); - return; - } - - var nodeNativeEncodings = { - 'hex': true, 'utf8': true, 'utf-8': true, 'ascii': true, 'binary': true, - 'base64': true, 'ucs2': true, 'ucs-2': true, 'utf16le': true, 'utf-16le': true, - }; - - Buffer.isNativeEncoding = function(enc) { - return enc && nodeNativeEncodings[enc.toLowerCase()]; - } - - // -- SlowBuffer ----------------------------------------------------------- - var SlowBuffer = require('buffer').SlowBuffer; - - original.SlowBufferToString = SlowBuffer.prototype.toString; - SlowBuffer.prototype.toString = function(encoding, start, end) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.SlowBufferToString.call(this, encoding, start, end); - - // Otherwise, use our decoding method. - if (typeof start == 'undefined') start = 0; - if (typeof end == 'undefined') end = this.length; - return iconv.decode(this.slice(start, end), encoding); - } - - original.SlowBufferWrite = SlowBuffer.prototype.write; - SlowBuffer.prototype.write = function(string, offset, length, encoding) { - // Support both (string, offset, length, encoding) - // and the legacy (string, encoding, offset, length) - if (isFinite(offset)) { - if (!isFinite(length)) { - encoding = length; - length = undefined; - } - } else { // legacy - var swap = encoding; - encoding = offset; - offset = length; - length = swap; - } - - offset = +offset || 0; - var remaining = this.length - offset; - if (!length) { - length = remaining; - } else { - length = +length; - if (length > remaining) { - length = remaining; - } - } - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.SlowBufferWrite.call(this, string, offset, length, encoding); - - if (string.length > 0 && (length < 0 || offset < 0)) - throw new RangeError('attempt to write beyond buffer bounds'); - - // Otherwise, use our encoding method. - var buf = iconv.encode(string, encoding); - if (buf.length < length) length = buf.length; - buf.copy(this, offset, 0, length); - return length; - } - - // -- Buffer --------------------------------------------------------------- - - original.BufferIsEncoding = Buffer.isEncoding; - Buffer.isEncoding = function(encoding) { - return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding); - } - - original.BufferByteLength = Buffer.byteLength; - Buffer.byteLength = SlowBuffer.byteLength = function(str, encoding) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferByteLength.call(this, str, encoding); - - // Slow, I know, but we don't have a better way yet. - return iconv.encode(str, encoding).length; - } - - original.BufferToString = Buffer.prototype.toString; - Buffer.prototype.toString = function(encoding, start, end) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferToString.call(this, encoding, start, end); - - // Otherwise, use our decoding method. - if (typeof start == 'undefined') start = 0; - if (typeof end == 'undefined') end = this.length; - return iconv.decode(this.slice(start, end), encoding); - } - - original.BufferWrite = Buffer.prototype.write; - Buffer.prototype.write = function(string, offset, length, encoding) { - var _offset = offset, _length = length, _encoding = encoding; - // Support both (string, offset, length, encoding) - // and the legacy (string, encoding, offset, length) - if (isFinite(offset)) { - if (!isFinite(length)) { - encoding = length; - length = undefined; - } - } else { // legacy - var swap = encoding; - encoding = offset; - offset = length; - length = swap; - } - - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferWrite.call(this, string, _offset, _length, _encoding); - - offset = +offset || 0; - var remaining = this.length - offset; - if (!length) { - length = remaining; - } else { - length = +length; - if (length > remaining) { - length = remaining; - } - } - - if (string.length > 0 && (length < 0 || offset < 0)) - throw new RangeError('attempt to write beyond buffer bounds'); - - // Otherwise, use our encoding method. - var buf = iconv.encode(string, encoding); - if (buf.length < length) length = buf.length; - buf.copy(this, offset, 0, length); - return length; - - // TODO: Set _charsWritten. - } - - - // -- Readable ------------------------------------------------------------- - if (iconv.supportsStreams) { - var Readable = require('stream').Readable; - - original.ReadableSetEncoding = Readable.prototype.setEncoding; - Readable.prototype.setEncoding = function setEncoding(enc, options) { - // Use our own decoder, it has the same interface. - // We cannot use original function as it doesn't handle BOM-s. - this._readableState.decoder = iconv.getDecoder(enc, options); - this._readableState.encoding = enc; - } - - Readable.prototype.collect = iconv._collect; - } - } - - // Remove iconv-lite Node primitive extensions. - iconv.undoExtendNodeEncodings = function undoExtendNodeEncodings() { - if (!iconv.supportsNodeEncodingsExtension) - return; - if (!original) - throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.") - - delete Buffer.isNativeEncoding; - - var SlowBuffer = require('buffer').SlowBuffer; - - SlowBuffer.prototype.toString = original.SlowBufferToString; - SlowBuffer.prototype.write = original.SlowBufferWrite; - - Buffer.isEncoding = original.BufferIsEncoding; - Buffer.byteLength = original.BufferByteLength; - Buffer.prototype.toString = original.BufferToString; - Buffer.prototype.write = original.BufferWrite; - - if (iconv.supportsStreams) { - var Readable = require('stream').Readable; - - Readable.prototype.setEncoding = original.ReadableSetEncoding; - delete Readable.prototype.collect; - } - - original = undefined; - } -} diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/lib/index.js b/tools/node_modules/eslint/node_modules/iconv-lite/lib/index.js deleted file mode 100644 index 5391919ca2c631..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/lib/index.js +++ /dev/null @@ -1,153 +0,0 @@ -"use strict"; - -// Some environments don't have global Buffer (e.g. React Native). -// Solution would be installing npm modules "buffer" and "stream" explicitly. -var Buffer = require("safer-buffer").Buffer; - -var bomHandling = require("./bom-handling"), - iconv = module.exports; - -// All codecs and aliases are kept here, keyed by encoding name/alias. -// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. -iconv.encodings = null; - -// Characters emitted in case of error. -iconv.defaultCharUnicode = '�'; -iconv.defaultCharSingleByte = '?'; - -// Public API. -iconv.encode = function encode(str, encoding, options) { - str = "" + (str || ""); // Ensure string. - - var encoder = iconv.getEncoder(encoding, options); - - var res = encoder.write(str); - var trail = encoder.end(); - - return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; -} - -iconv.decode = function decode(buf, encoding, options) { - if (typeof buf === 'string') { - if (!iconv.skipDecodeWarning) { - console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding'); - iconv.skipDecodeWarning = true; - } - - buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer. - } - - var decoder = iconv.getDecoder(encoding, options); - - var res = decoder.write(buf); - var trail = decoder.end(); - - return trail ? (res + trail) : res; -} - -iconv.encodingExists = function encodingExists(enc) { - try { - iconv.getCodec(enc); - return true; - } catch (e) { - return false; - } -} - -// Legacy aliases to convert functions -iconv.toEncoding = iconv.encode; -iconv.fromEncoding = iconv.decode; - -// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache. -iconv._codecDataCache = {}; -iconv.getCodec = function getCodec(encoding) { - if (!iconv.encodings) - iconv.encodings = require("../encodings"); // Lazy load all encoding definitions. - - // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. - var enc = iconv._canonicalizeEncoding(encoding); - - // Traverse iconv.encodings to find actual codec. - var codecOptions = {}; - while (true) { - var codec = iconv._codecDataCache[enc]; - if (codec) - return codec; - - var codecDef = iconv.encodings[enc]; - - switch (typeof codecDef) { - case "string": // Direct alias to other encoding. - enc = codecDef; - break; - - case "object": // Alias with options. Can be layered. - for (var key in codecDef) - codecOptions[key] = codecDef[key]; - - if (!codecOptions.encodingName) - codecOptions.encodingName = enc; - - enc = codecDef.type; - break; - - case "function": // Codec itself. - if (!codecOptions.encodingName) - codecOptions.encodingName = enc; - - // The codec function must load all tables and return object with .encoder and .decoder methods. - // It'll be called only once (for each different options object). - codec = new codecDef(codecOptions, iconv); - - iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later. - return codec; - - default: - throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')"); - } - } -} - -iconv._canonicalizeEncoding = function(encoding) { - // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. - return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); -} - -iconv.getEncoder = function getEncoder(encoding, options) { - var codec = iconv.getCodec(encoding), - encoder = new codec.encoder(options, codec); - - if (codec.bomAware && options && options.addBOM) - encoder = new bomHandling.PrependBOM(encoder, options); - - return encoder; -} - -iconv.getDecoder = function getDecoder(encoding, options) { - var codec = iconv.getCodec(encoding), - decoder = new codec.decoder(options, codec); - - if (codec.bomAware && !(options && options.stripBOM === false)) - decoder = new bomHandling.StripBOM(decoder, options); - - return decoder; -} - - -// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json. -var nodeVer = typeof process !== 'undefined' && process.versions && process.versions.node; -if (nodeVer) { - - // Load streaming support in Node v0.10+ - var nodeVerArr = nodeVer.split(".").map(Number); - if (nodeVerArr[0] > 0 || nodeVerArr[1] >= 10) { - require("./streams")(iconv); - } - - // Load Node primitive extensions. - require("./extend-node")(iconv); -} - -if ("Ā" != "\u0100") { - console.error("iconv-lite warning: javascript files use encoding different from utf-8. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info."); -} diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/lib/streams.js b/tools/node_modules/eslint/node_modules/iconv-lite/lib/streams.js deleted file mode 100644 index 4409552958edca..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/lib/streams.js +++ /dev/null @@ -1,121 +0,0 @@ -"use strict"; - -var Buffer = require("buffer").Buffer, - Transform = require("stream").Transform; - - -// == Exports ================================================================== -module.exports = function(iconv) { - - // Additional Public API. - iconv.encodeStream = function encodeStream(encoding, options) { - return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); - } - - iconv.decodeStream = function decodeStream(encoding, options) { - return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); - } - - iconv.supportsStreams = true; - - - // Not published yet. - iconv.IconvLiteEncoderStream = IconvLiteEncoderStream; - iconv.IconvLiteDecoderStream = IconvLiteDecoderStream; - iconv._collect = IconvLiteDecoderStream.prototype.collect; -}; - - -// == Encoder stream ======================================================= -function IconvLiteEncoderStream(conv, options) { - this.conv = conv; - options = options || {}; - options.decodeStrings = false; // We accept only strings, so we don't need to decode them. - Transform.call(this, options); -} - -IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { - constructor: { value: IconvLiteEncoderStream } -}); - -IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) { - if (typeof chunk != 'string') - return done(new Error("Iconv encoding stream needs strings as its input.")); - try { - var res = this.conv.write(chunk); - if (res && res.length) this.push(res); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteEncoderStream.prototype._flush = function(done) { - try { - var res = this.conv.end(); - if (res && res.length) this.push(res); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteEncoderStream.prototype.collect = function(cb) { - var chunks = []; - this.on('error', cb); - this.on('data', function(chunk) { chunks.push(chunk); }); - this.on('end', function() { - cb(null, Buffer.concat(chunks)); - }); - return this; -} - - -// == Decoder stream ======================================================= -function IconvLiteDecoderStream(conv, options) { - this.conv = conv; - options = options || {}; - options.encoding = this.encoding = 'utf8'; // We output strings. - Transform.call(this, options); -} - -IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { - constructor: { value: IconvLiteDecoderStream } -}); - -IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) { - if (!Buffer.isBuffer(chunk)) - return done(new Error("Iconv decoding stream needs buffers as its input.")); - try { - var res = this.conv.write(chunk); - if (res && res.length) this.push(res, this.encoding); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteDecoderStream.prototype._flush = function(done) { - try { - var res = this.conv.end(); - if (res && res.length) this.push(res, this.encoding); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteDecoderStream.prototype.collect = function(cb) { - var res = ''; - this.on('error', cb); - this.on('data', function(chunk) { res += chunk; }); - this.on('end', function() { - cb(null, res); - }); - return this; -} - diff --git a/tools/node_modules/eslint/node_modules/iconv-lite/package.json b/tools/node_modules/eslint/node_modules/iconv-lite/package.json deleted file mode 100644 index 2f217337c1ba13..00000000000000 --- a/tools/node_modules/eslint/node_modules/iconv-lite/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "author": { - "name": "Alexander Shtuchkin", - "email": "ashtuchkin@gmail.com" - }, - "browser": { - "./lib/extend-node": false, - "./lib/streams": false - }, - "bugs": { - "url": "https://github.com/ashtuchkin/iconv-lite/issues" - }, - "bundleDependencies": false, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "deprecated": false, - "description": "Convert character encodings in pure javascript.", - "devDependencies": { - "async": "*", - "errto": "*", - "iconv": "*", - "istanbul": "*", - "mocha": "^3.1.0", - "request": "~2.87.0", - "semver": "*", - "unorm": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "homepage": "https://github.com/ashtuchkin/iconv-lite", - "keywords": [ - "iconv", - "convert", - "charset", - "icu" - ], - "license": "MIT", - "main": "./lib/index.js", - "name": "iconv-lite", - "repository": { - "type": "git", - "url": "git://github.com/ashtuchkin/iconv-lite.git" - }, - "scripts": { - "coverage": "istanbul cover _mocha -- --grep .", - "coverage-open": "open coverage/lcov-report/index.html", - "test": "mocha --reporter spec --grep ." - }, - "typings": "./lib/index.d.ts", - "version": "0.4.24" -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/inquirer/LICENSE b/tools/node_modules/eslint/node_modules/inquirer/LICENSE deleted file mode 100644 index 8aae090e941ff9..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2012 Simon Boudrias - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/inquirer/README.md b/tools/node_modules/eslint/node_modules/inquirer/README.md deleted file mode 100644 index 7fa511995ea730..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/README.md +++ /dev/null @@ -1,476 +0,0 @@ -Inquirer Logo - -# Inquirer.js - -[![npm](https://badge.fury.io/js/inquirer.svg)](http://badge.fury.io/js/inquirer) -[![tests](https://travis-ci.org/SBoudrias/Inquirer.js.svg?branch=master)](http://travis-ci.org/SBoudrias/Inquirer.js) -[![Coverage Status](https://codecov.io/gh/SBoudrias/Inquirer.js/branch/master/graph/badge.svg)](https://codecov.io/gh/SBoudrias/Inquirer.js) -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FSBoudrias%2FInquirer.js.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FSBoudrias%2FInquirer.js?ref=badge_shield) - -A collection of common interactive command line user interfaces. - -## Table of Contents - -1. [Documentation](#documentation) - 1. [Installation](#installation) - 2. [Examples](#examples) - 3. [Methods](#methods) - 4. [Objects](#objects) - 5. [Questions](#questions) - 6. [Answers](#answers) - 7. [Separator](#separator) - 8. [Prompt Types](#prompt) -2. [User Interfaces and Layouts](#layouts) - 1. [Reactive Interface](#reactive) -3. [Support](#support) -4. [Known issues](#issues) -4. [News](#news) -5. [Contributing](#contributing) -6. [License](#license) -7. [Plugins](#plugins) - -## Goal and Philosophy - -**`Inquirer.js`** strives to be an easily embeddable and beautiful command line interface for [Node.js](https://nodejs.org/) (and perhaps the "CLI [Xanadu](https://en.wikipedia.org/wiki/Citizen_Kane)"). - -**`Inquirer.js`** should ease the process of - -- providing _error feedback_ -- _asking questions_ -- _parsing_ input -- _validating_ answers -- managing _hierarchical prompts_ - -> **Note:** **`Inquirer.js`** provides the user interface and the inquiry session flow. If you're searching for a full blown command line program utility, then check out [commander](https://github.com/visionmedia/commander.js), [vorpal](https://github.com/dthree/vorpal) or [args](https://github.com/leo/args). - -## [Documentation](#documentation) - - - -### Installation - - - -```shell -npm install inquirer -``` - -```javascript -var inquirer = require('inquirer'); -inquirer - .prompt([ - /* Pass your questions in here */ - ]) - .then(answers => { - // Use user feedback for... whatever!! - }) - .catch(error => { - if(error.isTtyError) { - // Prompt couldn't be rendered in the current environment - } else { - // Something else when wrong - } - }); -``` - - - -### Examples (Run it and see it) - -Check out the [`packages/inquirer/examples/`](https://github.com/SBoudrias/Inquirer.js/tree/master/packages/inquirer/examples) folder for code and interface examples. - -```shell -node packages/inquirer/examples/pizza.js -node packages/inquirer/examples/checkbox.js -# etc... -``` - -### Methods - - - -#### `inquirer.prompt(questions) -> promise` - -Launch the prompt interface (inquiry session) - -- **questions** (Array) containing [Question Object](#question) (using the [reactive interface](#reactive-interface), you can also pass a `Rx.Observable` instance) -- returns a **Promise** - -#### `inquirer.registerPrompt(name, prompt)` - -Register prompt plugins under `name`. - -- **name** (string) name of the this new prompt. (used for question `type`) -- **prompt** (object) the prompt object itself (the plugin) - -#### `inquirer.createPromptModule() -> prompt function` - -Create a self contained inquirer module. If you don't want to affect other libraries that also rely on inquirer when you overwrite or add new prompt types. - -```js -var prompt = inquirer.createPromptModule(); - -prompt(questions).then(/* ... */); -``` - -### Objects - - - -#### Question - - -A question object is a `hash` containing question related values: - -- **type**: (String) Type of the prompt. Defaults: `input` - Possible values: `input`, `number`, `confirm`, - `list`, `rawlist`, `expand`, `checkbox`, `password`, `editor` -- **name**: (String) The name to use when storing the answer in the answers hash. If the name contains periods, it will define a path in the answers hash. -- **message**: (String|Function) The question to print. If defined as a function, the first parameter will be the current inquirer session answers. Defaults to the value of `name` (followed by a colon). -- **default**: (String|Number|Boolean|Array|Function) Default value(s) to use if nothing is entered, or a function that returns the default value(s). If defined as a function, the first parameter will be the current inquirer session answers. -- **choices**: (Array|Function) Choices array or a function returning a choices array. If defined as a function, the first parameter will be the current inquirer session answers. - Array values can be simple `numbers`, `strings`, or `objects` containing a `name` (to display in list), a `value` (to save in the answers hash) and a `short` (to display after selection) properties. The choices array can also contain [a `Separator`](#separator). -- **validate**: (Function) Receive the user input and answers hash. Should return `true` if the value is valid, and an error message (`String`) otherwise. If `false` is returned, a default error message is provided. -- **filter**: (Function) Receive the user input and return the filtered value to be used inside the program. The value returned will be added to the _Answers_ hash. -- **transformer**: (Function) Receive the user input, answers hash and option flags, and return a transformed value to display to the user. The transformation only impacts what is shown while editing. It does not modify the answers hash. -- **when**: (Function, Boolean) Receive the current user answers hash and should return `true` or `false` depending on whether or not this question should be asked. The value can also be a simple boolean. -- **pageSize**: (Number) Change the number of lines that will be rendered when using `list`, `rawList`, `expand` or `checkbox`. -- **prefix**: (String) Change the default _prefix_ message. -- **suffix**: (String) Change the default _suffix_ message. -- **askAnswered**: (Boolean) Force to prompt the question if the answer already exists. - -`default`, `choices`(if defined as functions), `validate`, `filter` and `when` functions can be called asynchronously. Either return a promise or use `this.async()` to get a callback you'll call with the final value. - -```javascript -{ - /* Preferred way: with promise */ - filter() { - return new Promise(/* etc... */); - }, - - /* Legacy way: with this.async */ - validate: function (input) { - // Declare function as asynchronous, and save the done callback - var done = this.async(); - - // Do async stuff - setTimeout(function() { - if (typeof input !== 'number') { - // Pass the return value in the done callback - done('You need to provide a number'); - return; - } - // Pass the return value in the done callback - done(null, true); - }, 3000); - } -} -``` - -### Answers - - -A key/value hash containing the client answers in each prompt. - -- **Key** The `name` property of the _question_ object -- **Value** (Depends on the prompt) - - `confirm`: (Boolean) - - `input` : User input (filtered if `filter` is defined) (String) - - `number`: User input (filtered if `filter` is defined) (Number) - - `rawlist`, `list` : Selected choice value (or name if no value specified) (String) - -### Separator - - -A separator can be added to any `choices` array: - -``` -// In the question object -choices: [ "Choice A", new inquirer.Separator(), "choice B" ] - -// Which'll be displayed this way -[?] What do you want to do? - > Order a pizza - Make a reservation - -------- - Ask opening hours - Talk to the receptionist -``` - -The constructor takes a facultative `String` value that'll be use as the separator. If omitted, the separator will be `--------`. - -Separator instances have a property `type` equal to `separator`. This should allow tools façading Inquirer interface from detecting separator types in lists. - - - -### Prompt types - ---- - -> **Note:**: _allowed options written inside square brackets (`[]`) are optional. Others are required._ - -#### List - `{type: 'list'}` - -Take `type`, `name`, `message`, `choices`[, `default`, `filter`] properties. (Note that -default must be the choice `index` in the array or a choice `value`) - -![List prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/list.svg) - ---- - -#### Raw List - `{type: 'rawlist'}` - -Take `type`, `name`, `message`, `choices`[, `default`, `filter`] properties. (Note that -default must be the choice `index` in the array) - -![Raw list prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/rawlist.svg) - ---- - -#### Expand - `{type: 'expand'}` - -Take `type`, `name`, `message`, `choices`[, `default`] properties. (Note that -default must be the choice `index` in the array. If `default` key not provided, then `help` will be used as default choice) - -Note that the `choices` object will take an extra parameter called `key` for the `expand` prompt. This parameter must be a single (lowercased) character. The `h` option is added by the prompt and shouldn't be defined by the user. - -See `examples/expand.js` for a running example. - -![Expand prompt closed](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/expand-y.svg) -![Expand prompt expanded](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/expand-d.svg) - ---- - -#### Checkbox - `{type: 'checkbox'}` - -Take `type`, `name`, `message`, `choices`[, `filter`, `validate`, `default`] properties. `default` is expected to be an Array of the checked choices value. - -Choices marked as `{checked: true}` will be checked by default. - -Choices whose property `disabled` is truthy will be unselectable. If `disabled` is a string, then the string will be outputted next to the disabled choice, otherwise it'll default to `"Disabled"`. The `disabled` property can also be a synchronous function receiving the current answers as argument and returning a boolean or a string. - -![Checkbox prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/checkbox.svg) - ---- - -#### Confirm - `{type: 'confirm'}` - -Take `type`, `name`, `message`, [`default`] properties. `default` is expected to be a boolean if used. - -![Confirm prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/confirm.svg) - ---- - -#### Input - `{type: 'input'}` - -Take `type`, `name`, `message`[, `default`, `filter`, `validate`, `transformer`] properties. - -![Input prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/input.svg) - ---- - -#### Input - `{type: 'number'}` - -Take `type`, `name`, `message`[, `default`, `filter`, `validate`, `transformer`] properties. - ---- - -#### Password - `{type: 'password'}` - -Take `type`, `name`, `message`, `mask`,[, `default`, `filter`, `validate`] properties. - -![Password prompt](https://cdn.rawgit.com/SBoudrias/Inquirer.js/28ae8337ba51d93e359ef4f7ee24e79b69898962/assets/screenshots/password.svg) - ---- - -Note that `mask` is required to hide the actual user input. - -#### Editor - `{type: 'editor'}` - -Take `type`, `name`, `message`[, `default`, `filter`, `validate`] properties - -Launches an instance of the users preferred editor on a temporary file. Once the user exits their editor, the contents of the temporary file are read in as the result. The editor to use is determined by reading the $VISUAL or $EDITOR environment variables. If neither of those are present, notepad (on Windows) or vim (Linux or Mac) is used. - - - -### Use in Non-Interactive Environments -`prompt()` requires that it is run in an interactive environment. (I.e. [One where `process.stdin.isTTY` is `true`](https://nodejs.org/docs/latest-v12.x/api/process.html#process_a_note_on_process_i_o)). If `prompt()` is invoked outside of such an environment, then `prompt()` will return a rejected promise with an error. For convenience, the error will have a `isTtyError` property to programmatically indicate the cause. - - -## User Interfaces and layouts - -Along with the prompts, Inquirer offers some basic text UI. - -#### Bottom Bar - `inquirer.ui.BottomBar` - -This UI present a fixed text at the bottom of a free text zone. This is useful to keep a message to the bottom of the screen while outputting command outputs on the higher section. - -```javascript -var ui = new inquirer.ui.BottomBar(); - -// pipe a Stream to the log zone -outputStream.pipe(ui.log); - -// Or simply write output -ui.log.write('something just happened.'); -ui.log.write('Almost over, standby!'); - -// During processing, update the bottom bar content to display a loader -// or output a progress bar, etc -ui.updateBottomBar('new bottom bar content'); -``` - - - -## Reactive interface - -Internally, Inquirer uses the [JS reactive extension](https://github.com/ReactiveX/rxjs) to handle events and async flows. - -This mean you can take advantage of this feature to provide more advanced flows. For example, you can dynamically add questions to be asked: - -```js -var prompts = new Rx.Subject(); -inquirer.prompt(prompts); - -// At some point in the future, push new questions -prompts.next({ - /* question... */ -}); -prompts.next({ - /* question... */ -}); - -// When you're done -prompts.complete(); -``` - -And using the return value `process` property, you can access more fine grained callbacks: - -```js -inquirer.prompt(prompts).ui.process.subscribe(onEachAnswer, onError, onComplete); -``` - -## Support (OS Terminals) - - - -You should expect mostly good support for the CLI below. This does not mean we won't -look at issues found on other command line - feel free to report any! - -- **Mac OS**: - - Terminal.app - - iTerm -- **Windows ([Known issues](#issues))**: - - [ConEmu](https://conemu.github.io/) - - cmd.exe - - Powershell - - Cygwin -- **Linux (Ubuntu, openSUSE, Arch Linux, etc)**: - - gnome-terminal (Terminal GNOME) - - konsole - -## Know issues - - - -Running Inquirer together with network streams in Windows platform inside some terminals can result in process hang. -Workaround: run inside another terminal. -Please refer to the https://github.com/nodejs/node/issues/21771 - -## News on the march (Release notes) - - - -Please refer to the [GitHub releases section for the changelog](https://github.com/SBoudrias/Inquirer.js/releases) - -## Contributing - - - -**Unit test** -Unit test are written in [Mocha](https://mochajs.org/). Please add a unit test for every new feature or bug fix. `npm test` to run the test suite. - -**Documentation** -Add documentation for every API change. Feel free to send typo fixes and better docs! - -We're looking to offer good support for multiple prompts and environments. If you want to -help, we'd like to keep a list of testers for each terminal/OS so we can contact you and -get feedback before release. Let us know if you want to be added to the list (just tweet -to [@vaxilart](https://twitter.com/Vaxilart)) or just add your name to [the wiki](https://github.com/SBoudrias/Inquirer.js/wiki/Testers) - -## License - - - -Copyright (c) 2016 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart)) -Licensed under the MIT license. - -## Plugins - - - -### Prompts - -[**autocomplete**](https://github.com/mokkabonna/inquirer-autocomplete-prompt)
-Presents a list of options as the user types, compatible with other packages such as fuzzy (for search)
-
-![autocomplete prompt](https://github.com/mokkabonna/inquirer-autocomplete-prompt/raw/master/inquirer.gif) - -[**checkbox-plus**](https://github.com/faressoft/inquirer-checkbox-plus-prompt)
-Checkbox list with autocomplete and other additions
-
-![checkbox-plus](https://github.com/faressoft/inquirer-checkbox-plus-prompt/raw/master/demo.gif) - -[**datetime**](https://github.com/DerekTBrown/inquirer-datepicker-prompt)
-Customizable date/time selector using both number pad and arrow keys
-
-![Datetime Prompt](https://github.com/DerekTBrown/inquirer-datepicker-prompt/raw/master/example/datetime-prompt.png) - -[**inquirer-select-line**](https://github.com/adam-golab/inquirer-select-line)
-Prompt for selecting index in array where add new element
-
-![inquirer-select-line gif](https://media.giphy.com/media/xUA7b1MxpngddUvdHW/giphy.gif) - -[**command**](https://github.com/sullof/inquirer-command-prompt)
-
-Simple prompt with command history and dynamic autocomplete - -[**inquirer-fuzzy-path**](https://github.com/adelsz/inquirer-fuzzy-path)
-Prompt for fuzzy file/directory selection.
-
-![inquirer-fuzzy-path](https://raw.githubusercontent.com/adelsz/inquirer-fuzzy-path/master/recording.gif) - -[**inquirer-emoji**](https://github.com/tannerntannern/inquirer-emoji)
-Prompt for inputting emojis.
-
-![inquirer-emoji](https://github.com/tannerntannern/inquirer-emoji/raw/master/demo.gif) - -[**inquirer-chalk-pipe**](https://github.com/LitoMore/inquirer-chalk-pipe)
-Prompt for input chalk-pipe style strings
-
-![inquirer-chalk-pipe](https://github.com/LitoMore/inquirer-chalk-pipe/raw/master/screenshot.gif) - -[**inquirer-search-checkbox**](https://github.com/clinyong/inquirer-search-checkbox)
-Searchable Inquirer checkbox
- -[**inquirer-prompt-suggest**](https://github.com/olistic/inquirer-prompt-suggest)
-Inquirer prompt for your less creative users. - -![inquirer-prompt-suggest](https://user-images.githubusercontent.com/5600126/40391192-d4f3d6d0-5ded-11e8-932f-4b75b642c09e.gif) - -[**inquirer-s3**](https://github.com/HQarroum/inquirer-s3)
-An S3 object selector for Inquirer. - -![inquirer-s3](https://github.com/HQarroum/inquirer-s3/raw/master/docs/inquirer-screenshot.png) - -[**inquirer-autosubmit-prompt**](https://github.com/yaodingyd/inquirer-autosubmit-prompt)
-Auto submit based on your current input, saving one extra enter - -[**inquirer-file-tree-selection-prompt**](https://github.com/anc95/inquirer-file-tree-selection)
-Inquirer prompt for to select a file or directory in file tree - -![inquirer-file-tree-selection-prompt](https://github.com/anc95/inquirer-file-tree-selection/blob/master/example/screenshot.gif) - -[**inquirer-table-prompt**](https://github.com/eduardoboucas/inquirer-table-prompt)
-A table-like prompt for Inquirer. - -![inquirer-table-prompt](https://raw.githubusercontent.com/eduardoboucas/inquirer-table-prompt/master/screen-capture.gif) diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/inquirer.js b/tools/node_modules/eslint/node_modules/inquirer/lib/inquirer.js deleted file mode 100644 index aa8b2a17e9153d..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/inquirer.js +++ /dev/null @@ -1,93 +0,0 @@ -'use strict'; -/** - * Inquirer.js - * A collection of common interactive command line user interfaces. - */ - -var inquirer = module.exports; - -/** - * Client interfaces - */ - -inquirer.prompts = {}; - -inquirer.Separator = require('./objects/separator'); - -inquirer.ui = { - BottomBar: require('./ui/bottom-bar'), - Prompt: require('./ui/prompt') -}; - -/** - * Create a new self-contained prompt module. - */ -inquirer.createPromptModule = function(opt) { - var promptModule = function(questions, answers) { - var ui; - try { - ui = new inquirer.ui.Prompt(promptModule.prompts, opt); - } catch (error) { - return Promise.reject(error); - } - var promise = ui.run(questions, answers); - - // Monkey patch the UI on the promise object so - // that it remains publicly accessible. - promise.ui = ui; - - return promise; - }; - - promptModule.prompts = {}; - - /** - * Register a prompt type - * @param {String} name Prompt type name - * @param {Function} prompt Prompt constructor - * @return {inquirer} - */ - - promptModule.registerPrompt = function(name, prompt) { - promptModule.prompts[name] = prompt; - return this; - }; - - /** - * Register the defaults provider prompts - */ - - promptModule.restoreDefaultPrompts = function() { - this.registerPrompt('list', require('./prompts/list')); - this.registerPrompt('input', require('./prompts/input')); - this.registerPrompt('number', require('./prompts/number')); - this.registerPrompt('confirm', require('./prompts/confirm')); - this.registerPrompt('rawlist', require('./prompts/rawlist')); - this.registerPrompt('expand', require('./prompts/expand')); - this.registerPrompt('checkbox', require('./prompts/checkbox')); - this.registerPrompt('password', require('./prompts/password')); - this.registerPrompt('editor', require('./prompts/editor')); - }; - - promptModule.restoreDefaultPrompts(); - - return promptModule; -}; - -/** - * Public CLI helper interface - * @param {Array|Object|Rx.Observable} questions - Questions settings array - * @param {Function} cb - Callback being passed the user answers - * @return {inquirer.ui.Prompt} - */ - -inquirer.prompt = inquirer.createPromptModule(); - -// Expose helper functions on the top level for easiest usage by common users -inquirer.registerPrompt = function(name, prompt) { - inquirer.prompt.registerPrompt(name, prompt); -}; - -inquirer.restoreDefaultPrompts = function() { - inquirer.prompt.restoreDefaultPrompts(); -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choice.js b/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choice.js deleted file mode 100644 index 1bc1acdcddac60..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choice.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; -var _ = require('lodash'); - -/** - * Choice object - * Normalize input as choice object - * @constructor - * @param {Number|String|Object} val Choice value. If an object is passed, it should contains - * at least one of `value` or `name` property - */ - -module.exports = class Choice { - constructor(val, answers) { - // Don't process Choice and Separator object - if (val instanceof Choice || val.type === 'separator') { - // eslint-disable-next-line no-constructor-return - return val; - } - - if (_.isString(val) || _.isNumber(val)) { - this.name = String(val); - this.value = val; - this.short = String(val); - } else { - _.extend(this, val, { - name: val.name || val.value, - value: 'value' in val ? val.value : val.name, - short: val.short || val.name || val.value - }); - } - - if (_.isFunction(val.disabled)) { - this.disabled = val.disabled(answers); - } else { - this.disabled = val.disabled; - } - } -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choices.js b/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choices.js deleted file mode 100644 index e3c16d05e483a9..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/choices.js +++ /dev/null @@ -1,118 +0,0 @@ -'use strict'; -var assert = require('assert'); -var _ = require('lodash'); -var Separator = require('./separator'); -var Choice = require('./choice'); - -/** - * Choices collection - * Collection of multiple `choice` object - * @constructor - * @param {Array} choices All `choice` to keep in the collection - */ - -module.exports = class Choices { - constructor(choices, answers) { - this.choices = choices.map(val => { - if (val.type === 'separator') { - if (!(val instanceof Separator)) { - val = new Separator(val.line); - } - - return val; - } - - return new Choice(val, answers); - }); - - this.realChoices = this.choices - .filter(Separator.exclude) - .filter(item => !item.disabled); - - Object.defineProperty(this, 'length', { - get() { - return this.choices.length; - }, - set(val) { - this.choices.length = val; - } - }); - - Object.defineProperty(this, 'realLength', { - get() { - return this.realChoices.length; - }, - set() { - throw new Error('Cannot set `realLength` of a Choices collection'); - } - }); - } - - /** - * Get a valid choice from the collection - * @param {Number} selector The selected choice index - * @return {Choice|Undefined} Return the matched choice or undefined - */ - - getChoice(selector) { - assert(_.isNumber(selector)); - return this.realChoices[selector]; - } - - /** - * Get a raw element from the collection - * @param {Number} selector The selected index value - * @return {Choice|Undefined} Return the matched choice or undefined - */ - - get(selector) { - assert(_.isNumber(selector)); - return this.choices[selector]; - } - - /** - * Match the valid choices against a where clause - * @param {Object} whereClause Lodash `where` clause - * @return {Array} Matching choices or empty array - */ - - where(whereClause) { - return _.filter(this.realChoices, whereClause); - } - - /** - * Pluck a particular key from the choices - * @param {String} propertyName Property name to select - * @return {Array} Selected properties - */ - - pluck(propertyName) { - return _.map(this.realChoices, propertyName); - } - - // Expose usual Array methods - indexOf() { - return this.choices.indexOf.apply(this.choices, arguments); - } - - forEach() { - return this.choices.forEach.apply(this.choices, arguments); - } - - filter() { - return this.choices.filter.apply(this.choices, arguments); - } - - find(func) { - return _.find(this.choices, func); - } - - push() { - var objs = _.map(arguments, val => new Choice(val)); - this.choices.push.apply(this.choices, objs); - this.realChoices = this.choices - .filter(Separator.exclude) - .filter(item => !item.disabled); - return this.choices; - } -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/separator.js b/tools/node_modules/eslint/node_modules/inquirer/lib/objects/separator.js deleted file mode 100644 index e4beb7a1fa3806..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/objects/separator.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; -var chalk = require('chalk'); -var figures = require('figures'); - -/** - * Separator object - * Used to space/separate choices group - * @constructor - * @param {String} line Separation line content (facultative) - */ - -class Separator { - constructor(line) { - this.type = 'separator'; - this.line = chalk.dim(line || new Array(15).join(figures.line)); - } - - /** - * Stringify separator - * @return {String} the separator display string - */ - toString() { - return this.line; - } -} - -/** - * Helper function returning false if object is a separator - * @param {Object} obj object to test against - * @return {Boolean} `false` if object is a separator - */ - -Separator.exclude = function(obj) { - return obj.type !== 'separator'; -}; - -module.exports = Separator; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/base.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/base.js deleted file mode 100644 index 6a7b19d3f72f4f..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/base.js +++ /dev/null @@ -1,148 +0,0 @@ -'use strict'; -/** - * Base prompt implementation - * Should be extended by prompt types. - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var runAsync = require('run-async'); -var { filter, flatMap, share, take, takeUntil } = require('rxjs/operators'); -var Choices = require('../objects/choices'); -var ScreenManager = require('../utils/screen-manager'); - -class Prompt { - constructor(question, rl, answers) { - // Setup instance defaults property - _.assign(this, { - answers: answers, - status: 'pending' - }); - - // Set defaults prompt options - this.opt = _.defaults(_.clone(question), { - validate: () => true, - filter: val => val, - when: () => true, - suffix: '', - prefix: chalk.green('?') - }); - - // Make sure name is present - if (!this.opt.name) { - this.throwParamError('name'); - } - - // Set default message if no message defined - if (!this.opt.message) { - this.opt.message = this.opt.name + ':'; - } - - // Normalize choices - if (Array.isArray(this.opt.choices)) { - this.opt.choices = new Choices(this.opt.choices, answers); - } - - this.rl = rl; - this.screen = new ScreenManager(this.rl); - } - - /** - * Start the Inquiry session and manage output value filtering - * @return {Promise} - */ - - run() { - return new Promise(resolve => { - this._run(value => resolve(value)); - }); - } - - // Default noop (this one should be overwritten in prompts) - _run(cb) { - cb(); - } - - /** - * Throw an error telling a required parameter is missing - * @param {String} name Name of the missing param - * @return {Throw Error} - */ - - throwParamError(name) { - throw new Error('You must provide a `' + name + '` parameter'); - } - - /** - * Called when the UI closes. Override to do any specific cleanup necessary - */ - close() { - this.screen.releaseCursor(); - } - - /** - * Run the provided validation method each time a submit event occur. - * @param {Rx.Observable} submit - submit event flow - * @return {Object} Object containing two observables: `success` and `error` - */ - handleSubmitEvents(submit) { - var self = this; - var validate = runAsync(this.opt.validate); - var asyncFilter = runAsync(this.opt.filter); - var validation = submit.pipe( - flatMap(value => - asyncFilter(value, self.answers).then( - filteredValue => - validate(filteredValue, self.answers).then( - isValid => ({ isValid: isValid, value: filteredValue }), - err => ({ isValid: err, value: filteredValue }) - ), - err => ({ isValid: err }) - ) - ), - share() - ); - - var success = validation.pipe( - filter(state => state.isValid === true), - take(1) - ); - var error = validation.pipe( - filter(state => state.isValid !== true), - takeUntil(success) - ); - - return { - success: success, - error: error - }; - } - - /** - * Generate the prompt question string - * @return {String} prompt question string - */ - - getQuestion() { - var message = - this.opt.prefix + - ' ' + - chalk.bold(this.opt.message) + - this.opt.suffix + - chalk.reset(' '); - - // Append the default if available, and if question isn't answered - if (this.opt.default != null && this.status !== 'answered') { - // If default password is supplied, hide it - if (this.opt.type === 'password') { - message += chalk.italic.dim('[hidden] '); - } else { - message += chalk.dim('(' + this.opt.default + ') '); - } - } - - return message; - } -} - -module.exports = Prompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/checkbox.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/checkbox.js deleted file mode 100644 index 1fee1d2f305965..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/checkbox.js +++ /dev/null @@ -1,254 +0,0 @@ -'use strict'; -/** - * `list` type prompt - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var cliCursor = require('cli-cursor'); -var figures = require('figures'); -var { map, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var observe = require('../utils/events'); -var Paginator = require('../utils/paginator'); - -class CheckboxPrompt extends Base { - constructor(questions, rl, answers) { - super(questions, rl, answers); - - if (!this.opt.choices) { - this.throwParamError('choices'); - } - - if (_.isArray(this.opt.default)) { - this.opt.choices.forEach(function(choice) { - if (this.opt.default.indexOf(choice.value) >= 0) { - choice.checked = true; - } - }, this); - } - - this.pointer = 0; - - // Make sure no default is set (so it won't be printed) - this.opt.default = null; - - this.paginator = new Paginator(this.screen); - } - - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - var events = observe(this.rl); - - var validation = this.handleSubmitEvents( - events.line.pipe(map(this.getCurrentValue.bind(this))) - ); - validation.success.forEach(this.onEnd.bind(this)); - validation.error.forEach(this.onError.bind(this)); - - events.normalizedUpKey - .pipe(takeUntil(validation.success)) - .forEach(this.onUpKey.bind(this)); - events.normalizedDownKey - .pipe(takeUntil(validation.success)) - .forEach(this.onDownKey.bind(this)); - events.numberKey - .pipe(takeUntil(validation.success)) - .forEach(this.onNumberKey.bind(this)); - events.spaceKey - .pipe(takeUntil(validation.success)) - .forEach(this.onSpaceKey.bind(this)); - events.aKey.pipe(takeUntil(validation.success)).forEach(this.onAllKey.bind(this)); - events.iKey.pipe(takeUntil(validation.success)).forEach(this.onInverseKey.bind(this)); - - // Init the prompt - cliCursor.hide(); - this.render(); - this.firstRender = false; - - return this; - } - - /** - * Render the prompt to screen - * @return {CheckboxPrompt} self - */ - - render(error) { - // Render question - var message = this.getQuestion(); - var bottomContent = ''; - - if (!this.spaceKeyPressed) { - message += - '(Press ' + - chalk.cyan.bold('') + - ' to select, ' + - chalk.cyan.bold('') + - ' to toggle all, ' + - chalk.cyan.bold('') + - ' to invert selection)'; - } - - // Render choices or answer depending on the state - if (this.status === 'answered') { - message += chalk.cyan(this.selection.join(', ')); - } else { - var choicesStr = renderChoices(this.opt.choices, this.pointer); - var indexPosition = this.opt.choices.indexOf( - this.opt.choices.getChoice(this.pointer) - ); - message += - '\n' + this.paginator.paginate(choicesStr, indexPosition, this.opt.pageSize); - } - - if (error) { - bottomContent = chalk.red('>> ') + error; - } - - this.screen.render(message, bottomContent); - } - - /** - * When user press `enter` key - */ - - onEnd(state) { - this.status = 'answered'; - this.spaceKeyPressed = true; - // Rerender prompt (and clean subline error) - this.render(); - - this.screen.done(); - cliCursor.show(); - this.done(state.value); - } - - onError(state) { - this.render(state.isValid); - } - - getCurrentValue() { - var choices = this.opt.choices.filter(function(choice) { - return Boolean(choice.checked) && !choice.disabled; - }); - - this.selection = _.map(choices, 'short'); - return _.map(choices, 'value'); - } - - onUpKey() { - var len = this.opt.choices.realLength; - this.pointer = this.pointer > 0 ? this.pointer - 1 : len - 1; - this.render(); - } - - onDownKey() { - var len = this.opt.choices.realLength; - this.pointer = this.pointer < len - 1 ? this.pointer + 1 : 0; - this.render(); - } - - onNumberKey(input) { - if (input <= this.opt.choices.realLength) { - this.pointer = input - 1; - this.toggleChoice(this.pointer); - } - - this.render(); - } - - onSpaceKey() { - this.spaceKeyPressed = true; - this.toggleChoice(this.pointer); - this.render(); - } - - onAllKey() { - var shouldBeChecked = Boolean( - this.opt.choices.find(function(choice) { - return choice.type !== 'separator' && !choice.checked; - }) - ); - - this.opt.choices.forEach(function(choice) { - if (choice.type !== 'separator') { - choice.checked = shouldBeChecked; - } - }); - - this.render(); - } - - onInverseKey() { - this.opt.choices.forEach(function(choice) { - if (choice.type !== 'separator') { - choice.checked = !choice.checked; - } - }); - - this.render(); - } - - toggleChoice(index) { - var item = this.opt.choices.getChoice(index); - if (item !== undefined) { - this.opt.choices.getChoice(index).checked = !item.checked; - } - } -} - -/** - * Function for rendering checkbox choices - * @param {Number} pointer Position of the pointer - * @return {String} Rendered content - */ - -function renderChoices(choices, pointer) { - var output = ''; - var separatorOffset = 0; - - choices.forEach(function(choice, i) { - if (choice.type === 'separator') { - separatorOffset++; - output += ' ' + choice + '\n'; - return; - } - - if (choice.disabled) { - separatorOffset++; - output += ' - ' + choice.name; - output += ' (' + (_.isString(choice.disabled) ? choice.disabled : 'Disabled') + ')'; - } else { - var line = getCheckbox(choice.checked) + ' ' + choice.name; - if (i - separatorOffset === pointer) { - output += chalk.cyan(figures.pointer + line); - } else { - output += ' ' + line; - } - } - - output += '\n'; - }); - - return output.replace(/\n$/, ''); -} - -/** - * Get the checkbox - * @param {Boolean} checked - add a X or not to the checkbox - * @return {String} Composited checkbox string - */ - -function getCheckbox(checked) { - return checked ? chalk.green(figures.radioOn) : figures.radioOff; -} - -module.exports = CheckboxPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/confirm.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/confirm.js deleted file mode 100644 index 1ede6b8951d973..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/confirm.js +++ /dev/null @@ -1,99 +0,0 @@ -'use strict'; -/** - * `confirm` type prompt - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var { take, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var observe = require('../utils/events'); - -class ConfirmPrompt extends Base { - constructor(questions, rl, answers) { - super(questions, rl, answers); - - var rawDefault = true; - - _.extend(this.opt, { - filter: function(input) { - var value = rawDefault; - if (input != null && input !== '') { - value = /^y(es)?/i.test(input); - } - - return value; - } - }); - - if (_.isBoolean(this.opt.default)) { - rawDefault = this.opt.default; - } - - this.opt.default = rawDefault ? 'Y/n' : 'y/N'; - } - - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - // Once user confirm (enter key) - var events = observe(this.rl); - events.keypress.pipe(takeUntil(events.line)).forEach(this.onKeypress.bind(this)); - - events.line.pipe(take(1)).forEach(this.onEnd.bind(this)); - - // Init - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {ConfirmPrompt} self - */ - - render(answer) { - var message = this.getQuestion(); - - if (typeof answer === 'boolean') { - message += chalk.cyan(answer ? 'Yes' : 'No'); - } else { - message += this.rl.line; - } - - this.screen.render(message); - - return this; - } - - /** - * When user press `enter` key - */ - - onEnd(input) { - this.status = 'answered'; - - var output = this.opt.filter(input); - this.render(output); - - this.screen.done(); - this.done(output); - } - - /** - * When user press a key - */ - - onKeypress() { - this.render(); - } -} - -module.exports = ConfirmPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/editor.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/editor.js deleted file mode 100644 index 121cda8fa56096..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/editor.js +++ /dev/null @@ -1,100 +0,0 @@ -'use strict'; -/** - * `editor` type prompt - */ - -var chalk = require('chalk'); -var editAsync = require('external-editor').editAsync; -var Base = require('./base'); -var observe = require('../utils/events'); -var { Subject } = require('rxjs'); - -class EditorPrompt extends Base { - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - this.editorResult = new Subject(); - - // Open Editor on "line" (Enter Key) - var events = observe(this.rl); - this.lineSubscription = events.line.subscribe(this.startExternalEditor.bind(this)); - - // Trigger Validation when editor closes - var validation = this.handleSubmitEvents(this.editorResult); - validation.success.forEach(this.onEnd.bind(this)); - validation.error.forEach(this.onError.bind(this)); - - // Prevents default from being printed on screen (can look weird with multiple lines) - this.currentText = this.opt.default; - this.opt.default = null; - - // Init - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {EditorPrompt} self - */ - - render(error) { - var bottomContent = ''; - var message = this.getQuestion(); - - if (this.status === 'answered') { - message += chalk.dim('Received'); - } else { - message += chalk.dim('Press to launch your preferred editor.'); - } - - if (error) { - bottomContent = chalk.red('>> ') + error; - } - - this.screen.render(message, bottomContent); - } - - /** - * Launch $EDITOR on user press enter - */ - - startExternalEditor() { - // Pause Readline to prevent stdin and stdout from being modified while the editor is showing - this.rl.pause(); - editAsync(this.currentText, this.endExternalEditor.bind(this)); - } - - endExternalEditor(error, result) { - this.rl.resume(); - if (error) { - this.editorResult.error(error); - } else { - this.editorResult.next(result); - } - } - - onEnd(state) { - this.editorResult.unsubscribe(); - this.lineSubscription.unsubscribe(); - this.answer = state.value; - this.status = 'answered'; - // Re-render prompt - this.render(); - this.screen.done(); - this.done(this.answer); - } - - onError(state) { - this.render(state.isValid); - } -} - -module.exports = EditorPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/expand.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/expand.js deleted file mode 100644 index 5534a39060cc02..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/expand.js +++ /dev/null @@ -1,276 +0,0 @@ -'use strict'; -/** - * `rawlist` type prompt - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var { map, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var Separator = require('../objects/separator'); -var observe = require('../utils/events'); -var Paginator = require('../utils/paginator'); - -class ExpandPrompt extends Base { - constructor(questions, rl, answers) { - super(questions, rl, answers); - - if (!this.opt.choices) { - this.throwParamError('choices'); - } - - this.validateChoices(this.opt.choices); - - // Add the default `help` (/expand) option - this.opt.choices.push({ - key: 'h', - name: 'Help, list all options', - value: 'help' - }); - - this.opt.validate = choice => { - if (choice == null) { - return 'Please enter a valid command'; - } - - return choice !== 'help'; - }; - - // Setup the default string (capitalize the default key) - this.opt.default = this.generateChoicesString(this.opt.choices, this.opt.default); - - this.paginator = new Paginator(this.screen); - } - - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - // Save user answer and update prompt to show selected option. - var events = observe(this.rl); - var validation = this.handleSubmitEvents( - events.line.pipe(map(this.getCurrentValue.bind(this))) - ); - validation.success.forEach(this.onSubmit.bind(this)); - validation.error.forEach(this.onError.bind(this)); - this.keypressObs = events.keypress - .pipe(takeUntil(validation.success)) - .forEach(this.onKeypress.bind(this)); - - // Init the prompt - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {ExpandPrompt} self - */ - - render(error, hint) { - var message = this.getQuestion(); - var bottomContent = ''; - - if (this.status === 'answered') { - message += chalk.cyan(this.answer); - } else if (this.status === 'expanded') { - var choicesStr = renderChoices(this.opt.choices, this.selectedKey); - message += this.paginator.paginate(choicesStr, this.selectedKey, this.opt.pageSize); - message += '\n Answer: '; - } - - message += this.rl.line; - - if (error) { - bottomContent = chalk.red('>> ') + error; - } - - if (hint) { - bottomContent = chalk.cyan('>> ') + hint; - } - - this.screen.render(message, bottomContent); - } - - getCurrentValue(input) { - if (!input) { - input = this.rawDefault; - } - - var selected = this.opt.choices.where({ key: input.toLowerCase().trim() })[0]; - if (!selected) { - return null; - } - - return selected.value; - } - - /** - * Generate the prompt choices string - * @return {String} Choices string - */ - - getChoices() { - var output = ''; - - this.opt.choices.forEach(choice => { - output += '\n '; - - if (choice.type === 'separator') { - output += ' ' + choice; - return; - } - - var choiceStr = choice.key + ') ' + choice.name; - if (this.selectedKey === choice.key) { - choiceStr = chalk.cyan(choiceStr); - } - - output += choiceStr; - }); - - return output; - } - - onError(state) { - if (state.value === 'help') { - this.selectedKey = ''; - this.status = 'expanded'; - this.render(); - return; - } - - this.render(state.isValid); - } - - /** - * When user press `enter` key - */ - - onSubmit(state) { - this.status = 'answered'; - var choice = this.opt.choices.where({ value: state.value })[0]; - this.answer = choice.short || choice.name; - - // Re-render prompt - this.render(); - this.screen.done(); - this.done(state.value); - } - - /** - * When user press a key - */ - - onKeypress() { - this.selectedKey = this.rl.line.toLowerCase(); - var selected = this.opt.choices.where({ key: this.selectedKey })[0]; - if (this.status === 'expanded') { - this.render(); - } else { - this.render(null, selected ? selected.name : null); - } - } - - /** - * Validate the choices - * @param {Array} choices - */ - - validateChoices(choices) { - var formatError; - var errors = []; - var keymap = {}; - choices.filter(Separator.exclude).forEach(choice => { - if (!choice.key || choice.key.length !== 1) { - formatError = true; - } - - if (keymap[choice.key]) { - errors.push(choice.key); - } - - keymap[choice.key] = true; - choice.key = String(choice.key).toLowerCase(); - }); - - if (formatError) { - throw new Error( - 'Format error: `key` param must be a single letter and is required.' - ); - } - - if (keymap.h) { - throw new Error( - 'Reserved key error: `key` param cannot be `h` - this value is reserved.' - ); - } - - if (errors.length) { - throw new Error( - 'Duplicate key error: `key` param must be unique. Duplicates: ' + - _.uniq(errors).join(', ') - ); - } - } - - /** - * Generate a string out of the choices keys - * @param {Array} choices - * @param {Number|String} default - the choice index or name to capitalize - * @return {String} The rendered choices key string - */ - generateChoicesString(choices, defaultChoice) { - var defIndex = choices.realLength - 1; - if (_.isNumber(defaultChoice) && this.opt.choices.getChoice(defaultChoice)) { - defIndex = defaultChoice; - } else if (_.isString(defaultChoice)) { - let index = _.findIndex( - choices.realChoices, - ({ value }) => value === defaultChoice - ); - defIndex = index === -1 ? defIndex : index; - } - - var defStr = this.opt.choices.pluck('key'); - this.rawDefault = defStr[defIndex]; - defStr[defIndex] = String(defStr[defIndex]).toUpperCase(); - return defStr.join(''); - } -} - -/** - * Function for rendering checkbox choices - * @param {String} pointer Selected key - * @return {String} Rendered content - */ - -function renderChoices(choices, pointer) { - var output = ''; - - choices.forEach(choice => { - output += '\n '; - - if (choice.type === 'separator') { - output += ' ' + choice; - return; - } - - var choiceStr = choice.key + ') ' + choice.name; - if (pointer === choice.key) { - choiceStr = chalk.cyan(choiceStr); - } - - output += choiceStr; - }); - - return output; -} - -module.exports = ExpandPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/input.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/input.js deleted file mode 100644 index 2b886efc93cd88..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/input.js +++ /dev/null @@ -1,113 +0,0 @@ -'use strict'; -/** - * `input` type prompt - */ - -var chalk = require('chalk'); -var { map, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var observe = require('../utils/events'); - -class InputPrompt extends Base { - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - // Once user confirm (enter key) - var events = observe(this.rl); - var submit = events.line.pipe(map(this.filterInput.bind(this))); - - var validation = this.handleSubmitEvents(submit); - validation.success.forEach(this.onEnd.bind(this)); - validation.error.forEach(this.onError.bind(this)); - - events.keypress - .pipe(takeUntil(validation.success)) - .forEach(this.onKeypress.bind(this)); - - // Init - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {InputPrompt} self - */ - - render(error) { - var bottomContent = ''; - var appendContent = ''; - var message = this.getQuestion(); - var transformer = this.opt.transformer; - var isFinal = this.status === 'answered'; - - if (isFinal) { - appendContent = this.answer; - } else { - appendContent = this.rl.line; - } - - if (transformer) { - message += transformer(appendContent, this.answers, { isFinal }); - } else { - message += isFinal ? chalk.cyan(appendContent) : appendContent; - } - - if (error) { - bottomContent = chalk.red('>> ') + error; - } - - this.screen.render(message, bottomContent); - } - - /** - * When user press `enter` key - */ - - filterInput(input) { - if (!input) { - return this.opt.default == null ? '' : this.opt.default; - } - - return input; - } - - onEnd(state) { - this.answer = state.value; - this.status = 'answered'; - - // Re-render prompt - this.render(); - - this.screen.done(); - this.done(state.value); - } - - onError({ value = '', isValid }) { - this.rl.line += value; - this.rl.cursor += value.length; - this.render(isValid); - } - - /** - * When user press a key - */ - - onKeypress() { - // If user press a key, just clear the default value - if (this.opt.default) { - this.opt.default = undefined; - } - - this.render(); - } -} - -module.exports = InputPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/list.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/list.js deleted file mode 100644 index 8e3c5a269d5ac6..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/list.js +++ /dev/null @@ -1,184 +0,0 @@ -'use strict'; -/** - * `list` type prompt - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var figures = require('figures'); -var cliCursor = require('cli-cursor'); -var runAsync = require('run-async'); -var { flatMap, map, take, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var observe = require('../utils/events'); -var Paginator = require('../utils/paginator'); - -class ListPrompt extends Base { - constructor(questions, rl, answers) { - super(questions, rl, answers); - - if (!this.opt.choices) { - this.throwParamError('choices'); - } - - this.firstRender = true; - this.selected = 0; - - var def = this.opt.default; - - // If def is a Number, then use as index. Otherwise, check for value. - if (_.isNumber(def) && def >= 0 && def < this.opt.choices.realLength) { - this.selected = def; - } else if (!_.isNumber(def) && def != null) { - let index = _.findIndex(this.opt.choices.realChoices, ({ value }) => value === def); - this.selected = Math.max(index, 0); - } - - // Make sure no default is set (so it won't be printed) - this.opt.default = null; - - this.paginator = new Paginator(this.screen); - } - - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - var self = this; - - var events = observe(this.rl); - events.normalizedUpKey.pipe(takeUntil(events.line)).forEach(this.onUpKey.bind(this)); - events.normalizedDownKey - .pipe(takeUntil(events.line)) - .forEach(this.onDownKey.bind(this)); - events.numberKey.pipe(takeUntil(events.line)).forEach(this.onNumberKey.bind(this)); - events.line - .pipe( - take(1), - map(this.getCurrentValue.bind(this)), - flatMap(value => runAsync(self.opt.filter)(value).catch(err => err)) - ) - .forEach(this.onSubmit.bind(this)); - - // Init the prompt - cliCursor.hide(); - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {ListPrompt} self - */ - - render() { - // Render question - var message = this.getQuestion(); - - if (this.firstRender) { - message += chalk.dim('(Use arrow keys)'); - } - - // Render choices or answer depending on the state - if (this.status === 'answered') { - message += chalk.cyan(this.opt.choices.getChoice(this.selected).short); - } else { - var choicesStr = listRender(this.opt.choices, this.selected); - var indexPosition = this.opt.choices.indexOf( - this.opt.choices.getChoice(this.selected) - ); - message += - '\n' + this.paginator.paginate(choicesStr, indexPosition, this.opt.pageSize); - } - - this.firstRender = false; - - this.screen.render(message); - } - - /** - * When user press `enter` key - */ - - onSubmit(value) { - this.status = 'answered'; - - // Rerender prompt - this.render(); - - this.screen.done(); - cliCursor.show(); - this.done(value); - } - - getCurrentValue() { - return this.opt.choices.getChoice(this.selected).value; - } - - /** - * When user press a key - */ - onUpKey() { - var len = this.opt.choices.realLength; - this.selected = this.selected > 0 ? this.selected - 1 : len - 1; - this.render(); - } - - onDownKey() { - var len = this.opt.choices.realLength; - this.selected = this.selected < len - 1 ? this.selected + 1 : 0; - this.render(); - } - - onNumberKey(input) { - if (input <= this.opt.choices.realLength) { - this.selected = input - 1; - } - - this.render(); - } -} - -/** - * Function for rendering list choices - * @param {Number} pointer Position of the pointer - * @return {String} Rendered content - */ -function listRender(choices, pointer) { - var output = ''; - var separatorOffset = 0; - - choices.forEach((choice, i) => { - if (choice.type === 'separator') { - separatorOffset++; - output += ' ' + choice + '\n'; - return; - } - - if (choice.disabled) { - separatorOffset++; - output += ' - ' + choice.name; - output += ' (' + (_.isString(choice.disabled) ? choice.disabled : 'Disabled') + ')'; - output += '\n'; - return; - } - - var isSelected = i - separatorOffset === pointer; - var line = (isSelected ? figures.pointer + ' ' : ' ') + choice.name; - if (isSelected) { - line = chalk.cyan(line); - } - - output += line + ' \n'; - }); - - return output.replace(/\n$/, ''); -} - -module.exports = ListPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/number.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/number.js deleted file mode 100644 index 6640751f6ca920..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/number.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; -/** - * `input` type prompt - */ - -var Input = require('./input'); - -/** - * Extention of the Input prompt specifically for use with number inputs. - */ - -class NumberPrompt extends Input { - filterInput(input) { - if (input && typeof input === 'string') { - input = input.trim(); - // Match a number in the input - let numberMatch = input.match(/(^-?\d+|^\d+\.\d*|^\d*\.\d+)(e\d+)?$/); - // If a number is found, return that input. - if (numberMatch) { - return Number(numberMatch[0]); - } - } - - // If the input was invalid return the default value. - return this.opt.default == null ? NaN : this.opt.default; - } -} - -module.exports = NumberPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/password.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/password.js deleted file mode 100644 index d5343b39e30d6c..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/password.js +++ /dev/null @@ -1,113 +0,0 @@ -'use strict'; -/** - * `password` type prompt - */ - -var chalk = require('chalk'); -var { map, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var observe = require('../utils/events'); - -function mask(input, maskChar) { - input = String(input); - maskChar = typeof maskChar === 'string' ? maskChar : '*'; - if (input.length === 0) { - return ''; - } - - return new Array(input.length + 1).join(maskChar); -} - -class PasswordPrompt extends Base { - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - var events = observe(this.rl); - - // Once user confirm (enter key) - var submit = events.line.pipe(map(this.filterInput.bind(this))); - - var validation = this.handleSubmitEvents(submit); - validation.success.forEach(this.onEnd.bind(this)); - validation.error.forEach(this.onError.bind(this)); - - events.keypress - .pipe(takeUntil(validation.success)) - .forEach(this.onKeypress.bind(this)); - - // Init - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {PasswordPrompt} self - */ - - render(error) { - var message = this.getQuestion(); - var bottomContent = ''; - - if (this.status === 'answered') { - message += this.opt.mask - ? chalk.cyan(mask(this.answer, this.opt.mask)) - : chalk.italic.dim('[hidden]'); - } else if (this.opt.mask) { - message += mask(this.rl.line || '', this.opt.mask); - } else { - message += chalk.italic.dim('[input is hidden] '); - } - - if (error) { - bottomContent = '\n' + chalk.red('>> ') + error; - } - - this.screen.render(message, bottomContent); - } - - /** - * When user press `enter` key - */ - - filterInput(input) { - if (!input) { - return this.opt.default == null ? '' : this.opt.default; - } - - return input; - } - - onEnd(state) { - this.status = 'answered'; - this.answer = state.value; - - // Re-render prompt - this.render(); - - this.screen.done(); - this.done(state.value); - } - - onError(state) { - this.render(state.isValid); - } - - onKeypress() { - // If user press a key, just clear the default value - if (this.opt.default) { - this.opt.default = undefined; - } - - this.render(); - } -} - -module.exports = PasswordPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/rawlist.js b/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/rawlist.js deleted file mode 100644 index 418114b52fa689..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/prompts/rawlist.js +++ /dev/null @@ -1,216 +0,0 @@ -'use strict'; -/** - * `rawlist` type prompt - */ - -var _ = require('lodash'); -var chalk = require('chalk'); -var { map, takeUntil } = require('rxjs/operators'); -var Base = require('./base'); -var Separator = require('../objects/separator'); -var observe = require('../utils/events'); -var Paginator = require('../utils/paginator'); - -class RawListPrompt extends Base { - constructor(questions, rl, answers) { - super(questions, rl, answers); - - if (!this.opt.choices) { - this.throwParamError('choices'); - } - - this.opt.validChoices = this.opt.choices.filter(Separator.exclude); - - this.selected = 0; - this.rawDefault = 0; - - _.extend(this.opt, { - validate: function(val) { - return val != null; - } - }); - - var def = this.opt.default; - if (_.isNumber(def) && def >= 0 && def < this.opt.choices.realLength) { - this.selected = def; - this.rawDefault = def; - } else if (!_.isNumber(def) && def != null) { - let index = _.findIndex(this.opt.choices.realChoices, ({ value }) => value === def); - let safeIndex = Math.max(index, 0); - this.selected = safeIndex; - this.rawDefault = safeIndex; - } - - // Make sure no default is set (so it won't be printed) - this.opt.default = null; - - this.paginator = new Paginator(); - } - - /** - * Start the Inquiry session - * @param {Function} cb Callback when prompt is done - * @return {this} - */ - - _run(cb) { - this.done = cb; - - // Once user confirm (enter key) - var events = observe(this.rl); - var submit = events.line.pipe(map(this.getCurrentValue.bind(this))); - - var validation = this.handleSubmitEvents(submit); - validation.success.forEach(this.onEnd.bind(this)); - validation.error.forEach(this.onError.bind(this)); - - events.normalizedUpKey.pipe(takeUntil(events.line)).forEach(this.onUpKey.bind(this)); - events.normalizedDownKey - .pipe(takeUntil(events.line)) - .forEach(this.onDownKey.bind(this)); - events.keypress - .pipe(takeUntil(validation.success)) - .forEach(this.onKeypress.bind(this)); - // Init the prompt - this.render(); - - return this; - } - - /** - * Render the prompt to screen - * @return {RawListPrompt} self - */ - - render(error) { - // Render question - var message = this.getQuestion(); - var bottomContent = ''; - - if (this.status === 'answered') { - message += chalk.cyan(this.answer); - } else { - var choicesStr = renderChoices(this.opt.choices, this.selected); - message += - '\n' + this.paginator.paginate(choicesStr, this.selected, this.opt.pageSize); - message += '\n Answer: '; - } - message += this.rl.line; - - if (error) { - bottomContent = '\n' + chalk.red('>> ') + error; - } - - this.screen.render(message, bottomContent); - } - - /** - * When user press `enter` key - */ - - getCurrentValue(index) { - if (index == null) { - index = this.rawDefault; - } else if (index === '') { - index = this.selected; - } else { - index -= 1; - } - - var choice = this.opt.choices.getChoice(index); - return choice ? choice.value : null; - } - - onEnd(state) { - this.status = 'answered'; - this.answer = state.value; - - // Re-render prompt - this.render(); - - this.screen.done(); - this.done(state.value); - } - - onError() { - this.render('Please enter a valid index'); - } - - /** - * When user press a key - */ - - onKeypress() { - var index = this.rl.line.length ? Number(this.rl.line) - 1 : 0; - - if (this.opt.choices.getChoice(index)) { - this.selected = index; - } else { - this.selected = undefined; - } - this.render(); - } - - /** - * When user press up key - */ - - onUpKey() { - this.onArrowKey('up'); - } - - /** - * When user press down key - */ - - onDownKey() { - this.onArrowKey('down'); - } - - /** - * When user press up or down key - * @param {String} type Arrow type: up or down - */ - - onArrowKey(type) { - var len = this.opt.choices.realLength; - - if (type === 'up') this.selected = this.selected > 0 ? this.selected - 1 : len - 1; - else this.selected = this.selected < len - 1 ? this.selected + 1 : 0; - - this.rl.line = String(this.selected + 1); - } -} - -/** - * Function for rendering list choices - * @param {Number} pointer Position of the pointer - * @return {String} Rendered content - */ - -function renderChoices(choices, pointer) { - var output = ''; - var separatorOffset = 0; - - choices.forEach(function(choice, i) { - output += '\n '; - - if (choice.type === 'separator') { - separatorOffset++; - output += ' ' + choice; - return; - } - - var index = i - separatorOffset; - var display = index + 1 + ') ' + choice.name; - if (index === pointer) { - display = chalk.cyan(display); - } - - output += display; - }); - - return output; -} - -module.exports = RawListPrompt; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/baseUI.js b/tools/node_modules/eslint/node_modules/inquirer/lib/ui/baseUI.js deleted file mode 100644 index 45248eff5a9bcc..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/baseUI.js +++ /dev/null @@ -1,96 +0,0 @@ -'use strict'; -var _ = require('lodash'); -var MuteStream = require('mute-stream'); -var readline = require('readline'); - -/** - * Base interface class other can inherits from - */ - -class UI { - constructor(opt) { - // Instantiate the Readline interface - // @Note: Don't reassign if already present (allow test to override the Stream) - if (!this.rl) { - this.rl = readline.createInterface(setupReadlineOptions(opt)); - } - - this.rl.resume(); - - this.onForceClose = this.onForceClose.bind(this); - - // Make sure new prompt start on a newline when closing - process.on('exit', this.onForceClose); - - // Terminate process on SIGINT (which will call process.on('exit') in return) - this.rl.on('SIGINT', this.onForceClose); - } - - /** - * Handle the ^C exit - * @return {null} - */ - - onForceClose() { - this.close(); - process.kill(process.pid, 'SIGINT'); - console.log(''); - } - - /** - * Close the interface and cleanup listeners - */ - - close() { - // Remove events listeners - this.rl.removeListener('SIGINT', this.onForceClose); - process.removeListener('exit', this.onForceClose); - - this.rl.output.unmute(); - - if (this.activePrompt && typeof this.activePrompt.close === 'function') { - this.activePrompt.close(); - } - - // Close the readline - this.rl.output.end(); - this.rl.pause(); - this.rl.close(); - } -} - -function setupReadlineOptions(opt) { - opt = opt || {}; - // Inquirer 8.x: - // opt.skipTTYChecks = opt.skipTTYChecks === undefined ? opt.input !== undefined : opt.skipTTYChecks; - opt.skipTTYChecks = opt.skipTTYChecks === undefined ? true : opt.skipTTYChecks; - - // Default `input` to stdin - var input = opt.input || process.stdin; - - // Check if prompt is being called in TTY environment - // If it isn't return a failed promise - if (!opt.skipTTYChecks && !input.isTTY) { - const nonTtyError = new Error( - 'Prompts can not be meaningfully rendered in non-TTY environments' - ); - nonTtyError.isTtyError = true; - throw nonTtyError; - } - - // Add mute capabilities to the output - var ms = new MuteStream(); - ms.pipe(opt.output || process.stdout); - var output = ms; - - return _.extend( - { - terminal: true, - input: input, - output: output - }, - _.omit(opt, ['input', 'output']) - ); -} - -module.exports = UI; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/bottom-bar.js b/tools/node_modules/eslint/node_modules/inquirer/lib/ui/bottom-bar.js deleted file mode 100644 index b56d6d7adda4af..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/bottom-bar.js +++ /dev/null @@ -1,100 +0,0 @@ -'use strict'; -/** - * Sticky bottom bar user interface - */ - -var through = require('through'); -var Base = require('./baseUI'); -var rlUtils = require('../utils/readline'); -var _ = require('lodash'); - -class BottomBar extends Base { - constructor(opt) { - opt = opt || {}; - - super(opt); - - this.log = through(this.writeLog.bind(this)); - this.bottomBar = opt.bottomBar || ''; - this.render(); - } - - /** - * Render the prompt to screen - * @return {BottomBar} self - */ - - render() { - this.write(this.bottomBar); - return this; - } - - clean() { - rlUtils.clearLine(this.rl, this.bottomBar.split('\n').length); - return this; - } - - /** - * Update the bottom bar content and rerender - * @param {String} bottomBar Bottom bar content - * @return {BottomBar} self - */ - - updateBottomBar(bottomBar) { - rlUtils.clearLine(this.rl, 1); - this.rl.output.unmute(); - this.clean(); - this.bottomBar = bottomBar; - this.render(); - this.rl.output.mute(); - return this; - } - - /** - * Write out log data - * @param {String} data - The log data to be output - * @return {BottomBar} self - */ - - writeLog(data) { - this.rl.output.unmute(); - this.clean(); - this.rl.output.write(this.enforceLF(data.toString())); - this.render(); - this.rl.output.mute(); - return this; - } - - /** - * Make sure line end on a line feed - * @param {String} str Input string - * @return {String} The input string with a final line feed - */ - - enforceLF(str) { - return str.match(/[\r\n]$/) ? str : str + '\n'; - } - - /** - * Helper for writing message in Prompt - * @param {BottomBar} prompt - The Prompt object that extends tty - * @param {String} message - The message to be output - */ - write(message) { - var msgLines = message.split(/\n/); - this.height = msgLines.length; - - // Write message to screen and setPrompt to control backspace - this.rl.setPrompt(_.last(msgLines)); - - if (this.rl.output.rows === 0 && this.rl.output.columns === 0) { - /* When it's a tty through serial port there's no terminal info and the render will malfunction, - so we need enforce the cursor to locate to the leftmost position for rendering. */ - rlUtils.left(this.rl, message.length + this.rl.line.length); - } - - this.rl.output.write(message); - } -} - -module.exports = BottomBar; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/prompt.js b/tools/node_modules/eslint/node_modules/inquirer/lib/ui/prompt.js deleted file mode 100644 index 9735c999f342a3..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/ui/prompt.js +++ /dev/null @@ -1,132 +0,0 @@ -'use strict'; -var _ = require('lodash'); -var { defer, empty, from, of } = require('rxjs'); -var { concatMap, filter, publish, reduce } = require('rxjs/operators'); -var runAsync = require('run-async'); -var utils = require('../utils/utils'); -var Base = require('./baseUI'); - -/** - * Base interface class other can inherits from - */ - -class PromptUI extends Base { - constructor(prompts, opt) { - super(opt); - this.prompts = prompts; - } - - run(questions, answers) { - // Keep global reference to the answers - if (_.isPlainObject(answers)) { - this.answers = _.clone(answers); - } else { - this.answers = {}; - } - - // Make sure questions is an array. - if (_.isPlainObject(questions)) { - questions = [questions]; - } - - // Create an observable, unless we received one as parameter. - // Note: As this is a public interface, we cannot do an instanceof check as we won't - // be using the exact same object in memory. - var obs = _.isArray(questions) ? from(questions) : questions; - - this.process = obs.pipe( - concatMap(this.processQuestion.bind(this)), - publish() // Creates a hot Observable. It prevents duplicating prompts. - ); - - this.process.connect(); - - return this.process - .pipe( - reduce((answers, answer) => { - _.set(answers, answer.name, answer.answer); - return answers; - }, this.answers) - ) - .toPromise(Promise) - .then(this.onCompletion.bind(this)); - } - - /** - * Once all prompt are over - */ - - onCompletion() { - this.close(); - - return this.answers; - } - - processQuestion(question) { - question = _.clone(question); - return defer(() => { - var obs = of(question); - - return obs.pipe( - concatMap(this.setDefaultType.bind(this)), - concatMap(this.filterIfRunnable.bind(this)), - concatMap(() => - utils.fetchAsyncQuestionProperty(question, 'message', this.answers) - ), - concatMap(() => - utils.fetchAsyncQuestionProperty(question, 'default', this.answers) - ), - concatMap(() => - utils.fetchAsyncQuestionProperty(question, 'choices', this.answers) - ), - concatMap(this.fetchAnswer.bind(this)) - ); - }); - } - - fetchAnswer(question) { - var Prompt = this.prompts[question.type]; - this.activePrompt = new Prompt(question, this.rl, this.answers); - return defer(() => - from( - this.activePrompt.run().then(answer => ({ name: question.name, answer: answer })) - ) - ); - } - - setDefaultType(question) { - // Default type to input - if (!this.prompts[question.type]) { - question.type = 'input'; - } - - return defer(() => of(question)); - } - - filterIfRunnable(question) { - if (question.askAnswered !== true && this.answers[question.name] !== undefined) { - return empty(); - } - - if (question.when === false) { - return empty(); - } - - if (!_.isFunction(question.when)) { - return of(question); - } - - var answers = this.answers; - return defer(() => - from( - runAsync(question.when)(answers).then(shouldRun => { - if (shouldRun) { - return question; - } - }) - ).pipe(filter(val => val != null)) - ); - } -} - -module.exports = PromptUI; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/events.js b/tools/node_modules/eslint/node_modules/inquirer/lib/utils/events.js deleted file mode 100644 index 966d146cff91b5..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/events.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; -var { fromEvent } = require('rxjs'); -var { filter, map, share, takeUntil } = require('rxjs/operators'); - -function normalizeKeypressEvents(value, key) { - return { value: value, key: key || {} }; -} - -module.exports = function(rl) { - var keypress = fromEvent(rl.input, 'keypress', normalizeKeypressEvents) - .pipe(takeUntil(fromEvent(rl, 'close'))) - // Ignore `enter` key. On the readline, we only care about the `line` event. - .pipe(filter(({ key }) => key.name !== 'enter' && key.name !== 'return')); - - return { - line: fromEvent(rl, 'line'), - keypress: keypress, - - normalizedUpKey: keypress.pipe( - filter( - ({ key }) => - key.name === 'up' || key.name === 'k' || (key.name === 'p' && key.ctrl) - ), - share() - ), - - normalizedDownKey: keypress.pipe( - filter( - ({ key }) => - key.name === 'down' || key.name === 'j' || (key.name === 'n' && key.ctrl) - ), - share() - ), - - numberKey: keypress.pipe( - filter(e => e.value && '123456789'.indexOf(e.value) >= 0), - map(e => Number(e.value)), - share() - ), - - spaceKey: keypress.pipe( - filter(({ key }) => key && key.name === 'space'), - share() - ), - aKey: keypress.pipe( - filter(({ key }) => key && key.name === 'a'), - share() - ), - iKey: keypress.pipe( - filter(({ key }) => key && key.name === 'i'), - share() - ) - }; -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/paginator.js b/tools/node_modules/eslint/node_modules/inquirer/lib/utils/paginator.js deleted file mode 100644 index 272d104a2bb02f..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/paginator.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict'; - -var _ = require('lodash'); -var chalk = require('chalk'); - -/** - * The paginator keeps track of a pointer index in a list and returns - * a subset of the choices if the list is too long. - */ - -class Paginator { - constructor(screen) { - this.pointer = 0; - this.lastIndex = 0; - this.screen = screen; - } - - paginate(output, active, pageSize) { - pageSize = pageSize || 7; - var middleOfList = Math.floor(pageSize / 2); - var lines = output.split('\n'); - - if (this.screen) { - lines = this.screen.breakLines(lines); - active = _.sum(lines.map(lineParts => lineParts.length).splice(0, active)); - lines = _.flatten(lines); - } - - // Make sure there's enough lines to paginate - if (lines.length <= pageSize) { - return output; - } - - // Move the pointer only when the user go down and limit it to the middle of the list - if ( - this.pointer < middleOfList && - this.lastIndex < active && - active - this.lastIndex < pageSize - ) { - this.pointer = Math.min(middleOfList, this.pointer + active - this.lastIndex); - } - - this.lastIndex = active; - - // Duplicate the lines so it give an infinite list look - var infinite = _.flatten([lines, lines, lines]); - var topIndex = Math.max(0, active + lines.length - this.pointer); - - var section = infinite.splice(topIndex, pageSize).join('\n'); - return section + '\n' + chalk.dim('(Move up and down to reveal more choices)'); - } -} - -module.exports = Paginator; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/readline.js b/tools/node_modules/eslint/node_modules/inquirer/lib/utils/readline.js deleted file mode 100644 index 929b6723b814b5..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/readline.js +++ /dev/null @@ -1,51 +0,0 @@ -'use strict'; -var ansiEscapes = require('ansi-escapes'); - -/** - * Move cursor left by `x` - * @param {Readline} rl - Readline instance - * @param {Number} x - How far to go left (default to 1) - */ - -exports.left = function(rl, x) { - rl.output.write(ansiEscapes.cursorBackward(x)); -}; - -/** - * Move cursor right by `x` - * @param {Readline} rl - Readline instance - * @param {Number} x - How far to go left (default to 1) - */ - -exports.right = function(rl, x) { - rl.output.write(ansiEscapes.cursorForward(x)); -}; - -/** - * Move cursor up by `x` - * @param {Readline} rl - Readline instance - * @param {Number} x - How far to go up (default to 1) - */ - -exports.up = function(rl, x) { - rl.output.write(ansiEscapes.cursorUp(x)); -}; - -/** - * Move cursor down by `x` - * @param {Readline} rl - Readline instance - * @param {Number} x - How far to go down (default to 1) - */ - -exports.down = function(rl, x) { - rl.output.write(ansiEscapes.cursorDown(x)); -}; - -/** - * Clear current line - * @param {Readline} rl - Readline instance - * @param {Number} len - number of line to delete - */ -exports.clearLine = function(rl, len) { - rl.output.write(ansiEscapes.eraseLines(len)); -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/screen-manager.js b/tools/node_modules/eslint/node_modules/inquirer/lib/utils/screen-manager.js deleted file mode 100644 index 6b8f66999f7cfb..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/screen-manager.js +++ /dev/null @@ -1,142 +0,0 @@ -'use strict'; -var _ = require('lodash'); -var util = require('./readline'); -var cliWidth = require('cli-width'); -var stripAnsi = require('strip-ansi'); -var stringWidth = require('string-width'); - -function height(content) { - return content.split('\n').length; -} - -function lastLine(content) { - return _.last(content.split('\n')); -} - -class ScreenManager { - constructor(rl) { - // These variables are keeping information to allow correct prompt re-rendering - this.height = 0; - this.extraLinesUnderPrompt = 0; - - this.rl = rl; - } - - render(content, bottomContent) { - this.rl.output.unmute(); - this.clean(this.extraLinesUnderPrompt); - - /** - * Write message to screen and setPrompt to control backspace - */ - - var promptLine = lastLine(content); - var rawPromptLine = stripAnsi(promptLine); - - // Remove the rl.line from our prompt. We can't rely on the content of - // rl.line (mainly because of the password prompt), so just rely on it's - // length. - var prompt = rawPromptLine; - if (this.rl.line.length) { - prompt = prompt.slice(0, -this.rl.line.length); - } - - this.rl.setPrompt(prompt); - - // SetPrompt will change cursor position, now we can get correct value - var cursorPos = this.rl._getCursorPos(); - var width = this.normalizedCliWidth(); - - content = this.forceLineReturn(content, width); - if (bottomContent) { - bottomContent = this.forceLineReturn(bottomContent, width); - } - - // Manually insert an extra line if we're at the end of the line. - // This prevent the cursor from appearing at the beginning of the - // current line. - if (rawPromptLine.length % width === 0) { - content += '\n'; - } - - var fullContent = content + (bottomContent ? '\n' + bottomContent : ''); - this.rl.output.write(fullContent); - - /** - * Re-adjust the cursor at the correct position. - */ - - // We need to consider parts of the prompt under the cursor as part of the bottom - // content in order to correctly cleanup and re-render. - var promptLineUpDiff = Math.floor(rawPromptLine.length / width) - cursorPos.rows; - var bottomContentHeight = - promptLineUpDiff + (bottomContent ? height(bottomContent) : 0); - if (bottomContentHeight > 0) { - util.up(this.rl, bottomContentHeight); - } - - // Reset cursor at the beginning of the line - util.left(this.rl, stringWidth(lastLine(fullContent))); - - // Adjust cursor on the right - if (cursorPos.cols > 0) { - util.right(this.rl, cursorPos.cols); - } - - /** - * Set up state for next re-rendering - */ - this.extraLinesUnderPrompt = bottomContentHeight; - this.height = height(fullContent); - - this.rl.output.mute(); - } - - clean(extraLines) { - if (extraLines > 0) { - util.down(this.rl, extraLines); - } - - util.clearLine(this.rl, this.height); - } - - done() { - this.rl.setPrompt(''); - this.rl.output.unmute(); - this.rl.output.write('\n'); - } - - releaseCursor() { - if (this.extraLinesUnderPrompt > 0) { - util.down(this.rl, this.extraLinesUnderPrompt); - } - } - - normalizedCliWidth() { - var width = cliWidth({ - defaultWidth: 80, - output: this.rl.output - }); - return width; - } - - breakLines(lines, width) { - // Break lines who're longer than the cli width so we can normalize the natural line - // returns behavior across terminals. - width = width || this.normalizedCliWidth(); - var regex = new RegExp('(?:(?:\\033[[0-9;]*m)*.?){1,' + width + '}', 'g'); - return lines.map(line => { - var chunk = line.match(regex); - // Last match is always empty - chunk.pop(); - return chunk || ''; - }); - } - - forceLineReturn(content, width) { - width = width || this.normalizedCliWidth(); - return _.flatten(this.breakLines(content.split('\n'), width)).join('\n'); - } -} - -module.exports = ScreenManager; diff --git a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/utils.js b/tools/node_modules/eslint/node_modules/inquirer/lib/utils/utils.js deleted file mode 100644 index 942b35c02e0fa8..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/lib/utils/utils.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; -var _ = require('lodash'); -var { from, of } = require('rxjs'); -var runAsync = require('run-async'); - -/** - * Resolve a question property value if it is passed as a function. - * This method will overwrite the property on the question object with the received value. - * @param {Object} question - Question object - * @param {String} prop - Property to fetch name - * @param {Object} answers - Answers object - * @return {Rx.Observable} - Observable emitting once value is known - */ - -exports.fetchAsyncQuestionProperty = function(question, prop, answers) { - if (!_.isFunction(question[prop])) { - return of(question); - } - - return from( - runAsync(question[prop])(answers).then(value => { - question[prop] = value; - return question; - }) - ); -}; diff --git a/tools/node_modules/eslint/node_modules/inquirer/node_modules/ansi-styles/license b/tools/node_modules/eslint/node_modules/inquirer/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f77107d73..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/node_modules/ansi-styles/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/license b/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/license deleted file mode 100644 index e7af2f77107d73..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/package.json b/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/package.json deleted file mode 100644 index b6219713cecd70..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "bugs": { - "url": "https://github.com/chalk/chalk/issues" - }, - "bundleDependencies": false, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "deprecated": false, - "description": "Terminal string styling done right", - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^3.2.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^14.1.1", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.25.3" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "source", - "index.d.ts" - ], - "homepage": "https://github.com/chalk/chalk#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "main": "source", - "name": "chalk", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/chalk.git" - }, - "scripts": { - "bench": "matcha benchmark.js", - "test": "xo && nyc ava && tsd" - }, - "version": "3.0.0", - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off" - } - } -} \ No newline at end of file diff --git a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/readme.md b/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/readme.md deleted file mode 100644 index 877cb93b7861f7..00000000000000 --- a/tools/node_modules/eslint/node_modules/inquirer/node_modules/chalk/readme.md +++ /dev/null @@ -1,304 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019 - - -## Install - -```console -$ npm install chalk -``` - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.`