step-node-agent 3.18.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/abbrev/package.json +1 -5
- package/node_modules/accepts/HISTORY.md +7 -0
- package/node_modules/accepts/README.md +3 -5
- package/node_modules/accepts/package.json +16 -20
- package/node_modules/ansi-align/package.json +1 -5
- package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.js +1 -1
- package/node_modules/{chalk/node_modules/ansi-styles → ansi-regex}/license +0 -0
- package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/package.json +2 -6
- package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/readme.md +0 -0
- package/node_modules/ansi-styles/index.js +119 -19
- package/node_modules/ansi-styles/license +4 -16
- package/node_modules/ansi-styles/package.json +55 -53
- package/node_modules/ansi-styles/readme.md +75 -14
- package/node_modules/array-flatten/package.json +1 -5
- package/node_modules/asn1/package.json +1 -5
- package/node_modules/assert-plus/package.json +1 -5
- package/node_modules/asynckit/package.json +1 -5
- package/node_modules/aws-sign2/package.json +1 -5
- package/node_modules/aws4/package.json +1 -5
- package/node_modules/balanced-match/package.json +1 -5
- package/node_modules/bcrypt-pbkdf/package.json +1 -5
- package/node_modules/binary/package.json +1 -5
- package/node_modules/body-parser/HISTORY.md +27 -0
- package/node_modules/body-parser/README.md +9 -1
- package/node_modules/body-parser/SECURITY.md +25 -0
- package/node_modules/body-parser/lib/read.js +26 -2
- package/node_modules/body-parser/lib/types/json.js +10 -4
- package/node_modules/body-parser/package.json +17 -17
- package/node_modules/boxen/package.json +1 -5
- package/node_modules/brace-expansion/package.json +1 -5
- package/node_modules/buffers/package.json +1 -5
- package/node_modules/bytes/History.md +5 -0
- package/node_modules/bytes/index.js +4 -0
- package/node_modules/bytes/package.json +3 -7
- package/node_modules/{qs → call-bind}/.eslintignore +0 -1
- package/node_modules/call-bind/.eslintrc +17 -0
- package/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind/.nycrc +13 -0
- package/node_modules/call-bind/CHANGELOG.md +42 -0
- package/node_modules/call-bind/LICENSE +21 -0
- package/node_modules/call-bind/README.md +2 -0
- package/node_modules/call-bind/callBound.js +15 -0
- package/node_modules/call-bind/index.js +47 -0
- package/node_modules/call-bind/package.json +80 -0
- package/node_modules/call-bind/test/callBound.js +55 -0
- package/node_modules/call-bind/test/index.js +66 -0
- package/node_modules/camelcase/package.json +1 -5
- package/node_modules/capture-stack-trace/package.json +1 -5
- package/node_modules/caseless/package.json +1 -5
- package/node_modules/chainsaw/package.json +1 -5
- package/node_modules/chalk/package.json +1 -5
- package/node_modules/ci-info/package.json +1 -5
- package/node_modules/cli-boxes/package.json +1 -5
- package/node_modules/color-convert/package.json +1 -5
- package/node_modules/color-name/package.json +1 -5
- package/node_modules/combined-stream/package.json +1 -5
- package/node_modules/concat-map/package.json +1 -5
- package/node_modules/configstore/package.json +1 -5
- package/node_modules/content-disposition/package.json +1 -5
- package/node_modules/content-type/package.json +1 -5
- package/node_modules/cookie/HISTORY.md +14 -0
- package/node_modules/cookie/README.md +69 -24
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +86 -18
- package/node_modules/cookie/package.json +13 -13
- package/node_modules/cookie-signature/package.json +1 -5
- package/node_modules/core-util-is/lib/util.js +1 -1
- package/node_modules/core-util-is/package.json +10 -8
- package/node_modules/create-error-class/package.json +1 -5
- package/node_modules/cross-spawn/package.json +1 -5
- package/node_modules/crypto-random-string/package.json +1 -5
- package/node_modules/dashdash/package.json +1 -5
- package/node_modules/debug/package.json +1 -5
- package/node_modules/deep-extend/package.json +1 -5
- package/node_modules/delayed-stream/package.json +1 -5
- package/node_modules/depd/History.md +7 -0
- package/node_modules/depd/LICENSE +1 -1
- package/node_modules/depd/Readme.md +8 -8
- package/node_modules/depd/index.js +29 -13
- package/node_modules/depd/package.json +14 -14
- package/node_modules/destroy/LICENSE +1 -0
- package/node_modules/destroy/README.md +15 -12
- package/node_modules/destroy/index.js +147 -13
- package/node_modules/destroy/package.json +17 -10
- package/node_modules/dot-prop/package.json +1 -5
- package/node_modules/duplexer3/package.json +1 -5
- package/node_modules/ecc-jsbn/package.json +1 -5
- package/node_modules/ee-first/package.json +1 -5
- package/node_modules/encodeurl/package.json +1 -5
- package/node_modules/escape-html/package.json +1 -5
- package/node_modules/escape-string-regexp/package.json +1 -5
- package/node_modules/etag/package.json +1 -5
- package/node_modules/execa/package.json +1 -5
- package/node_modules/express/History.md +69 -0
- package/node_modules/express/Readme.md +39 -31
- package/node_modules/express/lib/application.js +18 -1
- package/node_modules/express/lib/response.js +41 -19
- package/node_modules/express/lib/router/index.js +20 -15
- package/node_modules/express/lib/router/route.js +9 -0
- package/node_modules/express/lib/utils.js +3 -1
- package/node_modules/express/lib/view.js +1 -1
- package/node_modules/express/package.json +20 -24
- package/node_modules/extend/package.json +1 -5
- package/node_modules/extsprintf/package.json +1 -5
- package/node_modules/fast-json-stable-stringify/package.json +1 -5
- package/node_modules/finalhandler/HISTORY.md +8 -0
- package/node_modules/finalhandler/LICENSE +1 -1
- package/node_modules/finalhandler/README.md +5 -6
- package/node_modules/finalhandler/SECURITY.md +25 -0
- package/node_modules/finalhandler/index.js +8 -3
- package/node_modules/finalhandler/package.json +19 -22
- package/node_modules/forever-agent/package.json +1 -5
- package/node_modules/form-data/package.json +1 -5
- package/node_modules/forwarded/package.json +1 -5
- package/node_modules/fresh/package.json +1 -5
- package/node_modules/fs.realpath/package.json +1 -5
- package/node_modules/function-bind/package.json +1 -5
- package/node_modules/get-intrinsic/.eslintignore +1 -0
- package/node_modules/get-intrinsic/.eslintrc +43 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +13 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +64 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +65 -0
- package/node_modules/get-intrinsic/index.js +330 -0
- package/node_modules/get-intrinsic/package.json +78 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +260 -0
- package/node_modules/get-stream/package.json +1 -5
- package/node_modules/getpass/package.json +1 -5
- package/node_modules/glob/package.json +1 -5
- package/node_modules/global-dirs/package.json +1 -5
- package/node_modules/got/package.json +1 -5
- package/node_modules/graceful-fs/LICENSE +1 -1
- package/node_modules/graceful-fs/graceful-fs.js +23 -4
- package/node_modules/graceful-fs/package.json +2 -6
- package/node_modules/graceful-fs/polyfills.js +35 -28
- package/node_modules/har-schema/package.json +0 -4
- package/node_modules/{ajv → har-validator/node_modules/ajv}/.tonic_example.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/LICENSE +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/README.md +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/dist/ajv.bundle.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/dist/ajv.min.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/dist/ajv.min.js.map +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/ajv.d.ts +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/ajv.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/cache.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/async.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/equal.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/error_classes.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/formats.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/index.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/resolve.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/rules.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/schema_obj.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/ucs2length.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/compile/util.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/data.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/definition_schema.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/_limit.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/_limitItems.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/_limitLength.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/_limitProperties.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/allOf.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/anyOf.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/coerce.def +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/comment.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/const.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/contains.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/custom.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/defaults.def +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/definitions.def +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/dependencies.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/enum.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/errors.def +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/format.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/if.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/items.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/missing.def +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/multipleOf.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/not.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/oneOf.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/pattern.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/properties.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/propertyNames.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/ref.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/required.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/uniqueItems.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dot/validate.jst +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/README.md +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/_limit.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/_limitItems.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/_limitLength.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/_limitProperties.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/allOf.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/anyOf.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/comment.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/const.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/contains.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/custom.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/dependencies.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/enum.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/format.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/if.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/index.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/items.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/multipleOf.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/not.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/oneOf.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/pattern.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/properties.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/propertyNames.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/ref.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/required.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/uniqueItems.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/dotjs/validate.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/keyword.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/refs/data.json +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/refs/json-schema-draft-04.json +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/refs/json-schema-draft-06.json +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/refs/json-schema-draft-07.json +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/lib/refs/json-schema-secure.json +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/package.json +1 -5
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/.eslintrc.yml +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/bundle.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/compile-dots.js +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/info +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/prepare-tests +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/publish-built-version +0 -0
- package/node_modules/{ajv → har-validator/node_modules/ajv}/scripts/travis-gh-pages +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/LICENSE +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/README.md +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/es6/index.d.ts +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/es6/index.js +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/es6/react.d.ts +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/es6/react.js +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/index.d.ts +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/index.js +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/package.json +1 -5
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/react.d.ts +0 -0
- package/node_modules/{fast-deep-equal → har-validator/node_modules/fast-deep-equal}/react.js +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/.eslintrc.yml +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/.travis.yml +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/LICENSE +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/README.md +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/index.js +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/package.json +1 -5
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/spec/.eslintrc.yml +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/spec/fixtures/schema.js +0 -0
- package/node_modules/{json-schema-traverse → har-validator/node_modules/json-schema-traverse}/spec/index.spec.js +0 -0
- package/node_modules/har-validator/package.json +1 -5
- package/node_modules/has/package.json +1 -5
- package/node_modules/has-flag/package.json +1 -5
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +75 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.js +13 -0
- package/node_modules/has-symbols/package.json +101 -0
- package/node_modules/has-symbols/shams.js +42 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +28 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
- package/node_modules/has-symbols/test/tests.js +56 -0
- package/node_modules/http/package.json +1 -5
- package/node_modules/http-errors/HISTORY.md +15 -0
- package/node_modules/http-errors/README.md +2 -2
- package/node_modules/http-errors/index.js +15 -25
- package/node_modules/http-errors/package.json +8 -11
- package/node_modules/http-signature/package.json +1 -5
- package/node_modules/iconv-lite/package.json +1 -5
- package/node_modules/import-lazy/package.json +1 -5
- package/node_modules/imurmurhash/package.json +1 -5
- package/node_modules/inflight/package.json +1 -5
- package/node_modules/inherits/package.json +1 -5
- package/node_modules/ini/package.json +1 -5
- package/node_modules/interpret/package.json +1 -5
- package/node_modules/ipaddr.js/package.json +1 -5
- package/node_modules/is-callable/package.json +1 -5
- package/node_modules/is-ci/package.json +1 -5
- package/node_modules/is-core-module/.eslintrc +1 -0
- package/node_modules/is-core-module/CHANGELOG.md +9 -0
- package/node_modules/is-core-module/core.json +1 -0
- package/node_modules/is-core-module/package.json +9 -17
- package/node_modules/is-core-module/test/index.js +34 -31
- package/node_modules/is-fullwidth-code-point/package.json +1 -5
- package/node_modules/is-installed-globally/package.json +1 -5
- package/node_modules/is-npm/package.json +1 -5
- package/node_modules/is-obj/package.json +1 -5
- package/node_modules/is-path-inside/package.json +1 -5
- package/node_modules/is-redirect/package.json +1 -5
- package/node_modules/is-retry-allowed/package.json +1 -5
- package/node_modules/is-stream/package.json +1 -5
- package/node_modules/is-typedarray/package.json +1 -5
- package/node_modules/isarray/package.json +1 -5
- package/node_modules/isexe/package.json +1 -5
- package/node_modules/isstream/package.json +1 -5
- package/node_modules/jsbn/package.json +1 -5
- package/node_modules/json-schema/package.json +1 -5
- package/node_modules/json-stringify-safe/package.json +1 -5
- package/node_modules/jsprim/package.json +1 -5
- package/node_modules/latest-version/package.json +1 -5
- package/node_modules/lowercase-keys/package.json +1 -5
- package/node_modules/lru-cache/package.json +1 -5
- package/node_modules/make-dir/package.json +1 -5
- package/node_modules/media-typer/package.json +1 -5
- package/node_modules/merge-descriptors/package.json +1 -5
- package/node_modules/methods/package.json +1 -5
- package/node_modules/mime/package.json +1 -5
- package/node_modules/mime-db/HISTORY.md +8 -0
- package/node_modules/mime-db/LICENSE +19 -18
- package/node_modules/mime-db/README.md +1 -1
- package/node_modules/mime-db/db.json +54 -6
- package/node_modules/mime-db/index.js +1 -0
- package/node_modules/mime-db/package.json +6 -9
- package/node_modules/mime-types/HISTORY.md +9 -0
- package/node_modules/mime-types/README.md +1 -1
- package/node_modules/mime-types/package.json +6 -10
- package/node_modules/minimatch/README.md +22 -1
- package/node_modules/minimatch/minimatch.js +93 -69
- package/node_modules/minimatch/package.json +7 -8
- package/node_modules/minimist/index.js +6 -2
- package/node_modules/minimist/package.json +2 -6
- package/node_modules/minimist/readme.markdown +4 -1
- package/node_modules/minimist/test/proto.js +16 -0
- package/node_modules/mkdirp/index.js +5 -2
- package/node_modules/mkdirp/package.json +4 -9
- package/node_modules/ms/package.json +1 -5
- package/node_modules/negotiator/HISTORY.md +5 -0
- package/node_modules/negotiator/README.md +3 -3
- package/node_modules/negotiator/index.js +4 -46
- package/node_modules/negotiator/lib/language.js +3 -3
- package/node_modules/negotiator/package.json +9 -13
- package/node_modules/nopt/package.json +1 -5
- package/node_modules/npm/CHANGELOG.md +9 -0
- package/node_modules/npm/docs/public/cli-commands/npm/index.html +3 -3
- package/node_modules/npm/docs/public/cli-commands/npm-access/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-adduser/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-audit/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bin/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bugs/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-build/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-bundle/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-cache/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ci/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-completion/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-config/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-dedupe/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-deprecate/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-dist-tag/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-docs/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-doctor/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-edit/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-explore/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-fund/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-help/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-help-search/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-hook/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-init/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install-ci-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-install-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-link/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-logout/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ls/index.html +3 -3
- package/node_modules/npm/docs/public/cli-commands/npm-org/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-outdated/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-owner/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-pack/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-ping/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-prefix/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-profile/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-prune/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-publish/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-rebuild/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-repo/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-restart/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-root/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-run-script/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-search/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-shrinkwrap/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-star/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-stars/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-start/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-stop/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-team/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-test/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-token/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-uninstall/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-unpublish/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-update/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-version/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-view/index.html +2 -2
- package/node_modules/npm/docs/public/cli-commands/npm-whoami/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/folders/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/install/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/npmrc/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-json/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-lock-json/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/package-locks/index.html +2 -2
- package/node_modules/npm/docs/public/configuring-npm/shrinkwrap-json/index.html +2 -2
- package/node_modules/npm/docs/public/index.html +1 -1
- package/node_modules/npm/docs/public/using-npm/config/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/developers/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/disputes/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/orgs/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/registry/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/removal/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/scope/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/scripts/index.html +2 -2
- package/node_modules/npm/docs/public/using-npm/semver/index.html +2 -2
- package/node_modules/npm/man/man1/npm-README.1 +1 -1
- package/node_modules/npm/man/man1/npm-access.1 +1 -1
- package/node_modules/npm/man/man1/npm-adduser.1 +1 -1
- package/node_modules/npm/man/man1/npm-audit.1 +1 -1
- package/node_modules/npm/man/man1/npm-bin.1 +1 -1
- package/node_modules/npm/man/man1/npm-bugs.1 +1 -1
- package/node_modules/npm/man/man1/npm-build.1 +1 -1
- package/node_modules/npm/man/man1/npm-bundle.1 +1 -1
- package/node_modules/npm/man/man1/npm-cache.1 +1 -1
- package/node_modules/npm/man/man1/npm-ci.1 +1 -1
- package/node_modules/npm/man/man1/npm-completion.1 +1 -1
- package/node_modules/npm/man/man1/npm-config.1 +1 -1
- package/node_modules/npm/man/man1/npm-dedupe.1 +1 -1
- package/node_modules/npm/man/man1/npm-deprecate.1 +1 -1
- package/node_modules/npm/man/man1/npm-dist-tag.1 +1 -1
- package/node_modules/npm/man/man1/npm-docs.1 +1 -1
- package/node_modules/npm/man/man1/npm-doctor.1 +1 -1
- package/node_modules/npm/man/man1/npm-edit.1 +1 -1
- package/node_modules/npm/man/man1/npm-explore.1 +1 -1
- package/node_modules/npm/man/man1/npm-fund.1 +1 -1
- package/node_modules/npm/man/man1/npm-help-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-help.1 +1 -1
- package/node_modules/npm/man/man1/npm-hook.1 +1 -1
- package/node_modules/npm/man/man1/npm-init.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-ci-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-install.1 +1 -1
- package/node_modules/npm/man/man1/npm-link.1 +1 -1
- package/node_modules/npm/man/man1/npm-logout.1 +1 -1
- package/node_modules/npm/man/man1/npm-ls.1 +2 -2
- package/node_modules/npm/man/man1/npm-org.1 +1 -1
- package/node_modules/npm/man/man1/npm-outdated.1 +1 -1
- package/node_modules/npm/man/man1/npm-owner.1 +1 -1
- package/node_modules/npm/man/man1/npm-pack.1 +1 -1
- package/node_modules/npm/man/man1/npm-ping.1 +1 -1
- package/node_modules/npm/man/man1/npm-prefix.1 +1 -1
- package/node_modules/npm/man/man1/npm-profile.1 +1 -1
- package/node_modules/npm/man/man1/npm-prune.1 +1 -1
- package/node_modules/npm/man/man1/npm-publish.1 +1 -1
- package/node_modules/npm/man/man1/npm-rebuild.1 +1 -1
- package/node_modules/npm/man/man1/npm-repo.1 +1 -1
- package/node_modules/npm/man/man1/npm-restart.1 +1 -1
- package/node_modules/npm/man/man1/npm-root.1 +1 -1
- package/node_modules/npm/man/man1/npm-run-script.1 +1 -1
- package/node_modules/npm/man/man1/npm-search.1 +1 -1
- package/node_modules/npm/man/man1/npm-shrinkwrap.1 +1 -1
- package/node_modules/npm/man/man1/npm-star.1 +1 -1
- package/node_modules/npm/man/man1/npm-stars.1 +1 -1
- package/node_modules/npm/man/man1/npm-start.1 +1 -1
- package/node_modules/npm/man/man1/npm-stop.1 +1 -1
- package/node_modules/npm/man/man1/npm-team.1 +1 -1
- package/node_modules/npm/man/man1/npm-test.1 +1 -1
- package/node_modules/npm/man/man1/npm-token.1 +1 -1
- package/node_modules/npm/man/man1/npm-uninstall.1 +1 -1
- package/node_modules/npm/man/man1/npm-unpublish.1 +1 -1
- package/node_modules/npm/man/man1/npm-update.1 +1 -1
- package/node_modules/npm/man/man1/npm-version.1 +1 -1
- package/node_modules/npm/man/man1/npm-view.1 +1 -1
- package/node_modules/npm/man/man1/npm-whoami.1 +1 -1
- package/node_modules/npm/man/man1/npm.1 +2 -2
- package/node_modules/npm/man/man5/folders.5 +1 -1
- package/node_modules/npm/man/man5/install.5 +1 -1
- package/node_modules/npm/man/man5/npmrc.5 +1 -1
- package/node_modules/npm/man/man5/package-json.5 +1 -1
- package/node_modules/npm/man/man5/package-lock-json.5 +1 -1
- package/node_modules/npm/man/man5/package-locks.5 +1 -1
- package/node_modules/npm/man/man5/shrinkwrap-json.5 +1 -1
- package/node_modules/npm/man/man7/config.7 +1 -1
- package/node_modules/npm/man/man7/developers.7 +1 -1
- package/node_modules/npm/man/man7/disputes.7 +1 -1
- package/node_modules/npm/man/man7/orgs.7 +1 -1
- package/node_modules/npm/man/man7/registry.7 +1 -1
- package/node_modules/npm/man/man7/removal.7 +1 -1
- package/node_modules/npm/man/man7/scope.7 +1 -1
- package/node_modules/npm/man/man7/scripts.7 +1 -1
- package/node_modules/npm/man/man7/semver.7 +1 -1
- package/node_modules/npm/node_modules/JSONStream/package.json +24 -60
- package/node_modules/npm/node_modules/abbrev/package.json +13 -53
- package/node_modules/npm/node_modules/agent-base/package.json +22 -53
- package/node_modules/npm/node_modules/agentkeepalive/package.json +31 -61
- package/node_modules/npm/node_modules/ansi-align/package.json +25 -52
- package/node_modules/npm/node_modules/ansi-regex/package.json +17 -62
- package/node_modules/npm/node_modules/ansi-styles/package.json +54 -86
- package/node_modules/npm/node_modules/ansicolors/package.json +12 -47
- package/node_modules/npm/node_modules/ansistyles/package.json +12 -47
- package/node_modules/npm/node_modules/aproba/package.json +18 -48
- package/node_modules/npm/node_modules/archy/package.json +38 -84
- package/node_modules/npm/node_modules/archy/{README.markdown → readme.markdown} +0 -0
- package/node_modules/npm/node_modules/are-we-there-yet/CHANGES.md~ +27 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/are-we-there-yet/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/are-we-there-yet/package.json +17 -45
- package/node_modules/npm/node_modules/asap/package.json +32 -62
- package/node_modules/npm/node_modules/asn1/package.json +19 -63
- package/node_modules/npm/node_modules/assert-plus/package.json +14 -73
- package/node_modules/npm/node_modules/asynckit/package.json +40 -68
- package/node_modules/npm/node_modules/aws-sign2/package.json +10 -43
- package/node_modules/npm/node_modules/aws4/package.json +11 -47
- package/node_modules/npm/node_modules/balanced-match/package.json +17 -45
- package/node_modules/npm/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +13 -0
- package/node_modules/npm/node_modules/bcrypt-pbkdf/package.json +8 -37
- package/node_modules/npm/node_modules/bin-links/package.json +25 -55
- package/node_modules/npm/node_modules/bluebird/package.json +39 -70
- package/node_modules/npm/node_modules/boxen/package.json +21 -53
- package/node_modules/npm/node_modules/brace-expansion/package.json +18 -46
- package/node_modules/npm/node_modules/buffer-from/package.json +7 -41
- package/node_modules/npm/node_modules/builtins/package.json +4 -36
- package/node_modules/npm/node_modules/byline/package.json +14 -41
- package/node_modules/npm/node_modules/byte-size/package.json +17 -53
- package/node_modules/npm/node_modules/cacache/package.json +53 -85
- package/node_modules/npm/node_modules/call-limit/package.json +22 -51
- package/node_modules/npm/node_modules/camelcase/package.json +11 -44
- package/node_modules/npm/node_modules/capture-stack-trace/package.json +12 -44
- package/node_modules/npm/node_modules/caseless/package.json +16 -45
- package/node_modules/npm/node_modules/chalk/package.json +69 -105
- package/node_modules/npm/node_modules/chownr/package.json +16 -54
- package/node_modules/npm/node_modules/ci-info/package.json +19 -49
- package/node_modules/npm/node_modules/cidr-regex/package.json +17 -56
- package/node_modules/npm/node_modules/cli-boxes/package.json +12 -44
- package/node_modules/npm/node_modules/cli-columns/package.json +23 -61
- package/node_modules/npm/node_modules/cli-table3/package.json +53 -83
- package/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/package.json +51 -83
- package/node_modules/npm/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +11 -43
- package/node_modules/npm/node_modules/cliui/node_modules/string-width/package.json +54 -86
- package/node_modules/npm/node_modules/cliui/node_modules/strip-ansi/package.json +52 -85
- package/node_modules/npm/node_modules/cliui/package.json +34 -68
- package/node_modules/npm/node_modules/clone/package.json +35 -121
- package/node_modules/npm/node_modules/cmd-shim/lib/to-batch-syntax.js +51 -51
- package/node_modules/npm/node_modules/cmd-shim/package.json +14 -45
- package/node_modules/npm/node_modules/code-point-at/package.json +12 -48
- package/node_modules/npm/node_modules/color-convert/package.json +21 -56
- package/node_modules/npm/node_modules/color-name/package.json +13 -41
- package/node_modules/npm/node_modules/colors/package.json +41 -70
- package/node_modules/npm/node_modules/columnify/package.json +23 -53
- package/node_modules/npm/node_modules/combined-stream/package.json +14 -47
- package/node_modules/npm/node_modules/concat-map/package.json +40 -85
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/concat-stream/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/concat-stream/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/concat-stream/package.json +24 -58
- package/node_modules/npm/node_modules/config-chain/package.json +17 -50
- package/node_modules/npm/node_modules/configstore/package.json +19 -51
- package/node_modules/npm/node_modules/console-control-strings/README.md~ +140 -0
- package/node_modules/npm/node_modules/console-control-strings/package.json +17 -52
- package/node_modules/npm/node_modules/copy-concurrently/README.md~ +127 -0
- package/node_modules/npm/node_modules/copy-concurrently/node_modules/aproba/package.json +17 -45
- package/node_modules/npm/node_modules/copy-concurrently/node_modules/iferr/package.json +18 -45
- package/node_modules/npm/node_modules/copy-concurrently/package.json +17 -46
- package/node_modules/npm/node_modules/core-util-is/package.json +12 -44
- package/node_modules/npm/node_modules/create-error-class/package.json +16 -46
- package/node_modules/npm/node_modules/cross-spawn/node_modules/lru-cache/package.json +23 -58
- package/node_modules/npm/node_modules/cross-spawn/node_modules/yallist/package.json +15 -48
- package/node_modules/npm/node_modules/cross-spawn/package.json +25 -56
- package/node_modules/npm/node_modules/crypto-random-string/package.json +11 -43
- package/node_modules/npm/node_modules/cyclist/package.json +5 -40
- package/node_modules/npm/node_modules/dashdash/package.json +23 -64
- package/node_modules/npm/node_modules/debug/.eslintrc +14 -0
- package/node_modules/npm/node_modules/debug/node_modules/ms/package.json +19 -51
- package/node_modules/npm/node_modules/debug/package.json +15 -57
- package/node_modules/npm/node_modules/debuglog/package.json +11 -46
- package/node_modules/npm/node_modules/decamelize/package.json +12 -45
- package/node_modules/npm/node_modules/decode-uri-component/package.json +15 -47
- package/node_modules/npm/node_modules/deep-extend/package.json +33 -63
- package/node_modules/npm/node_modules/defaults/package.json +16 -47
- package/node_modules/npm/node_modules/define-properties/.eslintrc +12 -0
- package/node_modules/npm/node_modules/define-properties/package.json +1 -5
- package/node_modules/npm/node_modules/delayed-stream/package.json +14 -49
- package/node_modules/npm/node_modules/delegates/package.json +6 -41
- package/node_modules/npm/node_modules/detect-indent/package.json +11 -46
- package/node_modules/npm/node_modules/detect-newline/package.json +12 -47
- package/node_modules/npm/node_modules/dezalgo/package.json +16 -50
- package/node_modules/npm/node_modules/dot-prop/package.json +15 -47
- package/node_modules/npm/node_modules/dotenv/package.json +27 -57
- package/node_modules/npm/node_modules/duplexer3/package.json +11 -47
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/duplexify/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/duplexify/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/duplexify/package.json +15 -46
- package/node_modules/npm/node_modules/ecc-jsbn/package.json +19 -44
- package/node_modules/npm/node_modules/editor/package.json +32 -65
- package/node_modules/npm/node_modules/emoji-regex/package.json +28 -59
- package/node_modules/npm/node_modules/encoding/package.json +10 -45
- package/node_modules/npm/node_modules/end-of-stream/package.json +15 -53
- package/node_modules/npm/node_modules/env-paths/package.json +43 -75
- package/node_modules/npm/node_modules/err-code/package.json +19 -49
- package/node_modules/npm/node_modules/errno/.jshintrc +59 -0
- package/node_modules/npm/node_modules/errno/package.json +15 -44
- package/node_modules/npm/node_modules/es-abstract/.eslintrc +23 -0
- package/node_modules/npm/node_modules/es-abstract/package.json +1 -5
- package/node_modules/npm/node_modules/es-abstract/test/.eslintrc +11 -0
- package/node_modules/npm/node_modules/es-to-primitive/.eslintrc +14 -0
- package/node_modules/npm/node_modules/es-to-primitive/package.json +1 -5
- package/node_modules/npm/node_modules/es-to-primitive/test/.eslintrc +9 -0
- package/node_modules/npm/node_modules/es6-promise/package.json +5 -33
- package/node_modules/npm/node_modules/es6-promisify/package.json +24 -55
- package/node_modules/npm/node_modules/escape-string-regexp/package.json +16 -59
- package/node_modules/npm/node_modules/execa/node_modules/get-stream/package.json +12 -44
- package/node_modules/npm/node_modules/execa/package.json +35 -68
- package/node_modules/npm/node_modules/extend/.eslintrc +17 -0
- package/node_modules/npm/node_modules/extend/package.json +40 -76
- package/node_modules/npm/node_modules/extsprintf/package.json +12 -42
- package/node_modules/npm/node_modules/fast-json-stable-stringify/package.json +18 -46
- package/node_modules/npm/node_modules/figgy-pudding/package.json +20 -62
- package/node_modules/npm/node_modules/find-npm-prefix/package.json +13 -46
- package/node_modules/npm/node_modules/find-npm-prefix/test/find-prefix.js~ +79 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/flush-write-stream/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/flush-write-stream/package.json +13 -44
- package/node_modules/npm/node_modules/forever-agent/package.json +10 -43
- package/node_modules/npm/node_modules/form-data/package.json +35 -68
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/from2/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/from2/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/from2/package.json +19 -54
- package/node_modules/npm/node_modules/fs-minipass/node_modules/minipass/package.json +19 -52
- package/node_modules/npm/node_modules/fs-minipass/package.json +17 -49
- package/node_modules/npm/node_modules/fs-vacuum/package.json +24 -56
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/iferr/package.json +18 -45
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/fs-write-stream-atomic/package.json +14 -48
- package/node_modules/npm/node_modules/fs.realpath/package.json +16 -49
- package/node_modules/npm/node_modules/function-bind/.eslintrc +15 -0
- package/node_modules/npm/node_modules/function-bind/package.json +1 -5
- package/node_modules/npm/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/npm/node_modules/gauge/node_modules/aproba/package.json +17 -45
- package/node_modules/npm/node_modules/gauge/node_modules/string-width/package.json +16 -48
- package/node_modules/npm/node_modules/gauge/package.json +18 -49
- package/node_modules/npm/node_modules/genfun/package.json +20 -50
- package/node_modules/npm/node_modules/gentle-fs/node_modules/aproba/package.json +17 -45
- package/node_modules/npm/node_modules/gentle-fs/node_modules/iferr/package.json +18 -45
- package/node_modules/npm/node_modules/gentle-fs/package.json +22 -51
- package/node_modules/npm/node_modules/get-caller-file/package.json +22 -49
- package/node_modules/npm/node_modules/get-stream/package.json +44 -84
- package/node_modules/npm/node_modules/getpass/package.json +7 -39
- package/node_modules/npm/node_modules/glob/package.json +22 -68
- package/node_modules/npm/node_modules/global-dirs/package.json +15 -47
- package/node_modules/npm/node_modules/got/node_modules/get-stream/package.json +12 -44
- package/node_modules/npm/node_modules/got/package.json +42 -74
- package/node_modules/npm/node_modules/graceful-fs/package.json +25 -77
- package/node_modules/npm/node_modules/har-schema/package.json +34 -66
- package/node_modules/npm/node_modules/har-validator/node_modules/ajv/package.json +62 -89
- package/node_modules/npm/node_modules/har-validator/node_modules/fast-deep-equal/package.json +32 -59
- package/node_modules/npm/node_modules/har-validator/node_modules/json-schema-traverse/package.json +20 -47
- package/node_modules/npm/node_modules/har-validator/package.json +24 -58
- package/node_modules/npm/node_modules/has/package.json +1 -5
- package/node_modules/npm/node_modules/has-flag/package.json +12 -44
- package/node_modules/npm/node_modules/has-symbols/.eslintrc +10 -0
- package/node_modules/npm/node_modules/has-symbols/package.json +1 -4
- package/node_modules/npm/node_modules/has-unicode/package.json +20 -52
- package/node_modules/npm/node_modules/hosted-git-info/package.json +23 -55
- package/node_modules/npm/node_modules/http-cache-semantics/package.json +13 -51
- package/node_modules/npm/node_modules/http-proxy-agent/package.json +18 -50
- package/node_modules/npm/node_modules/http-signature/package.json +25 -63
- package/node_modules/npm/node_modules/https-proxy-agent/package.json +19 -49
- package/node_modules/npm/node_modules/humanize-ms/package.json +17 -46
- package/node_modules/npm/node_modules/iconv-lite/package.json +43 -74
- package/node_modules/npm/node_modules/iferr/package.json +20 -48
- package/node_modules/npm/node_modules/ignore-walk/package.json +16 -49
- package/node_modules/npm/node_modules/import-lazy/package.json +12 -44
- package/node_modules/npm/node_modules/imurmurhash/package.json +22 -52
- package/node_modules/npm/node_modules/infer-owner/package.json +15 -52
- package/node_modules/npm/node_modules/inflight/package.json +15 -48
- package/node_modules/npm/node_modules/inherits/package.json +12 -70
- package/node_modules/npm/node_modules/ini/package.json +19 -58
- package/node_modules/npm/node_modules/init-package-json/package.json +18 -54
- package/node_modules/npm/node_modules/ip/.jshintrc +89 -0
- package/node_modules/npm/node_modules/ip/package.json +11 -45
- package/node_modules/npm/node_modules/ip-regex/package.json +11 -43
- package/node_modules/npm/node_modules/is-callable/.eslintrc +11 -0
- package/node_modules/npm/node_modules/is-callable/package.json +1 -5
- package/node_modules/npm/node_modules/is-ci/node_modules/ci-info/package.json +19 -48
- package/node_modules/npm/node_modules/is-ci/package.json +20 -51
- package/node_modules/npm/node_modules/is-cidr/package.json +17 -57
- package/node_modules/npm/node_modules/is-date-object/.eslintrc +9 -0
- package/node_modules/npm/node_modules/is-date-object/package.json +1 -4
- package/node_modules/npm/node_modules/is-fullwidth-code-point/package.json +14 -47
- package/node_modules/npm/node_modules/is-installed-globally/package.json +16 -48
- package/node_modules/npm/node_modules/is-npm/package.json +11 -43
- package/node_modules/npm/node_modules/is-obj/package.json +12 -44
- package/node_modules/npm/node_modules/is-path-inside/package.json +14 -47
- package/node_modules/npm/node_modules/is-redirect/package.json +11 -43
- package/node_modules/npm/node_modules/is-regex/.eslintrc +9 -0
- package/node_modules/npm/node_modules/is-regex/package.json +1 -4
- package/node_modules/npm/node_modules/is-retry-allowed/package.json +16 -46
- package/node_modules/npm/node_modules/is-stream/package.json +13 -47
- package/node_modules/npm/node_modules/is-symbol/.eslintrc +9 -0
- package/node_modules/npm/node_modules/is-symbol/package.json +1 -5
- package/node_modules/npm/node_modules/is-symbol/test/.eslintrc +7 -0
- package/node_modules/npm/node_modules/is-typedarray/package.json +15 -44
- package/node_modules/npm/node_modules/isarray/package.json +16 -45
- package/node_modules/npm/node_modules/isexe/package.json +16 -46
- package/node_modules/npm/node_modules/isstream/.jshintrc +59 -0
- package/node_modules/npm/node_modules/isstream/package.json +20 -48
- package/node_modules/npm/node_modules/jsbn/package.json +11 -43
- package/node_modules/npm/node_modules/json-parse-better-errors/package.json +29 -66
- package/node_modules/npm/node_modules/json-schema/package.json +24 -65
- package/node_modules/npm/node_modules/json-stringify-safe/package.json +15 -50
- package/node_modules/npm/node_modules/jsonparse/package.json +13 -49
- package/node_modules/npm/node_modules/jsprim/package.json +18 -47
- package/node_modules/npm/node_modules/latest-version/package.json +15 -47
- package/node_modules/npm/node_modules/lazy-property/package.json +18 -48
- package/node_modules/npm/node_modules/libcipm/package.json +31 -63
- package/node_modules/npm/node_modules/libnpm/package.json +25 -61
- package/node_modules/npm/node_modules/libnpmaccess/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmaccess/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmaccess/package.json +23 -50
- package/node_modules/npm/node_modules/libnpmconfig/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmconfig/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmconfig/node_modules/find-up/package.json +48 -80
- package/node_modules/npm/node_modules/libnpmconfig/node_modules/locate-path/package.json +42 -74
- package/node_modules/npm/node_modules/libnpmconfig/node_modules/p-limit/package.json +49 -81
- package/node_modules/npm/node_modules/libnpmconfig/node_modules/p-locate/package.json +49 -81
- package/node_modules/npm/node_modules/libnpmconfig/node_modules/p-try/package.json +40 -72
- package/node_modules/npm/node_modules/libnpmconfig/package.json +25 -53
- package/node_modules/npm/node_modules/libnpmhook/package.json +25 -61
- package/node_modules/npm/node_modules/libnpmorg/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmorg/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmorg/package.json +27 -54
- package/node_modules/npm/node_modules/libnpmpublish/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmpublish/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmpublish/package.json +28 -54
- package/node_modules/npm/node_modules/libnpmsearch/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmsearch/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmsearch/package.json +26 -53
- package/node_modules/npm/node_modules/libnpmteam/CODE_OF_CONDUCT.md +151 -0
- package/node_modules/npm/node_modules/libnpmteam/CONTRIBUTING.md +256 -0
- package/node_modules/npm/node_modules/libnpmteam/package.json +22 -50
- package/node_modules/npm/node_modules/libnpx/package.json +39 -73
- package/node_modules/npm/node_modules/lock-verify/package.json +15 -47
- package/node_modules/npm/node_modules/lockfile/package.json +15 -51
- package/node_modules/npm/node_modules/lodash._baseindexof/package.json +12 -72
- package/node_modules/npm/node_modules/lodash._baseuniq/package.json +13 -65
- package/node_modules/npm/node_modules/lodash._bindcallback/package.json +12 -72
- package/node_modules/npm/node_modules/lodash._cacheindexof/package.json +12 -72
- package/node_modules/npm/node_modules/lodash._createcache/package.json +15 -75
- package/node_modules/npm/node_modules/lodash._createset/package.json +10 -59
- package/node_modules/npm/node_modules/lodash._getnative/package.json +12 -73
- package/node_modules/npm/node_modules/lodash._root/package.json +10 -59
- package/node_modules/npm/node_modules/lodash.clonedeep/package.json +11 -66
- package/node_modules/npm/node_modules/lodash.restparam/package.json +13 -78
- package/node_modules/npm/node_modules/lodash.union/package.json +11 -66
- package/node_modules/npm/node_modules/lodash.uniq/package.json +11 -66
- package/node_modules/npm/node_modules/lodash.without/package.json +11 -66
- package/node_modules/npm/node_modules/lowercase-keys/package.json +11 -43
- package/node_modules/npm/node_modules/lru-cache/package.json +20 -56
- package/node_modules/npm/node_modules/make-dir/package.json +52 -84
- package/node_modules/npm/node_modules/make-fetch-happen/package.json +29 -63
- package/node_modules/npm/node_modules/meant/package.json +15 -43
- package/node_modules/npm/node_modules/mime-db/package.json +20 -63
- package/node_modules/npm/node_modules/mime-types/package.json +15 -64
- package/node_modules/npm/node_modules/minimatch/package.json +17 -56
- package/node_modules/npm/node_modules/minimist/index.js +6 -2
- package/node_modules/npm/node_modules/minimist/package.json +22 -50
- package/node_modules/npm/node_modules/minimist/readme.markdown +4 -1
- package/node_modules/npm/node_modules/minimist/test/proto.js +16 -0
- package/node_modules/npm/node_modules/minizlib/node_modules/minipass/package.json +19 -52
- package/node_modules/npm/node_modules/minizlib/package.json +20 -56
- package/node_modules/npm/node_modules/mississippi/package.json +14 -48
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/index.js +6 -2
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json +22 -50
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/readme.markdown +4 -1
- package/node_modules/npm/node_modules/mkdirp/node_modules/minimist/test/proto.js +16 -0
- package/node_modules/npm/node_modules/mkdirp/package.json +18 -67
- package/node_modules/npm/node_modules/mkdirp/{README.markdown → readme.markdown} +0 -0
- package/node_modules/npm/node_modules/move-concurrently/README.md~ +52 -0
- package/node_modules/npm/node_modules/move-concurrently/node_modules/aproba/package.json +17 -45
- package/node_modules/npm/node_modules/move-concurrently/package.json +17 -52
- package/node_modules/npm/node_modules/ms/package.json +19 -51
- package/node_modules/npm/node_modules/mute-stream/.nyc_output/33508.json +1 -0
- package/node_modules/npm/node_modules/mute-stream/.nyc_output/33510.json +1 -0
- package/node_modules/npm/node_modules/mute-stream/package.json +13 -47
- package/node_modules/npm/node_modules/node-fetch-npm/package.json +40 -67
- package/node_modules/npm/node_modules/node-gyp/CONTRIBUTING.md +34 -0
- package/node_modules/npm/node_modules/node-gyp/package.json +24 -61
- package/node_modules/npm/node_modules/nopt/package.json +16 -53
- package/node_modules/npm/node_modules/normalize-package-data/node_modules/resolve/.eslintrc +31 -0
- package/node_modules/npm/node_modules/normalize-package-data/node_modules/resolve/package.json +27 -56
- package/node_modules/npm/node_modules/normalize-package-data/node_modules/resolve/test/.eslintrc +5 -0
- package/node_modules/npm/node_modules/normalize-package-data/package.json +12 -65
- package/node_modules/npm/node_modules/npm-audit-report/package.json +25 -53
- package/node_modules/npm/node_modules/npm-bundled/package.json +18 -51
- package/node_modules/npm/node_modules/npm-cache-filename/package.json +13 -45
- package/node_modules/npm/node_modules/npm-install-checks/package.json +17 -46
- package/node_modules/npm/node_modules/npm-lifecycle/package.json +24 -54
- package/node_modules/npm/node_modules/npm-logical-tree/package.json +32 -62
- package/node_modules/npm/node_modules/npm-normalize-package-bin/package.json +11 -47
- package/node_modules/npm/node_modules/npm-package-arg/package.json +19 -59
- package/node_modules/npm/node_modules/npm-packlist/package.json +23 -54
- package/node_modules/npm/node_modules/npm-pick-manifest/package.json +31 -64
- package/node_modules/npm/node_modules/npm-profile/package.json +16 -47
- package/node_modules/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/package.json +18 -43
- package/node_modules/npm/node_modules/npm-registry-fetch/package.json +35 -76
- package/node_modules/npm/node_modules/npm-run-path/package.json +13 -45
- package/node_modules/npm/node_modules/npm-user-validate/package.json +15 -48
- package/node_modules/npm/node_modules/npmlog/package.json +13 -51
- package/node_modules/npm/node_modules/number-is-nan/package.json +11 -47
- package/node_modules/npm/node_modules/oauth-sign/package.json +12 -45
- package/node_modules/npm/node_modules/object-assign/package.json +15 -52
- package/node_modules/npm/node_modules/object-keys/.eslintrc +17 -0
- package/node_modules/npm/node_modules/object-keys/package.json +1 -5
- package/node_modules/npm/node_modules/object.getownpropertydescriptors/.eslintrc +10 -0
- package/node_modules/npm/node_modules/object.getownpropertydescriptors/package.json +75 -105
- package/node_modules/npm/node_modules/object.getownpropertydescriptors/test/.eslintrc +8 -0
- package/node_modules/npm/node_modules/once/package.json +14 -61
- package/node_modules/npm/node_modules/opener/package.json +17 -57
- package/node_modules/npm/node_modules/os-homedir/package.json +13 -46
- package/node_modules/npm/node_modules/os-tmpdir/package.json +12 -45
- package/node_modules/npm/node_modules/osenv/package.json +16 -59
- package/node_modules/npm/node_modules/p-finally/package.json +11 -43
- package/node_modules/npm/node_modules/package-json/package.json +18 -50
- package/node_modules/npm/node_modules/pacote/node_modules/minipass/package.json +19 -52
- package/node_modules/npm/node_modules/pacote/package.json +30 -66
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/parallel-transform/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/parallel-transform/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/parallel-transform/package.json +10 -48
- package/node_modules/npm/node_modules/path-exists/package.json +11 -43
- package/node_modules/npm/node_modules/path-is-absolute/package.json +11 -43
- package/node_modules/npm/node_modules/path-is-inside/package.json +18 -67
- package/node_modules/npm/node_modules/path-key/package.json +11 -43
- package/node_modules/npm/node_modules/path-parse/package.json +13 -42
- package/node_modules/npm/node_modules/performance-now/package.json +16 -46
- package/node_modules/npm/node_modules/pify/package.json +15 -48
- package/node_modules/npm/node_modules/prepend-http/package.json +12 -44
- package/node_modules/npm/node_modules/process-nextick-args/package.json +15 -40
- package/node_modules/npm/node_modules/promise-inflight/package.json +12 -48
- package/node_modules/npm/node_modules/promise-retry/.jshintrc +64 -0
- package/node_modules/npm/node_modules/promise-retry/node_modules/retry/package.json +14 -46
- package/node_modules/npm/node_modules/promise-retry/package.json +20 -53
- package/node_modules/npm/node_modules/promzard/package.json +7 -40
- package/node_modules/npm/node_modules/proto-list/package.json +11 -44
- package/node_modules/npm/node_modules/protoduck/package.json +31 -59
- package/node_modules/npm/node_modules/prr/.jshintrc +61 -0
- package/node_modules/npm/node_modules/prr/package.json +9 -41
- package/node_modules/npm/node_modules/pseudomap/package.json +13 -42
- package/node_modules/npm/node_modules/psl/.eslintrc +11 -0
- package/node_modules/npm/node_modules/psl/package.json +21 -52
- package/node_modules/npm/node_modules/pump/package.json +10 -45
- package/node_modules/npm/node_modules/pumpify/node_modules/pump/package.json +10 -45
- package/node_modules/npm/node_modules/pumpify/package.json +15 -48
- package/node_modules/npm/node_modules/punycode/package.json +58 -86
- package/node_modules/npm/node_modules/qrcode-terminal/package.json +27 -68
- package/node_modules/npm/node_modules/qs/.eslintrc +19 -0
- package/node_modules/npm/node_modules/qs/package.json +49 -77
- package/node_modules/npm/node_modules/qs/test/.eslintrc +15 -0
- package/node_modules/npm/node_modules/query-string/package.json +47 -80
- package/node_modules/npm/node_modules/qw/README.md~ +27 -0
- package/node_modules/npm/node_modules/qw/package.json +13 -45
- package/node_modules/npm/node_modules/rc/package.json +18 -54
- package/node_modules/npm/node_modules/read/package.json +9 -47
- package/node_modules/npm/node_modules/read-cmd-shim/package.json +16 -47
- package/node_modules/npm/node_modules/read-installed/package.json +15 -52
- package/node_modules/npm/node_modules/read-package-json/package.json +18 -58
- package/node_modules/npm/node_modules/read-package-tree/package.json +23 -54
- package/node_modules/npm/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/readable-stream/package.json +27 -59
- package/node_modules/npm/node_modules/readdir-scoped-modules/package.json +17 -50
- package/node_modules/npm/node_modules/registry-auth-token/package.json +25 -53
- package/node_modules/npm/node_modules/registry-url/package.json +16 -48
- package/node_modules/npm/node_modules/request/package.json +30 -66
- package/node_modules/npm/node_modules/require-directory/.jshintrc +67 -0
- package/node_modules/npm/node_modules/require-directory/package.json +24 -53
- package/node_modules/npm/node_modules/require-main-filename/package.json +23 -51
- package/node_modules/npm/node_modules/resolve-from/package.json +32 -64
- package/node_modules/npm/node_modules/retry/{Readme.md → README.md} +0 -0
- package/node_modules/npm/node_modules/retry/package.json +17 -52
- package/node_modules/npm/node_modules/rimraf/package.json +17 -68
- package/node_modules/npm/node_modules/run-queue/node_modules/aproba/package.json +17 -45
- package/node_modules/npm/node_modules/run-queue/package.json +18 -48
- package/node_modules/npm/node_modules/safe-buffer/package.json +5 -49
- package/node_modules/npm/node_modules/safer-buffer/package.json +13 -39
- package/node_modules/npm/node_modules/semver/package.json +15 -68
- package/node_modules/npm/node_modules/semver-diff/package.json +13 -45
- package/node_modules/npm/node_modules/set-blocking/package.json +25 -54
- package/node_modules/npm/node_modules/sha/package.json +12 -42
- package/node_modules/npm/node_modules/shebang-command/package.json +13 -45
- package/node_modules/npm/node_modules/shebang-regex/package.json +11 -43
- package/node_modules/npm/node_modules/signal-exit/package.json +23 -57
- package/node_modules/npm/node_modules/slide/package.json +7 -51
- package/node_modules/npm/node_modules/smart-buffer/package.json +34 -60
- package/node_modules/npm/node_modules/socks/package.json +39 -67
- package/node_modules/npm/node_modules/socks-proxy-agent/node_modules/agent-base/package.json +20 -50
- package/node_modules/npm/node_modules/socks-proxy-agent/package.json +20 -52
- package/node_modules/npm/node_modules/sorted-object/package.json +13 -52
- package/node_modules/npm/node_modules/sorted-union-stream/node_modules/from2/package.json +19 -51
- package/node_modules/npm/node_modules/sorted-union-stream/node_modules/isarray/package.json +17 -49
- package/node_modules/npm/node_modules/sorted-union-stream/node_modules/readable-stream/package.json +17 -50
- package/node_modules/npm/node_modules/sorted-union-stream/node_modules/string_decoder/package.json +12 -40
- package/node_modules/npm/node_modules/sorted-union-stream/package.json +18 -52
- package/node_modules/npm/node_modules/spdx-correct/package.json +8 -51
- package/node_modules/npm/node_modules/spdx-exceptions/package.json +6 -44
- package/node_modules/npm/node_modules/spdx-expression-parse/package.json +13 -70
- package/node_modules/npm/node_modules/spdx-license-ids/package.json +37 -75
- package/node_modules/npm/node_modules/split-on-first/package.json +34 -66
- package/node_modules/npm/node_modules/sshpk/package.json +31 -72
- package/node_modules/npm/node_modules/ssri/package.json +35 -71
- package/node_modules/npm/node_modules/stream-each/package.json +13 -44
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/stream-iterate/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/stream-iterate/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/stream-iterate/package.json +11 -39
- package/node_modules/npm/node_modules/stream-shift/package.json +13 -43
- package/node_modules/npm/node_modules/strict-uri-encode/package.json +12 -44
- package/node_modules/npm/node_modules/string-width/node_modules/ansi-regex/package.json +13 -45
- package/node_modules/npm/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json +11 -43
- package/node_modules/npm/node_modules/string-width/node_modules/strip-ansi/package.json +14 -46
- package/node_modules/npm/node_modules/string-width/package.json +53 -92
- package/node_modules/npm/node_modules/string_decoder/node_modules/safe-buffer/package.json +5 -30
- package/node_modules/npm/node_modules/string_decoder/package.json +15 -43
- package/node_modules/npm/node_modules/stringify-package/package.json +19 -49
- package/node_modules/npm/node_modules/strip-ansi/package.json +19 -74
- package/node_modules/npm/node_modules/strip-eof/package.json +12 -44
- package/node_modules/npm/node_modules/strip-json-comments/package.json +12 -45
- package/node_modules/npm/node_modules/supports-color/package.json +15 -47
- package/node_modules/npm/node_modules/tar/node_modules/minipass/package.json +19 -52
- package/node_modules/npm/node_modules/tar/node_modules/safe-buffer/package.json +18 -44
- package/node_modules/npm/node_modules/tar/node_modules/yallist/package.json +15 -49
- package/node_modules/npm/node_modules/tar/package.json +20 -56
- package/node_modules/npm/node_modules/term-size/package.json +14 -46
- package/node_modules/npm/node_modules/term-size/vendor/macos/term-size +0 -0
- package/node_modules/npm/node_modules/text-table/package.json +41 -74
- package/node_modules/npm/node_modules/through/package.json +12 -45
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/npm/node_modules/through2/node_modules/readable-stream/package.json +22 -51
- package/node_modules/npm/node_modules/through2/node_modules/string_decoder/package.json +13 -41
- package/node_modules/npm/node_modules/through2/package.json +19 -55
- package/node_modules/npm/node_modules/timed-out/package.json +12 -44
- package/node_modules/npm/node_modules/tiny-relative-date/package.json +21 -57
- package/node_modules/npm/node_modules/tough-cookie/package.json +40 -58
- package/node_modules/npm/node_modules/tunnel-agent/package.json +12 -45
- package/node_modules/npm/node_modules/tweetnacl/package.json +35 -63
- package/node_modules/npm/node_modules/typedarray/package.json +16 -44
- package/node_modules/npm/node_modules/uid-number/package.json +10 -47
- package/node_modules/npm/node_modules/umask/index.js~ +68 -0
- package/node_modules/npm/node_modules/umask/package.json +17 -49
- package/node_modules/npm/node_modules/umask/test/ChangeLog~ +5 -0
- package/node_modules/npm/node_modules/umask/test/simple.js~ +14 -0
- package/node_modules/npm/node_modules/unique-filename/.nyc_output/54942.json +1 -0
- package/node_modules/npm/node_modules/unique-filename/.nyc_output/54944.json +1 -0
- package/node_modules/npm/node_modules/unique-filename/package.json +16 -46
- package/node_modules/npm/node_modules/unique-slug/package.json +12 -45
- package/node_modules/npm/node_modules/unique-string/package.json +13 -45
- package/node_modules/npm/node_modules/unpipe/package.json +8 -47
- package/node_modules/npm/node_modules/unzip-response/package.json +25 -57
- package/node_modules/npm/node_modules/update-notifier/package.json +27 -61
- package/node_modules/npm/node_modules/uri-js/node_modules/punycode/package.json +32 -59
- package/node_modules/npm/node_modules/uri-js/package.json +36 -64
- package/node_modules/npm/node_modules/url-parse-lax/package.json +13 -45
- package/node_modules/npm/node_modules/util-deprecate/package.json +14 -43
- package/node_modules/npm/node_modules/util-extend/package.json +9 -38
- package/node_modules/npm/node_modules/util-promisify/package.json +7 -39
- package/node_modules/npm/node_modules/uuid/package.json +22 -76
- package/node_modules/npm/node_modules/validate-npm-package-license/package.json +7 -49
- package/node_modules/npm/node_modules/validate-npm-package-name/.nyc_output/aa4ee25ac41a9c3c7ee37ce965e6d1ac.json +1 -0
- package/node_modules/npm/node_modules/validate-npm-package-name/.nyc_output/bb918173e62b9517f55b630902d07ef4.json +1 -0
- package/node_modules/npm/node_modules/validate-npm-package-name/package.json +19 -51
- package/node_modules/npm/node_modules/verror/CONTRIBUTING.md +19 -0
- package/node_modules/npm/node_modules/verror/package.json +20 -49
- package/node_modules/npm/node_modules/wcwidth/package.json +17 -48
- package/node_modules/npm/node_modules/which/package.json +16 -58
- package/node_modules/npm/node_modules/which-module/package.json +23 -50
- package/node_modules/npm/node_modules/wide-align/node_modules/string-width/package.json +16 -48
- package/node_modules/npm/node_modules/wide-align/package.json +16 -52
- package/node_modules/npm/node_modules/widest-line/package.json +14 -46
- package/node_modules/npm/node_modules/worker-farm/package.json +12 -42
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +1 -1
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +51 -83
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +11 -43
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/string-width/package.json +54 -86
- package/node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +52 -85
- package/node_modules/npm/node_modules/wrap-ansi/package.json +59 -93
- package/node_modules/npm/node_modules/wrappy/package.json +16 -51
- package/node_modules/npm/node_modules/write-file-atomic/package.json +20 -54
- package/node_modules/npm/node_modules/xdg-basedir/package.json +13 -46
- package/node_modules/npm/node_modules/xtend/.jshintrc +30 -0
- package/node_modules/npm/node_modules/xtend/package.json +25 -57
- package/node_modules/npm/node_modules/y18n/package.json +24 -57
- package/node_modules/npm/node_modules/yallist/package.json +15 -48
- package/node_modules/npm/node_modules/yargs/node_modules/ansi-regex/package.json +51 -83
- package/node_modules/npm/node_modules/yargs/node_modules/find-up/package.json +48 -80
- package/node_modules/npm/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +11 -43
- package/node_modules/npm/node_modules/yargs/node_modules/locate-path/package.json +42 -74
- package/node_modules/npm/node_modules/yargs/node_modules/p-limit/package.json +50 -82
- package/node_modules/npm/node_modules/yargs/node_modules/p-locate/package.json +49 -81
- package/node_modules/npm/node_modules/yargs/node_modules/p-try/package.json +40 -72
- package/node_modules/npm/node_modules/yargs/node_modules/string-width/package.json +54 -86
- package/node_modules/npm/node_modules/yargs/node_modules/strip-ansi/package.json +52 -84
- package/node_modules/npm/node_modules/yargs/package.json +30 -61
- package/node_modules/npm/node_modules/yargs-parser/node_modules/camelcase/package.json +41 -73
- package/node_modules/npm/node_modules/yargs-parser/package.json +28 -60
- package/node_modules/npm/package.json +2 -6
- package/node_modules/npm-run-path/package.json +1 -5
- package/node_modules/oauth-sign/package.json +1 -5
- package/node_modules/object-assign/package.json +1 -5
- package/node_modules/object-inspect/.eslintignore +1 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +342 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +511 -0
- package/node_modules/object-inspect/package.json +84 -0
- package/node_modules/object-inspect/readme.markdown +86 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/has.js +34 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +102 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +17 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +211 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +10 -0
- package/node_modules/on-finished/README.md +28 -20
- package/node_modules/on-finished/index.js +51 -13
- package/node_modules/on-finished/package.json +14 -10
- package/node_modules/once/package.json +1 -5
- package/node_modules/p-finally/package.json +1 -5
- package/node_modules/package-json/package.json +1 -5
- package/node_modules/parseurl/package.json +1 -5
- package/node_modules/path-exists/package.json +1 -5
- package/node_modules/path-is-absolute/package.json +1 -5
- package/node_modules/path-is-inside/package.json +1 -5
- package/node_modules/path-key/package.json +1 -5
- package/node_modules/path-parse/package.json +1 -5
- package/node_modules/path-to-regexp/package.json +1 -5
- package/node_modules/performance-now/package.json +1 -5
- package/node_modules/pify/package.json +1 -5
- package/node_modules/prepend-http/package.json +1 -5
- package/node_modules/process-nextick-args/package.json +1 -5
- package/node_modules/proxy-addr/package.json +1 -5
- package/node_modules/pseudomap/package.json +1 -5
- package/node_modules/psl/package.json +1 -5
- package/node_modules/punycode/package.json +1 -5
- package/node_modules/qs/.editorconfig +1 -0
- package/node_modules/qs/.eslintrc +6 -3
- package/node_modules/qs/CHANGELOG.md +29 -0
- package/node_modules/qs/README.md +38 -19
- package/node_modules/qs/dist/qs.js +1223 -11
- package/node_modules/qs/lib/parse.js +7 -1
- package/node_modules/qs/lib/stringify.js +47 -8
- package/node_modules/qs/lib/utils.js +1 -0
- package/node_modules/qs/package.json +17 -17
- package/node_modules/qs/test/parse.js +69 -0
- package/node_modules/qs/test/stringify.js +85 -13
- package/node_modules/range-parser/package.json +1 -5
- package/node_modules/raw-body/HISTORY.md +19 -0
- package/node_modules/raw-body/LICENSE +1 -1
- package/node_modules/raw-body/README.md +9 -3
- package/node_modules/raw-body/SECURITY.md +24 -0
- package/node_modules/raw-body/index.js +45 -2
- package/node_modules/raw-body/package.json +9 -12
- package/node_modules/rc/package.json +1 -5
- package/node_modules/rechoir/package.json +1 -5
- package/node_modules/registry-auth-token/package.json +1 -5
- package/node_modules/registry-url/package.json +1 -5
- package/node_modules/request/node_modules/qs/package.json +1 -5
- package/node_modules/request/package.json +1 -5
- package/node_modules/resolve/package.json +1 -5
- package/node_modules/rimraf/package.json +1 -5
- package/node_modules/safe-buffer/package.json +1 -5
- package/node_modules/safer-buffer/package.json +1 -5
- package/node_modules/semver/package.json +1 -5
- package/node_modules/semver-diff/package.json +1 -5
- package/node_modules/send/HISTORY.md +15 -0
- package/node_modules/send/LICENSE +1 -1
- package/node_modules/send/README.md +2 -2
- package/node_modules/send/SECURITY.md +24 -0
- package/node_modules/send/index.js +37 -27
- package/node_modules/send/node_modules/ms/package.json +1 -5
- package/node_modules/send/package.json +11 -14
- package/node_modules/serve-static/HISTORY.md +12 -0
- package/node_modules/serve-static/README.md +1 -1
- package/node_modules/serve-static/package.json +6 -10
- package/node_modules/setprototypeof/package.json +1 -5
- package/node_modules/shebang-command/package.json +1 -5
- package/node_modules/shebang-regex/package.json +1 -5
- package/node_modules/shelljs/package.json +1 -5
- package/node_modules/side-channel/.eslintignore +1 -0
- package/node_modules/side-channel/.eslintrc +11 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +65 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +2 -0
- package/node_modules/side-channel/index.js +124 -0
- package/node_modules/side-channel/package.json +67 -0
- package/node_modules/side-channel/test/index.js +78 -0
- package/node_modules/signal-exit/index.js +4 -2
- package/node_modules/signal-exit/package.json +2 -6
- package/node_modules/sshpk/package.json +1 -5
- package/node_modules/statuses/HISTORY.md +17 -0
- package/node_modules/statuses/README.md +51 -42
- package/node_modules/statuses/codes.json +2 -3
- package/node_modules/statuses/index.js +52 -19
- package/node_modules/statuses/package.json +18 -21
- package/node_modules/string-width/package.json +1 -5
- package/node_modules/strip-ansi/package.json +1 -5
- package/node_modules/strip-eof/package.json +1 -5
- package/node_modules/strip-json-comments/package.json +1 -5
- package/node_modules/{chalk/node_modules/supports-color → supports-color}/browser.js +0 -0
- package/node_modules/{chalk/node_modules/supports-color → supports-color}/index.js +0 -0
- package/node_modules/{chalk/node_modules/supports-color → supports-color}/license +0 -0
- package/node_modules/{chalk/node_modules/supports-color → supports-color}/package.json +1 -5
- package/node_modules/{chalk/node_modules/supports-color → supports-color}/readme.md +0 -0
- package/node_modules/supports-preserve-symlinks-flag/package.json +1 -5
- package/node_modules/term-size/package.json +1 -5
- package/node_modules/timed-out/package.json +1 -5
- package/node_modules/toidentifier/package.json +1 -5
- package/node_modules/tough-cookie/package.json +1 -5
- package/node_modules/traverse/package.json +1 -5
- package/node_modules/tunnel-agent/package.json +1 -5
- package/node_modules/tweetnacl/package.json +1 -5
- package/node_modules/type-is/package.json +1 -5
- package/node_modules/underscore/LICENSE +1 -1
- package/node_modules/underscore/amd/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/amd/_setup.js +3 -3
- package/node_modules/underscore/amd/isObject.js +1 -1
- package/node_modules/underscore/amd/max.js +2 -2
- package/node_modules/underscore/amd/min.js +2 -2
- package/node_modules/underscore/amd/unzip.js +1 -1
- package/node_modules/underscore/cjs/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/cjs/_setup.js +3 -3
- package/node_modules/underscore/cjs/isObject.js +1 -1
- package/node_modules/underscore/cjs/max.js +2 -2
- package/node_modules/underscore/cjs/min.js +2 -2
- package/node_modules/underscore/cjs/unzip.js +1 -1
- package/node_modules/underscore/modules/.eslintrc +10 -1
- package/node_modules/underscore/modules/_collectNonEnumProps.js +1 -1
- package/node_modules/underscore/modules/_setup.js +3 -3
- package/node_modules/underscore/modules/index.js +2 -2
- package/node_modules/underscore/modules/isObject.js +1 -1
- package/node_modules/underscore/modules/max.js +2 -2
- package/node_modules/underscore/modules/min.js +2 -2
- package/node_modules/underscore/modules/unzip.js +1 -1
- package/node_modules/underscore/package.json +6 -7
- package/node_modules/underscore/underscore-esm-min.js +3 -3
- package/node_modules/underscore/underscore-esm-min.js.map +1 -1
- package/node_modules/underscore/underscore-esm.js +12 -12
- package/node_modules/underscore/underscore-esm.js.map +1 -1
- package/node_modules/underscore/underscore-min.js +3 -3
- package/node_modules/underscore/underscore-min.js.map +1 -1
- package/node_modules/underscore/underscore-node-f.cjs +12 -12
- package/node_modules/underscore/underscore-node-f.cjs.map +1 -1
- package/node_modules/underscore/underscore-node.cjs +2 -2
- package/node_modules/underscore/underscore-node.mjs +2 -2
- package/node_modules/underscore/underscore-umd-min.js +3 -3
- package/node_modules/underscore/underscore-umd-min.js.map +1 -1
- package/node_modules/underscore/underscore-umd.js +12 -12
- package/node_modules/underscore/underscore-umd.js.map +1 -1
- package/node_modules/underscore/underscore.js +12 -12
- package/node_modules/unique-string/package.json +1 -5
- package/node_modules/unpipe/package.json +1 -5
- package/node_modules/unzip-response/package.json +1 -5
- package/node_modules/unzip-stream/package.json +1 -5
- package/node_modules/update-notifier/package.json +1 -5
- package/node_modules/uri-js/package.json +1 -5
- package/node_modules/url-parse-lax/package.json +1 -5
- package/node_modules/util-deprecate/package.json +1 -5
- package/node_modules/utils-merge/package.json +1 -5
- package/node_modules/uuid/package.json +1 -5
- package/node_modules/vary/package.json +1 -5
- package/node_modules/verror/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/verror/node_modules/core-util-is/README.md +3 -0
- package/node_modules/{core-util-is → verror/node_modules/core-util-is}/float.patch +0 -0
- package/node_modules/verror/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/verror/node_modules/core-util-is/package.json +32 -0
- package/node_modules/{core-util-is → verror/node_modules/core-util-is}/test.js +0 -0
- package/node_modules/verror/package.json +1 -5
- package/node_modules/which/package.json +1 -5
- package/node_modules/widest-line/package.json +1 -5
- package/node_modules/wrappy/package.json +1 -5
- package/node_modules/write-file-atomic/package.json +1 -5
- package/node_modules/xdg-basedir/package.json +1 -5
- package/node_modules/yallist/package.json +1 -5
- package/package.json +5 -2
- package/node_modules/chalk/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/chalk/node_modules/ansi-styles/package.json +0 -60
- package/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -147
- package/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/node_modules/depd/lib/compat/index.js +0 -79
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.pyc +0 -0
- package/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- package/node_modules/strip-ansi/node_modules/ansi-regex/license +0 -9
|
@@ -47,6 +47,7 @@ var isArray = Array.isArray;
|
|
|
47
47
|
var defaults = {
|
|
48
48
|
allowDots: false,
|
|
49
49
|
allowPrototypes: false,
|
|
50
|
+
allowSparse: false,
|
|
50
51
|
arrayLimit: 20,
|
|
51
52
|
charset: 'utf-8',
|
|
52
53
|
charsetSentinel: false,
|
|
@@ -174,7 +175,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
174
175
|
) {
|
|
175
176
|
obj = [];
|
|
176
177
|
obj[index] = leaf;
|
|
177
|
-
} else {
|
|
178
|
+
} else if (cleanRoot !== '__proto__') {
|
|
178
179
|
obj[cleanRoot] = leaf;
|
|
179
180
|
}
|
|
180
181
|
}
|
|
@@ -256,6 +257,7 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
256
257
|
return {
|
|
257
258
|
allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
|
|
258
259
|
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
260
|
+
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
|
259
261
|
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
|
260
262
|
charset: charset,
|
|
261
263
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
@@ -292,12 +294,17 @@ module.exports = function (str, opts) {
|
|
|
292
294
|
obj = utils.merge(obj, newObj, options);
|
|
293
295
|
}
|
|
294
296
|
|
|
297
|
+
if (options.allowSparse === true) {
|
|
298
|
+
return obj;
|
|
299
|
+
}
|
|
300
|
+
|
|
295
301
|
return utils.compact(obj);
|
|
296
302
|
};
|
|
297
303
|
|
|
298
304
|
},{"./utils":5}],4:[function(require,module,exports){
|
|
299
305
|
'use strict';
|
|
300
306
|
|
|
307
|
+
var getSideChannel = require('side-channel');
|
|
301
308
|
var utils = require('./utils');
|
|
302
309
|
var formats = require('./formats');
|
|
303
310
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -316,6 +323,7 @@ var arrayPrefixGenerators = {
|
|
|
316
323
|
};
|
|
317
324
|
|
|
318
325
|
var isArray = Array.isArray;
|
|
326
|
+
var split = String.prototype.split;
|
|
319
327
|
var push = Array.prototype.push;
|
|
320
328
|
var pushToArray = function (arr, valueOrArray) {
|
|
321
329
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -352,6 +360,8 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
|
|
|
352
360
|
|| typeof v === 'bigint';
|
|
353
361
|
};
|
|
354
362
|
|
|
363
|
+
var sentinel = {};
|
|
364
|
+
|
|
355
365
|
var stringify = function stringify(
|
|
356
366
|
object,
|
|
357
367
|
prefix,
|
|
@@ -366,9 +376,30 @@ var stringify = function stringify(
|
|
|
366
376
|
format,
|
|
367
377
|
formatter,
|
|
368
378
|
encodeValuesOnly,
|
|
369
|
-
charset
|
|
379
|
+
charset,
|
|
380
|
+
sideChannel
|
|
370
381
|
) {
|
|
371
382
|
var obj = object;
|
|
383
|
+
|
|
384
|
+
var tmpSc = sideChannel;
|
|
385
|
+
var step = 0;
|
|
386
|
+
var findFlag = false;
|
|
387
|
+
while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
|
|
388
|
+
// Where object last appeared in the ref tree
|
|
389
|
+
var pos = tmpSc.get(object);
|
|
390
|
+
step += 1;
|
|
391
|
+
if (typeof pos !== 'undefined') {
|
|
392
|
+
if (pos === step) {
|
|
393
|
+
throw new RangeError('Cyclic object value');
|
|
394
|
+
} else {
|
|
395
|
+
findFlag = true; // Break while
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
if (typeof tmpSc.get(sentinel) === 'undefined') {
|
|
399
|
+
step = 0;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
372
403
|
if (typeof filter === 'function') {
|
|
373
404
|
obj = filter(prefix, obj);
|
|
374
405
|
} else if (obj instanceof Date) {
|
|
@@ -393,6 +424,14 @@ var stringify = function stringify(
|
|
|
393
424
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
394
425
|
if (encoder) {
|
|
395
426
|
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
|
427
|
+
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
|
428
|
+
var valuesArray = split.call(String(obj), ',');
|
|
429
|
+
var valuesJoined = '';
|
|
430
|
+
for (var i = 0; i < valuesArray.length; ++i) {
|
|
431
|
+
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
|
|
432
|
+
}
|
|
433
|
+
return [formatter(keyValue) + '=' + valuesJoined];
|
|
434
|
+
}
|
|
396
435
|
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
|
397
436
|
}
|
|
398
437
|
return [formatter(prefix) + '=' + formatter(String(obj))];
|
|
@@ -407,7 +446,7 @@ var stringify = function stringify(
|
|
|
407
446
|
var objKeys;
|
|
408
447
|
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
|
409
448
|
// we need to join elements in
|
|
410
|
-
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
|
|
449
|
+
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
|
411
450
|
} else if (isArray(filter)) {
|
|
412
451
|
objKeys = filter;
|
|
413
452
|
} else {
|
|
@@ -415,9 +454,9 @@ var stringify = function stringify(
|
|
|
415
454
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
416
455
|
}
|
|
417
456
|
|
|
418
|
-
for (var
|
|
419
|
-
var key = objKeys[
|
|
420
|
-
var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
|
|
457
|
+
for (var j = 0; j < objKeys.length; ++j) {
|
|
458
|
+
var key = objKeys[j];
|
|
459
|
+
var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
|
|
421
460
|
|
|
422
461
|
if (skipNulls && value === null) {
|
|
423
462
|
continue;
|
|
@@ -427,6 +466,9 @@ var stringify = function stringify(
|
|
|
427
466
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
|
|
428
467
|
: prefix + (allowDots ? '.' + key : '[' + key + ']');
|
|
429
468
|
|
|
469
|
+
sideChannel.set(object, step);
|
|
470
|
+
var valueSideChannel = getSideChannel();
|
|
471
|
+
valueSideChannel.set(sentinel, sideChannel);
|
|
430
472
|
pushToArray(values, stringify(
|
|
431
473
|
value,
|
|
432
474
|
keyPrefix,
|
|
@@ -441,7 +483,8 @@ var stringify = function stringify(
|
|
|
441
483
|
format,
|
|
442
484
|
formatter,
|
|
443
485
|
encodeValuesOnly,
|
|
444
|
-
charset
|
|
486
|
+
charset,
|
|
487
|
+
valueSideChannel
|
|
445
488
|
));
|
|
446
489
|
}
|
|
447
490
|
|
|
@@ -453,7 +496,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
453
496
|
return defaults;
|
|
454
497
|
}
|
|
455
498
|
|
|
456
|
-
if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
|
|
499
|
+
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
|
457
500
|
throw new TypeError('Encoder has to be a function.');
|
|
458
501
|
}
|
|
459
502
|
|
|
@@ -535,6 +578,7 @@ module.exports = function (object, opts) {
|
|
|
535
578
|
objKeys.sort(options.sort);
|
|
536
579
|
}
|
|
537
580
|
|
|
581
|
+
var sideChannel = getSideChannel();
|
|
538
582
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
539
583
|
var key = objKeys[i];
|
|
540
584
|
|
|
@@ -555,7 +599,8 @@ module.exports = function (object, opts) {
|
|
|
555
599
|
options.format,
|
|
556
600
|
options.formatter,
|
|
557
601
|
options.encodeValuesOnly,
|
|
558
|
-
options.charset
|
|
602
|
+
options.charset,
|
|
603
|
+
sideChannel
|
|
559
604
|
));
|
|
560
605
|
}
|
|
561
606
|
|
|
@@ -575,7 +620,7 @@ module.exports = function (object, opts) {
|
|
|
575
620
|
return joined.length > 0 ? prefix + joined : '';
|
|
576
621
|
};
|
|
577
622
|
|
|
578
|
-
},{"./formats":1,"./utils":5}],5:[function(require,module,exports){
|
|
623
|
+
},{"./formats":1,"./utils":5,"side-channel":16}],5:[function(require,module,exports){
|
|
579
624
|
'use strict';
|
|
580
625
|
|
|
581
626
|
var formats = require('./formats');
|
|
@@ -755,6 +800,7 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
|
|
755
800
|
|
|
756
801
|
i += 1;
|
|
757
802
|
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
|
803
|
+
/* eslint operator-linebreak: [2, "before"] */
|
|
758
804
|
out += hexTable[0xF0 | (c >> 18)]
|
|
759
805
|
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
|
760
806
|
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
|
@@ -828,5 +874,1171 @@ module.exports = {
|
|
|
828
874
|
merge: merge
|
|
829
875
|
};
|
|
830
876
|
|
|
831
|
-
},{"./formats":1}]
|
|
877
|
+
},{"./formats":1}],6:[function(require,module,exports){
|
|
878
|
+
|
|
879
|
+
},{}],7:[function(require,module,exports){
|
|
880
|
+
'use strict';
|
|
881
|
+
|
|
882
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
883
|
+
|
|
884
|
+
var callBind = require('./');
|
|
885
|
+
|
|
886
|
+
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
887
|
+
|
|
888
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
889
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
890
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
891
|
+
return callBind(intrinsic);
|
|
892
|
+
}
|
|
893
|
+
return intrinsic;
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
},{"./":8,"get-intrinsic":11}],8:[function(require,module,exports){
|
|
897
|
+
'use strict';
|
|
898
|
+
|
|
899
|
+
var bind = require('function-bind');
|
|
900
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
901
|
+
|
|
902
|
+
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
903
|
+
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
904
|
+
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
905
|
+
|
|
906
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
907
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
908
|
+
var $max = GetIntrinsic('%Math.max%');
|
|
909
|
+
|
|
910
|
+
if ($defineProperty) {
|
|
911
|
+
try {
|
|
912
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
913
|
+
} catch (e) {
|
|
914
|
+
// IE 8 has a broken defineProperty
|
|
915
|
+
$defineProperty = null;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
module.exports = function callBind(originalFunction) {
|
|
920
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
921
|
+
if ($gOPD && $defineProperty) {
|
|
922
|
+
var desc = $gOPD(func, 'length');
|
|
923
|
+
if (desc.configurable) {
|
|
924
|
+
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
925
|
+
$defineProperty(
|
|
926
|
+
func,
|
|
927
|
+
'length',
|
|
928
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
929
|
+
);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
return func;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
var applyBind = function applyBind() {
|
|
936
|
+
return $reflectApply(bind, $apply, arguments);
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
if ($defineProperty) {
|
|
940
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
941
|
+
} else {
|
|
942
|
+
module.exports.apply = applyBind;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
},{"function-bind":10,"get-intrinsic":11}],9:[function(require,module,exports){
|
|
946
|
+
'use strict';
|
|
947
|
+
|
|
948
|
+
/* eslint no-invalid-this: 1 */
|
|
949
|
+
|
|
950
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
951
|
+
var slice = Array.prototype.slice;
|
|
952
|
+
var toStr = Object.prototype.toString;
|
|
953
|
+
var funcType = '[object Function]';
|
|
954
|
+
|
|
955
|
+
module.exports = function bind(that) {
|
|
956
|
+
var target = this;
|
|
957
|
+
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
|
|
958
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
959
|
+
}
|
|
960
|
+
var args = slice.call(arguments, 1);
|
|
961
|
+
|
|
962
|
+
var bound;
|
|
963
|
+
var binder = function () {
|
|
964
|
+
if (this instanceof bound) {
|
|
965
|
+
var result = target.apply(
|
|
966
|
+
this,
|
|
967
|
+
args.concat(slice.call(arguments))
|
|
968
|
+
);
|
|
969
|
+
if (Object(result) === result) {
|
|
970
|
+
return result;
|
|
971
|
+
}
|
|
972
|
+
return this;
|
|
973
|
+
} else {
|
|
974
|
+
return target.apply(
|
|
975
|
+
that,
|
|
976
|
+
args.concat(slice.call(arguments))
|
|
977
|
+
);
|
|
978
|
+
}
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
982
|
+
var boundArgs = [];
|
|
983
|
+
for (var i = 0; i < boundLength; i++) {
|
|
984
|
+
boundArgs.push('$' + i);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
988
|
+
|
|
989
|
+
if (target.prototype) {
|
|
990
|
+
var Empty = function Empty() {};
|
|
991
|
+
Empty.prototype = target.prototype;
|
|
992
|
+
bound.prototype = new Empty();
|
|
993
|
+
Empty.prototype = null;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
return bound;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
},{}],10:[function(require,module,exports){
|
|
1000
|
+
'use strict';
|
|
1001
|
+
|
|
1002
|
+
var implementation = require('./implementation');
|
|
1003
|
+
|
|
1004
|
+
module.exports = Function.prototype.bind || implementation;
|
|
1005
|
+
|
|
1006
|
+
},{"./implementation":9}],11:[function(require,module,exports){
|
|
1007
|
+
'use strict';
|
|
1008
|
+
|
|
1009
|
+
var undefined;
|
|
1010
|
+
|
|
1011
|
+
var $SyntaxError = SyntaxError;
|
|
1012
|
+
var $Function = Function;
|
|
1013
|
+
var $TypeError = TypeError;
|
|
1014
|
+
|
|
1015
|
+
// eslint-disable-next-line consistent-return
|
|
1016
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
1017
|
+
try {
|
|
1018
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
1019
|
+
} catch (e) {}
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
1023
|
+
if ($gOPD) {
|
|
1024
|
+
try {
|
|
1025
|
+
$gOPD({}, '');
|
|
1026
|
+
} catch (e) {
|
|
1027
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
var throwTypeError = function () {
|
|
1032
|
+
throw new $TypeError();
|
|
1033
|
+
};
|
|
1034
|
+
var ThrowTypeError = $gOPD
|
|
1035
|
+
? (function () {
|
|
1036
|
+
try {
|
|
1037
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
1038
|
+
arguments.callee; // IE 8 does not throw here
|
|
1039
|
+
return throwTypeError;
|
|
1040
|
+
} catch (calleeThrows) {
|
|
1041
|
+
try {
|
|
1042
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
1043
|
+
return $gOPD(arguments, 'callee').get;
|
|
1044
|
+
} catch (gOPDthrows) {
|
|
1045
|
+
return throwTypeError;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}())
|
|
1049
|
+
: throwTypeError;
|
|
1050
|
+
|
|
1051
|
+
var hasSymbols = require('has-symbols')();
|
|
1052
|
+
|
|
1053
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1054
|
+
|
|
1055
|
+
var needsEval = {};
|
|
1056
|
+
|
|
1057
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
1058
|
+
|
|
1059
|
+
var INTRINSICS = {
|
|
1060
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
1061
|
+
'%Array%': Array,
|
|
1062
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
1063
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
1064
|
+
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
1065
|
+
'%AsyncFunction%': needsEval,
|
|
1066
|
+
'%AsyncGenerator%': needsEval,
|
|
1067
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
1068
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
1069
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
1070
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
1071
|
+
'%Boolean%': Boolean,
|
|
1072
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
1073
|
+
'%Date%': Date,
|
|
1074
|
+
'%decodeURI%': decodeURI,
|
|
1075
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
1076
|
+
'%encodeURI%': encodeURI,
|
|
1077
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
1078
|
+
'%Error%': Error,
|
|
1079
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
1080
|
+
'%EvalError%': EvalError,
|
|
1081
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
1082
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
1083
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
1084
|
+
'%Function%': $Function,
|
|
1085
|
+
'%GeneratorFunction%': needsEval,
|
|
1086
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
|
|
1087
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
|
|
1088
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
1089
|
+
'%isFinite%': isFinite,
|
|
1090
|
+
'%isNaN%': isNaN,
|
|
1091
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
1092
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
1093
|
+
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
1094
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
1095
|
+
'%Math%': Math,
|
|
1096
|
+
'%Number%': Number,
|
|
1097
|
+
'%Object%': Object,
|
|
1098
|
+
'%parseFloat%': parseFloat,
|
|
1099
|
+
'%parseInt%': parseInt,
|
|
1100
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
1101
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
1102
|
+
'%RangeError%': RangeError,
|
|
1103
|
+
'%ReferenceError%': ReferenceError,
|
|
1104
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
1105
|
+
'%RegExp%': RegExp,
|
|
1106
|
+
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
1107
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
1108
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
1109
|
+
'%String%': String,
|
|
1110
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
1111
|
+
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
1112
|
+
'%SyntaxError%': $SyntaxError,
|
|
1113
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
1114
|
+
'%TypedArray%': TypedArray,
|
|
1115
|
+
'%TypeError%': $TypeError,
|
|
1116
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
|
|
1117
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
1118
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
1119
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
1120
|
+
'%URIError%': URIError,
|
|
1121
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
1122
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
1123
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
var doEval = function doEval(name) {
|
|
1127
|
+
var value;
|
|
1128
|
+
if (name === '%AsyncFunction%') {
|
|
1129
|
+
value = getEvalledConstructor('async function () {}');
|
|
1130
|
+
} else if (name === '%GeneratorFunction%') {
|
|
1131
|
+
value = getEvalledConstructor('function* () {}');
|
|
1132
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
1133
|
+
value = getEvalledConstructor('async function* () {}');
|
|
1134
|
+
} else if (name === '%AsyncGenerator%') {
|
|
1135
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
1136
|
+
if (fn) {
|
|
1137
|
+
value = fn.prototype;
|
|
1138
|
+
}
|
|
1139
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
1140
|
+
var gen = doEval('%AsyncGenerator%');
|
|
1141
|
+
if (gen) {
|
|
1142
|
+
value = getProto(gen.prototype);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
INTRINSICS[name] = value;
|
|
1147
|
+
|
|
1148
|
+
return value;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
var LEGACY_ALIASES = {
|
|
1152
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
1153
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
1154
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
1155
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
1156
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
1157
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
1158
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
1159
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
1160
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
1161
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
1162
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
1163
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
1164
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
1165
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
1166
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
1167
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
1168
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
1169
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
1170
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
1171
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
1172
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
1173
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
1174
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
1175
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
1176
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
1177
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
1178
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
1179
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
1180
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
1181
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
1182
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
1183
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
1184
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
1185
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
1186
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
1187
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
1188
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
1189
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
1190
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
1191
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
1192
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
1193
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
1194
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
1195
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
1196
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
1197
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
1198
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
1199
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
1200
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
1201
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
1202
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
var bind = require('function-bind');
|
|
1206
|
+
var hasOwn = require('has');
|
|
1207
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
1208
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
1209
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
1210
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
1211
|
+
|
|
1212
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
1213
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
1214
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
1215
|
+
var stringToPath = function stringToPath(string) {
|
|
1216
|
+
var first = $strSlice(string, 0, 1);
|
|
1217
|
+
var last = $strSlice(string, -1);
|
|
1218
|
+
if (first === '%' && last !== '%') {
|
|
1219
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
1220
|
+
} else if (last === '%' && first !== '%') {
|
|
1221
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
1222
|
+
}
|
|
1223
|
+
var result = [];
|
|
1224
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
1225
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
1226
|
+
});
|
|
1227
|
+
return result;
|
|
1228
|
+
};
|
|
1229
|
+
/* end adaptation */
|
|
1230
|
+
|
|
1231
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
1232
|
+
var intrinsicName = name;
|
|
1233
|
+
var alias;
|
|
1234
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
1235
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
1236
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
1240
|
+
var value = INTRINSICS[intrinsicName];
|
|
1241
|
+
if (value === needsEval) {
|
|
1242
|
+
value = doEval(intrinsicName);
|
|
1243
|
+
}
|
|
1244
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
1245
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
return {
|
|
1249
|
+
alias: alias,
|
|
1250
|
+
name: intrinsicName,
|
|
1251
|
+
value: value
|
|
1252
|
+
};
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
1259
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
1260
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
1261
|
+
}
|
|
1262
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
1263
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
var parts = stringToPath(name);
|
|
1267
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
1268
|
+
|
|
1269
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
1270
|
+
var intrinsicRealName = intrinsic.name;
|
|
1271
|
+
var value = intrinsic.value;
|
|
1272
|
+
var skipFurtherCaching = false;
|
|
1273
|
+
|
|
1274
|
+
var alias = intrinsic.alias;
|
|
1275
|
+
if (alias) {
|
|
1276
|
+
intrinsicBaseName = alias[0];
|
|
1277
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
1281
|
+
var part = parts[i];
|
|
1282
|
+
var first = $strSlice(part, 0, 1);
|
|
1283
|
+
var last = $strSlice(part, -1);
|
|
1284
|
+
if (
|
|
1285
|
+
(
|
|
1286
|
+
(first === '"' || first === "'" || first === '`')
|
|
1287
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
1288
|
+
)
|
|
1289
|
+
&& first !== last
|
|
1290
|
+
) {
|
|
1291
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
1292
|
+
}
|
|
1293
|
+
if (part === 'constructor' || !isOwn) {
|
|
1294
|
+
skipFurtherCaching = true;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
intrinsicBaseName += '.' + part;
|
|
1298
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
1299
|
+
|
|
1300
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
1301
|
+
value = INTRINSICS[intrinsicRealName];
|
|
1302
|
+
} else if (value != null) {
|
|
1303
|
+
if (!(part in value)) {
|
|
1304
|
+
if (!allowMissing) {
|
|
1305
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
1306
|
+
}
|
|
1307
|
+
return void undefined;
|
|
1308
|
+
}
|
|
1309
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
1310
|
+
var desc = $gOPD(value, part);
|
|
1311
|
+
isOwn = !!desc;
|
|
1312
|
+
|
|
1313
|
+
// By convention, when a data property is converted to an accessor
|
|
1314
|
+
// property to emulate a data property that does not suffer from
|
|
1315
|
+
// the override mistake, that accessor's getter is marked with
|
|
1316
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
1317
|
+
// uphold the illusion by pretending to see that original data
|
|
1318
|
+
// property, i.e., returning the value rather than the getter
|
|
1319
|
+
// itself.
|
|
1320
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
1321
|
+
value = desc.get;
|
|
1322
|
+
} else {
|
|
1323
|
+
value = value[part];
|
|
1324
|
+
}
|
|
1325
|
+
} else {
|
|
1326
|
+
isOwn = hasOwn(value, part);
|
|
1327
|
+
value = value[part];
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
if (isOwn && !skipFurtherCaching) {
|
|
1331
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
return value;
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
},{"function-bind":10,"has":14,"has-symbols":12}],12:[function(require,module,exports){
|
|
1339
|
+
'use strict';
|
|
1340
|
+
|
|
1341
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
1342
|
+
var hasSymbolSham = require('./shams');
|
|
1343
|
+
|
|
1344
|
+
module.exports = function hasNativeSymbols() {
|
|
1345
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
1346
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
1347
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
1348
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
1349
|
+
|
|
1350
|
+
return hasSymbolSham();
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
},{"./shams":13}],13:[function(require,module,exports){
|
|
1354
|
+
'use strict';
|
|
1355
|
+
|
|
1356
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1357
|
+
module.exports = function hasSymbols() {
|
|
1358
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
1359
|
+
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
1360
|
+
|
|
1361
|
+
var obj = {};
|
|
1362
|
+
var sym = Symbol('test');
|
|
1363
|
+
var symObj = Object(sym);
|
|
1364
|
+
if (typeof sym === 'string') { return false; }
|
|
1365
|
+
|
|
1366
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
1367
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
1368
|
+
|
|
1369
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
1370
|
+
// if (sym instanceof Symbol) { return false; }
|
|
1371
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
1372
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
1373
|
+
|
|
1374
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
1375
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
1376
|
+
|
|
1377
|
+
var symVal = 42;
|
|
1378
|
+
obj[sym] = symVal;
|
|
1379
|
+
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
1380
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
1381
|
+
|
|
1382
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
1383
|
+
|
|
1384
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
1385
|
+
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
1386
|
+
|
|
1387
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
1388
|
+
|
|
1389
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
1390
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
1391
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
return true;
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
},{}],14:[function(require,module,exports){
|
|
1398
|
+
'use strict';
|
|
1399
|
+
|
|
1400
|
+
var bind = require('function-bind');
|
|
1401
|
+
|
|
1402
|
+
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
1403
|
+
|
|
1404
|
+
},{"function-bind":10}],15:[function(require,module,exports){
|
|
1405
|
+
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
1406
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
1407
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
|
|
1408
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
|
1409
|
+
var hasSet = typeof Set === 'function' && Set.prototype;
|
|
1410
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
|
|
1411
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
|
|
1412
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
|
1413
|
+
var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
|
|
1414
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
1415
|
+
var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
|
|
1416
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
1417
|
+
var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
|
|
1418
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
1419
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
|
1420
|
+
var objectToString = Object.prototype.toString;
|
|
1421
|
+
var functionToString = Function.prototype.toString;
|
|
1422
|
+
var $match = String.prototype.match;
|
|
1423
|
+
var $slice = String.prototype.slice;
|
|
1424
|
+
var $replace = String.prototype.replace;
|
|
1425
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
1426
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
1427
|
+
var $test = RegExp.prototype.test;
|
|
1428
|
+
var $concat = Array.prototype.concat;
|
|
1429
|
+
var $join = Array.prototype.join;
|
|
1430
|
+
var $arrSlice = Array.prototype.slice;
|
|
1431
|
+
var $floor = Math.floor;
|
|
1432
|
+
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
|
|
1433
|
+
var gOPS = Object.getOwnPropertySymbols;
|
|
1434
|
+
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
|
|
1435
|
+
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
|
|
1436
|
+
// ie, `has-tostringtag/shams
|
|
1437
|
+
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
|
|
1438
|
+
? Symbol.toStringTag
|
|
1439
|
+
: null;
|
|
1440
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1441
|
+
|
|
1442
|
+
var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
|
|
1443
|
+
[].__proto__ === Array.prototype // eslint-disable-line no-proto
|
|
1444
|
+
? function (O) {
|
|
1445
|
+
return O.__proto__; // eslint-disable-line no-proto
|
|
1446
|
+
}
|
|
1447
|
+
: null
|
|
1448
|
+
);
|
|
1449
|
+
|
|
1450
|
+
function addNumericSeparator(num, str) {
|
|
1451
|
+
if (
|
|
1452
|
+
num === Infinity
|
|
1453
|
+
|| num === -Infinity
|
|
1454
|
+
|| num !== num
|
|
1455
|
+
|| (num && num > -1000 && num < 1000)
|
|
1456
|
+
|| $test.call(/e/, str)
|
|
1457
|
+
) {
|
|
1458
|
+
return str;
|
|
1459
|
+
}
|
|
1460
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
1461
|
+
if (typeof num === 'number') {
|
|
1462
|
+
var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
|
|
1463
|
+
if (int !== num) {
|
|
1464
|
+
var intStr = String(int);
|
|
1465
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
1466
|
+
return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
return $replace.call(str, sepRegex, '$&_');
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
var inspectCustom = require('./util.inspect').custom;
|
|
1473
|
+
var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
|
|
1474
|
+
|
|
1475
|
+
module.exports = function inspect_(obj, options, depth, seen) {
|
|
1476
|
+
var opts = options || {};
|
|
1477
|
+
|
|
1478
|
+
if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
|
|
1479
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
1480
|
+
}
|
|
1481
|
+
if (
|
|
1482
|
+
has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
|
|
1483
|
+
? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
|
|
1484
|
+
: opts.maxStringLength !== null
|
|
1485
|
+
)
|
|
1486
|
+
) {
|
|
1487
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
1488
|
+
}
|
|
1489
|
+
var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
|
|
1490
|
+
if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
|
|
1491
|
+
throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
if (
|
|
1495
|
+
has(opts, 'indent')
|
|
1496
|
+
&& opts.indent !== null
|
|
1497
|
+
&& opts.indent !== '\t'
|
|
1498
|
+
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
|
1499
|
+
) {
|
|
1500
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
1501
|
+
}
|
|
1502
|
+
if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
|
1503
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
1504
|
+
}
|
|
1505
|
+
var numericSeparator = opts.numericSeparator;
|
|
1506
|
+
|
|
1507
|
+
if (typeof obj === 'undefined') {
|
|
1508
|
+
return 'undefined';
|
|
1509
|
+
}
|
|
1510
|
+
if (obj === null) {
|
|
1511
|
+
return 'null';
|
|
1512
|
+
}
|
|
1513
|
+
if (typeof obj === 'boolean') {
|
|
1514
|
+
return obj ? 'true' : 'false';
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (typeof obj === 'string') {
|
|
1518
|
+
return inspectString(obj, opts);
|
|
1519
|
+
}
|
|
1520
|
+
if (typeof obj === 'number') {
|
|
1521
|
+
if (obj === 0) {
|
|
1522
|
+
return Infinity / obj > 0 ? '0' : '-0';
|
|
1523
|
+
}
|
|
1524
|
+
var str = String(obj);
|
|
1525
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
1526
|
+
}
|
|
1527
|
+
if (typeof obj === 'bigint') {
|
|
1528
|
+
var bigIntStr = String(obj) + 'n';
|
|
1529
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
|
1533
|
+
if (typeof depth === 'undefined') { depth = 0; }
|
|
1534
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
|
|
1535
|
+
return isArray(obj) ? '[Array]' : '[Object]';
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
var indent = getIndent(opts, depth);
|
|
1539
|
+
|
|
1540
|
+
if (typeof seen === 'undefined') {
|
|
1541
|
+
seen = [];
|
|
1542
|
+
} else if (indexOf(seen, obj) >= 0) {
|
|
1543
|
+
return '[Circular]';
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
function inspect(value, from, noIndent) {
|
|
1547
|
+
if (from) {
|
|
1548
|
+
seen = $arrSlice.call(seen);
|
|
1549
|
+
seen.push(from);
|
|
1550
|
+
}
|
|
1551
|
+
if (noIndent) {
|
|
1552
|
+
var newOpts = {
|
|
1553
|
+
depth: opts.depth
|
|
1554
|
+
};
|
|
1555
|
+
if (has(opts, 'quoteStyle')) {
|
|
1556
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
|
1557
|
+
}
|
|
1558
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
|
1559
|
+
}
|
|
1560
|
+
return inspect_(value, opts, depth + 1, seen);
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
if (typeof obj === 'function') {
|
|
1564
|
+
var name = nameOf(obj);
|
|
1565
|
+
var keys = arrObjKeys(obj, inspect);
|
|
1566
|
+
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
|
|
1567
|
+
}
|
|
1568
|
+
if (isSymbol(obj)) {
|
|
1569
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
|
|
1570
|
+
return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
1571
|
+
}
|
|
1572
|
+
if (isElement(obj)) {
|
|
1573
|
+
var s = '<' + $toLowerCase.call(String(obj.nodeName));
|
|
1574
|
+
var attrs = obj.attributes || [];
|
|
1575
|
+
for (var i = 0; i < attrs.length; i++) {
|
|
1576
|
+
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
|
|
1577
|
+
}
|
|
1578
|
+
s += '>';
|
|
1579
|
+
if (obj.childNodes && obj.childNodes.length) { s += '...'; }
|
|
1580
|
+
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
|
1581
|
+
return s;
|
|
1582
|
+
}
|
|
1583
|
+
if (isArray(obj)) {
|
|
1584
|
+
if (obj.length === 0) { return '[]'; }
|
|
1585
|
+
var xs = arrObjKeys(obj, inspect);
|
|
1586
|
+
if (indent && !singleLineValues(xs)) {
|
|
1587
|
+
return '[' + indentedJoin(xs, indent) + ']';
|
|
1588
|
+
}
|
|
1589
|
+
return '[ ' + $join.call(xs, ', ') + ' ]';
|
|
1590
|
+
}
|
|
1591
|
+
if (isError(obj)) {
|
|
1592
|
+
var parts = arrObjKeys(obj, inspect);
|
|
1593
|
+
if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
|
|
1594
|
+
return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
|
|
1595
|
+
}
|
|
1596
|
+
if (parts.length === 0) { return '[' + String(obj) + ']'; }
|
|
1597
|
+
return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
|
|
1598
|
+
}
|
|
1599
|
+
if (typeof obj === 'object' && customInspect) {
|
|
1600
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
|
|
1601
|
+
return obj[inspectSymbol]();
|
|
1602
|
+
} else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
|
|
1603
|
+
return obj.inspect();
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
if (isMap(obj)) {
|
|
1607
|
+
var mapParts = [];
|
|
1608
|
+
mapForEach.call(obj, function (value, key) {
|
|
1609
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
|
1610
|
+
});
|
|
1611
|
+
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
|
1612
|
+
}
|
|
1613
|
+
if (isSet(obj)) {
|
|
1614
|
+
var setParts = [];
|
|
1615
|
+
setForEach.call(obj, function (value) {
|
|
1616
|
+
setParts.push(inspect(value, obj));
|
|
1617
|
+
});
|
|
1618
|
+
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
|
1619
|
+
}
|
|
1620
|
+
if (isWeakMap(obj)) {
|
|
1621
|
+
return weakCollectionOf('WeakMap');
|
|
1622
|
+
}
|
|
1623
|
+
if (isWeakSet(obj)) {
|
|
1624
|
+
return weakCollectionOf('WeakSet');
|
|
1625
|
+
}
|
|
1626
|
+
if (isWeakRef(obj)) {
|
|
1627
|
+
return weakCollectionOf('WeakRef');
|
|
1628
|
+
}
|
|
1629
|
+
if (isNumber(obj)) {
|
|
1630
|
+
return markBoxed(inspect(Number(obj)));
|
|
1631
|
+
}
|
|
1632
|
+
if (isBigInt(obj)) {
|
|
1633
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
1634
|
+
}
|
|
1635
|
+
if (isBoolean(obj)) {
|
|
1636
|
+
return markBoxed(booleanValueOf.call(obj));
|
|
1637
|
+
}
|
|
1638
|
+
if (isString(obj)) {
|
|
1639
|
+
return markBoxed(inspect(String(obj)));
|
|
1640
|
+
}
|
|
1641
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
|
1642
|
+
var ys = arrObjKeys(obj, inspect);
|
|
1643
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
1644
|
+
var protoTag = obj instanceof Object ? '' : 'null prototype';
|
|
1645
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
|
|
1646
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
|
|
1647
|
+
var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
|
|
1648
|
+
if (ys.length === 0) { return tag + '{}'; }
|
|
1649
|
+
if (indent) {
|
|
1650
|
+
return tag + '{' + indentedJoin(ys, indent) + '}';
|
|
1651
|
+
}
|
|
1652
|
+
return tag + '{ ' + $join.call(ys, ', ') + ' }';
|
|
1653
|
+
}
|
|
1654
|
+
return String(obj);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
|
1658
|
+
var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
|
|
1659
|
+
return quoteChar + s + quoteChar;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
function quote(s) {
|
|
1663
|
+
return $replace.call(String(s), /"/g, '"');
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1667
|
+
function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1668
|
+
function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1669
|
+
function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1670
|
+
function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1671
|
+
function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1672
|
+
function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
1673
|
+
|
|
1674
|
+
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
|
1675
|
+
function isSymbol(obj) {
|
|
1676
|
+
if (hasShammedSymbols) {
|
|
1677
|
+
return obj && typeof obj === 'object' && obj instanceof Symbol;
|
|
1678
|
+
}
|
|
1679
|
+
if (typeof obj === 'symbol') {
|
|
1680
|
+
return true;
|
|
1681
|
+
}
|
|
1682
|
+
if (!obj || typeof obj !== 'object' || !symToString) {
|
|
1683
|
+
return false;
|
|
1684
|
+
}
|
|
1685
|
+
try {
|
|
1686
|
+
symToString.call(obj);
|
|
1687
|
+
return true;
|
|
1688
|
+
} catch (e) {}
|
|
1689
|
+
return false;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
function isBigInt(obj) {
|
|
1693
|
+
if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
|
|
1694
|
+
return false;
|
|
1695
|
+
}
|
|
1696
|
+
try {
|
|
1697
|
+
bigIntValueOf.call(obj);
|
|
1698
|
+
return true;
|
|
1699
|
+
} catch (e) {}
|
|
1700
|
+
return false;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
|
|
1704
|
+
function has(obj, key) {
|
|
1705
|
+
return hasOwn.call(obj, key);
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
function toStr(obj) {
|
|
1709
|
+
return objectToString.call(obj);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
function nameOf(f) {
|
|
1713
|
+
if (f.name) { return f.name; }
|
|
1714
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
1715
|
+
if (m) { return m[1]; }
|
|
1716
|
+
return null;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
function indexOf(xs, x) {
|
|
1720
|
+
if (xs.indexOf) { return xs.indexOf(x); }
|
|
1721
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
|
1722
|
+
if (xs[i] === x) { return i; }
|
|
1723
|
+
}
|
|
1724
|
+
return -1;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
function isMap(x) {
|
|
1728
|
+
if (!mapSize || !x || typeof x !== 'object') {
|
|
1729
|
+
return false;
|
|
1730
|
+
}
|
|
1731
|
+
try {
|
|
1732
|
+
mapSize.call(x);
|
|
1733
|
+
try {
|
|
1734
|
+
setSize.call(x);
|
|
1735
|
+
} catch (s) {
|
|
1736
|
+
return true;
|
|
1737
|
+
}
|
|
1738
|
+
return x instanceof Map; // core-js workaround, pre-v2.5.0
|
|
1739
|
+
} catch (e) {}
|
|
1740
|
+
return false;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
function isWeakMap(x) {
|
|
1744
|
+
if (!weakMapHas || !x || typeof x !== 'object') {
|
|
1745
|
+
return false;
|
|
1746
|
+
}
|
|
1747
|
+
try {
|
|
1748
|
+
weakMapHas.call(x, weakMapHas);
|
|
1749
|
+
try {
|
|
1750
|
+
weakSetHas.call(x, weakSetHas);
|
|
1751
|
+
} catch (s) {
|
|
1752
|
+
return true;
|
|
1753
|
+
}
|
|
1754
|
+
return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
|
|
1755
|
+
} catch (e) {}
|
|
1756
|
+
return false;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
function isWeakRef(x) {
|
|
1760
|
+
if (!weakRefDeref || !x || typeof x !== 'object') {
|
|
1761
|
+
return false;
|
|
1762
|
+
}
|
|
1763
|
+
try {
|
|
1764
|
+
weakRefDeref.call(x);
|
|
1765
|
+
return true;
|
|
1766
|
+
} catch (e) {}
|
|
1767
|
+
return false;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
function isSet(x) {
|
|
1771
|
+
if (!setSize || !x || typeof x !== 'object') {
|
|
1772
|
+
return false;
|
|
1773
|
+
}
|
|
1774
|
+
try {
|
|
1775
|
+
setSize.call(x);
|
|
1776
|
+
try {
|
|
1777
|
+
mapSize.call(x);
|
|
1778
|
+
} catch (m) {
|
|
1779
|
+
return true;
|
|
1780
|
+
}
|
|
1781
|
+
return x instanceof Set; // core-js workaround, pre-v2.5.0
|
|
1782
|
+
} catch (e) {}
|
|
1783
|
+
return false;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
function isWeakSet(x) {
|
|
1787
|
+
if (!weakSetHas || !x || typeof x !== 'object') {
|
|
1788
|
+
return false;
|
|
1789
|
+
}
|
|
1790
|
+
try {
|
|
1791
|
+
weakSetHas.call(x, weakSetHas);
|
|
1792
|
+
try {
|
|
1793
|
+
weakMapHas.call(x, weakMapHas);
|
|
1794
|
+
} catch (s) {
|
|
1795
|
+
return true;
|
|
1796
|
+
}
|
|
1797
|
+
return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
|
|
1798
|
+
} catch (e) {}
|
|
1799
|
+
return false;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
function isElement(x) {
|
|
1803
|
+
if (!x || typeof x !== 'object') { return false; }
|
|
1804
|
+
if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
|
|
1805
|
+
return true;
|
|
1806
|
+
}
|
|
1807
|
+
return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
function inspectString(str, opts) {
|
|
1811
|
+
if (str.length > opts.maxStringLength) {
|
|
1812
|
+
var remaining = str.length - opts.maxStringLength;
|
|
1813
|
+
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
|
1814
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
1815
|
+
}
|
|
1816
|
+
// eslint-disable-next-line no-control-regex
|
|
1817
|
+
var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
|
1818
|
+
return wrapQuotes(s, 'single', opts);
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
function lowbyte(c) {
|
|
1822
|
+
var n = c.charCodeAt(0);
|
|
1823
|
+
var x = {
|
|
1824
|
+
8: 'b',
|
|
1825
|
+
9: 't',
|
|
1826
|
+
10: 'n',
|
|
1827
|
+
12: 'f',
|
|
1828
|
+
13: 'r'
|
|
1829
|
+
}[n];
|
|
1830
|
+
if (x) { return '\\' + x; }
|
|
1831
|
+
return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
function markBoxed(str) {
|
|
1835
|
+
return 'Object(' + str + ')';
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
function weakCollectionOf(type) {
|
|
1839
|
+
return type + ' { ? }';
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
function collectionOf(type, size, entries, indent) {
|
|
1843
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
|
|
1844
|
+
return type + ' (' + size + ') {' + joinedEntries + '}';
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
function singleLineValues(xs) {
|
|
1848
|
+
for (var i = 0; i < xs.length; i++) {
|
|
1849
|
+
if (indexOf(xs[i], '\n') >= 0) {
|
|
1850
|
+
return false;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
return true;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
function getIndent(opts, depth) {
|
|
1857
|
+
var baseIndent;
|
|
1858
|
+
if (opts.indent === '\t') {
|
|
1859
|
+
baseIndent = '\t';
|
|
1860
|
+
} else if (typeof opts.indent === 'number' && opts.indent > 0) {
|
|
1861
|
+
baseIndent = $join.call(Array(opts.indent + 1), ' ');
|
|
1862
|
+
} else {
|
|
1863
|
+
return null;
|
|
1864
|
+
}
|
|
1865
|
+
return {
|
|
1866
|
+
base: baseIndent,
|
|
1867
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
1868
|
+
};
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
function indentedJoin(xs, indent) {
|
|
1872
|
+
if (xs.length === 0) { return ''; }
|
|
1873
|
+
var lineJoiner = '\n' + indent.prev + indent.base;
|
|
1874
|
+
return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
function arrObjKeys(obj, inspect) {
|
|
1878
|
+
var isArr = isArray(obj);
|
|
1879
|
+
var xs = [];
|
|
1880
|
+
if (isArr) {
|
|
1881
|
+
xs.length = obj.length;
|
|
1882
|
+
for (var i = 0; i < obj.length; i++) {
|
|
1883
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
|
|
1887
|
+
var symMap;
|
|
1888
|
+
if (hasShammedSymbols) {
|
|
1889
|
+
symMap = {};
|
|
1890
|
+
for (var k = 0; k < syms.length; k++) {
|
|
1891
|
+
symMap['$' + syms[k]] = syms[k];
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
for (var key in obj) { // eslint-disable-line no-restricted-syntax
|
|
1896
|
+
if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
|
1897
|
+
if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
|
1898
|
+
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
|
1899
|
+
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
|
1900
|
+
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
|
1901
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
1902
|
+
xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
|
|
1903
|
+
} else {
|
|
1904
|
+
xs.push(key + ': ' + inspect(obj[key], obj));
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
if (typeof gOPS === 'function') {
|
|
1908
|
+
for (var j = 0; j < syms.length; j++) {
|
|
1909
|
+
if (isEnumerable.call(obj, syms[j])) {
|
|
1910
|
+
xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
return xs;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
},{"./util.inspect":6}],16:[function(require,module,exports){
|
|
1918
|
+
'use strict';
|
|
1919
|
+
|
|
1920
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
1921
|
+
var callBound = require('call-bind/callBound');
|
|
1922
|
+
var inspect = require('object-inspect');
|
|
1923
|
+
|
|
1924
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
|
1925
|
+
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
1926
|
+
var $Map = GetIntrinsic('%Map%', true);
|
|
1927
|
+
|
|
1928
|
+
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
1929
|
+
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
1930
|
+
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
1931
|
+
var $mapGet = callBound('Map.prototype.get', true);
|
|
1932
|
+
var $mapSet = callBound('Map.prototype.set', true);
|
|
1933
|
+
var $mapHas = callBound('Map.prototype.has', true);
|
|
1934
|
+
|
|
1935
|
+
/*
|
|
1936
|
+
* This function traverses the list returning the node corresponding to the
|
|
1937
|
+
* given key.
|
|
1938
|
+
*
|
|
1939
|
+
* That node is also moved to the head of the list, so that if it's accessed
|
|
1940
|
+
* again we don't need to traverse the whole list. By doing so, all the recently
|
|
1941
|
+
* used nodes can be accessed relatively quickly.
|
|
1942
|
+
*/
|
|
1943
|
+
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
1944
|
+
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
|
1945
|
+
if (curr.key === key) {
|
|
1946
|
+
prev.next = curr.next;
|
|
1947
|
+
curr.next = list.next;
|
|
1948
|
+
list.next = curr; // eslint-disable-line no-param-reassign
|
|
1949
|
+
return curr;
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
var listGet = function (objects, key) {
|
|
1955
|
+
var node = listGetNode(objects, key);
|
|
1956
|
+
return node && node.value;
|
|
1957
|
+
};
|
|
1958
|
+
var listSet = function (objects, key, value) {
|
|
1959
|
+
var node = listGetNode(objects, key);
|
|
1960
|
+
if (node) {
|
|
1961
|
+
node.value = value;
|
|
1962
|
+
} else {
|
|
1963
|
+
// Prepend the new node to the beginning of the list
|
|
1964
|
+
objects.next = { // eslint-disable-line no-param-reassign
|
|
1965
|
+
key: key,
|
|
1966
|
+
next: objects.next,
|
|
1967
|
+
value: value
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
};
|
|
1971
|
+
var listHas = function (objects, key) {
|
|
1972
|
+
return !!listGetNode(objects, key);
|
|
1973
|
+
};
|
|
1974
|
+
|
|
1975
|
+
module.exports = function getSideChannel() {
|
|
1976
|
+
var $wm;
|
|
1977
|
+
var $m;
|
|
1978
|
+
var $o;
|
|
1979
|
+
var channel = {
|
|
1980
|
+
assert: function (key) {
|
|
1981
|
+
if (!channel.has(key)) {
|
|
1982
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
get: function (key) { // eslint-disable-line consistent-return
|
|
1986
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
1987
|
+
if ($wm) {
|
|
1988
|
+
return $weakMapGet($wm, key);
|
|
1989
|
+
}
|
|
1990
|
+
} else if ($Map) {
|
|
1991
|
+
if ($m) {
|
|
1992
|
+
return $mapGet($m, key);
|
|
1993
|
+
}
|
|
1994
|
+
} else {
|
|
1995
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
|
1996
|
+
return listGet($o, key);
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
},
|
|
2000
|
+
has: function (key) {
|
|
2001
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
2002
|
+
if ($wm) {
|
|
2003
|
+
return $weakMapHas($wm, key);
|
|
2004
|
+
}
|
|
2005
|
+
} else if ($Map) {
|
|
2006
|
+
if ($m) {
|
|
2007
|
+
return $mapHas($m, key);
|
|
2008
|
+
}
|
|
2009
|
+
} else {
|
|
2010
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
|
2011
|
+
return listHas($o, key);
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
return false;
|
|
2015
|
+
},
|
|
2016
|
+
set: function (key, value) {
|
|
2017
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
2018
|
+
if (!$wm) {
|
|
2019
|
+
$wm = new $WeakMap();
|
|
2020
|
+
}
|
|
2021
|
+
$weakMapSet($wm, key, value);
|
|
2022
|
+
} else if ($Map) {
|
|
2023
|
+
if (!$m) {
|
|
2024
|
+
$m = new $Map();
|
|
2025
|
+
}
|
|
2026
|
+
$mapSet($m, key, value);
|
|
2027
|
+
} else {
|
|
2028
|
+
if (!$o) {
|
|
2029
|
+
/*
|
|
2030
|
+
* Initialize the linked list as an empty node, so that we don't have
|
|
2031
|
+
* to special-case handling of the first node: we can always refer to
|
|
2032
|
+
* it as (previous node).next, instead of something like (list).head
|
|
2033
|
+
*/
|
|
2034
|
+
$o = { key: {}, next: null };
|
|
2035
|
+
}
|
|
2036
|
+
listSet($o, key, value);
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
};
|
|
2040
|
+
return channel;
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
},{"call-bind/callBound":7,"get-intrinsic":11,"object-inspect":15}]},{},[2])(2)
|
|
832
2044
|
});
|