immosquare-cleaner 0.1.39 → 0.1.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/rubocop-3.3.3.yml +88 -0
- data/node_modules/.bin/babylon +1 -0
- data/node_modules/.bin/loose-envify +1 -0
- data/node_modules/@babel/code-frame/lib/index.js +1 -1
- data/node_modules/@babel/code-frame/lib/index.js.map +1 -1
- data/node_modules/@babel/code-frame/package.json +3 -3
- data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +9 -0
- data/node_modules/@babel/compat-data/data/plugins.json +6 -1
- data/node_modules/@babel/compat-data/package.json +1 -1
- data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
- data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +1 -1
- data/node_modules/@babel/core/lib/index.js +1 -1
- data/node_modules/@babel/core/lib/index.js.map +1 -1
- data/node_modules/@babel/core/lib/parser/index.js.map +1 -1
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js +4 -3
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -1
- data/node_modules/@babel/core/lib/transformation/file/file.js +2 -2
- data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +82 -72
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -1
- data/node_modules/@babel/core/package.json +16 -16
- data/node_modules/@babel/generator/lib/buffer.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/template-literals.js +7 -6
- data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/types.js +20 -16
- data/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
- data/node_modules/@babel/generator/lib/index.js +2 -2
- data/node_modules/@babel/generator/lib/index.js.map +1 -1
- data/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -1
- data/node_modules/@babel/generator/lib/printer.js.map +1 -1
- data/node_modules/@babel/generator/package.json +4 -4
- data/node_modules/@babel/helper-annotate-as-pure/README.md +1 -1
- data/node_modules/@babel/helper-annotate-as-pure/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-annotate-as-pure/package.json +5 -2
- data/node_modules/@babel/helper-annotate-as-pure/tsconfig.json +17 -0
- data/node_modules/@babel/helper-annotate-as-pure/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/package.json +8 -5
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +32 -18
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js +51 -34
- data/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +5 -5
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/package.json +12 -12
- data/node_modules/@babel/helper-create-class-features-plugin/tsconfig.tsbuildinfo +1 -1
- data/node_modules/@babel/helper-environment-visitor/lib/index.js +1 -2
- data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-environment-visitor/package.json +9 -4
- data/node_modules/@babel/helper-function-name/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-function-name/package.json +6 -3
- data/node_modules/@babel/helper-hoist-variables/README.md +1 -1
- data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-hoist-variables/package.json +3 -4
- data/node_modules/@babel/helper-member-expression-to-functions/package.json +3 -5
- data/node_modules/@babel/helper-member-expression-to-functions/tsconfig.tsbuildinfo +1 -1
- data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -1
- data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
- data/node_modules/@babel/helper-module-imports/package.json +4 -4
- data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +1 -1
- data/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -1
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +1 -1
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +1 -1
- data/node_modules/@babel/helper-module-transforms/package.json +7 -8
- data/node_modules/@babel/helper-optimise-call-expression/README.md +1 -1
- data/node_modules/@babel/helper-optimise-call-expression/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-optimise-call-expression/package.json +4 -4
- data/node_modules/@babel/helper-optimise-call-expression/tsconfig.json +17 -0
- data/node_modules/@babel/helper-optimise-call-expression/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-plugin-utils/package.json +2 -2
- data/node_modules/@babel/helper-plugin-utils/tsconfig.tsbuildinfo +1 -1
- data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-replace-supers/package.json +5 -5
- data/node_modules/@babel/helper-replace-supers/tsconfig.json +23 -0
- data/node_modules/@babel/helper-replace-supers/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-simple-access/package.json +4 -4
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md +1 -1
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/package.json +7 -6
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/tsconfig.json +17 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-split-export-declaration/package.json +5 -2
- data/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-string-parser/package.json +5 -2
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
- data/node_modules/@babel/helper-validator-identifier/package.json +5 -2
- data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +1 -1
- data/node_modules/@babel/helper-validator-option/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-validator-option/lib/validator.js.map +1 -1
- data/node_modules/@babel/helper-validator-option/package.json +5 -2
- data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +31 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +1 -1
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +38 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/construct.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/construct.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/createClass.js +26 -0
- data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +60 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +27 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/decorate.js +350 -0
- data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defaults.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/defaults.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js +27 -0
- data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +23 -0
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/extends.js +22 -0
- data/node_modules/@babel/helpers/lib/helpers/extends.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/get.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/get.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/identity.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/identity.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/inherits.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +16 -16
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +24 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +2 -2
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +24 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +19 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/set.js +48 -0
- data/node_modules/@babel/helpers/lib/helpers/set.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/tdz.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +9 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js +19 -0
- data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/{AsyncGenerator.js → wrapAsyncGenerator.js} +9 -4
- data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +38 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers-generated.js +1191 -40
- data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
- data/node_modules/@babel/helpers/lib/index.js +62 -184
- data/node_modules/@babel/helpers/lib/index.js.map +1 -1
- data/node_modules/@babel/helpers/package.json +6 -7
- data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +209 -0
- data/node_modules/@babel/helpers/scripts/generate-helpers.js +93 -15
- data/node_modules/@babel/highlight/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/@babel/highlight/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/@babel/highlight/node_modules/js-tokens/README.md +240 -0
- data/node_modules/@babel/highlight/node_modules/js-tokens/index.js +23 -0
- data/node_modules/@babel/highlight/node_modules/js-tokens/package.json +30 -0
- data/node_modules/@babel/highlight/package.json +2 -2
- data/node_modules/@babel/parser/lib/index.js +44 -81
- data/node_modules/@babel/parser/lib/index.js.map +1 -1
- data/node_modules/@babel/parser/package.json +7 -6
- data/node_modules/@babel/parser/typings/babel-parser.d.ts +1 -1
- data/node_modules/@babel/plugin-syntax-flow/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-syntax-flow/package.json +3 -3
- data/node_modules/@babel/plugin-syntax-flow/tsconfig.json +17 -0
- data/node_modules/@babel/plugin-syntax-flow/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-syntax-jsx/package.json +3 -3
- data/node_modules/@babel/plugin-syntax-jsx/tsconfig.json +17 -0
- data/node_modules/@babel/plugin-syntax-jsx/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/lib/index.js +77 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/package.json +24 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/tsconfig.json +39 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/node_modules/@babel/helper-plugin-utils/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/lib/index.js +77 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/package.json +24 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/tsconfig.json +39 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/node_modules/@babel/helper-plugin-utils/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-syntax-typescript/package.json +4 -4
- data/node_modules/@babel/plugin-syntax-typescript/tsconfig.json +17 -0
- data/node_modules/@babel/plugin-syntax-typescript/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-class-properties/package.json +5 -5
- data/node_modules/@babel/plugin-transform-class-properties/tsconfig.json +20 -0
- data/node_modules/@babel/plugin-transform-class-properties/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +5 -5
- data/node_modules/@babel/plugin-transform-flow-strip-types/tsconfig.json +20 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js.map +1 -1
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js +1 -1
- data/node_modules/@babel/plugin-transform-modules-commonjs/package.json +7 -7
- data/node_modules/@babel/plugin-transform-modules-commonjs/tsconfig.json +17 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +1 -1
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +4 -4
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/tsconfig.json +17 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-optional-chaining/package.json +7 -7
- data/node_modules/@babel/plugin-transform-optional-chaining/tsconfig.tsbuildinfo +1 -1
- data/node_modules/@babel/plugin-transform-private-methods/lib/index.js +1 -1
- data/node_modules/@babel/plugin-transform-private-methods/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-private-methods/package.json +5 -5
- data/node_modules/@babel/plugin-transform-private-methods/tsconfig.json +20 -0
- data/node_modules/@babel/plugin-transform-private-methods/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/global-types.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/package.json +9 -9
- data/node_modules/@babel/plugin-transform-typescript/tsconfig.tsbuildinfo +1 -1
- data/node_modules/@babel/preset-flow/package.json +6 -6
- data/node_modules/@babel/preset-flow/tsconfig.json +20 -0
- data/node_modules/@babel/preset-flow/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/preset-typescript/lib/index.js.map +1 -1
- data/node_modules/@babel/preset-typescript/package.json +8 -8
- data/node_modules/@babel/preset-typescript/tsconfig.json +26 -0
- data/node_modules/@babel/preset-typescript/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/register/lib/browser.js.map +1 -1
- data/node_modules/@babel/register/lib/cache.js.map +1 -1
- data/node_modules/@babel/register/lib/experimental-worker.js.map +1 -1
- data/node_modules/@babel/register/lib/hook.js.map +1 -1
- data/node_modules/@babel/register/lib/index.js.map +1 -1
- data/node_modules/@babel/register/lib/is-in-register-worker.js.map +1 -1
- data/node_modules/@babel/register/lib/node.js.map +1 -1
- data/node_modules/@babel/register/lib/nodeWrapper.js.map +1 -1
- data/node_modules/@babel/register/lib/worker/babel-core.js.map +1 -1
- data/node_modules/@babel/register/lib/worker/cache.js.map +1 -1
- data/node_modules/@babel/register/lib/worker/handle-message.js.map +1 -1
- data/node_modules/@babel/register/lib/worker/index.js.map +1 -1
- data/node_modules/@babel/register/lib/worker/transform.js.map +1 -1
- data/node_modules/@babel/register/lib/worker-client.js +33 -57
- data/node_modules/@babel/register/lib/worker-client.js.map +1 -1
- data/node_modules/@babel/register/package.json +4 -4
- data/node_modules/@babel/register/tsconfig.json +17 -0
- data/node_modules/@babel/register/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/template/lib/builder.js.map +1 -1
- data/node_modules/@babel/template/lib/formatters.js.map +1 -1
- data/node_modules/@babel/template/lib/index.js.map +1 -1
- data/node_modules/@babel/template/lib/literal.js.map +1 -1
- data/node_modules/@babel/template/lib/options.js.map +1 -1
- data/node_modules/@babel/template/lib/parse.js.map +1 -1
- data/node_modules/@babel/template/lib/populate.js.map +1 -1
- data/node_modules/@babel/template/lib/string.js.map +1 -1
- data/node_modules/@babel/template/package.json +4 -4
- data/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/index.js +125 -31
- data/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
- data/node_modules/@babel/traverse/lib/scope/index.js +4 -3
- data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +4 -2
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -1
- data/node_modules/@babel/traverse/lib/visitors.js +6 -6
- data/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
- data/node_modules/@babel/traverse/package.json +11 -11
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +6 -5
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +1 -1
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +2 -2
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
- data/node_modules/@babel/types/package.json +5 -5
- data/node_modules/@eslint/config-array/README.md +20 -1
- data/node_modules/@eslint/config-array/dist/cjs/index.cjs +13 -56
- data/node_modules/@eslint/config-array/dist/cjs/index.d.cts +0 -9
- data/node_modules/@eslint/config-array/dist/esm/index.d.ts +0 -9
- data/node_modules/@eslint/config-array/dist/esm/index.js +13 -56
- data/node_modules/@eslint/config-array/package.json +8 -4
- data/node_modules/@eslint/eslintrc/node_modules/espree/LICENSE +25 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/README.md +244 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/dist/espree.cjs +883 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/espree.js +177 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/lib/espree.js +349 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/lib/features.js +27 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/lib/options.js +123 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/lib/token-translator.js +263 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/lib/version.js +3 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/CHANGELOG.md +880 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/LICENSE +21 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/README.md +283 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/acorn.d.mts +857 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/acorn.d.ts +857 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/acorn.js +6002 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/acorn.mjs +5973 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/dist/bin.js +90 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/node_modules/acorn/package.json +50 -0
- data/node_modules/@eslint/eslintrc/node_modules/espree/package.json +86 -0
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/@eslint/object-schema/README.md +13 -0
- data/node_modules/@eslint/object-schema/dist/cjs/index.cjs +9 -9
- data/node_modules/@eslint/object-schema/dist/cjs/index.d.cts +2 -2
- data/node_modules/@eslint/object-schema/dist/cjs/types.ts +1 -1
- data/node_modules/@eslint/object-schema/dist/esm/index.d.ts +2 -2
- data/node_modules/@eslint/object-schema/dist/esm/index.js +9 -9
- data/node_modules/@eslint/object-schema/dist/esm/types.d.ts +1 -1
- data/node_modules/@eslint/object-schema/dist/esm/types.ts +1 -1
- data/node_modules/@eslint/object-schema/package.json +8 -4
- data/node_modules/@eslint-community/regexpp/index.d.ts +19 -5
- data/node_modules/@eslint-community/regexpp/index.js +138 -17
- data/node_modules/@eslint-community/regexpp/index.js.map +1 -1
- data/node_modules/@eslint-community/regexpp/index.mjs +138 -17
- data/node_modules/@eslint-community/regexpp/index.mjs.map +1 -1
- data/node_modules/@eslint-community/regexpp/package.json +1 -3
- data/node_modules/@npmcli/move-file/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/@npmcli/move-file/node_modules/mkdirp/bin/cmd.js +68 -0
- data/node_modules/@npmcli/move-file/node_modules/mkdirp/index.js +31 -0
- data/node_modules/@npmcli/move-file/node_modules/mkdirp/package.json +44 -0
- data/node_modules/@npmcli/move-file/node_modules/mkdirp/readme.markdown +266 -0
- data/node_modules/acorn/CHANGELOG.md +24 -0
- data/node_modules/acorn/README.md +5 -6
- data/node_modules/acorn/dist/acorn.d.mts +8 -9
- data/node_modules/acorn/dist/acorn.d.ts +8 -9
- data/node_modules/acorn/dist/acorn.js +92 -29
- data/node_modules/acorn/dist/acorn.mjs +92 -29
- data/node_modules/acorn/package.json +3 -3
- data/node_modules/babel-code-frame/README.md +60 -0
- data/node_modules/babel-code-frame/lib/index.js +141 -0
- data/node_modules/babel-code-frame/node_modules/chalk/index.js +116 -0
- data/node_modules/babel-code-frame/node_modules/chalk/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/ansi-styles/index.js +65 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/ansi-styles/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/ansi-styles/package.json +50 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/ansi-styles/readme.md +86 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/escape-string-regexp/index.js +11 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/escape-string-regexp/package.json +41 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/escape-string-regexp/readme.md +27 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/index.js +6 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/index.js +4 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/package.json +64 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +39 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/package.json +57 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/strip-ansi/readme.md +33 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/supports-color/index.js +50 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/supports-color/license +21 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/supports-color/package.json +49 -0
- data/node_modules/babel-code-frame/node_modules/chalk/node_modules/supports-color/readme.md +36 -0
- data/node_modules/babel-code-frame/node_modules/chalk/package.json +70 -0
- data/node_modules/babel-code-frame/node_modules/chalk/readme.md +213 -0
- data/node_modules/babel-code-frame/package-lock.json +66 -0
- data/node_modules/babel-code-frame/package.json +15 -0
- data/node_modules/babel-core/README.md +94 -27
- data/node_modules/babel-core/index.js +1 -2
- data/node_modules/babel-core/lib/api/browser.js +190 -0
- data/node_modules/babel-core/lib/api/node.js +153 -0
- data/node_modules/babel-core/lib/helpers/get-possible-plugin-names.js +8 -0
- data/node_modules/babel-core/lib/helpers/get-possible-preset-names.js +18 -0
- data/node_modules/babel-core/lib/helpers/merge.js +46 -0
- data/node_modules/babel-core/lib/helpers/normalize-ast.js +23 -0
- data/node_modules/babel-core/lib/helpers/resolve-from-possible-names.js +17 -0
- data/node_modules/babel-core/lib/helpers/resolve-plugin.js +21 -0
- data/node_modules/babel-core/lib/helpers/resolve-preset.js +21 -0
- data/node_modules/babel-core/lib/helpers/resolve.js +46 -0
- data/node_modules/babel-core/lib/store.js +55 -0
- data/node_modules/babel-core/lib/tools/build-external-helpers.js +101 -0
- data/node_modules/babel-core/lib/transformation/file/index.js +705 -0
- data/node_modules/babel-core/lib/transformation/file/logger.js +72 -0
- data/node_modules/babel-core/lib/transformation/file/merge-map.js +354 -0
- data/node_modules/babel-core/lib/transformation/file/metadata.js +178 -0
- data/node_modules/babel-core/lib/transformation/file/options/build-config-chain.js +215 -0
- data/node_modules/babel-core/lib/transformation/file/options/config.js +211 -0
- data/node_modules/babel-core/lib/transformation/file/options/index.js +38 -0
- data/node_modules/babel-core/lib/transformation/file/options/option-manager.js +383 -0
- data/node_modules/babel-core/lib/transformation/file/options/parsers.js +33 -0
- data/node_modules/babel-core/lib/transformation/file/options/removed.js +50 -0
- data/node_modules/babel-core/lib/transformation/internal-plugins/block-hoist.js +45 -0
- data/node_modules/babel-core/lib/transformation/internal-plugins/shadow-functions.js +136 -0
- data/node_modules/babel-core/lib/transformation/pipeline.js +81 -0
- data/node_modules/babel-core/lib/transformation/plugin-pass.js +71 -0
- data/node_modules/babel-core/lib/transformation/plugin.js +163 -0
- data/node_modules/babel-core/lib/util.js +184 -0
- data/node_modules/babel-core/node_modules/convert-source-map/LICENSE +23 -0
- data/node_modules/babel-core/node_modules/convert-source-map/README.md +123 -0
- data/node_modules/babel-core/node_modules/convert-source-map/index.js +179 -0
- data/node_modules/babel-core/node_modules/convert-source-map/package.json +41 -0
- data/node_modules/babel-core/node_modules/debug/CHANGELOG.md +362 -0
- data/node_modules/babel-core/node_modules/debug/LICENSE +19 -0
- data/node_modules/babel-core/node_modules/debug/Makefile +50 -0
- data/node_modules/babel-core/node_modules/debug/README.md +312 -0
- data/node_modules/babel-core/node_modules/debug/component.json +19 -0
- data/node_modules/babel-core/node_modules/debug/karma.conf.js +70 -0
- data/node_modules/babel-core/node_modules/debug/node.js +1 -0
- data/node_modules/babel-core/node_modules/debug/node_modules/ms/index.js +152 -0
- data/node_modules/babel-core/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/babel-core/node_modules/debug/node_modules/ms/package.json +37 -0
- data/node_modules/babel-core/node_modules/debug/node_modules/ms/readme.md +51 -0
- data/node_modules/babel-core/node_modules/debug/package.json +49 -0
- data/node_modules/babel-core/node_modules/debug/src/browser.js +185 -0
- data/node_modules/babel-core/node_modules/debug/src/debug.js +202 -0
- data/node_modules/babel-core/node_modules/debug/src/index.js +10 -0
- data/node_modules/babel-core/node_modules/debug/src/inspector-log.js +15 -0
- data/node_modules/babel-core/node_modules/debug/src/node.js +248 -0
- data/node_modules/babel-core/node_modules/json5/CHANGELOG.md +169 -0
- data/node_modules/babel-core/node_modules/json5/LICENSE.md +21 -0
- data/node_modules/babel-core/node_modules/json5/README.md +286 -0
- data/node_modules/babel-core/node_modules/json5/lib/cli.js +41 -0
- data/node_modules/babel-core/node_modules/json5/lib/json5.js +770 -0
- data/node_modules/babel-core/node_modules/json5/lib/require.js +18 -0
- data/node_modules/babel-core/node_modules/json5/package.json +38 -0
- data/node_modules/babel-core/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/babel-core/node_modules/minimatch/README.md +230 -0
- data/node_modules/babel-core/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/babel-core/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/babel-core/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/babel-core/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/babel-core/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/babel-core/node_modules/minimatch/package.json +33 -0
- data/node_modules/babel-core/node_modules/slash/index.js +11 -0
- data/node_modules/babel-core/node_modules/slash/package.json +33 -0
- data/node_modules/babel-core/node_modules/slash/readme.md +44 -0
- data/node_modules/babel-core/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/babel-core/node_modules/source-map/LICENSE +28 -0
- data/node_modules/babel-core/node_modules/source-map/README.md +729 -0
- data/node_modules/babel-core/node_modules/source-map/dist/source-map.debug.js +3091 -0
- data/node_modules/babel-core/node_modules/source-map/dist/source-map.js +3090 -0
- data/node_modules/babel-core/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/babel-core/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/babel-core/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/babel-core/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/babel-core/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/babel-core/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/babel-core/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/babel-core/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/babel-core/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/node_modules/babel-core/node_modules/source-map/lib/source-map-generator.js +416 -0
- data/node_modules/babel-core/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/babel-core/node_modules/source-map/lib/util.js +417 -0
- data/node_modules/babel-core/node_modules/source-map/package.json +72 -0
- data/node_modules/babel-core/node_modules/source-map/source-map.js +8 -0
- data/node_modules/babel-core/package.json +46 -10
- data/node_modules/babel-core/register.js +3 -0
- data/node_modules/babel-generator/README.md +81 -0
- data/node_modules/babel-generator/lib/buffer.js +202 -0
- data/node_modules/babel-generator/lib/generators/base.js +62 -0
- data/node_modules/babel-generator/lib/generators/classes.js +96 -0
- data/node_modules/babel-generator/lib/generators/expressions.js +241 -0
- data/node_modules/babel-generator/lib/generators/flow.js +504 -0
- data/node_modules/babel-generator/lib/generators/jsx.js +124 -0
- data/node_modules/babel-generator/lib/generators/methods.js +111 -0
- data/node_modules/babel-generator/lib/generators/modules.js +183 -0
- data/node_modules/babel-generator/lib/generators/statements.js +316 -0
- data/node_modules/babel-generator/lib/generators/template-literals.js +31 -0
- data/node_modules/babel-generator/lib/generators/types.js +158 -0
- data/node_modules/babel-generator/lib/index.js +168 -0
- data/node_modules/babel-generator/lib/node/index.js +146 -0
- data/node_modules/babel-generator/lib/node/parentheses.js +170 -0
- data/node_modules/babel-generator/lib/node/whitespace.js +151 -0
- data/node_modules/babel-generator/lib/printer.js +555 -0
- data/node_modules/babel-generator/lib/source-map.js +89 -0
- data/node_modules/babel-generator/lib/whitespace.js +95 -0
- data/node_modules/babel-generator/node_modules/jsesc/LICENSE-MIT.txt +20 -0
- data/node_modules/babel-generator/node_modules/jsesc/bin/jsesc +148 -0
- data/node_modules/babel-generator/node_modules/jsesc/jsesc.js +345 -0
- data/node_modules/babel-generator/node_modules/jsesc/man/jsesc.1 +94 -0
- data/node_modules/babel-generator/node_modules/jsesc/package.json +46 -0
- data/node_modules/babel-generator/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/babel-generator/node_modules/source-map/LICENSE +28 -0
- data/node_modules/babel-generator/node_modules/source-map/README.md +729 -0
- data/node_modules/babel-generator/node_modules/source-map/dist/source-map.debug.js +3091 -0
- data/node_modules/babel-generator/node_modules/source-map/dist/source-map.js +3090 -0
- data/node_modules/babel-generator/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/babel-generator/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/source-map-generator.js +416 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/babel-generator/node_modules/source-map/lib/util.js +417 -0
- data/node_modules/babel-generator/node_modules/source-map/package.json +72 -0
- data/node_modules/babel-generator/node_modules/source-map/source-map.js +8 -0
- data/node_modules/babel-generator/package.json +27 -0
- data/node_modules/babel-helpers/README.md +21 -0
- data/node_modules/babel-helpers/lib/helpers.js +76 -0
- data/node_modules/babel-helpers/lib/index.js +31 -0
- data/node_modules/babel-helpers/package.json +14 -0
- data/node_modules/babel-messages/README.md +18 -0
- data/node_modules/babel-messages/lib/index.js +84 -0
- data/node_modules/babel-messages/package.json +13 -0
- data/node_modules/babel-register/README.md +103 -0
- data/node_modules/babel-register/lib/browser.js +7 -0
- data/node_modules/babel-register/lib/cache.js +68 -0
- data/node_modules/babel-register/lib/node.js +179 -0
- data/node_modules/babel-register/node_modules/source-map-support/LICENSE.md +21 -0
- data/node_modules/babel-register/node_modules/source-map-support/README.md +251 -0
- data/node_modules/babel-register/node_modules/source-map-support/browser-source-map-support.js +110 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/LICENSE +28 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/README.md +729 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/dist/source-map.debug.js +3091 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/dist/source-map.js +3090 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/source-map-generator.js +416 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/lib/util.js +417 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/package.json +72 -0
- data/node_modules/babel-register/node_modules/source-map-support/node_modules/source-map/source-map.js +8 -0
- data/node_modules/babel-register/node_modules/source-map-support/package.json +30 -0
- data/node_modules/babel-register/node_modules/source-map-support/register.js +1 -0
- data/node_modules/babel-register/node_modules/source-map-support/source-map-support.js +527 -0
- data/node_modules/babel-register/package-lock.json +78 -0
- data/node_modules/babel-register/package.json +22 -0
- data/node_modules/babel-runtime/README.md +2 -0
- data/node_modules/babel-runtime/core-js/array/concat.js +1 -0
- data/node_modules/babel-runtime/core-js/array/copy-within.js +1 -0
- data/node_modules/babel-runtime/core-js/array/entries.js +1 -0
- data/node_modules/babel-runtime/core-js/array/every.js +1 -0
- data/node_modules/babel-runtime/core-js/array/fill.js +1 -0
- data/node_modules/babel-runtime/core-js/array/filter.js +1 -0
- data/node_modules/babel-runtime/core-js/array/find-index.js +1 -0
- data/node_modules/babel-runtime/core-js/array/find.js +1 -0
- data/node_modules/babel-runtime/core-js/array/for-each.js +1 -0
- data/node_modules/babel-runtime/core-js/array/from.js +1 -0
- data/node_modules/babel-runtime/core-js/array/includes.js +1 -0
- data/node_modules/babel-runtime/core-js/array/index-of.js +1 -0
- data/node_modules/babel-runtime/core-js/array/join.js +1 -0
- data/node_modules/babel-runtime/core-js/array/keys.js +1 -0
- data/node_modules/babel-runtime/core-js/array/last-index-of.js +1 -0
- data/node_modules/babel-runtime/core-js/array/map.js +1 -0
- data/node_modules/babel-runtime/core-js/array/of.js +1 -0
- data/node_modules/babel-runtime/core-js/array/pop.js +1 -0
- data/node_modules/babel-runtime/core-js/array/push.js +1 -0
- data/node_modules/babel-runtime/core-js/array/reduce-right.js +1 -0
- data/node_modules/babel-runtime/core-js/array/reduce.js +1 -0
- data/node_modules/babel-runtime/core-js/array/reverse.js +1 -0
- data/node_modules/babel-runtime/core-js/array/shift.js +1 -0
- data/node_modules/babel-runtime/core-js/array/slice.js +1 -0
- data/node_modules/babel-runtime/core-js/array/some.js +1 -0
- data/node_modules/babel-runtime/core-js/array/sort.js +1 -0
- data/node_modules/babel-runtime/core-js/array/splice.js +1 -0
- data/node_modules/babel-runtime/core-js/array/unshift.js +1 -0
- data/node_modules/babel-runtime/core-js/array/values.js +1 -0
- data/node_modules/babel-runtime/core-js/asap.js +1 -0
- data/node_modules/babel-runtime/core-js/clear-immediate.js +1 -0
- data/node_modules/babel-runtime/core-js/error/is-error.js +1 -0
- data/node_modules/babel-runtime/core-js/get-iterator.js +1 -0
- data/node_modules/babel-runtime/core-js/is-iterable.js +1 -0
- data/node_modules/babel-runtime/core-js/json/stringify.js +1 -0
- data/node_modules/babel-runtime/core-js/map.js +1 -0
- data/node_modules/babel-runtime/core-js/math/acosh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/asinh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/atanh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/cbrt.js +1 -0
- data/node_modules/babel-runtime/core-js/math/clz32.js +1 -0
- data/node_modules/babel-runtime/core-js/math/cosh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/expm1.js +1 -0
- data/node_modules/babel-runtime/core-js/math/fround.js +1 -0
- data/node_modules/babel-runtime/core-js/math/hypot.js +1 -0
- data/node_modules/babel-runtime/core-js/math/iaddh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/imul.js +1 -0
- data/node_modules/babel-runtime/core-js/math/imulh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/isubh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/log10.js +1 -0
- data/node_modules/babel-runtime/core-js/math/log1p.js +1 -0
- data/node_modules/babel-runtime/core-js/math/log2.js +1 -0
- data/node_modules/babel-runtime/core-js/math/sign.js +1 -0
- data/node_modules/babel-runtime/core-js/math/sinh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/tanh.js +1 -0
- data/node_modules/babel-runtime/core-js/math/trunc.js +1 -0
- data/node_modules/babel-runtime/core-js/math/umulh.js +1 -0
- data/node_modules/babel-runtime/core-js/number/epsilon.js +1 -0
- data/node_modules/babel-runtime/core-js/number/is-finite.js +1 -0
- data/node_modules/babel-runtime/core-js/number/is-integer.js +1 -0
- data/node_modules/babel-runtime/core-js/number/is-nan.js +1 -0
- data/node_modules/babel-runtime/core-js/number/is-safe-integer.js +1 -0
- data/node_modules/babel-runtime/core-js/number/max-safe-integer.js +1 -0
- data/node_modules/babel-runtime/core-js/number/min-safe-integer.js +1 -0
- data/node_modules/babel-runtime/core-js/number/parse-float.js +1 -0
- data/node_modules/babel-runtime/core-js/number/parse-int.js +1 -0
- data/node_modules/babel-runtime/core-js/object/assign.js +1 -0
- data/node_modules/babel-runtime/core-js/object/create.js +1 -0
- data/node_modules/babel-runtime/core-js/object/define-properties.js +1 -0
- data/node_modules/babel-runtime/core-js/object/define-property.js +1 -0
- data/node_modules/babel-runtime/core-js/object/entries.js +1 -0
- data/node_modules/babel-runtime/core-js/object/freeze.js +1 -0
- data/node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js +1 -0
- data/node_modules/babel-runtime/core-js/object/get-own-property-descriptors.js +1 -0
- data/node_modules/babel-runtime/core-js/object/get-own-property-names.js +1 -0
- data/node_modules/babel-runtime/core-js/object/get-own-property-symbols.js +1 -0
- data/node_modules/babel-runtime/core-js/object/get-prototype-of.js +1 -0
- data/node_modules/babel-runtime/core-js/object/is-extensible.js +1 -0
- data/node_modules/babel-runtime/core-js/object/is-frozen.js +1 -0
- data/node_modules/babel-runtime/core-js/object/is-sealed.js +1 -0
- data/node_modules/babel-runtime/core-js/object/is.js +1 -0
- data/node_modules/babel-runtime/core-js/object/keys.js +1 -0
- data/node_modules/babel-runtime/core-js/object/prevent-extensions.js +1 -0
- data/node_modules/babel-runtime/core-js/object/seal.js +1 -0
- data/node_modules/babel-runtime/core-js/object/set-prototype-of.js +1 -0
- data/node_modules/babel-runtime/core-js/object/values.js +1 -0
- data/node_modules/babel-runtime/core-js/observable.js +1 -0
- data/node_modules/babel-runtime/core-js/promise.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/apply.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/construct.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/define-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/define-property.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/delete-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/delete-property.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/enumerate.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-metadata-keys.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-own-metadata-keys.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-own-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-own-property-descriptor.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get-prototype-of.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/get.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/has-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/has-own-metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/has.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/is-extensible.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/metadata.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/own-keys.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/prevent-extensions.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/set-prototype-of.js +1 -0
- data/node_modules/babel-runtime/core-js/reflect/set.js +1 -0
- data/node_modules/babel-runtime/core-js/regexp/escape.js +1 -0
- data/node_modules/babel-runtime/core-js/set-immediate.js +1 -0
- data/node_modules/babel-runtime/core-js/set.js +1 -0
- data/node_modules/babel-runtime/core-js/string/at.js +1 -0
- data/node_modules/babel-runtime/core-js/string/code-point-at.js +1 -0
- data/node_modules/babel-runtime/core-js/string/ends-with.js +1 -0
- data/node_modules/babel-runtime/core-js/string/from-code-point.js +1 -0
- data/node_modules/babel-runtime/core-js/string/includes.js +1 -0
- data/node_modules/babel-runtime/core-js/string/match-all.js +1 -0
- data/node_modules/babel-runtime/core-js/string/pad-end.js +1 -0
- data/node_modules/babel-runtime/core-js/string/pad-left.js +1 -0
- data/node_modules/babel-runtime/core-js/string/pad-right.js +1 -0
- data/node_modules/babel-runtime/core-js/string/pad-start.js +1 -0
- data/node_modules/babel-runtime/core-js/string/raw.js +1 -0
- data/node_modules/babel-runtime/core-js/string/repeat.js +1 -0
- data/node_modules/babel-runtime/core-js/string/starts-with.js +1 -0
- data/node_modules/babel-runtime/core-js/string/trim-end.js +1 -0
- data/node_modules/babel-runtime/core-js/string/trim-left.js +1 -0
- data/node_modules/babel-runtime/core-js/string/trim-right.js +1 -0
- data/node_modules/babel-runtime/core-js/string/trim-start.js +1 -0
- data/node_modules/babel-runtime/core-js/string/trim.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/async-iterator.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/for.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/has-instance.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/is-concat-spreadable.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/iterator.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/key-for.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/match.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/observable.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/replace.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/search.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/species.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/split.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/to-primitive.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/to-string-tag.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol/unscopables.js +1 -0
- data/node_modules/babel-runtime/core-js/symbol.js +1 -0
- data/node_modules/babel-runtime/core-js/system/global.js +1 -0
- data/node_modules/babel-runtime/core-js/weak-map.js +1 -0
- data/node_modules/babel-runtime/core-js/weak-set.js +1 -0
- data/node_modules/babel-runtime/core-js.js +4 -0
- data/node_modules/babel-runtime/helpers/_async-generator-delegate.js +1 -0
- data/node_modules/babel-runtime/helpers/_async-generator.js +1 -0
- data/node_modules/babel-runtime/helpers/_async-iterator.js +1 -0
- data/node_modules/babel-runtime/helpers/_async-to-generator.js +1 -0
- data/node_modules/babel-runtime/helpers/_class-call-check.js +1 -0
- data/node_modules/babel-runtime/helpers/_create-class.js +1 -0
- data/node_modules/babel-runtime/helpers/_defaults.js +1 -0
- data/node_modules/babel-runtime/helpers/_define-enumerable-properties.js +1 -0
- data/node_modules/babel-runtime/helpers/_define-property.js +1 -0
- data/node_modules/babel-runtime/helpers/_extends.js +1 -0
- data/node_modules/babel-runtime/helpers/_get.js +1 -0
- data/node_modules/babel-runtime/helpers/_inherits.js +1 -0
- data/node_modules/babel-runtime/helpers/_instanceof.js +1 -0
- data/node_modules/babel-runtime/helpers/_interop-require-default.js +1 -0
- data/node_modules/babel-runtime/helpers/_interop-require-wildcard.js +1 -0
- data/node_modules/babel-runtime/helpers/_jsx.js +1 -0
- data/node_modules/babel-runtime/helpers/_new-arrow-check.js +1 -0
- data/node_modules/babel-runtime/helpers/_object-destructuring-empty.js +1 -0
- data/node_modules/babel-runtime/helpers/_object-without-properties.js +1 -0
- data/node_modules/babel-runtime/helpers/_possible-constructor-return.js +1 -0
- data/node_modules/babel-runtime/helpers/_self-global.js +1 -0
- data/node_modules/babel-runtime/helpers/_set.js +1 -0
- data/node_modules/babel-runtime/helpers/_sliced-to-array-loose.js +1 -0
- data/node_modules/babel-runtime/helpers/_sliced-to-array.js +1 -0
- data/node_modules/babel-runtime/helpers/_tagged-template-literal-loose.js +1 -0
- data/node_modules/babel-runtime/helpers/_tagged-template-literal.js +1 -0
- data/node_modules/babel-runtime/helpers/_temporal-ref.js +1 -0
- data/node_modules/babel-runtime/helpers/_temporal-undefined.js +1 -0
- data/node_modules/babel-runtime/helpers/_to-array.js +1 -0
- data/node_modules/babel-runtime/helpers/_to-consumable-array.js +1 -0
- data/node_modules/babel-runtime/helpers/_typeof.js +1 -0
- data/node_modules/babel-runtime/helpers/async-generator-delegate.js +1 -0
- data/node_modules/babel-runtime/helpers/async-generator.js +1 -0
- data/node_modules/babel-runtime/helpers/async-iterator.js +1 -0
- data/node_modules/babel-runtime/helpers/async-to-generator.js +1 -0
- data/node_modules/babel-runtime/helpers/asyncGenerator.js +126 -0
- data/node_modules/babel-runtime/helpers/asyncGeneratorDelegate.js +69 -0
- data/node_modules/babel-runtime/helpers/asyncIterator.js +32 -0
- data/node_modules/babel-runtime/helpers/asyncToGenerator.js +38 -0
- data/node_modules/babel-runtime/helpers/class-call-check.js +1 -0
- data/node_modules/babel-runtime/helpers/classCallCheck.js +9 -0
- data/node_modules/babel-runtime/helpers/create-class.js +1 -0
- data/node_modules/babel-runtime/helpers/createClass.js +27 -0
- data/node_modules/babel-runtime/helpers/defaults.js +32 -0
- data/node_modules/babel-runtime/helpers/define-enumerable-properties.js +1 -0
- data/node_modules/babel-runtime/helpers/define-property.js +1 -0
- data/node_modules/babel-runtime/helpers/defineEnumerableProperties.js +20 -0
- data/node_modules/babel-runtime/helpers/defineProperty.js +24 -0
- data/node_modules/babel-runtime/helpers/extends.js +23 -0
- data/node_modules/babel-runtime/helpers/get.js +38 -0
- data/node_modules/babel-runtime/helpers/inherits.js +33 -0
- data/node_modules/babel-runtime/helpers/instanceof.js +21 -0
- data/node_modules/babel-runtime/helpers/interop-require-default.js +1 -0
- data/node_modules/babel-runtime/helpers/interop-require-wildcard.js +1 -0
- data/node_modules/babel-runtime/helpers/interopRequireDefault.js +9 -0
- data/node_modules/babel-runtime/helpers/interopRequireWildcard.js +20 -0
- data/node_modules/babel-runtime/helpers/jsx.js +56 -0
- data/node_modules/babel-runtime/helpers/new-arrow-check.js +1 -0
- data/node_modules/babel-runtime/helpers/newArrowCheck.js +9 -0
- data/node_modules/babel-runtime/helpers/object-destructuring-empty.js +1 -0
- data/node_modules/babel-runtime/helpers/object-without-properties.js +1 -0
- data/node_modules/babel-runtime/helpers/objectDestructuringEmpty.js +7 -0
- data/node_modules/babel-runtime/helpers/objectWithoutProperties.js +15 -0
- data/node_modules/babel-runtime/helpers/possible-constructor-return.js +1 -0
- data/node_modules/babel-runtime/helpers/possibleConstructorReturn.js +17 -0
- data/node_modules/babel-runtime/helpers/self-global.js +1 -0
- data/node_modules/babel-runtime/helpers/selfGlobal.js +4 -0
- data/node_modules/babel-runtime/helpers/set.js +35 -0
- data/node_modules/babel-runtime/helpers/sliced-to-array-loose.js +1 -0
- data/node_modules/babel-runtime/helpers/sliced-to-array.js +1 -0
- data/node_modules/babel-runtime/helpers/slicedToArray.js +51 -0
- data/node_modules/babel-runtime/helpers/slicedToArrayLoose.js +31 -0
- data/node_modules/babel-runtime/helpers/tagged-template-literal-loose.js +1 -0
- data/node_modules/babel-runtime/helpers/tagged-template-literal.js +1 -0
- data/node_modules/babel-runtime/helpers/taggedTemplateLiteral.js +21 -0
- data/node_modules/babel-runtime/helpers/taggedTemplateLiteralLoose.js +8 -0
- data/node_modules/babel-runtime/helpers/temporal-ref.js +1 -0
- data/node_modules/babel-runtime/helpers/temporal-undefined.js +1 -0
- data/node_modules/babel-runtime/helpers/temporalRef.js +11 -0
- data/node_modules/babel-runtime/helpers/temporalUndefined.js +4 -0
- data/node_modules/babel-runtime/helpers/to-array.js +1 -0
- data/node_modules/babel-runtime/helpers/to-consumable-array.js +1 -0
- data/node_modules/babel-runtime/helpers/toArray.js +13 -0
- data/node_modules/babel-runtime/helpers/toConsumableArray.js +21 -0
- data/node_modules/babel-runtime/helpers/typeof.js +21 -0
- data/node_modules/babel-runtime/package-lock.json +232 -0
- data/node_modules/babel-runtime/package.json +16 -0
- data/node_modules/babel-runtime/regenerator/index.js +1 -0
- data/node_modules/babel-template/README.md +64 -0
- data/node_modules/babel-template/lib/index.js +143 -0
- data/node_modules/babel-template/package-lock.json +18 -0
- data/node_modules/babel-template/package.json +17 -0
- data/node_modules/babel-traverse/README.md +33 -0
- data/node_modules/babel-traverse/lib/cache.js +30 -0
- data/node_modules/babel-traverse/lib/context.js +200 -0
- data/node_modules/babel-traverse/lib/hub.js +19 -0
- data/node_modules/babel-traverse/lib/index.js +165 -0
- data/node_modules/babel-traverse/lib/path/ancestry.js +238 -0
- data/node_modules/babel-traverse/lib/path/comments.js +47 -0
- data/node_modules/babel-traverse/lib/path/context.js +281 -0
- data/node_modules/babel-traverse/lib/path/conversion.js +47 -0
- data/node_modules/babel-traverse/lib/path/evaluation.js +398 -0
- data/node_modules/babel-traverse/lib/path/family.js +266 -0
- data/node_modules/babel-traverse/lib/path/index.js +242 -0
- data/node_modules/babel-traverse/lib/path/inference/index.js +142 -0
- data/node_modules/babel-traverse/lib/path/inference/inferer-reference.js +185 -0
- data/node_modules/babel-traverse/lib/path/inference/inferers.js +195 -0
- data/node_modules/babel-traverse/lib/path/introspection.js +386 -0
- data/node_modules/babel-traverse/lib/path/lib/hoister.js +211 -0
- data/node_modules/babel-traverse/lib/path/lib/removal-hooks.js +33 -0
- data/node_modules/babel-traverse/lib/path/lib/virtual-types.js +141 -0
- data/node_modules/babel-traverse/lib/path/modification.js +264 -0
- data/node_modules/babel-traverse/lib/path/removal.js +72 -0
- data/node_modules/babel-traverse/lib/path/replacement.js +268 -0
- data/node_modules/babel-traverse/lib/scope/binding.js +82 -0
- data/node_modules/babel-traverse/lib/scope/index.js +1094 -0
- data/node_modules/babel-traverse/lib/scope/lib/renamer.js +113 -0
- data/node_modules/babel-traverse/lib/visitors.js +341 -0
- data/node_modules/babel-traverse/node_modules/debug/CHANGELOG.md +362 -0
- data/node_modules/babel-traverse/node_modules/debug/LICENSE +19 -0
- data/node_modules/babel-traverse/node_modules/debug/Makefile +50 -0
- data/node_modules/babel-traverse/node_modules/debug/README.md +312 -0
- data/node_modules/babel-traverse/node_modules/debug/component.json +19 -0
- data/node_modules/babel-traverse/node_modules/debug/karma.conf.js +70 -0
- data/node_modules/babel-traverse/node_modules/debug/node.js +1 -0
- data/node_modules/babel-traverse/node_modules/debug/node_modules/ms/index.js +152 -0
- data/node_modules/babel-traverse/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/babel-traverse/node_modules/debug/node_modules/ms/package.json +37 -0
- data/node_modules/babel-traverse/node_modules/debug/node_modules/ms/readme.md +51 -0
- data/node_modules/babel-traverse/node_modules/debug/package.json +49 -0
- data/node_modules/babel-traverse/node_modules/debug/src/browser.js +185 -0
- data/node_modules/babel-traverse/node_modules/debug/src/debug.js +202 -0
- data/node_modules/babel-traverse/node_modules/debug/src/index.js +10 -0
- data/node_modules/babel-traverse/node_modules/debug/src/inspector-log.js +15 -0
- data/node_modules/babel-traverse/node_modules/debug/src/node.js +248 -0
- data/node_modules/babel-traverse/node_modules/globals/globals.json +1294 -0
- data/node_modules/babel-traverse/node_modules/globals/index.js +1 -0
- data/node_modules/babel-traverse/node_modules/globals/license +21 -0
- data/node_modules/babel-traverse/node_modules/globals/package.json +35 -0
- data/node_modules/babel-traverse/node_modules/globals/readme.md +41 -0
- data/node_modules/babel-traverse/package-lock.json +57 -0
- data/node_modules/babel-traverse/package.json +24 -0
- data/node_modules/babel-types/README.md +2029 -0
- data/node_modules/babel-types/lib/constants.js +38 -0
- data/node_modules/babel-types/lib/converters.js +350 -0
- data/node_modules/babel-types/lib/definitions/core.js +701 -0
- data/node_modules/babel-types/lib/definitions/es2015.js +354 -0
- data/node_modules/babel-types/lib/definitions/experimental.js +103 -0
- data/node_modules/babel-types/lib/definitions/flow.js +285 -0
- data/node_modules/babel-types/lib/definitions/index.js +249 -0
- data/node_modules/babel-types/lib/definitions/init.js +15 -0
- data/node_modules/babel-types/lib/definitions/jsx.js +147 -0
- data/node_modules/babel-types/lib/definitions/misc.js +21 -0
- data/node_modules/babel-types/lib/flow.js +108 -0
- data/node_modules/babel-types/lib/index.js +835 -0
- data/node_modules/babel-types/lib/react.js +80 -0
- data/node_modules/babel-types/lib/retrievers.js +116 -0
- data/node_modules/babel-types/lib/validators.js +265 -0
- data/node_modules/babel-types/node_modules/to-fast-properties/index.js +11 -0
- data/node_modules/babel-types/node_modules/to-fast-properties/license +22 -0
- data/node_modules/babel-types/node_modules/to-fast-properties/package.json +35 -0
- data/node_modules/babel-types/node_modules/to-fast-properties/readme.md +37 -0
- data/node_modules/babel-types/package-lock.json +29 -0
- data/node_modules/babel-types/package.json +20 -0
- data/node_modules/babylon/CHANGELOG.md +979 -0
- data/node_modules/babylon/LICENSE +19 -0
- data/node_modules/babylon/README.md +134 -0
- data/node_modules/babylon/bin/babylon.js +16 -0
- data/node_modules/babylon/bin/generate-identifier-regex.js +62 -0
- data/node_modules/babylon/lib/index.js +7318 -0
- data/node_modules/babylon/package.json +84 -0
- data/node_modules/braces/LICENSE +1 -1
- data/node_modules/braces/README.md +91 -98
- data/node_modules/braces/index.js +3 -3
- data/node_modules/braces/lib/compile.js +14 -11
- data/node_modules/braces/lib/constants.js +1 -1
- data/node_modules/braces/lib/expand.js +9 -9
- data/node_modules/braces/lib/parse.js +14 -16
- data/node_modules/braces/lib/stringify.js +4 -4
- data/node_modules/braces/lib/utils.js +13 -3
- data/node_modules/braces/package.json +2 -2
- data/node_modules/configstore/node_modules/write-file-atomic/node_modules/signal-exit/LICENSE.txt +16 -0
- data/node_modules/configstore/node_modules/write-file-atomic/node_modules/signal-exit/README.md +39 -0
- data/node_modules/configstore/node_modules/write-file-atomic/node_modules/signal-exit/package.json +38 -0
- data/node_modules/core-js/CHANGELOG.md +711 -0
- data/node_modules/core-js/Gruntfile.js +3 -0
- data/node_modules/core-js/LICENSE +19 -0
- data/node_modules/core-js/README.md +2307 -0
- data/node_modules/core-js/bower.json +49 -0
- data/node_modules/core-js/build/Gruntfile.ls +86 -0
- data/node_modules/core-js/build/build.ls +62 -0
- data/node_modules/core-js/build/config.js +275 -0
- data/node_modules/core-js/build/index.js +104 -0
- data/node_modules/core-js/client/core.js +9100 -0
- data/node_modules/core-js/client/core.min.js +10 -0
- data/node_modules/core-js/client/core.min.js.map +1 -0
- data/node_modules/core-js/client/library.js +8168 -0
- data/node_modules/core-js/client/library.min.js +10 -0
- data/node_modules/core-js/client/library.min.js.map +1 -0
- data/node_modules/core-js/client/shim.js +8663 -0
- data/node_modules/core-js/client/shim.min.js +10 -0
- data/node_modules/core-js/client/shim.min.js.map +1 -0
- data/node_modules/core-js/core/_.js +2 -0
- data/node_modules/core-js/core/delay.js +2 -0
- data/node_modules/core-js/core/dict.js +2 -0
- data/node_modules/core-js/core/function.js +2 -0
- data/node_modules/core-js/core/index.js +15 -0
- data/node_modules/core-js/core/number.js +2 -0
- data/node_modules/core-js/core/object.js +5 -0
- data/node_modules/core-js/core/regexp.js +2 -0
- data/node_modules/core-js/core/string.js +3 -0
- data/node_modules/core-js/es5/index.js +37 -0
- data/node_modules/core-js/es6/array.js +23 -0
- data/node_modules/core-js/es6/date.js +6 -0
- data/node_modules/core-js/es6/function.js +4 -0
- data/node_modules/core-js/es6/index.js +139 -0
- data/node_modules/core-js/es6/map.js +5 -0
- data/node_modules/core-js/es6/math.js +18 -0
- data/node_modules/core-js/es6/number.js +13 -0
- data/node_modules/core-js/es6/object.js +20 -0
- data/node_modules/core-js/es6/parse-float.js +2 -0
- data/node_modules/core-js/es6/parse-int.js +2 -0
- data/node_modules/core-js/es6/promise.js +5 -0
- data/node_modules/core-js/es6/reflect.js +15 -0
- data/node_modules/core-js/es6/regexp.js +9 -0
- data/node_modules/core-js/es6/set.js +5 -0
- data/node_modules/core-js/es6/string.js +27 -0
- data/node_modules/core-js/es6/symbol.js +3 -0
- data/node_modules/core-js/es6/typed.js +13 -0
- data/node_modules/core-js/es6/weak-map.js +4 -0
- data/node_modules/core-js/es6/weak-set.js +4 -0
- data/node_modules/core-js/es7/array.js +4 -0
- data/node_modules/core-js/es7/asap.js +2 -0
- data/node_modules/core-js/es7/error.js +2 -0
- data/node_modules/core-js/es7/global.js +2 -0
- data/node_modules/core-js/es7/index.js +56 -0
- data/node_modules/core-js/es7/map.js +4 -0
- data/node_modules/core-js/es7/math.js +13 -0
- data/node_modules/core-js/es7/object.js +8 -0
- data/node_modules/core-js/es7/observable.js +7 -0
- data/node_modules/core-js/es7/promise.js +3 -0
- data/node_modules/core-js/es7/reflect.js +10 -0
- data/node_modules/core-js/es7/set.js +4 -0
- data/node_modules/core-js/es7/string.js +7 -0
- data/node_modules/core-js/es7/symbol.js +3 -0
- data/node_modules/core-js/es7/system.js +2 -0
- data/node_modules/core-js/es7/weak-map.js +3 -0
- data/node_modules/core-js/es7/weak-set.js +3 -0
- data/node_modules/core-js/fn/_.js +2 -0
- data/node_modules/core-js/fn/array/concat.js +4 -0
- data/node_modules/core-js/fn/array/copy-within.js +2 -0
- data/node_modules/core-js/fn/array/entries.js +2 -0
- data/node_modules/core-js/fn/array/every.js +2 -0
- data/node_modules/core-js/fn/array/fill.js +2 -0
- data/node_modules/core-js/fn/array/filter.js +2 -0
- data/node_modules/core-js/fn/array/find-index.js +2 -0
- data/node_modules/core-js/fn/array/find.js +2 -0
- data/node_modules/core-js/fn/array/flat-map.js +2 -0
- data/node_modules/core-js/fn/array/flatten.js +2 -0
- data/node_modules/core-js/fn/array/for-each.js +2 -0
- data/node_modules/core-js/fn/array/from.js +3 -0
- data/node_modules/core-js/fn/array/includes.js +2 -0
- data/node_modules/core-js/fn/array/index-of.js +2 -0
- data/node_modules/core-js/fn/array/index.js +26 -0
- data/node_modules/core-js/fn/array/is-array.js +2 -0
- data/node_modules/core-js/fn/array/iterator.js +2 -0
- data/node_modules/core-js/fn/array/join.js +2 -0
- data/node_modules/core-js/fn/array/keys.js +2 -0
- data/node_modules/core-js/fn/array/last-index-of.js +2 -0
- data/node_modules/core-js/fn/array/map.js +2 -0
- data/node_modules/core-js/fn/array/of.js +2 -0
- data/node_modules/core-js/fn/array/pop.js +4 -0
- data/node_modules/core-js/fn/array/push.js +4 -0
- data/node_modules/core-js/fn/array/reduce-right.js +2 -0
- data/node_modules/core-js/fn/array/reduce.js +2 -0
- data/node_modules/core-js/fn/array/reverse.js +4 -0
- data/node_modules/core-js/fn/array/shift.js +4 -0
- data/node_modules/core-js/fn/array/slice.js +2 -0
- data/node_modules/core-js/fn/array/some.js +2 -0
- data/node_modules/core-js/fn/array/sort.js +2 -0
- data/node_modules/core-js/fn/array/splice.js +4 -0
- data/node_modules/core-js/fn/array/unshift.js +4 -0
- data/node_modules/core-js/fn/array/values.js +2 -0
- data/node_modules/core-js/fn/array/virtual/copy-within.js +2 -0
- data/node_modules/core-js/fn/array/virtual/entries.js +2 -0
- data/node_modules/core-js/fn/array/virtual/every.js +2 -0
- data/node_modules/core-js/fn/array/virtual/fill.js +2 -0
- data/node_modules/core-js/fn/array/virtual/filter.js +2 -0
- data/node_modules/core-js/fn/array/virtual/find-index.js +2 -0
- data/node_modules/core-js/fn/array/virtual/find.js +2 -0
- data/node_modules/core-js/fn/array/virtual/flat-map.js +2 -0
- data/node_modules/core-js/fn/array/virtual/flatten.js +2 -0
- data/node_modules/core-js/fn/array/virtual/for-each.js +2 -0
- data/node_modules/core-js/fn/array/virtual/includes.js +2 -0
- data/node_modules/core-js/fn/array/virtual/index-of.js +2 -0
- data/node_modules/core-js/fn/array/virtual/index.js +20 -0
- data/node_modules/core-js/fn/array/virtual/iterator.js +2 -0
- data/node_modules/core-js/fn/array/virtual/join.js +2 -0
- data/node_modules/core-js/fn/array/virtual/keys.js +2 -0
- data/node_modules/core-js/fn/array/virtual/last-index-of.js +2 -0
- data/node_modules/core-js/fn/array/virtual/map.js +2 -0
- data/node_modules/core-js/fn/array/virtual/reduce-right.js +2 -0
- data/node_modules/core-js/fn/array/virtual/reduce.js +2 -0
- data/node_modules/core-js/fn/array/virtual/slice.js +2 -0
- data/node_modules/core-js/fn/array/virtual/some.js +2 -0
- data/node_modules/core-js/fn/array/virtual/sort.js +2 -0
- data/node_modules/core-js/fn/array/virtual/values.js +2 -0
- data/node_modules/core-js/fn/asap.js +2 -0
- data/node_modules/core-js/fn/clear-immediate.js +2 -0
- data/node_modules/core-js/fn/date/index.js +6 -0
- data/node_modules/core-js/fn/date/now.js +2 -0
- data/node_modules/core-js/fn/date/to-iso-string.js +3 -0
- data/node_modules/core-js/fn/date/to-json.js +2 -0
- data/node_modules/core-js/fn/date/to-primitive.js +5 -0
- data/node_modules/core-js/fn/date/to-string.js +5 -0
- data/node_modules/core-js/fn/delay.js +2 -0
- data/node_modules/core-js/fn/dict.js +2 -0
- data/node_modules/core-js/fn/dom-collections/index.js +8 -0
- data/node_modules/core-js/fn/dom-collections/iterator.js +2 -0
- data/node_modules/core-js/fn/error/index.js +2 -0
- data/node_modules/core-js/fn/error/is-error.js +2 -0
- data/node_modules/core-js/fn/function/bind.js +2 -0
- data/node_modules/core-js/fn/function/has-instance.js +2 -0
- data/node_modules/core-js/fn/function/index.js +5 -0
- data/node_modules/core-js/fn/function/name.js +1 -0
- data/node_modules/core-js/fn/function/part.js +2 -0
- data/node_modules/core-js/fn/function/virtual/bind.js +2 -0
- data/node_modules/core-js/fn/function/virtual/index.js +3 -0
- data/node_modules/core-js/fn/function/virtual/part.js +2 -0
- data/node_modules/core-js/fn/get-iterator-method.js +3 -0
- data/node_modules/core-js/fn/get-iterator.js +3 -0
- data/node_modules/core-js/fn/global.js +2 -0
- data/node_modules/core-js/fn/is-iterable.js +3 -0
- data/node_modules/core-js/fn/json/index.js +2 -0
- data/node_modules/core-js/fn/json/stringify.js +5 -0
- data/node_modules/core-js/fn/map/from.js +8 -0
- data/node_modules/core-js/fn/map/index.js +8 -0
- data/node_modules/core-js/fn/map/of.js +8 -0
- data/node_modules/core-js/fn/map.js +8 -0
- data/node_modules/core-js/fn/math/acosh.js +2 -0
- data/node_modules/core-js/fn/math/asinh.js +2 -0
- data/node_modules/core-js/fn/math/atanh.js +2 -0
- data/node_modules/core-js/fn/math/cbrt.js +2 -0
- data/node_modules/core-js/fn/math/clamp.js +2 -0
- data/node_modules/core-js/fn/math/clz32.js +2 -0
- data/node_modules/core-js/fn/math/cosh.js +2 -0
- data/node_modules/core-js/fn/math/deg-per-rad.js +2 -0
- data/node_modules/core-js/fn/math/degrees.js +2 -0
- data/node_modules/core-js/fn/math/expm1.js +2 -0
- data/node_modules/core-js/fn/math/fround.js +2 -0
- data/node_modules/core-js/fn/math/fscale.js +2 -0
- data/node_modules/core-js/fn/math/hypot.js +2 -0
- data/node_modules/core-js/fn/math/iaddh.js +2 -0
- data/node_modules/core-js/fn/math/imul.js +2 -0
- data/node_modules/core-js/fn/math/imulh.js +2 -0
- data/node_modules/core-js/fn/math/index.js +30 -0
- data/node_modules/core-js/fn/math/isubh.js +2 -0
- data/node_modules/core-js/fn/math/log10.js +2 -0
- data/node_modules/core-js/fn/math/log1p.js +2 -0
- data/node_modules/core-js/fn/math/log2.js +2 -0
- data/node_modules/core-js/fn/math/rad-per-deg.js +2 -0
- data/node_modules/core-js/fn/math/radians.js +2 -0
- data/node_modules/core-js/fn/math/scale.js +2 -0
- data/node_modules/core-js/fn/math/sign.js +2 -0
- data/node_modules/core-js/fn/math/signbit.js +3 -0
- data/node_modules/core-js/fn/math/sinh.js +2 -0
- data/node_modules/core-js/fn/math/tanh.js +2 -0
- data/node_modules/core-js/fn/math/trunc.js +2 -0
- data/node_modules/core-js/fn/math/umulh.js +2 -0
- data/node_modules/core-js/fn/number/constructor.js +2 -0
- data/node_modules/core-js/fn/number/epsilon.js +2 -0
- data/node_modules/core-js/fn/number/index.js +14 -0
- data/node_modules/core-js/fn/number/is-finite.js +2 -0
- data/node_modules/core-js/fn/number/is-integer.js +2 -0
- data/node_modules/core-js/fn/number/is-nan.js +2 -0
- data/node_modules/core-js/fn/number/is-safe-integer.js +2 -0
- data/node_modules/core-js/fn/number/iterator.js +5 -0
- data/node_modules/core-js/fn/number/max-safe-integer.js +2 -0
- data/node_modules/core-js/fn/number/min-safe-integer.js +2 -0
- data/node_modules/core-js/fn/number/parse-float.js +2 -0
- data/node_modules/core-js/fn/number/parse-int.js +2 -0
- data/node_modules/core-js/fn/number/to-fixed.js +2 -0
- data/node_modules/core-js/fn/number/to-precision.js +2 -0
- data/node_modules/core-js/fn/number/virtual/index.js +4 -0
- data/node_modules/core-js/fn/number/virtual/iterator.js +2 -0
- data/node_modules/core-js/fn/number/virtual/to-fixed.js +2 -0
- data/node_modules/core-js/fn/number/virtual/to-precision.js +2 -0
- data/node_modules/core-js/fn/object/assign.js +2 -0
- data/node_modules/core-js/fn/object/classof.js +2 -0
- data/node_modules/core-js/fn/object/create.js +5 -0
- data/node_modules/core-js/fn/object/define-getter.js +2 -0
- data/node_modules/core-js/fn/object/define-properties.js +5 -0
- data/node_modules/core-js/fn/object/define-property.js +5 -0
- data/node_modules/core-js/fn/object/define-setter.js +2 -0
- data/node_modules/core-js/fn/object/define.js +2 -0
- data/node_modules/core-js/fn/object/entries.js +2 -0
- data/node_modules/core-js/fn/object/freeze.js +2 -0
- data/node_modules/core-js/fn/object/get-own-property-descriptor.js +5 -0
- data/node_modules/core-js/fn/object/get-own-property-descriptors.js +2 -0
- data/node_modules/core-js/fn/object/get-own-property-names.js +5 -0
- data/node_modules/core-js/fn/object/get-own-property-symbols.js +2 -0
- data/node_modules/core-js/fn/object/get-prototype-of.js +2 -0
- data/node_modules/core-js/fn/object/index.js +30 -0
- data/node_modules/core-js/fn/object/is-extensible.js +2 -0
- data/node_modules/core-js/fn/object/is-frozen.js +2 -0
- data/node_modules/core-js/fn/object/is-object.js +2 -0
- data/node_modules/core-js/fn/object/is-sealed.js +2 -0
- data/node_modules/core-js/fn/object/is.js +2 -0
- data/node_modules/core-js/fn/object/keys.js +2 -0
- data/node_modules/core-js/fn/object/lookup-getter.js +2 -0
- data/node_modules/core-js/fn/object/lookup-setter.js +2 -0
- data/node_modules/core-js/fn/object/make.js +2 -0
- data/node_modules/core-js/fn/object/prevent-extensions.js +2 -0
- data/node_modules/core-js/fn/object/seal.js +2 -0
- data/node_modules/core-js/fn/object/set-prototype-of.js +2 -0
- data/node_modules/core-js/fn/object/values.js +2 -0
- data/node_modules/core-js/fn/observable.js +7 -0
- data/node_modules/core-js/fn/parse-float.js +2 -0
- data/node_modules/core-js/fn/parse-int.js +2 -0
- data/node_modules/core-js/fn/promise/finally.js +4 -0
- data/node_modules/core-js/fn/promise/index.js +7 -0
- data/node_modules/core-js/fn/promise/try.js +8 -0
- data/node_modules/core-js/fn/promise.js +7 -0
- data/node_modules/core-js/fn/reflect/apply.js +2 -0
- data/node_modules/core-js/fn/reflect/construct.js +2 -0
- data/node_modules/core-js/fn/reflect/define-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/define-property.js +2 -0
- data/node_modules/core-js/fn/reflect/delete-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/delete-property.js +2 -0
- data/node_modules/core-js/fn/reflect/enumerate.js +2 -0
- data/node_modules/core-js/fn/reflect/get-metadata-keys.js +2 -0
- data/node_modules/core-js/fn/reflect/get-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/get-own-metadata-keys.js +2 -0
- data/node_modules/core-js/fn/reflect/get-own-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/get-own-property-descriptor.js +2 -0
- data/node_modules/core-js/fn/reflect/get-prototype-of.js +2 -0
- data/node_modules/core-js/fn/reflect/get.js +2 -0
- data/node_modules/core-js/fn/reflect/has-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/has-own-metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/has.js +2 -0
- data/node_modules/core-js/fn/reflect/index.js +24 -0
- data/node_modules/core-js/fn/reflect/is-extensible.js +2 -0
- data/node_modules/core-js/fn/reflect/metadata.js +2 -0
- data/node_modules/core-js/fn/reflect/own-keys.js +2 -0
- data/node_modules/core-js/fn/reflect/prevent-extensions.js +2 -0
- data/node_modules/core-js/fn/reflect/set-prototype-of.js +2 -0
- data/node_modules/core-js/fn/reflect/set.js +2 -0
- data/node_modules/core-js/fn/regexp/constructor.js +2 -0
- data/node_modules/core-js/fn/regexp/escape.js +2 -0
- data/node_modules/core-js/fn/regexp/flags.js +5 -0
- data/node_modules/core-js/fn/regexp/index.js +10 -0
- data/node_modules/core-js/fn/regexp/match.js +5 -0
- data/node_modules/core-js/fn/regexp/replace.js +5 -0
- data/node_modules/core-js/fn/regexp/search.js +5 -0
- data/node_modules/core-js/fn/regexp/split.js +5 -0
- data/node_modules/core-js/fn/regexp/to-string.js +5 -0
- data/node_modules/core-js/fn/set/from.js +8 -0
- data/node_modules/core-js/fn/set/index.js +8 -0
- data/node_modules/core-js/fn/set/of.js +8 -0
- data/node_modules/core-js/fn/set-immediate.js +2 -0
- data/node_modules/core-js/fn/set-interval.js +2 -0
- data/node_modules/core-js/fn/set-timeout.js +2 -0
- data/node_modules/core-js/fn/set.js +8 -0
- data/node_modules/core-js/fn/string/anchor.js +2 -0
- data/node_modules/core-js/fn/string/at.js +2 -0
- data/node_modules/core-js/fn/string/big.js +2 -0
- data/node_modules/core-js/fn/string/blink.js +2 -0
- data/node_modules/core-js/fn/string/bold.js +2 -0
- data/node_modules/core-js/fn/string/code-point-at.js +2 -0
- data/node_modules/core-js/fn/string/ends-with.js +2 -0
- data/node_modules/core-js/fn/string/escape-html.js +2 -0
- data/node_modules/core-js/fn/string/fixed.js +2 -0
- data/node_modules/core-js/fn/string/fontcolor.js +2 -0
- data/node_modules/core-js/fn/string/fontsize.js +2 -0
- data/node_modules/core-js/fn/string/from-code-point.js +2 -0
- data/node_modules/core-js/fn/string/includes.js +2 -0
- data/node_modules/core-js/fn/string/index.js +35 -0
- data/node_modules/core-js/fn/string/italics.js +2 -0
- data/node_modules/core-js/fn/string/iterator.js +5 -0
- data/node_modules/core-js/fn/string/link.js +2 -0
- data/node_modules/core-js/fn/string/match-all.js +2 -0
- data/node_modules/core-js/fn/string/pad-end.js +2 -0
- data/node_modules/core-js/fn/string/pad-start.js +2 -0
- data/node_modules/core-js/fn/string/raw.js +2 -0
- data/node_modules/core-js/fn/string/repeat.js +2 -0
- data/node_modules/core-js/fn/string/small.js +2 -0
- data/node_modules/core-js/fn/string/starts-with.js +2 -0
- data/node_modules/core-js/fn/string/strike.js +2 -0
- data/node_modules/core-js/fn/string/sub.js +2 -0
- data/node_modules/core-js/fn/string/sup.js +2 -0
- data/node_modules/core-js/fn/string/trim-end.js +2 -0
- data/node_modules/core-js/fn/string/trim-left.js +2 -0
- data/node_modules/core-js/fn/string/trim-right.js +2 -0
- data/node_modules/core-js/fn/string/trim-start.js +2 -0
- data/node_modules/core-js/fn/string/trim.js +2 -0
- data/node_modules/core-js/fn/string/unescape-html.js +2 -0
- data/node_modules/core-js/fn/string/virtual/anchor.js +2 -0
- data/node_modules/core-js/fn/string/virtual/at.js +2 -0
- data/node_modules/core-js/fn/string/virtual/big.js +2 -0
- data/node_modules/core-js/fn/string/virtual/blink.js +2 -0
- data/node_modules/core-js/fn/string/virtual/bold.js +2 -0
- data/node_modules/core-js/fn/string/virtual/code-point-at.js +2 -0
- data/node_modules/core-js/fn/string/virtual/ends-with.js +2 -0
- data/node_modules/core-js/fn/string/virtual/escape-html.js +2 -0
- data/node_modules/core-js/fn/string/virtual/fixed.js +2 -0
- data/node_modules/core-js/fn/string/virtual/fontcolor.js +2 -0
- data/node_modules/core-js/fn/string/virtual/fontsize.js +2 -0
- data/node_modules/core-js/fn/string/virtual/includes.js +2 -0
- data/node_modules/core-js/fn/string/virtual/index.js +33 -0
- data/node_modules/core-js/fn/string/virtual/italics.js +2 -0
- data/node_modules/core-js/fn/string/virtual/iterator.js +2 -0
- data/node_modules/core-js/fn/string/virtual/link.js +2 -0
- data/node_modules/core-js/fn/string/virtual/match-all.js +2 -0
- data/node_modules/core-js/fn/string/virtual/pad-end.js +2 -0
- data/node_modules/core-js/fn/string/virtual/pad-start.js +2 -0
- data/node_modules/core-js/fn/string/virtual/repeat.js +2 -0
- data/node_modules/core-js/fn/string/virtual/small.js +2 -0
- data/node_modules/core-js/fn/string/virtual/starts-with.js +2 -0
- data/node_modules/core-js/fn/string/virtual/strike.js +2 -0
- data/node_modules/core-js/fn/string/virtual/sub.js +2 -0
- data/node_modules/core-js/fn/string/virtual/sup.js +2 -0
- data/node_modules/core-js/fn/string/virtual/trim-end.js +2 -0
- data/node_modules/core-js/fn/string/virtual/trim-left.js +2 -0
- data/node_modules/core-js/fn/string/virtual/trim-right.js +2 -0
- data/node_modules/core-js/fn/string/virtual/trim-start.js +2 -0
- data/node_modules/core-js/fn/string/virtual/trim.js +2 -0
- data/node_modules/core-js/fn/string/virtual/unescape-html.js +2 -0
- data/node_modules/core-js/fn/symbol/async-iterator.js +2 -0
- data/node_modules/core-js/fn/symbol/for.js +2 -0
- data/node_modules/core-js/fn/symbol/has-instance.js +2 -0
- data/node_modules/core-js/fn/symbol/index.js +5 -0
- data/node_modules/core-js/fn/symbol/is-concat-spreadable.js +1 -0
- data/node_modules/core-js/fn/symbol/iterator.js +3 -0
- data/node_modules/core-js/fn/symbol/key-for.js +2 -0
- data/node_modules/core-js/fn/symbol/match.js +2 -0
- data/node_modules/core-js/fn/symbol/observable.js +2 -0
- data/node_modules/core-js/fn/symbol/replace.js +2 -0
- data/node_modules/core-js/fn/symbol/search.js +2 -0
- data/node_modules/core-js/fn/symbol/species.js +1 -0
- data/node_modules/core-js/fn/symbol/split.js +2 -0
- data/node_modules/core-js/fn/symbol/to-primitive.js +1 -0
- data/node_modules/core-js/fn/symbol/to-string-tag.js +2 -0
- data/node_modules/core-js/fn/symbol/unscopables.js +1 -0
- data/node_modules/core-js/fn/system/global.js +2 -0
- data/node_modules/core-js/fn/system/index.js +2 -0
- data/node_modules/core-js/fn/typed/array-buffer.js +3 -0
- data/node_modules/core-js/fn/typed/data-view.js +3 -0
- data/node_modules/core-js/fn/typed/float32-array.js +2 -0
- data/node_modules/core-js/fn/typed/float64-array.js +2 -0
- data/node_modules/core-js/fn/typed/index.js +13 -0
- data/node_modules/core-js/fn/typed/int16-array.js +2 -0
- data/node_modules/core-js/fn/typed/int32-array.js +2 -0
- data/node_modules/core-js/fn/typed/int8-array.js +2 -0
- data/node_modules/core-js/fn/typed/uint16-array.js +2 -0
- data/node_modules/core-js/fn/typed/uint32-array.js +2 -0
- data/node_modules/core-js/fn/typed/uint8-array.js +2 -0
- data/node_modules/core-js/fn/typed/uint8-clamped-array.js +2 -0
- data/node_modules/core-js/fn/weak-map/from.js +8 -0
- data/node_modules/core-js/fn/weak-map/index.js +6 -0
- data/node_modules/core-js/fn/weak-map/of.js +8 -0
- data/node_modules/core-js/fn/weak-map.js +6 -0
- data/node_modules/core-js/fn/weak-set/from.js +8 -0
- data/node_modules/core-js/fn/weak-set/index.js +6 -0
- data/node_modules/core-js/fn/weak-set/of.js +8 -0
- data/node_modules/core-js/fn/weak-set.js +6 -0
- data/node_modules/core-js/index.js +16 -0
- data/node_modules/core-js/library/core/_.js +2 -0
- data/node_modules/core-js/library/core/delay.js +2 -0
- data/node_modules/core-js/library/core/dict.js +2 -0
- data/node_modules/core-js/library/core/function.js +2 -0
- data/node_modules/core-js/library/core/index.js +15 -0
- data/node_modules/core-js/library/core/number.js +2 -0
- data/node_modules/core-js/library/core/object.js +5 -0
- data/node_modules/core-js/library/core/regexp.js +2 -0
- data/node_modules/core-js/library/core/string.js +3 -0
- data/node_modules/core-js/library/es5/index.js +37 -0
- data/node_modules/core-js/library/es6/array.js +23 -0
- data/node_modules/core-js/library/es6/date.js +6 -0
- data/node_modules/core-js/library/es6/function.js +4 -0
- data/node_modules/core-js/library/es6/index.js +139 -0
- data/node_modules/core-js/library/es6/map.js +5 -0
- data/node_modules/core-js/library/es6/math.js +18 -0
- data/node_modules/core-js/library/es6/number.js +13 -0
- data/node_modules/core-js/library/es6/object.js +20 -0
- data/node_modules/core-js/library/es6/parse-float.js +2 -0
- data/node_modules/core-js/library/es6/parse-int.js +2 -0
- data/node_modules/core-js/library/es6/promise.js +5 -0
- data/node_modules/core-js/library/es6/reflect.js +15 -0
- data/node_modules/core-js/library/es6/regexp.js +9 -0
- data/node_modules/core-js/library/es6/set.js +5 -0
- data/node_modules/core-js/library/es6/string.js +27 -0
- data/node_modules/core-js/library/es6/symbol.js +3 -0
- data/node_modules/core-js/library/es6/typed.js +13 -0
- data/node_modules/core-js/library/es6/weak-map.js +4 -0
- data/node_modules/core-js/library/es6/weak-set.js +4 -0
- data/node_modules/core-js/library/es7/array.js +4 -0
- data/node_modules/core-js/library/es7/asap.js +2 -0
- data/node_modules/core-js/library/es7/error.js +2 -0
- data/node_modules/core-js/library/es7/global.js +2 -0
- data/node_modules/core-js/library/es7/index.js +56 -0
- data/node_modules/core-js/library/es7/map.js +4 -0
- data/node_modules/core-js/library/es7/math.js +13 -0
- data/node_modules/core-js/library/es7/object.js +8 -0
- data/node_modules/core-js/library/es7/observable.js +7 -0
- data/node_modules/core-js/library/es7/promise.js +3 -0
- data/node_modules/core-js/library/es7/reflect.js +10 -0
- data/node_modules/core-js/library/es7/set.js +4 -0
- data/node_modules/core-js/library/es7/string.js +7 -0
- data/node_modules/core-js/library/es7/symbol.js +3 -0
- data/node_modules/core-js/library/es7/system.js +2 -0
- data/node_modules/core-js/library/es7/weak-map.js +3 -0
- data/node_modules/core-js/library/es7/weak-set.js +3 -0
- data/node_modules/core-js/library/fn/_.js +2 -0
- data/node_modules/core-js/library/fn/array/concat.js +4 -0
- data/node_modules/core-js/library/fn/array/copy-within.js +2 -0
- data/node_modules/core-js/library/fn/array/entries.js +2 -0
- data/node_modules/core-js/library/fn/array/every.js +2 -0
- data/node_modules/core-js/library/fn/array/fill.js +2 -0
- data/node_modules/core-js/library/fn/array/filter.js +2 -0
- data/node_modules/core-js/library/fn/array/find-index.js +2 -0
- data/node_modules/core-js/library/fn/array/find.js +2 -0
- data/node_modules/core-js/library/fn/array/flat-map.js +2 -0
- data/node_modules/core-js/library/fn/array/flatten.js +2 -0
- data/node_modules/core-js/library/fn/array/for-each.js +2 -0
- data/node_modules/core-js/library/fn/array/from.js +3 -0
- data/node_modules/core-js/library/fn/array/includes.js +2 -0
- data/node_modules/core-js/library/fn/array/index-of.js +2 -0
- data/node_modules/core-js/library/fn/array/index.js +26 -0
- data/node_modules/core-js/library/fn/array/is-array.js +2 -0
- data/node_modules/core-js/library/fn/array/iterator.js +2 -0
- data/node_modules/core-js/library/fn/array/join.js +2 -0
- data/node_modules/core-js/library/fn/array/keys.js +2 -0
- data/node_modules/core-js/library/fn/array/last-index-of.js +2 -0
- data/node_modules/core-js/library/fn/array/map.js +2 -0
- data/node_modules/core-js/library/fn/array/of.js +2 -0
- data/node_modules/core-js/library/fn/array/pop.js +4 -0
- data/node_modules/core-js/library/fn/array/push.js +4 -0
- data/node_modules/core-js/library/fn/array/reduce-right.js +2 -0
- data/node_modules/core-js/library/fn/array/reduce.js +2 -0
- data/node_modules/core-js/library/fn/array/reverse.js +4 -0
- data/node_modules/core-js/library/fn/array/shift.js +4 -0
- data/node_modules/core-js/library/fn/array/slice.js +2 -0
- data/node_modules/core-js/library/fn/array/some.js +2 -0
- data/node_modules/core-js/library/fn/array/sort.js +2 -0
- data/node_modules/core-js/library/fn/array/splice.js +4 -0
- data/node_modules/core-js/library/fn/array/unshift.js +4 -0
- data/node_modules/core-js/library/fn/array/values.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/copy-within.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/entries.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/every.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/fill.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/filter.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/find-index.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/find.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/flat-map.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/flatten.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/for-each.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/includes.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/index-of.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/index.js +20 -0
- data/node_modules/core-js/library/fn/array/virtual/iterator.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/join.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/keys.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/last-index-of.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/map.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/reduce-right.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/reduce.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/slice.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/some.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/sort.js +2 -0
- data/node_modules/core-js/library/fn/array/virtual/values.js +2 -0
- data/node_modules/core-js/library/fn/asap.js +2 -0
- data/node_modules/core-js/library/fn/clear-immediate.js +2 -0
- data/node_modules/core-js/library/fn/date/index.js +6 -0
- data/node_modules/core-js/library/fn/date/now.js +2 -0
- data/node_modules/core-js/library/fn/date/to-iso-string.js +3 -0
- data/node_modules/core-js/library/fn/date/to-json.js +2 -0
- data/node_modules/core-js/library/fn/date/to-primitive.js +5 -0
- data/node_modules/core-js/library/fn/date/to-string.js +5 -0
- data/node_modules/core-js/library/fn/delay.js +2 -0
- data/node_modules/core-js/library/fn/dict.js +2 -0
- data/node_modules/core-js/library/fn/dom-collections/index.js +8 -0
- data/node_modules/core-js/library/fn/dom-collections/iterator.js +2 -0
- data/node_modules/core-js/library/fn/error/index.js +2 -0
- data/node_modules/core-js/library/fn/error/is-error.js +2 -0
- data/node_modules/core-js/library/fn/function/bind.js +2 -0
- data/node_modules/core-js/library/fn/function/has-instance.js +2 -0
- data/node_modules/core-js/library/fn/function/index.js +5 -0
- data/node_modules/core-js/library/fn/function/name.js +1 -0
- data/node_modules/core-js/library/fn/function/part.js +2 -0
- data/node_modules/core-js/library/fn/function/virtual/bind.js +2 -0
- data/node_modules/core-js/library/fn/function/virtual/index.js +3 -0
- data/node_modules/core-js/library/fn/function/virtual/part.js +2 -0
- data/node_modules/core-js/library/fn/get-iterator-method.js +3 -0
- data/node_modules/core-js/library/fn/get-iterator.js +3 -0
- data/node_modules/core-js/library/fn/global.js +2 -0
- data/node_modules/core-js/library/fn/is-iterable.js +3 -0
- data/node_modules/core-js/library/fn/json/index.js +2 -0
- data/node_modules/core-js/library/fn/json/stringify.js +5 -0
- data/node_modules/core-js/library/fn/map/from.js +8 -0
- data/node_modules/core-js/library/fn/map/index.js +8 -0
- data/node_modules/core-js/library/fn/map/of.js +8 -0
- data/node_modules/core-js/library/fn/map.js +8 -0
- data/node_modules/core-js/library/fn/math/acosh.js +2 -0
- data/node_modules/core-js/library/fn/math/asinh.js +2 -0
- data/node_modules/core-js/library/fn/math/atanh.js +2 -0
- data/node_modules/core-js/library/fn/math/cbrt.js +2 -0
- data/node_modules/core-js/library/fn/math/clamp.js +2 -0
- data/node_modules/core-js/library/fn/math/clz32.js +2 -0
- data/node_modules/core-js/library/fn/math/cosh.js +2 -0
- data/node_modules/core-js/library/fn/math/deg-per-rad.js +2 -0
- data/node_modules/core-js/library/fn/math/degrees.js +2 -0
- data/node_modules/core-js/library/fn/math/expm1.js +2 -0
- data/node_modules/core-js/library/fn/math/fround.js +2 -0
- data/node_modules/core-js/library/fn/math/fscale.js +2 -0
- data/node_modules/core-js/library/fn/math/hypot.js +2 -0
- data/node_modules/core-js/library/fn/math/iaddh.js +2 -0
- data/node_modules/core-js/library/fn/math/imul.js +2 -0
- data/node_modules/core-js/library/fn/math/imulh.js +2 -0
- data/node_modules/core-js/library/fn/math/index.js +30 -0
- data/node_modules/core-js/library/fn/math/isubh.js +2 -0
- data/node_modules/core-js/library/fn/math/log10.js +2 -0
- data/node_modules/core-js/library/fn/math/log1p.js +2 -0
- data/node_modules/core-js/library/fn/math/log2.js +2 -0
- data/node_modules/core-js/library/fn/math/rad-per-deg.js +2 -0
- data/node_modules/core-js/library/fn/math/radians.js +2 -0
- data/node_modules/core-js/library/fn/math/scale.js +2 -0
- data/node_modules/core-js/library/fn/math/sign.js +2 -0
- data/node_modules/core-js/library/fn/math/signbit.js +3 -0
- data/node_modules/core-js/library/fn/math/sinh.js +2 -0
- data/node_modules/core-js/library/fn/math/tanh.js +2 -0
- data/node_modules/core-js/library/fn/math/trunc.js +2 -0
- data/node_modules/core-js/library/fn/math/umulh.js +2 -0
- data/node_modules/core-js/library/fn/number/constructor.js +2 -0
- data/node_modules/core-js/library/fn/number/epsilon.js +2 -0
- data/node_modules/core-js/library/fn/number/index.js +14 -0
- data/node_modules/core-js/library/fn/number/is-finite.js +2 -0
- data/node_modules/core-js/library/fn/number/is-integer.js +2 -0
- data/node_modules/core-js/library/fn/number/is-nan.js +2 -0
- data/node_modules/core-js/library/fn/number/is-safe-integer.js +2 -0
- data/node_modules/core-js/library/fn/number/iterator.js +5 -0
- data/node_modules/core-js/library/fn/number/max-safe-integer.js +2 -0
- data/node_modules/core-js/library/fn/number/min-safe-integer.js +2 -0
- data/node_modules/core-js/library/fn/number/parse-float.js +2 -0
- data/node_modules/core-js/library/fn/number/parse-int.js +2 -0
- data/node_modules/core-js/library/fn/number/to-fixed.js +2 -0
- data/node_modules/core-js/library/fn/number/to-precision.js +2 -0
- data/node_modules/core-js/library/fn/number/virtual/index.js +4 -0
- data/node_modules/core-js/library/fn/number/virtual/iterator.js +2 -0
- data/node_modules/core-js/library/fn/number/virtual/to-fixed.js +2 -0
- data/node_modules/core-js/library/fn/number/virtual/to-precision.js +2 -0
- data/node_modules/core-js/library/fn/object/assign.js +2 -0
- data/node_modules/core-js/library/fn/object/classof.js +2 -0
- data/node_modules/core-js/library/fn/object/create.js +5 -0
- data/node_modules/core-js/library/fn/object/define-getter.js +2 -0
- data/node_modules/core-js/library/fn/object/define-properties.js +5 -0
- data/node_modules/core-js/library/fn/object/define-property.js +5 -0
- data/node_modules/core-js/library/fn/object/define-setter.js +2 -0
- data/node_modules/core-js/library/fn/object/define.js +2 -0
- data/node_modules/core-js/library/fn/object/entries.js +2 -0
- data/node_modules/core-js/library/fn/object/freeze.js +2 -0
- data/node_modules/core-js/library/fn/object/get-own-property-descriptor.js +5 -0
- data/node_modules/core-js/library/fn/object/get-own-property-descriptors.js +2 -0
- data/node_modules/core-js/library/fn/object/get-own-property-names.js +5 -0
- data/node_modules/core-js/library/fn/object/get-own-property-symbols.js +2 -0
- data/node_modules/core-js/library/fn/object/get-prototype-of.js +2 -0
- data/node_modules/core-js/library/fn/object/index.js +30 -0
- data/node_modules/core-js/library/fn/object/is-extensible.js +2 -0
- data/node_modules/core-js/library/fn/object/is-frozen.js +2 -0
- data/node_modules/core-js/library/fn/object/is-object.js +2 -0
- data/node_modules/core-js/library/fn/object/is-sealed.js +2 -0
- data/node_modules/core-js/library/fn/object/is.js +2 -0
- data/node_modules/core-js/library/fn/object/keys.js +2 -0
- data/node_modules/core-js/library/fn/object/lookup-getter.js +2 -0
- data/node_modules/core-js/library/fn/object/lookup-setter.js +2 -0
- data/node_modules/core-js/library/fn/object/make.js +2 -0
- data/node_modules/core-js/library/fn/object/prevent-extensions.js +2 -0
- data/node_modules/core-js/library/fn/object/seal.js +2 -0
- data/node_modules/core-js/library/fn/object/set-prototype-of.js +2 -0
- data/node_modules/core-js/library/fn/object/values.js +2 -0
- data/node_modules/core-js/library/fn/observable.js +7 -0
- data/node_modules/core-js/library/fn/parse-float.js +2 -0
- data/node_modules/core-js/library/fn/parse-int.js +2 -0
- data/node_modules/core-js/library/fn/promise/finally.js +4 -0
- data/node_modules/core-js/library/fn/promise/index.js +7 -0
- data/node_modules/core-js/library/fn/promise/try.js +8 -0
- data/node_modules/core-js/library/fn/promise.js +7 -0
- data/node_modules/core-js/library/fn/reflect/apply.js +2 -0
- data/node_modules/core-js/library/fn/reflect/construct.js +2 -0
- data/node_modules/core-js/library/fn/reflect/define-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/define-property.js +2 -0
- data/node_modules/core-js/library/fn/reflect/delete-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/delete-property.js +2 -0
- data/node_modules/core-js/library/fn/reflect/enumerate.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-metadata-keys.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-own-metadata-keys.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-own-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-own-property-descriptor.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get-prototype-of.js +2 -0
- data/node_modules/core-js/library/fn/reflect/get.js +2 -0
- data/node_modules/core-js/library/fn/reflect/has-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/has-own-metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/has.js +2 -0
- data/node_modules/core-js/library/fn/reflect/index.js +24 -0
- data/node_modules/core-js/library/fn/reflect/is-extensible.js +2 -0
- data/node_modules/core-js/library/fn/reflect/metadata.js +2 -0
- data/node_modules/core-js/library/fn/reflect/own-keys.js +2 -0
- data/node_modules/core-js/library/fn/reflect/prevent-extensions.js +2 -0
- data/node_modules/core-js/library/fn/reflect/set-prototype-of.js +2 -0
- data/node_modules/core-js/library/fn/reflect/set.js +2 -0
- data/node_modules/core-js/library/fn/regexp/constructor.js +2 -0
- data/node_modules/core-js/library/fn/regexp/escape.js +2 -0
- data/node_modules/core-js/library/fn/regexp/flags.js +5 -0
- data/node_modules/core-js/library/fn/regexp/index.js +10 -0
- data/node_modules/core-js/library/fn/regexp/match.js +5 -0
- data/node_modules/core-js/library/fn/regexp/replace.js +5 -0
- data/node_modules/core-js/library/fn/regexp/search.js +5 -0
- data/node_modules/core-js/library/fn/regexp/split.js +5 -0
- data/node_modules/core-js/library/fn/regexp/to-string.js +5 -0
- data/node_modules/core-js/library/fn/set/from.js +8 -0
- data/node_modules/core-js/library/fn/set/index.js +8 -0
- data/node_modules/core-js/library/fn/set/of.js +8 -0
- data/node_modules/core-js/library/fn/set-immediate.js +2 -0
- data/node_modules/core-js/library/fn/set-interval.js +2 -0
- data/node_modules/core-js/library/fn/set-timeout.js +2 -0
- data/node_modules/core-js/library/fn/set.js +8 -0
- data/node_modules/core-js/library/fn/string/anchor.js +2 -0
- data/node_modules/core-js/library/fn/string/at.js +2 -0
- data/node_modules/core-js/library/fn/string/big.js +2 -0
- data/node_modules/core-js/library/fn/string/blink.js +2 -0
- data/node_modules/core-js/library/fn/string/bold.js +2 -0
- data/node_modules/core-js/library/fn/string/code-point-at.js +2 -0
- data/node_modules/core-js/library/fn/string/ends-with.js +2 -0
- data/node_modules/core-js/library/fn/string/escape-html.js +2 -0
- data/node_modules/core-js/library/fn/string/fixed.js +2 -0
- data/node_modules/core-js/library/fn/string/fontcolor.js +2 -0
- data/node_modules/core-js/library/fn/string/fontsize.js +2 -0
- data/node_modules/core-js/library/fn/string/from-code-point.js +2 -0
- data/node_modules/core-js/library/fn/string/includes.js +2 -0
- data/node_modules/core-js/library/fn/string/index.js +35 -0
- data/node_modules/core-js/library/fn/string/italics.js +2 -0
- data/node_modules/core-js/library/fn/string/iterator.js +5 -0
- data/node_modules/core-js/library/fn/string/link.js +2 -0
- data/node_modules/core-js/library/fn/string/match-all.js +2 -0
- data/node_modules/core-js/library/fn/string/pad-end.js +2 -0
- data/node_modules/core-js/library/fn/string/pad-start.js +2 -0
- data/node_modules/core-js/library/fn/string/raw.js +2 -0
- data/node_modules/core-js/library/fn/string/repeat.js +2 -0
- data/node_modules/core-js/library/fn/string/small.js +2 -0
- data/node_modules/core-js/library/fn/string/starts-with.js +2 -0
- data/node_modules/core-js/library/fn/string/strike.js +2 -0
- data/node_modules/core-js/library/fn/string/sub.js +2 -0
- data/node_modules/core-js/library/fn/string/sup.js +2 -0
- data/node_modules/core-js/library/fn/string/trim-end.js +2 -0
- data/node_modules/core-js/library/fn/string/trim-left.js +2 -0
- data/node_modules/core-js/library/fn/string/trim-right.js +2 -0
- data/node_modules/core-js/library/fn/string/trim-start.js +2 -0
- data/node_modules/core-js/library/fn/string/trim.js +2 -0
- data/node_modules/core-js/library/fn/string/unescape-html.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/anchor.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/at.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/big.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/blink.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/bold.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/code-point-at.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/ends-with.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/escape-html.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/fixed.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/fontcolor.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/fontsize.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/includes.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/index.js +33 -0
- data/node_modules/core-js/library/fn/string/virtual/italics.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/iterator.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/link.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/match-all.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/pad-end.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/pad-start.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/repeat.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/small.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/starts-with.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/strike.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/sub.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/sup.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/trim-end.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/trim-left.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/trim-right.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/trim-start.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/trim.js +2 -0
- data/node_modules/core-js/library/fn/string/virtual/unescape-html.js +2 -0
- data/node_modules/core-js/library/fn/symbol/async-iterator.js +2 -0
- data/node_modules/core-js/library/fn/symbol/for.js +2 -0
- data/node_modules/core-js/library/fn/symbol/has-instance.js +2 -0
- data/node_modules/core-js/library/fn/symbol/index.js +5 -0
- data/node_modules/core-js/library/fn/symbol/is-concat-spreadable.js +1 -0
- data/node_modules/core-js/library/fn/symbol/iterator.js +3 -0
- data/node_modules/core-js/library/fn/symbol/key-for.js +2 -0
- data/node_modules/core-js/library/fn/symbol/match.js +2 -0
- data/node_modules/core-js/library/fn/symbol/observable.js +2 -0
- data/node_modules/core-js/library/fn/symbol/replace.js +2 -0
- data/node_modules/core-js/library/fn/symbol/search.js +2 -0
- data/node_modules/core-js/library/fn/symbol/species.js +1 -0
- data/node_modules/core-js/library/fn/symbol/split.js +2 -0
- data/node_modules/core-js/library/fn/symbol/to-primitive.js +1 -0
- data/node_modules/core-js/library/fn/symbol/to-string-tag.js +2 -0
- data/node_modules/core-js/library/fn/symbol/unscopables.js +1 -0
- data/node_modules/core-js/library/fn/system/global.js +2 -0
- data/node_modules/core-js/library/fn/system/index.js +2 -0
- data/node_modules/core-js/library/fn/typed/array-buffer.js +3 -0
- data/node_modules/core-js/library/fn/typed/data-view.js +3 -0
- data/node_modules/core-js/library/fn/typed/float32-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/float64-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/index.js +13 -0
- data/node_modules/core-js/library/fn/typed/int16-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/int32-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/int8-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/uint16-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/uint32-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/uint8-array.js +2 -0
- data/node_modules/core-js/library/fn/typed/uint8-clamped-array.js +2 -0
- data/node_modules/core-js/library/fn/weak-map/from.js +8 -0
- data/node_modules/core-js/library/fn/weak-map/index.js +6 -0
- data/node_modules/core-js/library/fn/weak-map/of.js +8 -0
- data/node_modules/core-js/library/fn/weak-map.js +6 -0
- data/node_modules/core-js/library/fn/weak-set/from.js +8 -0
- data/node_modules/core-js/library/fn/weak-set/index.js +6 -0
- data/node_modules/core-js/library/fn/weak-set/of.js +8 -0
- data/node_modules/core-js/library/fn/weak-set.js +6 -0
- data/node_modules/core-js/library/index.js +16 -0
- data/node_modules/core-js/library/modules/_a-function.js +4 -0
- data/node_modules/core-js/library/modules/_a-number-value.js +5 -0
- data/node_modules/core-js/library/modules/_add-to-unscopables.js +1 -0
- data/node_modules/core-js/library/modules/_advance-string-index.js +8 -0
- data/node_modules/core-js/library/modules/_an-instance.js +5 -0
- data/node_modules/core-js/library/modules/_an-object.js +5 -0
- data/node_modules/core-js/library/modules/_array-copy-within.js +26 -0
- data/node_modules/core-js/library/modules/_array-fill.js +15 -0
- data/node_modules/core-js/library/modules/_array-from-iterable.js +7 -0
- data/node_modules/core-js/library/modules/_array-includes.js +23 -0
- data/node_modules/core-js/library/modules/_array-methods.js +44 -0
- data/node_modules/core-js/library/modules/_array-reduce.js +28 -0
- data/node_modules/core-js/library/modules/_array-species-constructor.js +16 -0
- data/node_modules/core-js/library/modules/_array-species-create.js +6 -0
- data/node_modules/core-js/library/modules/_bind.js +25 -0
- data/node_modules/core-js/library/modules/_classof.js +23 -0
- data/node_modules/core-js/library/modules/_cof.js +5 -0
- data/node_modules/core-js/library/modules/_collection-strong.js +144 -0
- data/node_modules/core-js/library/modules/_collection-to-json.js +9 -0
- data/node_modules/core-js/library/modules/_collection-weak.js +85 -0
- data/node_modules/core-js/library/modules/_collection.js +59 -0
- data/node_modules/core-js/library/modules/_core.js +2 -0
- data/node_modules/core-js/library/modules/_create-property.js +8 -0
- data/node_modules/core-js/library/modules/_ctx.js +20 -0
- data/node_modules/core-js/library/modules/_date-to-iso-string.js +26 -0
- data/node_modules/core-js/library/modules/_date-to-primitive.js +9 -0
- data/node_modules/core-js/library/modules/_defined.js +5 -0
- data/node_modules/core-js/library/modules/_descriptors.js +4 -0
- data/node_modules/core-js/library/modules/_dom-create.js +7 -0
- data/node_modules/core-js/library/modules/_entry-virtual.js +5 -0
- data/node_modules/core-js/library/modules/_enum-bug-keys.js +4 -0
- data/node_modules/core-js/library/modules/_enum-keys.js +15 -0
- data/node_modules/core-js/library/modules/_export.js +62 -0
- data/node_modules/core-js/library/modules/_fails-is-regexp.js +12 -0
- data/node_modules/core-js/library/modules/_fails.js +7 -0
- data/node_modules/core-js/library/modules/_fix-re-wks.js +96 -0
- data/node_modules/core-js/library/modules/_flags.js +13 -0
- data/node_modules/core-js/library/modules/_flatten-into-array.js +39 -0
- data/node_modules/core-js/library/modules/_for-of.js +25 -0
- data/node_modules/core-js/library/modules/_function-to-string.js +1 -0
- data/node_modules/core-js/library/modules/_global.js +6 -0
- data/node_modules/core-js/library/modules/_has.js +4 -0
- data/node_modules/core-js/library/modules/_hide.js +8 -0
- data/node_modules/core-js/library/modules/_html.js +2 -0
- data/node_modules/core-js/library/modules/_ie8-dom-define.js +3 -0
- data/node_modules/core-js/library/modules/_inherit-if-required.js +9 -0
- data/node_modules/core-js/library/modules/_invoke.js +16 -0
- data/node_modules/core-js/library/modules/_iobject.js +6 -0
- data/node_modules/core-js/library/modules/_is-array-iter.js +8 -0
- data/node_modules/core-js/library/modules/_is-array.js +5 -0
- data/node_modules/core-js/library/modules/_is-integer.js +6 -0
- data/node_modules/core-js/library/modules/_is-object.js +3 -0
- data/node_modules/core-js/library/modules/_is-regexp.js +8 -0
- data/node_modules/core-js/library/modules/_iter-call.js +12 -0
- data/node_modules/core-js/library/modules/_iter-create.js +13 -0
- data/node_modules/core-js/library/modules/_iter-define.js +69 -0
- data/node_modules/core-js/library/modules/_iter-detect.js +22 -0
- data/node_modules/core-js/library/modules/_iter-step.js +3 -0
- data/node_modules/core-js/library/modules/_iterators.js +1 -0
- data/node_modules/core-js/library/modules/_keyof.js +10 -0
- data/node_modules/core-js/library/modules/_library.js +1 -0
- data/node_modules/core-js/library/modules/_math-expm1.js +10 -0
- data/node_modules/core-js/library/modules/_math-fround.js +23 -0
- data/node_modules/core-js/library/modules/_math-log1p.js +4 -0
- data/node_modules/core-js/library/modules/_math-scale.js +18 -0
- data/node_modules/core-js/library/modules/_math-sign.js +5 -0
- data/node_modules/core-js/library/modules/_meta.js +53 -0
- data/node_modules/core-js/library/modules/_metadata.js +51 -0
- data/node_modules/core-js/library/modules/_microtask.js +69 -0
- data/node_modules/core-js/library/modules/_native-weak-map.js +4 -0
- data/node_modules/core-js/library/modules/_new-promise-capability.js +18 -0
- data/node_modules/core-js/library/modules/_object-assign.js +38 -0
- data/node_modules/core-js/library/modules/_object-create.js +41 -0
- data/node_modules/core-js/library/modules/_object-define.js +13 -0
- data/node_modules/core-js/library/modules/_object-dp.js +16 -0
- data/node_modules/core-js/library/modules/_object-dps.js +13 -0
- data/node_modules/core-js/library/modules/_object-forced-pam.js +9 -0
- data/node_modules/core-js/library/modules/_object-gopd.js +16 -0
- data/node_modules/core-js/library/modules/_object-gopn-ext.js +19 -0
- data/node_modules/core-js/library/modules/_object-gopn.js +7 -0
- data/node_modules/core-js/library/modules/_object-gops.js +1 -0
- data/node_modules/core-js/library/modules/_object-gpo.js +13 -0
- data/node_modules/core-js/library/modules/_object-keys-internal.js +17 -0
- data/node_modules/core-js/library/modules/_object-keys.js +7 -0
- data/node_modules/core-js/library/modules/_object-pie.js +1 -0
- data/node_modules/core-js/library/modules/_object-sap.js +10 -0
- data/node_modules/core-js/library/modules/_object-to-array.js +21 -0
- data/node_modules/core-js/library/modules/_own-keys.js +10 -0
- data/node_modules/core-js/library/modules/_parse-float.js +8 -0
- data/node_modules/core-js/library/modules/_parse-int.js +9 -0
- data/node_modules/core-js/library/modules/_partial.js +25 -0
- data/node_modules/core-js/library/modules/_path.js +1 -0
- data/node_modules/core-js/library/modules/_perform.js +7 -0
- data/node_modules/core-js/library/modules/_promise-resolve.js +12 -0
- data/node_modules/core-js/library/modules/_property-desc.js +8 -0
- data/node_modules/core-js/library/modules/_redefine-all.js +7 -0
- data/node_modules/core-js/library/modules/_redefine.js +1 -0
- data/node_modules/core-js/library/modules/_regexp-exec-abstract.js +1 -0
- data/node_modules/core-js/library/modules/_regexp-exec.js +1 -0
- data/node_modules/core-js/library/modules/_replacer.js +8 -0
- data/node_modules/core-js/library/modules/_same-value.js +5 -0
- data/node_modules/core-js/library/modules/_set-collection-from.js +28 -0
- data/node_modules/core-js/library/modules/_set-collection-of.js +12 -0
- data/node_modules/core-js/library/modules/_set-proto.js +25 -0
- data/node_modules/core-js/library/modules/_set-species.js +14 -0
- data/node_modules/core-js/library/modules/_set-to-string-tag.js +7 -0
- data/node_modules/core-js/library/modules/_shared-key.js +5 -0
- data/node_modules/core-js/library/modules/_shared.js +12 -0
- data/node_modules/core-js/library/modules/_species-constructor.js +9 -0
- data/node_modules/core-js/library/modules/_strict-method.js +9 -0
- data/node_modules/core-js/library/modules/_string-at.js +17 -0
- data/node_modules/core-js/library/modules/_string-context.js +8 -0
- data/node_modules/core-js/library/modules/_string-html.js +19 -0
- data/node_modules/core-js/library/modules/_string-pad.js +16 -0
- data/node_modules/core-js/library/modules/_string-repeat.js +12 -0
- data/node_modules/core-js/library/modules/_string-trim.js +30 -0
- data/node_modules/core-js/library/modules/_string-ws.js +2 -0
- data/node_modules/core-js/library/modules/_task.js +84 -0
- data/node_modules/core-js/library/modules/_to-absolute-index.js +7 -0
- data/node_modules/core-js/library/modules/_to-index.js +10 -0
- data/node_modules/core-js/library/modules/_to-integer.js +6 -0
- data/node_modules/core-js/library/modules/_to-iobject.js +6 -0
- data/node_modules/core-js/library/modules/_to-length.js +6 -0
- data/node_modules/core-js/library/modules/_to-object.js +5 -0
- data/node_modules/core-js/library/modules/_to-primitive.js +12 -0
- data/node_modules/core-js/library/modules/_typed-array.js +480 -0
- data/node_modules/core-js/library/modules/_typed-buffer.js +276 -0
- data/node_modules/core-js/library/modules/_typed.js +28 -0
- data/node_modules/core-js/library/modules/_uid.js +5 -0
- data/node_modules/core-js/library/modules/_user-agent.js +4 -0
- data/node_modules/core-js/library/modules/_validate-collection.js +5 -0
- data/node_modules/core-js/library/modules/_wks-define.js +9 -0
- data/node_modules/core-js/library/modules/_wks-ext.js +1 -0
- data/node_modules/core-js/library/modules/_wks.js +11 -0
- data/node_modules/core-js/library/modules/core.delay.js +12 -0
- data/node_modules/core-js/library/modules/core.dict.js +157 -0
- data/node_modules/core-js/library/modules/core.function.part.js +7 -0
- data/node_modules/core-js/library/modules/core.get-iterator-method.js +8 -0
- data/node_modules/core-js/library/modules/core.get-iterator.js +7 -0
- data/node_modules/core-js/library/modules/core.is-iterable.js +10 -0
- data/node_modules/core-js/library/modules/core.number.iterator.js +9 -0
- data/node_modules/core-js/library/modules/core.object.classof.js +3 -0
- data/node_modules/core-js/library/modules/core.object.define.js +4 -0
- data/node_modules/core-js/library/modules/core.object.is-object.js +3 -0
- data/node_modules/core-js/library/modules/core.object.make.js +9 -0
- data/node_modules/core-js/library/modules/core.regexp.escape.js +5 -0
- data/node_modules/core-js/library/modules/core.string.escape-html.js +11 -0
- data/node_modules/core-js/library/modules/core.string.unescape-html.js +11 -0
- data/node_modules/core-js/library/modules/es5.js +35 -0
- data/node_modules/core-js/library/modules/es6.array.copy-within.js +6 -0
- data/node_modules/core-js/library/modules/es6.array.every.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.fill.js +6 -0
- data/node_modules/core-js/library/modules/es6.array.filter.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.find-index.js +14 -0
- data/node_modules/core-js/library/modules/es6.array.find.js +14 -0
- data/node_modules/core-js/library/modules/es6.array.for-each.js +11 -0
- data/node_modules/core-js/library/modules/es6.array.from.js +37 -0
- data/node_modules/core-js/library/modules/es6.array.index-of.js +15 -0
- data/node_modules/core-js/library/modules/es6.array.is-array.js +4 -0
- data/node_modules/core-js/library/modules/es6.array.iterator.js +34 -0
- data/node_modules/core-js/library/modules/es6.array.join.js +12 -0
- data/node_modules/core-js/library/modules/es6.array.last-index-of.js +22 -0
- data/node_modules/core-js/library/modules/es6.array.map.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.of.js +19 -0
- data/node_modules/core-js/library/modules/es6.array.reduce-right.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.reduce.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.slice.js +28 -0
- data/node_modules/core-js/library/modules/es6.array.some.js +10 -0
- data/node_modules/core-js/library/modules/es6.array.sort.js +23 -0
- data/node_modules/core-js/library/modules/es6.array.species.js +1 -0
- data/node_modules/core-js/library/modules/es6.date.now.js +4 -0
- data/node_modules/core-js/library/modules/es6.date.to-iso-string.js +8 -0
- data/node_modules/core-js/library/modules/es6.date.to-json.js +19 -0
- data/node_modules/core-js/library/modules/es6.date.to-primitive.js +0 -0
- data/node_modules/core-js/library/modules/es6.date.to-string.js +0 -0
- data/node_modules/core-js/library/modules/es6.function.bind.js +4 -0
- data/node_modules/core-js/library/modules/es6.function.has-instance.js +13 -0
- data/node_modules/core-js/library/modules/es6.function.name.js +0 -0
- data/node_modules/core-js/library/modules/es6.map.js +19 -0
- data/node_modules/core-js/library/modules/es6.math.acosh.js +18 -0
- data/node_modules/core-js/library/modules/es6.math.asinh.js +10 -0
- data/node_modules/core-js/library/modules/es6.math.atanh.js +10 -0
- data/node_modules/core-js/library/modules/es6.math.cbrt.js +9 -0
- data/node_modules/core-js/library/modules/es6.math.clz32.js +8 -0
- data/node_modules/core-js/library/modules/es6.math.cosh.js +9 -0
- data/node_modules/core-js/library/modules/es6.math.expm1.js +5 -0
- data/node_modules/core-js/library/modules/es6.math.fround.js +4 -0
- data/node_modules/core-js/library/modules/es6.math.hypot.js +25 -0
- data/node_modules/core-js/library/modules/es6.math.imul.js +17 -0
- data/node_modules/core-js/library/modules/es6.math.log10.js +8 -0
- data/node_modules/core-js/library/modules/es6.math.log1p.js +4 -0
- data/node_modules/core-js/library/modules/es6.math.log2.js +8 -0
- data/node_modules/core-js/library/modules/es6.math.sign.js +4 -0
- data/node_modules/core-js/library/modules/es6.math.sinh.js +15 -0
- data/node_modules/core-js/library/modules/es6.math.tanh.js +12 -0
- data/node_modules/core-js/library/modules/es6.math.trunc.js +8 -0
- data/node_modules/core-js/library/modules/es6.number.constructor.js +0 -0
- data/node_modules/core-js/library/modules/es6.number.epsilon.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.is-finite.js +9 -0
- data/node_modules/core-js/library/modules/es6.number.is-integer.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.is-nan.js +9 -0
- data/node_modules/core-js/library/modules/es6.number.is-safe-integer.js +10 -0
- data/node_modules/core-js/library/modules/es6.number.max-safe-integer.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.min-safe-integer.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.parse-float.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.parse-int.js +4 -0
- data/node_modules/core-js/library/modules/es6.number.to-fixed.js +114 -0
- data/node_modules/core-js/library/modules/es6.number.to-precision.js +18 -0
- data/node_modules/core-js/library/modules/es6.object.assign.js +4 -0
- data/node_modules/core-js/library/modules/es6.object.create.js +3 -0
- data/node_modules/core-js/library/modules/es6.object.define-properties.js +3 -0
- data/node_modules/core-js/library/modules/es6.object.define-property.js +3 -0
- data/node_modules/core-js/library/modules/es6.object.freeze.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.get-own-property-names.js +4 -0
- data/node_modules/core-js/library/modules/es6.object.get-prototype-of.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.is-extensible.js +8 -0
- data/node_modules/core-js/library/modules/es6.object.is-frozen.js +8 -0
- data/node_modules/core-js/library/modules/es6.object.is-sealed.js +8 -0
- data/node_modules/core-js/library/modules/es6.object.is.js +3 -0
- data/node_modules/core-js/library/modules/es6.object.keys.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.prevent-extensions.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.seal.js +9 -0
- data/node_modules/core-js/library/modules/es6.object.set-prototype-of.js +3 -0
- data/node_modules/core-js/library/modules/es6.object.to-string.js +0 -0
- data/node_modules/core-js/library/modules/es6.parse-float.js +4 -0
- data/node_modules/core-js/library/modules/es6.parse-int.js +4 -0
- data/node_modules/core-js/library/modules/es6.promise.js +286 -0
- data/node_modules/core-js/library/modules/es6.reflect.apply.js +16 -0
- data/node_modules/core-js/library/modules/es6.reflect.construct.js +47 -0
- data/node_modules/core-js/library/modules/es6.reflect.define-property.js +23 -0
- data/node_modules/core-js/library/modules/es6.reflect.delete-property.js +11 -0
- data/node_modules/core-js/library/modules/es6.reflect.enumerate.js +26 -0
- data/node_modules/core-js/library/modules/es6.reflect.get-own-property-descriptor.js +10 -0
- data/node_modules/core-js/library/modules/es6.reflect.get-prototype-of.js +10 -0
- data/node_modules/core-js/library/modules/es6.reflect.get.js +21 -0
- data/node_modules/core-js/library/modules/es6.reflect.has.js +8 -0
- data/node_modules/core-js/library/modules/es6.reflect.is-extensible.js +11 -0
- data/node_modules/core-js/library/modules/es6.reflect.own-keys.js +4 -0
- data/node_modules/core-js/library/modules/es6.reflect.prevent-extensions.js +16 -0
- data/node_modules/core-js/library/modules/es6.reflect.set-prototype-of.js +15 -0
- data/node_modules/core-js/library/modules/es6.reflect.set.js +33 -0
- data/node_modules/core-js/library/modules/es6.regexp.constructor.js +1 -0
- data/node_modules/core-js/library/modules/es6.regexp.exec.js +1 -0
- data/node_modules/core-js/library/modules/es6.regexp.flags.js +0 -0
- data/node_modules/core-js/library/modules/es6.regexp.match.js +0 -0
- data/node_modules/core-js/library/modules/es6.regexp.replace.js +0 -0
- data/node_modules/core-js/library/modules/es6.regexp.search.js +0 -0
- data/node_modules/core-js/library/modules/es6.regexp.split.js +0 -0
- data/node_modules/core-js/library/modules/es6.regexp.to-string.js +0 -0
- data/node_modules/core-js/library/modules/es6.set.js +14 -0
- data/node_modules/core-js/library/modules/es6.string.anchor.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.big.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.blink.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.bold.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.code-point-at.js +9 -0
- data/node_modules/core-js/library/modules/es6.string.ends-with.js +20 -0
- data/node_modules/core-js/library/modules/es6.string.fixed.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.fontcolor.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.fontsize.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.from-code-point.js +23 -0
- data/node_modules/core-js/library/modules/es6.string.includes.js +12 -0
- data/node_modules/core-js/library/modules/es6.string.italics.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.iterator.js +17 -0
- data/node_modules/core-js/library/modules/es6.string.link.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.raw.js +18 -0
- data/node_modules/core-js/library/modules/es6.string.repeat.js +6 -0
- data/node_modules/core-js/library/modules/es6.string.small.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.starts-with.js +18 -0
- data/node_modules/core-js/library/modules/es6.string.strike.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.sub.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.sup.js +7 -0
- data/node_modules/core-js/library/modules/es6.string.trim.js +7 -0
- data/node_modules/core-js/library/modules/es6.symbol.js +246 -0
- data/node_modules/core-js/library/modules/es6.typed.array-buffer.js +46 -0
- data/node_modules/core-js/library/modules/es6.typed.data-view.js +4 -0
- data/node_modules/core-js/library/modules/es6.typed.float32-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.float64-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.int16-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.int32-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.int8-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.uint16-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.uint32-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.uint8-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.typed.uint8-clamped-array.js +5 -0
- data/node_modules/core-js/library/modules/es6.weak-map.js +60 -0
- data/node_modules/core-js/library/modules/es6.weak-set.js +14 -0
- data/node_modules/core-js/library/modules/es7.array.flat-map.js +22 -0
- data/node_modules/core-js/library/modules/es7.array.flatten.js +21 -0
- data/node_modules/core-js/library/modules/es7.array.includes.js +12 -0
- data/node_modules/core-js/library/modules/es7.asap.js +12 -0
- data/node_modules/core-js/library/modules/es7.error.is-error.js +9 -0
- data/node_modules/core-js/library/modules/es7.global.js +4 -0
- data/node_modules/core-js/library/modules/es7.map.from.js +2 -0
- data/node_modules/core-js/library/modules/es7.map.of.js +2 -0
- data/node_modules/core-js/library/modules/es7.map.to-json.js +4 -0
- data/node_modules/core-js/library/modules/es7.math.clamp.js +8 -0
- data/node_modules/core-js/library/modules/es7.math.deg-per-rad.js +4 -0
- data/node_modules/core-js/library/modules/es7.math.degrees.js +9 -0
- data/node_modules/core-js/library/modules/es7.math.fscale.js +10 -0
- data/node_modules/core-js/library/modules/es7.math.iaddh.js +11 -0
- data/node_modules/core-js/library/modules/es7.math.imulh.js +16 -0
- data/node_modules/core-js/library/modules/es7.math.isubh.js +11 -0
- data/node_modules/core-js/library/modules/es7.math.rad-per-deg.js +4 -0
- data/node_modules/core-js/library/modules/es7.math.radians.js +9 -0
- data/node_modules/core-js/library/modules/es7.math.scale.js +4 -0
- data/node_modules/core-js/library/modules/es7.math.signbit.js +7 -0
- data/node_modules/core-js/library/modules/es7.math.umulh.js +16 -0
- data/node_modules/core-js/library/modules/es7.object.define-getter.js +12 -0
- data/node_modules/core-js/library/modules/es7.object.define-setter.js +12 -0
- data/node_modules/core-js/library/modules/es7.object.entries.js +9 -0
- data/node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js +22 -0
- data/node_modules/core-js/library/modules/es7.object.lookup-getter.js +18 -0
- data/node_modules/core-js/library/modules/es7.object.lookup-setter.js +18 -0
- data/node_modules/core-js/library/modules/es7.object.values.js +9 -0
- data/node_modules/core-js/library/modules/es7.observable.js +199 -0
- data/node_modules/core-js/library/modules/es7.promise.finally.js +20 -0
- data/node_modules/core-js/library/modules/es7.promise.try.js +12 -0
- data/node_modules/core-js/library/modules/es7.reflect.define-metadata.js +8 -0
- data/node_modules/core-js/library/modules/es7.reflect.delete-metadata.js +15 -0
- data/node_modules/core-js/library/modules/es7.reflect.get-metadata-keys.js +19 -0
- data/node_modules/core-js/library/modules/es7.reflect.get-metadata.js +17 -0
- data/node_modules/core-js/library/modules/es7.reflect.get-own-metadata-keys.js +8 -0
- data/node_modules/core-js/library/modules/es7.reflect.get-own-metadata.js +9 -0
- data/node_modules/core-js/library/modules/es7.reflect.has-metadata.js +16 -0
- data/node_modules/core-js/library/modules/es7.reflect.has-own-metadata.js +9 -0
- data/node_modules/core-js/library/modules/es7.reflect.metadata.js +15 -0
- data/node_modules/core-js/library/modules/es7.set.from.js +2 -0
- data/node_modules/core-js/library/modules/es7.set.of.js +2 -0
- data/node_modules/core-js/library/modules/es7.set.to-json.js +4 -0
- data/node_modules/core-js/library/modules/es7.string.at.js +15 -0
- data/node_modules/core-js/library/modules/es7.string.match-all.js +30 -0
- data/node_modules/core-js/library/modules/es7.string.pad-end.js +14 -0
- data/node_modules/core-js/library/modules/es7.string.pad-start.js +14 -0
- data/node_modules/core-js/library/modules/es7.string.trim-left.js +7 -0
- data/node_modules/core-js/library/modules/es7.string.trim-right.js +7 -0
- data/node_modules/core-js/library/modules/es7.symbol.async-iterator.js +1 -0
- data/node_modules/core-js/library/modules/es7.symbol.observable.js +1 -0
- data/node_modules/core-js/library/modules/es7.system.global.js +4 -0
- data/node_modules/core-js/library/modules/es7.weak-map.from.js +2 -0
- data/node_modules/core-js/library/modules/es7.weak-map.of.js +2 -0
- data/node_modules/core-js/library/modules/es7.weak-set.from.js +2 -0
- data/node_modules/core-js/library/modules/es7.weak-set.of.js +2 -0
- data/node_modules/core-js/library/modules/web.dom.iterable.js +19 -0
- data/node_modules/core-js/library/modules/web.immediate.js +6 -0
- data/node_modules/core-js/library/modules/web.timers.js +20 -0
- data/node_modules/core-js/library/shim.js +198 -0
- data/node_modules/core-js/library/stage/0.js +10 -0
- data/node_modules/core-js/library/stage/1.js +23 -0
- data/node_modules/core-js/library/stage/2.js +4 -0
- data/node_modules/core-js/library/stage/3.js +4 -0
- data/node_modules/core-js/library/stage/4.js +11 -0
- data/node_modules/core-js/library/stage/index.js +1 -0
- data/node_modules/core-js/library/stage/pre.js +10 -0
- data/node_modules/core-js/library/web/dom-collections.js +2 -0
- data/node_modules/core-js/library/web/immediate.js +2 -0
- data/node_modules/core-js/library/web/index.js +4 -0
- data/node_modules/core-js/library/web/timers.js +2 -0
- data/node_modules/core-js/modules/_a-function.js +4 -0
- data/node_modules/core-js/modules/_a-number-value.js +5 -0
- data/node_modules/core-js/modules/_add-to-unscopables.js +7 -0
- data/node_modules/core-js/modules/_advance-string-index.js +8 -0
- data/node_modules/core-js/modules/_an-instance.js +5 -0
- data/node_modules/core-js/modules/_an-object.js +5 -0
- data/node_modules/core-js/modules/_array-copy-within.js +26 -0
- data/node_modules/core-js/modules/_array-fill.js +15 -0
- data/node_modules/core-js/modules/_array-from-iterable.js +7 -0
- data/node_modules/core-js/modules/_array-includes.js +23 -0
- data/node_modules/core-js/modules/_array-methods.js +44 -0
- data/node_modules/core-js/modules/_array-reduce.js +28 -0
- data/node_modules/core-js/modules/_array-species-constructor.js +16 -0
- data/node_modules/core-js/modules/_array-species-create.js +6 -0
- data/node_modules/core-js/modules/_bind.js +25 -0
- data/node_modules/core-js/modules/_classof.js +23 -0
- data/node_modules/core-js/modules/_cof.js +5 -0
- data/node_modules/core-js/modules/_collection-strong.js +144 -0
- data/node_modules/core-js/modules/_collection-to-json.js +9 -0
- data/node_modules/core-js/modules/_collection-weak.js +85 -0
- data/node_modules/core-js/modules/_collection.js +85 -0
- data/node_modules/core-js/modules/_core.js +2 -0
- data/node_modules/core-js/modules/_create-property.js +8 -0
- data/node_modules/core-js/modules/_ctx.js +20 -0
- data/node_modules/core-js/modules/_date-to-iso-string.js +26 -0
- data/node_modules/core-js/modules/_date-to-primitive.js +9 -0
- data/node_modules/core-js/modules/_defined.js +5 -0
- data/node_modules/core-js/modules/_descriptors.js +4 -0
- data/node_modules/core-js/modules/_dom-create.js +7 -0
- data/node_modules/core-js/modules/_entry-virtual.js +5 -0
- data/node_modules/core-js/modules/_enum-bug-keys.js +4 -0
- data/node_modules/core-js/modules/_enum-keys.js +15 -0
- data/node_modules/core-js/modules/_export.js +43 -0
- data/node_modules/core-js/modules/_fails-is-regexp.js +12 -0
- data/node_modules/core-js/modules/_fails.js +7 -0
- data/node_modules/core-js/modules/_fix-re-wks.js +96 -0
- data/node_modules/core-js/modules/_flags.js +13 -0
- data/node_modules/core-js/modules/_flatten-into-array.js +39 -0
- data/node_modules/core-js/modules/_for-of.js +25 -0
- data/node_modules/core-js/modules/_function-to-string.js +1 -0
- data/node_modules/core-js/modules/_global.js +6 -0
- data/node_modules/core-js/modules/_has.js +4 -0
- data/node_modules/core-js/modules/_hide.js +8 -0
- data/node_modules/core-js/modules/_html.js +2 -0
- data/node_modules/core-js/modules/_ie8-dom-define.js +3 -0
- data/node_modules/core-js/modules/_inherit-if-required.js +9 -0
- data/node_modules/core-js/modules/_invoke.js +16 -0
- data/node_modules/core-js/modules/_iobject.js +6 -0
- data/node_modules/core-js/modules/_is-array-iter.js +8 -0
- data/node_modules/core-js/modules/_is-array.js +5 -0
- data/node_modules/core-js/modules/_is-integer.js +6 -0
- data/node_modules/core-js/modules/_is-object.js +3 -0
- data/node_modules/core-js/modules/_is-regexp.js +8 -0
- data/node_modules/core-js/modules/_iter-call.js +12 -0
- data/node_modules/core-js/modules/_iter-create.js +13 -0
- data/node_modules/core-js/modules/_iter-define.js +69 -0
- data/node_modules/core-js/modules/_iter-detect.js +22 -0
- data/node_modules/core-js/modules/_iter-step.js +3 -0
- data/node_modules/core-js/modules/_iterators.js +1 -0
- data/node_modules/core-js/modules/_keyof.js +10 -0
- data/node_modules/core-js/modules/_library.js +1 -0
- data/node_modules/core-js/modules/_math-expm1.js +10 -0
- data/node_modules/core-js/modules/_math-fround.js +23 -0
- data/node_modules/core-js/modules/_math-log1p.js +4 -0
- data/node_modules/core-js/modules/_math-scale.js +18 -0
- data/node_modules/core-js/modules/_math-sign.js +5 -0
- data/node_modules/core-js/modules/_meta.js +53 -0
- data/node_modules/core-js/modules/_metadata.js +51 -0
- data/node_modules/core-js/modules/_microtask.js +69 -0
- data/node_modules/core-js/modules/_native-weak-map.js +4 -0
- data/node_modules/core-js/modules/_new-promise-capability.js +18 -0
- data/node_modules/core-js/modules/_object-assign.js +38 -0
- data/node_modules/core-js/modules/_object-create.js +41 -0
- data/node_modules/core-js/modules/_object-define.js +13 -0
- data/node_modules/core-js/modules/_object-dp.js +16 -0
- data/node_modules/core-js/modules/_object-dps.js +13 -0
- data/node_modules/core-js/modules/_object-forced-pam.js +9 -0
- data/node_modules/core-js/modules/_object-gopd.js +16 -0
- data/node_modules/core-js/modules/_object-gopn-ext.js +19 -0
- data/node_modules/core-js/modules/_object-gopn.js +7 -0
- data/node_modules/core-js/modules/_object-gops.js +1 -0
- data/node_modules/core-js/modules/_object-gpo.js +13 -0
- data/node_modules/core-js/modules/_object-keys-internal.js +17 -0
- data/node_modules/core-js/modules/_object-keys.js +7 -0
- data/node_modules/core-js/modules/_object-pie.js +1 -0
- data/node_modules/core-js/modules/_object-sap.js +10 -0
- data/node_modules/core-js/modules/_object-to-array.js +21 -0
- data/node_modules/core-js/modules/_own-keys.js +10 -0
- data/node_modules/core-js/modules/_parse-float.js +8 -0
- data/node_modules/core-js/modules/_parse-int.js +9 -0
- data/node_modules/core-js/modules/_partial.js +25 -0
- data/node_modules/core-js/modules/_path.js +1 -0
- data/node_modules/core-js/modules/_perform.js +7 -0
- data/node_modules/core-js/modules/_promise-resolve.js +12 -0
- data/node_modules/core-js/modules/_property-desc.js +8 -0
- data/node_modules/core-js/modules/_redefine-all.js +5 -0
- data/node_modules/core-js/modules/_redefine.js +31 -0
- data/node_modules/core-js/modules/_regexp-exec-abstract.js +21 -0
- data/node_modules/core-js/modules/_regexp-exec.js +58 -0
- data/node_modules/core-js/modules/_replacer.js +8 -0
- data/node_modules/core-js/modules/_same-value.js +5 -0
- data/node_modules/core-js/modules/_set-collection-from.js +28 -0
- data/node_modules/core-js/modules/_set-collection-of.js +12 -0
- data/node_modules/core-js/modules/_set-proto.js +25 -0
- data/node_modules/core-js/modules/_set-species.js +13 -0
- data/node_modules/core-js/modules/_set-to-string-tag.js +7 -0
- data/node_modules/core-js/modules/_shared-key.js +5 -0
- data/node_modules/core-js/modules/_shared.js +12 -0
- data/node_modules/core-js/modules/_species-constructor.js +9 -0
- data/node_modules/core-js/modules/_strict-method.js +9 -0
- data/node_modules/core-js/modules/_string-at.js +17 -0
- data/node_modules/core-js/modules/_string-context.js +8 -0
- data/node_modules/core-js/modules/_string-html.js +19 -0
- data/node_modules/core-js/modules/_string-pad.js +16 -0
- data/node_modules/core-js/modules/_string-repeat.js +12 -0
- data/node_modules/core-js/modules/_string-trim.js +30 -0
- data/node_modules/core-js/modules/_string-ws.js +2 -0
- data/node_modules/core-js/modules/_task.js +84 -0
- data/node_modules/core-js/modules/_to-absolute-index.js +7 -0
- data/node_modules/core-js/modules/_to-index.js +10 -0
- data/node_modules/core-js/modules/_to-integer.js +6 -0
- data/node_modules/core-js/modules/_to-iobject.js +6 -0
- data/node_modules/core-js/modules/_to-length.js +6 -0
- data/node_modules/core-js/modules/_to-object.js +5 -0
- data/node_modules/core-js/modules/_to-primitive.js +12 -0
- data/node_modules/core-js/modules/_typed-array.js +480 -0
- data/node_modules/core-js/modules/_typed-buffer.js +276 -0
- data/node_modules/core-js/modules/_typed.js +28 -0
- data/node_modules/core-js/modules/_uid.js +5 -0
- data/node_modules/core-js/modules/_user-agent.js +4 -0
- data/node_modules/core-js/modules/_validate-collection.js +5 -0
- data/node_modules/core-js/modules/_wks-define.js +9 -0
- data/node_modules/core-js/modules/_wks-ext.js +1 -0
- data/node_modules/core-js/modules/_wks.js +11 -0
- data/node_modules/core-js/modules/core.delay.js +12 -0
- data/node_modules/core-js/modules/core.dict.js +157 -0
- data/node_modules/core-js/modules/core.function.part.js +7 -0
- data/node_modules/core-js/modules/core.get-iterator-method.js +8 -0
- data/node_modules/core-js/modules/core.get-iterator.js +7 -0
- data/node_modules/core-js/modules/core.is-iterable.js +10 -0
- data/node_modules/core-js/modules/core.number.iterator.js +9 -0
- data/node_modules/core-js/modules/core.object.classof.js +3 -0
- data/node_modules/core-js/modules/core.object.define.js +4 -0
- data/node_modules/core-js/modules/core.object.is-object.js +3 -0
- data/node_modules/core-js/modules/core.object.make.js +9 -0
- data/node_modules/core-js/modules/core.regexp.escape.js +5 -0
- data/node_modules/core-js/modules/core.string.escape-html.js +11 -0
- data/node_modules/core-js/modules/core.string.unescape-html.js +11 -0
- data/node_modules/core-js/modules/es5.js +35 -0
- data/node_modules/core-js/modules/es6.array.copy-within.js +6 -0
- data/node_modules/core-js/modules/es6.array.every.js +10 -0
- data/node_modules/core-js/modules/es6.array.fill.js +6 -0
- data/node_modules/core-js/modules/es6.array.filter.js +10 -0
- data/node_modules/core-js/modules/es6.array.find-index.js +14 -0
- data/node_modules/core-js/modules/es6.array.find.js +14 -0
- data/node_modules/core-js/modules/es6.array.for-each.js +11 -0
- data/node_modules/core-js/modules/es6.array.from.js +37 -0
- data/node_modules/core-js/modules/es6.array.index-of.js +15 -0
- data/node_modules/core-js/modules/es6.array.is-array.js +4 -0
- data/node_modules/core-js/modules/es6.array.iterator.js +34 -0
- data/node_modules/core-js/modules/es6.array.join.js +12 -0
- data/node_modules/core-js/modules/es6.array.last-index-of.js +22 -0
- data/node_modules/core-js/modules/es6.array.map.js +10 -0
- data/node_modules/core-js/modules/es6.array.of.js +19 -0
- data/node_modules/core-js/modules/es6.array.reduce-right.js +10 -0
- data/node_modules/core-js/modules/es6.array.reduce.js +10 -0
- data/node_modules/core-js/modules/es6.array.slice.js +28 -0
- data/node_modules/core-js/modules/es6.array.some.js +10 -0
- data/node_modules/core-js/modules/es6.array.sort.js +23 -0
- data/node_modules/core-js/modules/es6.array.species.js +1 -0
- data/node_modules/core-js/modules/es6.date.now.js +4 -0
- data/node_modules/core-js/modules/es6.date.to-iso-string.js +8 -0
- data/node_modules/core-js/modules/es6.date.to-json.js +16 -0
- data/node_modules/core-js/modules/es6.date.to-primitive.js +4 -0
- data/node_modules/core-js/modules/es6.date.to-string.js +12 -0
- data/node_modules/core-js/modules/es6.function.bind.js +4 -0
- data/node_modules/core-js/modules/es6.function.has-instance.js +13 -0
- data/node_modules/core-js/modules/es6.function.name.js +16 -0
- data/node_modules/core-js/modules/es6.map.js +19 -0
- data/node_modules/core-js/modules/es6.math.acosh.js +18 -0
- data/node_modules/core-js/modules/es6.math.asinh.js +10 -0
- data/node_modules/core-js/modules/es6.math.atanh.js +10 -0
- data/node_modules/core-js/modules/es6.math.cbrt.js +9 -0
- data/node_modules/core-js/modules/es6.math.clz32.js +8 -0
- data/node_modules/core-js/modules/es6.math.cosh.js +9 -0
- data/node_modules/core-js/modules/es6.math.expm1.js +5 -0
- data/node_modules/core-js/modules/es6.math.fround.js +4 -0
- data/node_modules/core-js/modules/es6.math.hypot.js +25 -0
- data/node_modules/core-js/modules/es6.math.imul.js +17 -0
- data/node_modules/core-js/modules/es6.math.log10.js +8 -0
- data/node_modules/core-js/modules/es6.math.log1p.js +4 -0
- data/node_modules/core-js/modules/es6.math.log2.js +8 -0
- data/node_modules/core-js/modules/es6.math.sign.js +4 -0
- data/node_modules/core-js/modules/es6.math.sinh.js +15 -0
- data/node_modules/core-js/modules/es6.math.tanh.js +12 -0
- data/node_modules/core-js/modules/es6.math.trunc.js +8 -0
- data/node_modules/core-js/modules/es6.number.constructor.js +69 -0
- data/node_modules/core-js/modules/es6.number.epsilon.js +4 -0
- data/node_modules/core-js/modules/es6.number.is-finite.js +9 -0
- data/node_modules/core-js/modules/es6.number.is-integer.js +4 -0
- data/node_modules/core-js/modules/es6.number.is-nan.js +9 -0
- data/node_modules/core-js/modules/es6.number.is-safe-integer.js +10 -0
- data/node_modules/core-js/modules/es6.number.max-safe-integer.js +4 -0
- data/node_modules/core-js/modules/es6.number.min-safe-integer.js +4 -0
- data/node_modules/core-js/modules/es6.number.parse-float.js +4 -0
- data/node_modules/core-js/modules/es6.number.parse-int.js +4 -0
- data/node_modules/core-js/modules/es6.number.to-fixed.js +114 -0
- data/node_modules/core-js/modules/es6.number.to-precision.js +18 -0
- data/node_modules/core-js/modules/es6.object.assign.js +4 -0
- data/node_modules/core-js/modules/es6.object.create.js +3 -0
- data/node_modules/core-js/modules/es6.object.define-properties.js +3 -0
- data/node_modules/core-js/modules/es6.object.define-property.js +3 -0
- data/node_modules/core-js/modules/es6.object.freeze.js +9 -0
- data/node_modules/core-js/modules/es6.object.get-own-property-descriptor.js +9 -0
- data/node_modules/core-js/modules/es6.object.get-own-property-names.js +4 -0
- data/node_modules/core-js/modules/es6.object.get-prototype-of.js +9 -0
- data/node_modules/core-js/modules/es6.object.is-extensible.js +8 -0
- data/node_modules/core-js/modules/es6.object.is-frozen.js +8 -0
- data/node_modules/core-js/modules/es6.object.is-sealed.js +8 -0
- data/node_modules/core-js/modules/es6.object.is.js +3 -0
- data/node_modules/core-js/modules/es6.object.keys.js +9 -0
- data/node_modules/core-js/modules/es6.object.prevent-extensions.js +9 -0
- data/node_modules/core-js/modules/es6.object.seal.js +9 -0
- data/node_modules/core-js/modules/es6.object.set-prototype-of.js +3 -0
- data/node_modules/core-js/modules/es6.object.to-string.js +10 -0
- data/node_modules/core-js/modules/es6.parse-float.js +4 -0
- data/node_modules/core-js/modules/es6.parse-int.js +4 -0
- data/node_modules/core-js/modules/es6.promise.js +286 -0
- data/node_modules/core-js/modules/es6.reflect.apply.js +16 -0
- data/node_modules/core-js/modules/es6.reflect.construct.js +47 -0
- data/node_modules/core-js/modules/es6.reflect.define-property.js +23 -0
- data/node_modules/core-js/modules/es6.reflect.delete-property.js +11 -0
- data/node_modules/core-js/modules/es6.reflect.enumerate.js +26 -0
- data/node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js +10 -0
- data/node_modules/core-js/modules/es6.reflect.get-prototype-of.js +10 -0
- data/node_modules/core-js/modules/es6.reflect.get.js +21 -0
- data/node_modules/core-js/modules/es6.reflect.has.js +8 -0
- data/node_modules/core-js/modules/es6.reflect.is-extensible.js +11 -0
- data/node_modules/core-js/modules/es6.reflect.own-keys.js +4 -0
- data/node_modules/core-js/modules/es6.reflect.prevent-extensions.js +16 -0
- data/node_modules/core-js/modules/es6.reflect.set-prototype-of.js +15 -0
- data/node_modules/core-js/modules/es6.reflect.set.js +33 -0
- data/node_modules/core-js/modules/es6.regexp.constructor.js +43 -0
- data/node_modules/core-js/modules/es6.regexp.exec.js +9 -0
- data/node_modules/core-js/modules/es6.regexp.flags.js +5 -0
- data/node_modules/core-js/modules/es6.regexp.match.js +40 -0
- data/node_modules/core-js/modules/es6.regexp.replace.js +118 -0
- data/node_modules/core-js/modules/es6.regexp.search.js +31 -0
- data/node_modules/core-js/modules/es6.regexp.split.js +134 -0
- data/node_modules/core-js/modules/es6.regexp.to-string.js +25 -0
- data/node_modules/core-js/modules/es6.set.js +14 -0
- data/node_modules/core-js/modules/es6.string.anchor.js +7 -0
- data/node_modules/core-js/modules/es6.string.big.js +7 -0
- data/node_modules/core-js/modules/es6.string.blink.js +7 -0
- data/node_modules/core-js/modules/es6.string.bold.js +7 -0
- data/node_modules/core-js/modules/es6.string.code-point-at.js +9 -0
- data/node_modules/core-js/modules/es6.string.ends-with.js +20 -0
- data/node_modules/core-js/modules/es6.string.fixed.js +7 -0
- data/node_modules/core-js/modules/es6.string.fontcolor.js +7 -0
- data/node_modules/core-js/modules/es6.string.fontsize.js +7 -0
- data/node_modules/core-js/modules/es6.string.from-code-point.js +23 -0
- data/node_modules/core-js/modules/es6.string.includes.js +12 -0
- data/node_modules/core-js/modules/es6.string.italics.js +7 -0
- data/node_modules/core-js/modules/es6.string.iterator.js +17 -0
- data/node_modules/core-js/modules/es6.string.link.js +7 -0
- data/node_modules/core-js/modules/es6.string.raw.js +18 -0
- data/node_modules/core-js/modules/es6.string.repeat.js +6 -0
- data/node_modules/core-js/modules/es6.string.small.js +7 -0
- data/node_modules/core-js/modules/es6.string.starts-with.js +18 -0
- data/node_modules/core-js/modules/es6.string.strike.js +7 -0
- data/node_modules/core-js/modules/es6.string.sub.js +7 -0
- data/node_modules/core-js/modules/es6.string.sup.js +7 -0
- data/node_modules/core-js/modules/es6.string.trim.js +7 -0
- data/node_modules/core-js/modules/es6.symbol.js +246 -0
- data/node_modules/core-js/modules/es6.typed.array-buffer.js +46 -0
- data/node_modules/core-js/modules/es6.typed.data-view.js +4 -0
- data/node_modules/core-js/modules/es6.typed.float32-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.float64-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.int16-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.int32-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.int8-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.uint16-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.uint32-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.uint8-array.js +5 -0
- data/node_modules/core-js/modules/es6.typed.uint8-clamped-array.js +5 -0
- data/node_modules/core-js/modules/es6.weak-map.js +60 -0
- data/node_modules/core-js/modules/es6.weak-set.js +14 -0
- data/node_modules/core-js/modules/es7.array.flat-map.js +22 -0
- data/node_modules/core-js/modules/es7.array.flatten.js +21 -0
- data/node_modules/core-js/modules/es7.array.includes.js +12 -0
- data/node_modules/core-js/modules/es7.asap.js +12 -0
- data/node_modules/core-js/modules/es7.error.is-error.js +9 -0
- data/node_modules/core-js/modules/es7.global.js +4 -0
- data/node_modules/core-js/modules/es7.map.from.js +2 -0
- data/node_modules/core-js/modules/es7.map.of.js +2 -0
- data/node_modules/core-js/modules/es7.map.to-json.js +4 -0
- data/node_modules/core-js/modules/es7.math.clamp.js +8 -0
- data/node_modules/core-js/modules/es7.math.deg-per-rad.js +4 -0
- data/node_modules/core-js/modules/es7.math.degrees.js +9 -0
- data/node_modules/core-js/modules/es7.math.fscale.js +10 -0
- data/node_modules/core-js/modules/es7.math.iaddh.js +11 -0
- data/node_modules/core-js/modules/es7.math.imulh.js +16 -0
- data/node_modules/core-js/modules/es7.math.isubh.js +11 -0
- data/node_modules/core-js/modules/es7.math.rad-per-deg.js +4 -0
- data/node_modules/core-js/modules/es7.math.radians.js +9 -0
- data/node_modules/core-js/modules/es7.math.scale.js +4 -0
- data/node_modules/core-js/modules/es7.math.signbit.js +7 -0
- data/node_modules/core-js/modules/es7.math.umulh.js +16 -0
- data/node_modules/core-js/modules/es7.object.define-getter.js +12 -0
- data/node_modules/core-js/modules/es7.object.define-setter.js +12 -0
- data/node_modules/core-js/modules/es7.object.entries.js +9 -0
- data/node_modules/core-js/modules/es7.object.get-own-property-descriptors.js +22 -0
- data/node_modules/core-js/modules/es7.object.lookup-getter.js +18 -0
- data/node_modules/core-js/modules/es7.object.lookup-setter.js +18 -0
- data/node_modules/core-js/modules/es7.object.values.js +9 -0
- data/node_modules/core-js/modules/es7.observable.js +199 -0
- data/node_modules/core-js/modules/es7.promise.finally.js +20 -0
- data/node_modules/core-js/modules/es7.promise.try.js +12 -0
- data/node_modules/core-js/modules/es7.reflect.define-metadata.js +8 -0
- data/node_modules/core-js/modules/es7.reflect.delete-metadata.js +15 -0
- data/node_modules/core-js/modules/es7.reflect.get-metadata-keys.js +19 -0
- data/node_modules/core-js/modules/es7.reflect.get-metadata.js +17 -0
- data/node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js +8 -0
- data/node_modules/core-js/modules/es7.reflect.get-own-metadata.js +9 -0
- data/node_modules/core-js/modules/es7.reflect.has-metadata.js +16 -0
- data/node_modules/core-js/modules/es7.reflect.has-own-metadata.js +9 -0
- data/node_modules/core-js/modules/es7.reflect.metadata.js +15 -0
- data/node_modules/core-js/modules/es7.set.from.js +2 -0
- data/node_modules/core-js/modules/es7.set.of.js +2 -0
- data/node_modules/core-js/modules/es7.set.to-json.js +4 -0
- data/node_modules/core-js/modules/es7.string.at.js +15 -0
- data/node_modules/core-js/modules/es7.string.match-all.js +30 -0
- data/node_modules/core-js/modules/es7.string.pad-end.js +14 -0
- data/node_modules/core-js/modules/es7.string.pad-start.js +14 -0
- data/node_modules/core-js/modules/es7.string.trim-left.js +7 -0
- data/node_modules/core-js/modules/es7.string.trim-right.js +7 -0
- data/node_modules/core-js/modules/es7.symbol.async-iterator.js +1 -0
- data/node_modules/core-js/modules/es7.symbol.observable.js +1 -0
- data/node_modules/core-js/modules/es7.system.global.js +4 -0
- data/node_modules/core-js/modules/es7.weak-map.from.js +2 -0
- data/node_modules/core-js/modules/es7.weak-map.of.js +2 -0
- data/node_modules/core-js/modules/es7.weak-set.from.js +2 -0
- data/node_modules/core-js/modules/es7.weak-set.of.js +2 -0
- data/node_modules/core-js/modules/library/_add-to-unscopables.js +1 -0
- data/node_modules/core-js/modules/library/_collection.js +59 -0
- data/node_modules/core-js/modules/library/_export.js +62 -0
- data/node_modules/core-js/modules/library/_library.js +1 -0
- data/node_modules/core-js/modules/library/_path.js +1 -0
- data/node_modules/core-js/modules/library/_redefine-all.js +7 -0
- data/node_modules/core-js/modules/library/_redefine.js +1 -0
- data/node_modules/core-js/modules/library/_regexp-exec-abstract.js +1 -0
- data/node_modules/core-js/modules/library/_regexp-exec.js +1 -0
- data/node_modules/core-js/modules/library/_set-species.js +14 -0
- data/node_modules/core-js/modules/library/es6.date.to-json.js +19 -0
- data/node_modules/core-js/modules/library/es6.date.to-primitive.js +0 -0
- data/node_modules/core-js/modules/library/es6.date.to-string.js +0 -0
- data/node_modules/core-js/modules/library/es6.function.name.js +0 -0
- data/node_modules/core-js/modules/library/es6.number.constructor.js +0 -0
- data/node_modules/core-js/modules/library/es6.object.to-string.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.constructor.js +1 -0
- data/node_modules/core-js/modules/library/es6.regexp.exec.js +1 -0
- data/node_modules/core-js/modules/library/es6.regexp.flags.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.match.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.replace.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.search.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.split.js +0 -0
- data/node_modules/core-js/modules/library/es6.regexp.to-string.js +0 -0
- data/node_modules/core-js/modules/library/web.dom.iterable.js +19 -0
- data/node_modules/core-js/modules/web.dom.iterable.js +58 -0
- data/node_modules/core-js/modules/web.immediate.js +6 -0
- data/node_modules/core-js/modules/web.timers.js +20 -0
- data/node_modules/core-js/package.json +73 -0
- data/node_modules/core-js/postinstall.js +58 -0
- data/node_modules/core-js/shim.js +198 -0
- data/node_modules/core-js/stage/0.js +10 -0
- data/node_modules/core-js/stage/1.js +23 -0
- data/node_modules/core-js/stage/2.js +4 -0
- data/node_modules/core-js/stage/3.js +4 -0
- data/node_modules/core-js/stage/4.js +11 -0
- data/node_modules/core-js/stage/index.js +1 -0
- data/node_modules/core-js/stage/pre.js +10 -0
- data/node_modules/core-js/web/dom-collections.js +2 -0
- data/node_modules/core-js/web/immediate.js +2 -0
- data/node_modules/core-js/web/index.js +4 -0
- data/node_modules/core-js/web/timers.js +2 -0
- data/node_modules/detect-indent/index.js +120 -0
- data/node_modules/detect-indent/license +21 -0
- data/node_modules/detect-indent/package.json +46 -0
- data/node_modules/detect-indent/readme.md +110 -0
- data/node_modules/eslint/README.md +8 -9
- data/node_modules/eslint/conf/ecma-version.js +1 -1
- data/node_modules/eslint/conf/globals.js +6 -1
- data/node_modules/eslint/lib/api.js +1 -1
- data/node_modules/eslint/lib/cli.js +23 -2
- data/node_modules/eslint/lib/config/default-config.js +5 -0
- data/node_modules/eslint/lib/config/flat-config-array.js +71 -8
- data/node_modules/eslint/lib/config/flat-config-schema.js +46 -62
- data/node_modules/eslint/lib/eslint/eslint-helpers.js +32 -17
- data/node_modules/eslint/lib/eslint/eslint.js +30 -12
- data/node_modules/eslint/lib/eslint/legacy-eslint.js +14 -0
- data/node_modules/eslint/lib/languages/js/index.js +252 -0
- data/node_modules/eslint/lib/{source-code → languages/js/source-code}/source-code.js +54 -24
- data/node_modules/eslint/lib/languages/js/validate-language-options.js +181 -0
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +14 -6
- data/node_modules/eslint/lib/linter/config-comment-parser.js +3 -16
- data/node_modules/eslint/lib/linter/linter.js +297 -251
- data/node_modules/eslint/lib/linter/node-event-generator.js +2 -4
- data/node_modules/eslint/lib/linter/report-translator.js +14 -7
- data/node_modules/eslint/lib/linter/vfile.js +111 -0
- data/node_modules/eslint/lib/options.js +13 -1
- data/node_modules/eslint/lib/rule-tester/rule-tester.js +5 -2
- data/node_modules/eslint/lib/rules/no-restricted-imports.js +12 -5
- data/node_modules/eslint/lib/rules/no-sparse-arrays.js +26 -3
- data/node_modules/eslint/lib/rules/no-unused-vars.js +34 -32
- data/node_modules/eslint/lib/rules/no-useless-backreference.js +81 -31
- data/node_modules/eslint/lib/rules/utils/regular-expressions.js +1 -1
- data/node_modules/eslint/lib/shared/flags.js +26 -0
- data/node_modules/eslint/lib/shared/logging.js +10 -1
- data/node_modules/eslint/lib/shared/types.js +1 -1
- data/node_modules/eslint/messages/all-matched-files-ignored.js +21 -0
- data/node_modules/eslint/package.json +16 -20
- data/node_modules/eslint-scope/dist/eslint-scope.cjs +2 -2
- data/node_modules/eslint-scope/lib/referencer.js +1 -1
- data/node_modules/eslint-scope/lib/version.js +1 -1
- data/node_modules/eslint-scope/package.json +2 -2
- data/node_modules/espree/README.md +5 -5
- data/node_modules/espree/dist/espree.cjs +62 -6
- data/node_modules/espree/espree.js +1 -4
- data/node_modules/espree/lib/options.js +3 -2
- data/node_modules/espree/lib/token-translator.js +1 -1
- data/node_modules/espree/lib/version.js +1 -1
- data/node_modules/espree/package.json +7 -7
- data/node_modules/fast-glob/node_modules/micromatch/LICENSE +21 -0
- data/node_modules/fast-glob/node_modules/micromatch/README.md +1011 -0
- data/node_modules/fast-glob/node_modules/micromatch/index.js +467 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/LICENSE +21 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/README.md +593 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/index.js +170 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/compile.js +57 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/constants.js +57 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/expand.js +113 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/parse.js +333 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/stringify.js +32 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/lib/utils.js +112 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/node_modules/fill-range/LICENSE +21 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/node_modules/fill-range/README.md +237 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/node_modules/fill-range/index.js +249 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/node_modules/fill-range/package.json +69 -0
- data/node_modules/fast-glob/node_modules/micromatch/node_modules/braces/package.json +77 -0
- data/node_modules/fast-glob/node_modules/micromatch/package.json +119 -0
- data/node_modules/fill-range/index.js +4 -5
- data/node_modules/fill-range/package.json +8 -3
- data/node_modules/has-ansi/index.js +4 -0
- data/node_modules/has-ansi/license +21 -0
- data/node_modules/has-ansi/node_modules/ansi-regex/index.js +4 -0
- data/node_modules/has-ansi/node_modules/ansi-regex/license +21 -0
- data/node_modules/has-ansi/node_modules/ansi-regex/package.json +64 -0
- data/node_modules/has-ansi/node_modules/ansi-regex/readme.md +39 -0
- data/node_modules/has-ansi/package.json +55 -0
- data/node_modules/has-ansi/readme.md +36 -0
- data/node_modules/home-or-tmp/index.js +5 -0
- data/node_modules/home-or-tmp/license +21 -0
- data/node_modules/home-or-tmp/package.json +43 -0
- data/node_modules/home-or-tmp/readme.md +32 -0
- data/node_modules/invariant/CHANGELOG.md +69 -0
- data/node_modules/invariant/LICENSE +21 -0
- data/node_modules/invariant/README.md +37 -0
- data/node_modules/invariant/browser.js +49 -0
- data/node_modules/invariant/invariant.js +51 -0
- data/node_modules/invariant/invariant.js.flow +7 -0
- data/node_modules/invariant/package.json +35 -0
- data/node_modules/is-finite/index.js +5 -0
- data/node_modules/is-finite/license +9 -0
- data/node_modules/is-finite/package.json +34 -0
- data/node_modules/is-finite/readme.md +33 -0
- data/node_modules/jscodeshift/CHANGELOG.md +13 -0
- data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +0 -0
- data/node_modules/jscodeshift/CONTRIBUTING.md +0 -0
- data/node_modules/jscodeshift/LICENSE +0 -0
- data/node_modules/jscodeshift/README.md +42 -6
- data/node_modules/jscodeshift/bin/jscodeshift.js +1 -1
- data/node_modules/jscodeshift/dist/Collection.js +0 -0
- data/node_modules/jscodeshift/dist/Runner.js +7 -0
- data/node_modules/jscodeshift/dist/Worker.js +0 -0
- data/node_modules/jscodeshift/dist/argsParser.js +0 -0
- data/node_modules/jscodeshift/dist/collections/JSXElement.js +0 -0
- data/node_modules/jscodeshift/dist/collections/Node.js +0 -0
- data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +0 -0
- data/node_modules/jscodeshift/dist/collections/index.js +0 -0
- data/node_modules/jscodeshift/dist/core.js +0 -0
- data/node_modules/jscodeshift/dist/getParser.js +0 -0
- data/node_modules/jscodeshift/dist/ignoreFiles.js +0 -0
- data/node_modules/jscodeshift/dist/matchNode.js +0 -0
- data/node_modules/jscodeshift/dist/src/Collection.js +0 -0
- data/node_modules/jscodeshift/dist/src/Runner.js +7 -0
- data/node_modules/jscodeshift/dist/src/Worker.js +0 -0
- data/node_modules/jscodeshift/dist/src/argsParser.js +0 -0
- data/node_modules/jscodeshift/dist/src/collections/JSXElement.js +0 -0
- data/node_modules/jscodeshift/dist/src/collections/Node.js +0 -0
- data/node_modules/jscodeshift/dist/src/collections/VariableDeclarator.js +0 -0
- data/node_modules/jscodeshift/dist/src/collections/index.js +0 -0
- data/node_modules/jscodeshift/dist/src/core.js +0 -0
- data/node_modules/jscodeshift/dist/src/getParser.js +0 -0
- data/node_modules/jscodeshift/dist/src/ignoreFiles.js +0 -0
- data/node_modules/jscodeshift/dist/src/matchNode.js +0 -0
- data/node_modules/jscodeshift/dist/src/template.js +0 -0
- data/node_modules/jscodeshift/dist/src/testUtils.js +0 -0
- data/node_modules/jscodeshift/dist/src/utils/intersection.js +0 -0
- data/node_modules/jscodeshift/dist/src/utils/once.js +0 -0
- data/node_modules/jscodeshift/dist/src/utils/union.js +0 -0
- data/node_modules/jscodeshift/dist/template.js +0 -0
- data/node_modules/jscodeshift/dist/testUtils.js +0 -0
- data/node_modules/jscodeshift/dist/utils/intersection.js +0 -0
- data/node_modules/jscodeshift/dist/utils/once.js +0 -0
- data/node_modules/jscodeshift/dist/utils/union.js +0 -0
- data/node_modules/jscodeshift/index.js +0 -0
- data/node_modules/jscodeshift/package.json +19 -20
- data/node_modules/jscodeshift/parser/babel5Compat.js +0 -0
- data/node_modules/jscodeshift/parser/babylon.js +0 -0
- data/node_modules/jscodeshift/parser/flow.js +0 -0
- data/node_modules/jscodeshift/parser/ts.js +0 -0
- data/node_modules/jscodeshift/parser/tsOptions.js +0 -0
- data/node_modules/jscodeshift/parser/tsx.js +0 -0
- data/node_modules/jscodeshift/src/Collection.js +0 -0
- data/node_modules/jscodeshift/src/Runner.js +7 -0
- data/node_modules/jscodeshift/src/Worker.js +0 -0
- data/node_modules/jscodeshift/src/argsParser.js +0 -0
- data/node_modules/jscodeshift/src/collections/JSXElement.js +0 -0
- data/node_modules/jscodeshift/src/collections/Node.js +0 -0
- data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +0 -0
- data/node_modules/jscodeshift/src/collections/index.js +0 -0
- data/node_modules/jscodeshift/src/core.js +0 -0
- data/node_modules/jscodeshift/src/getParser.js +0 -0
- data/node_modules/jscodeshift/src/ignoreFiles.js +0 -0
- data/node_modules/jscodeshift/src/matchNode.js +0 -0
- data/node_modules/jscodeshift/src/template.js +0 -0
- data/node_modules/jscodeshift/src/testUtils.js +0 -0
- data/node_modules/jscodeshift/src/utils/intersection.js +0 -0
- data/node_modules/jscodeshift/src/utils/once.js +0 -0
- data/node_modules/jscodeshift/src/utils/union.js +0 -0
- data/node_modules/jscodeshift/utils/requirePackage.js +0 -0
- data/node_modules/jscodeshift/utils/testUtils.js +0 -0
- data/node_modules/jscodeshift/website/index.htm +9 -0
- data/node_modules/loose-envify/LICENSE +21 -0
- data/node_modules/loose-envify/README.md +45 -0
- data/node_modules/loose-envify/cli.js +16 -0
- data/node_modules/loose-envify/custom.js +4 -0
- data/node_modules/loose-envify/index.js +3 -0
- data/node_modules/loose-envify/loose-envify.js +36 -0
- data/node_modules/loose-envify/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/loose-envify/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/loose-envify/node_modules/js-tokens/README.md +240 -0
- data/node_modules/loose-envify/node_modules/js-tokens/index.js +23 -0
- data/node_modules/loose-envify/node_modules/js-tokens/package.json +30 -0
- data/node_modules/loose-envify/package.json +36 -0
- data/node_modules/loose-envify/replace.js +65 -0
- data/node_modules/micromatch/README.md +135 -129
- data/node_modules/micromatch/package.json +7 -25
- data/node_modules/mkdirp/LICENSE +2 -2
- data/node_modules/mkdirp/bin/cmd.js +29 -64
- data/node_modules/mkdirp/bin/usage.txt +12 -0
- data/node_modules/mkdirp/index.js +95 -24
- data/node_modules/mkdirp/package.json +11 -22
- data/node_modules/mkdirp/readme.markdown +35 -201
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/CHANGELOG.md +15 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/bin/cmd.js +68 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/index.js +31 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/find-made.js +29 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/opts-arg.js +23 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/path-arg.js +29 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/lib/use-native.js +10 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/package.json +44 -0
- data/node_modules/node-gyp/node_modules/make-fetch-happen/node_modules/cacache/node_modules/mkdirp/readme.markdown +266 -0
- data/node_modules/os-homedir/index.js +24 -0
- data/node_modules/os-homedir/license +21 -0
- data/node_modules/os-homedir/package.json +41 -0
- data/node_modules/os-homedir/readme.md +31 -0
- data/node_modules/os-tmpdir/index.js +25 -0
- data/node_modules/os-tmpdir/license +21 -0
- data/node_modules/os-tmpdir/package.json +41 -0
- data/node_modules/os-tmpdir/readme.md +32 -0
- data/node_modules/prettier/LICENSE +41 -40
- data/node_modules/prettier/doc.js +12 -12
- data/node_modules/prettier/doc.mjs +12 -12
- data/node_modules/prettier/index.cjs +9 -9
- data/node_modules/prettier/index.d.ts +1 -2
- data/node_modules/prettier/index.mjs +704 -764
- data/node_modules/prettier/internal/cli.mjs +17 -17
- data/node_modules/prettier/package.json +1 -1
- data/node_modules/prettier/plugins/acorn.js +14 -12
- data/node_modules/prettier/plugins/acorn.mjs +14 -12
- data/node_modules/prettier/plugins/angular.js +1 -1
- data/node_modules/prettier/plugins/angular.mjs +1 -1
- data/node_modules/prettier/plugins/babel.js +10 -11
- data/node_modules/prettier/plugins/babel.mjs +10 -11
- data/node_modules/prettier/plugins/estree.js +27 -27
- data/node_modules/prettier/plugins/estree.mjs +27 -27
- data/node_modules/prettier/plugins/flow.js +15 -16
- data/node_modules/prettier/plugins/flow.mjs +15 -16
- data/node_modules/prettier/plugins/glimmer.js +6 -6
- data/node_modules/prettier/plugins/glimmer.mjs +6 -6
- data/node_modules/prettier/plugins/graphql.js +8 -8
- data/node_modules/prettier/plugins/graphql.mjs +8 -8
- data/node_modules/prettier/plugins/html.js +18 -15
- data/node_modules/prettier/plugins/html.mjs +18 -15
- data/node_modules/prettier/plugins/markdown.js +43 -40
- data/node_modules/prettier/plugins/markdown.mjs +44 -41
- data/node_modules/prettier/plugins/meriyah.js +4 -5
- data/node_modules/prettier/plugins/meriyah.mjs +4 -5
- data/node_modules/prettier/plugins/postcss.js +27 -24
- data/node_modules/prettier/plugins/postcss.mjs +27 -24
- data/node_modules/prettier/plugins/typescript.js +15 -20
- data/node_modules/prettier/plugins/typescript.mjs +15 -20
- data/node_modules/prettier/plugins/yaml.js +6 -6
- data/node_modules/prettier/plugins/yaml.mjs +6 -6
- data/node_modules/prettier/standalone.js +31 -30
- data/node_modules/prettier/standalone.mjs +28 -27
- data/node_modules/private/LICENSE +20 -0
- data/node_modules/private/README.md +245 -0
- data/node_modules/private/package.json +39 -0
- data/node_modules/private/private.js +129 -0
- data/node_modules/recast/lib/printer.js +7 -1
- data/node_modules/recast/package.json +1 -1
- data/node_modules/regenerator-runtime/README.md +31 -0
- data/node_modules/regenerator-runtime/package.json +18 -0
- data/node_modules/regenerator-runtime/path.js +11 -0
- data/node_modules/regenerator-runtime/runtime-module.js +35 -0
- data/node_modules/regenerator-runtime/runtime.js +727 -0
- data/node_modules/repeating/index.js +24 -0
- data/node_modules/repeating/license +21 -0
- data/node_modules/repeating/package.json +37 -0
- data/node_modules/repeating/readme.md +30 -0
- data/node_modules/signal-exit/LICENSE.txt +1 -1
- data/node_modules/signal-exit/README.md +56 -21
- data/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- data/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- data/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- data/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- data/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/index.js +279 -0
- data/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- data/node_modules/signal-exit/dist/cjs/package.json +3 -0
- data/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- data/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- data/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- data/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- data/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- data/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/index.js +275 -0
- data/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- data/node_modules/signal-exit/dist/mjs/package.json +3 -0
- data/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- data/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- data/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- data/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- data/node_modules/signal-exit/package.json +87 -19
- data/node_modules/string-width-cjs/index.d.ts +29 -0
- data/node_modules/string-width-cjs/index.js +47 -0
- data/node_modules/string-width-cjs/license +9 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/string-width-cjs/package.json +56 -0
- data/node_modules/string-width-cjs/readme.md +50 -0
- data/node_modules/strip-ansi-cjs/index.d.ts +17 -0
- data/node_modules/strip-ansi-cjs/index.js +4 -0
- data/node_modules/strip-ansi-cjs/license +9 -0
- data/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
- data/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/strip-ansi-cjs/package.json +54 -0
- data/node_modules/strip-ansi-cjs/readme.md +46 -0
- data/node_modules/tar/node_modules/mkdirp/CHANGELOG.md +15 -0
- data/node_modules/tar/node_modules/mkdirp/LICENSE +21 -0
- data/node_modules/tar/node_modules/mkdirp/bin/cmd.js +68 -0
- data/node_modules/tar/node_modules/mkdirp/index.js +31 -0
- data/node_modules/tar/node_modules/mkdirp/lib/find-made.js +29 -0
- data/node_modules/tar/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- data/node_modules/tar/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- data/node_modules/tar/node_modules/mkdirp/lib/opts-arg.js +23 -0
- data/node_modules/tar/node_modules/mkdirp/lib/path-arg.js +29 -0
- data/node_modules/tar/node_modules/mkdirp/lib/use-native.js +10 -0
- data/node_modules/tar/node_modules/mkdirp/package.json +44 -0
- data/node_modules/tar/node_modules/mkdirp/readme.markdown +266 -0
- data/node_modules/temp/README.md +8 -32
- data/node_modules/temp/lib/temp.js +67 -55
- data/node_modules/temp/package.json +4 -3
- data/node_modules/trim-right/index.js +10 -0
- data/node_modules/trim-right/license +21 -0
- data/node_modules/trim-right/package.json +37 -0
- data/node_modules/trim-right/readme.md +30 -0
- data/node_modules/wrap-ansi-cjs/index.js +216 -0
- data/node_modules/wrap-ansi-cjs/license +9 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/wrap-ansi-cjs/package.json +62 -0
- data/node_modules/wrap-ansi-cjs/readme.md +91 -0
- data/node_modules/write-file-atomic/README.md +41 -6
- data/node_modules/write-file-atomic/lib/index.js +267 -0
- data/node_modules/write-file-atomic/package.json +35 -19
- data/package.json +4 -4
- metadata +2454 -38
- data/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js +0 -18
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js.map +0 -1
- data/node_modules/@babel/helpers/lib/helpers.js +0 -1673
- data/node_modules/@babel/helpers/lib/helpers.js.map +0 -1
- data/node_modules/@babel/helpers/scripts/package.json +0 -1
- data/node_modules/write-file-atomic/CHANGELOG.md +0 -25
- data/node_modules/write-file-atomic/index.js +0 -238
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/CHANGELOG.md +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/find-made.js +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/mkdirp-manual.js +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/mkdirp-native.js +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/opts-arg.js +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/path-arg.js +0 -0
- /data/node_modules/{mkdirp → @npmcli/move-file/node_modules/mkdirp}/lib/use-native.js +0 -0
- /data/node_modules/{signal-exit → configstore/node_modules/write-file-atomic/node_modules/signal-exit}/index.js +0 -0
- /data/node_modules/{signal-exit → configstore/node_modules/write-file-atomic/node_modules/signal-exit}/signals.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/index.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/backward-token-comment-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/backward-token-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/cursors.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/decorative-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/filter-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/forward-token-comment-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/forward-token-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/index.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/limit-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/padded-token-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/skip-cursor.js +0 -0
- /data/node_modules/eslint/lib/{source-code → languages/js/source-code}/token-store/utils.js +0 -0
- /data/node_modules/{braces → fast-glob/node_modules/micromatch/node_modules/braces}/CHANGELOG.md +0 -0
- /data/node_modules/write-file-atomic/{LICENSE → LICENSE.md} +0 -0
@@ -0,0 +1,2307 @@
|
|
1
|
+
# core-js
|
2
|
+
|
3
|
+
[](#raising-funds) [](#raising-funds) [](https://gitter.im/zloirock/core-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://www.npmjs.com/package/core-js) [](http://npm-stat.com/charts.html?package=core-js&author=&from=2014-11-18) [](https://travis-ci.org/zloirock/core-js) [](https://david-dm.org/zloirock/core-js?type=dev)
|
4
|
+
## As advertising: the author is looking for a good job :)
|
5
|
+
|
6
|
+
## [core-js@3, babel and a look into the future](https://github.com/zloirock/core-js/tree/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md)
|
7
|
+
|
8
|
+
## Raising funds
|
9
|
+
|
10
|
+
`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer [**on Open Collective**](https://opencollective.com/core-js) or [**on Patreon**](https://www.patreon.com/zloirock) if you are interested in `core-js`.
|
11
|
+
|
12
|
+
---
|
13
|
+
|
14
|
+
<a href="https://opencollective.com/core-js/sponsor/0/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/0/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/1/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/1/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/2/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/2/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/3/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/3/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/4/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/4/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/5/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/5/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/6/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/6/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/7/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/7/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/8/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/8/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/9/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/9/avatar.svg"></a>
|
15
|
+
|
16
|
+
---
|
17
|
+
|
18
|
+
<a href="https://opencollective.com/core-js#backers" target="_blank"><img src="https://opencollective.com/core-js/backers.svg?width=890"></a>
|
19
|
+
|
20
|
+
---
|
21
|
+
|
22
|
+
**It's documentation for obsolete `core-js@2`. If you looking documentation for actual `core-js` version, please, check [this branch](https://github.com/zloirock/core-js/tree/master).**
|
23
|
+
|
24
|
+
Modular standard library for JavaScript. Includes polyfills for [ECMAScript 5](#ecmascript-5), [ECMAScript 6](#ecmascript-6): [promises](#ecmascript-6-promise), [symbols](#ecmascript-6-symbol), [collections](#ecmascript-6-collections), iterators, [typed arrays](#ecmascript-6-typed-arrays), [ECMAScript 7+ proposals](#ecmascript-7-proposals), [setImmediate](#setimmediate), etc. Some additional features such as [dictionaries](#dict) or [extended partial application](#partial-application). You can require only needed features or use it without global namespace pollution.
|
25
|
+
|
26
|
+
[*Example*](http://goo.gl/a2xexl):
|
27
|
+
```js
|
28
|
+
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
29
|
+
'*'.repeat(10); // => '**********'
|
30
|
+
Promise.resolve(32).then(x => console.log(x)); // => 32
|
31
|
+
setImmediate(x => console.log(x), 42); // => 42
|
32
|
+
```
|
33
|
+
|
34
|
+
[*Without global namespace pollution*](http://goo.gl/paOHb0):
|
35
|
+
```js
|
36
|
+
var core = require('core-js/library'); // With a modular system, otherwise use global `core`
|
37
|
+
core.Array.from(new core.Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
38
|
+
core.String.repeat('*', 10); // => '**********'
|
39
|
+
core.Promise.resolve(32).then(x => console.log(x)); // => 32
|
40
|
+
core.setImmediate(x => console.log(x), 42); // => 42
|
41
|
+
```
|
42
|
+
|
43
|
+
### Index
|
44
|
+
- [Usage](#usage)
|
45
|
+
- [Basic](#basic)
|
46
|
+
- [CommonJS](#commonjs)
|
47
|
+
- [Custom build](#custom-build-from-the-command-line)
|
48
|
+
- [Supported engines](#supported-engines)
|
49
|
+
- [Features](#features)
|
50
|
+
- [ECMAScript 5](#ecmascript-5)
|
51
|
+
- [ECMAScript 6](#ecmascript-6)
|
52
|
+
- [ECMAScript 6: Object](#ecmascript-6-object)
|
53
|
+
- [ECMAScript 6: Function](#ecmascript-6-function)
|
54
|
+
- [ECMAScript 6: Array](#ecmascript-6-array)
|
55
|
+
- [ECMAScript 6: String](#ecmascript-6-string)
|
56
|
+
- [ECMAScript 6: RegExp](#ecmascript-6-regexp)
|
57
|
+
- [ECMAScript 6: Number](#ecmascript-6-number)
|
58
|
+
- [ECMAScript 6: Math](#ecmascript-6-math)
|
59
|
+
- [ECMAScript 6: Date](#ecmascript-6-date)
|
60
|
+
- [ECMAScript 6: Promise](#ecmascript-6-promise)
|
61
|
+
- [ECMAScript 6: Symbol](#ecmascript-6-symbol)
|
62
|
+
- [ECMAScript 6: Collections](#ecmascript-6-collections)
|
63
|
+
- [ECMAScript 6: Typed Arrays](#ecmascript-6-typed-arrays)
|
64
|
+
- [ECMAScript 6: Reflect](#ecmascript-6-reflect)
|
65
|
+
- [ECMAScript 7+ proposals](#ecmascript-7-proposals)
|
66
|
+
- [stage 4 proposals](#stage-4-proposals)
|
67
|
+
- [stage 3 proposals](#stage-3-proposals)
|
68
|
+
- [stage 2 proposals](#stage-2-proposals)
|
69
|
+
- [stage 1 proposals](#stage-1-proposals)
|
70
|
+
- [stage 0 proposals](#stage-0-proposals)
|
71
|
+
- [pre-stage 0 proposals](#pre-stage-0-proposals)
|
72
|
+
- [Web standards](#web-standards)
|
73
|
+
- [setTimeout / setInterval](#settimeout--setinterval)
|
74
|
+
- [setImmediate](#setimmediate)
|
75
|
+
- [iterable DOM collections](#iterable-dom-collections)
|
76
|
+
- [Non-standard](#non-standard)
|
77
|
+
- [Object](#object)
|
78
|
+
- [Dict](#dict)
|
79
|
+
- [partial application](#partial-application)
|
80
|
+
- [Number Iterator](#number-iterator)
|
81
|
+
- [escaping strings](#escaping-strings)
|
82
|
+
- [delay](#delay)
|
83
|
+
- [helpers for iterators](#helpers-for-iterators)
|
84
|
+
- [Missing polyfills](#missing-polyfills)
|
85
|
+
- [Changelog](./CHANGELOG.md)
|
86
|
+
|
87
|
+
## Usage
|
88
|
+
### Basic
|
89
|
+
```
|
90
|
+
npm i core-js
|
91
|
+
bower install core.js
|
92
|
+
```
|
93
|
+
|
94
|
+
```js
|
95
|
+
// Default
|
96
|
+
require('core-js');
|
97
|
+
// Without global namespace pollution
|
98
|
+
var core = require('core-js/library');
|
99
|
+
// Shim only
|
100
|
+
require('core-js/shim');
|
101
|
+
```
|
102
|
+
If you need complete build for browser, use builds from `core-js/client` path:
|
103
|
+
|
104
|
+
* [default](https://raw.githack.com/zloirock/core-js/v2.6.12/client/core.min.js): Includes all features, standard and non-standard.
|
105
|
+
* [as a library](https://raw.githack.com/zloirock/core-js/v2.6.12/client/library.min.js): Like "default", but does not pollute the global namespace (see [2nd example at the top](#core-js)).
|
106
|
+
* [shim only](https://raw.githack.com/zloirock/core-js/v2.6.12/client/shim.min.js): Only includes the standard methods.
|
107
|
+
|
108
|
+
Warning: if you use `core-js` with the extension of native objects, require all needed `core-js` modules at the beginning of entry point of your application, otherwise, conflicts may occur.
|
109
|
+
|
110
|
+
### CommonJS
|
111
|
+
You can require only needed modules.
|
112
|
+
|
113
|
+
```js
|
114
|
+
require('core-js/fn/set');
|
115
|
+
require('core-js/fn/array/from');
|
116
|
+
require('core-js/fn/array/find-index');
|
117
|
+
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
118
|
+
[1, 2, NaN, 3, 4].findIndex(isNaN); // => 2
|
119
|
+
|
120
|
+
// or, w/o global namespace pollution:
|
121
|
+
|
122
|
+
var Set = require('core-js/library/fn/set');
|
123
|
+
var from = require('core-js/library/fn/array/from');
|
124
|
+
var findIndex = require('core-js/library/fn/array/find-index');
|
125
|
+
from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
126
|
+
findIndex([1, 2, NaN, 3, 4], isNaN); // => 2
|
127
|
+
```
|
128
|
+
Available entry points for methods / constructors, as above examples, and namespaces: for example, `core-js/es6/array` (`core-js/library/es6/array`) contains all [ES6 `Array` features](#ecmascript-6-array), `core-js/es6` (`core-js/library/es6`) contains all ES6 features.
|
129
|
+
|
130
|
+
##### Caveats when using CommonJS API:
|
131
|
+
|
132
|
+
* `modules` path is internal API, does not inject all required dependencies and can be changed in minor or patch releases. Use it only for a custom build and / or if you know what are you doing.
|
133
|
+
* `core-js` is extremely modular and uses a lot of very tiny modules, because of that for usage in browsers bundle up `core-js` instead of usage loader for each file, otherwise, you will have hundreds of requests.
|
134
|
+
|
135
|
+
#### CommonJS and prototype methods without global namespace pollution
|
136
|
+
In the `library` version, we can't pollute prototypes of native constructors. Because of that, prototype methods transformed to static methods like in examples above. `babel` `runtime` transformer also can't transform them. But with transpilers we can use one more trick - [bind operator and virtual methods](https://github.com/zenparsing/es-function-bind). Special for that, available `/virtual/` entry points. Example:
|
137
|
+
```js
|
138
|
+
import fill from 'core-js/library/fn/array/virtual/fill';
|
139
|
+
import findIndex from 'core-js/library/fn/array/virtual/find-index';
|
140
|
+
|
141
|
+
Array(10)::fill(0).map((a, b) => b * b)::findIndex(it => it && !(it % 8)); // => 4
|
142
|
+
|
143
|
+
// or
|
144
|
+
|
145
|
+
import {fill, findIndex} from 'core-js/library/fn/array/virtual';
|
146
|
+
|
147
|
+
Array(10)::fill(0).map((a, b) => b * b)::findIndex(it => it && !(it % 8)); // => 4
|
148
|
+
|
149
|
+
```
|
150
|
+
|
151
|
+
### Custom build (from the command-line)
|
152
|
+
```
|
153
|
+
npm i core-js && cd node_modules/core-js && npm i
|
154
|
+
npm run grunt build:core.dict,es6 -- --blacklist=es6.promise,es6.math --library=on --path=custom uglify
|
155
|
+
```
|
156
|
+
Where `core.dict` and `es6` are modules (namespaces) names, which will be added to the build, `es6.promise` and `es6.math` are modules (namespaces) names, which will be excluded from the build, `--library=on` is flag for build without global namespace pollution and `custom` is target file name.
|
157
|
+
|
158
|
+
Available namespaces: for example, `es6.array` contains [ES6 `Array` features](#ecmascript-6-array), `es6` contains all modules whose names start with `es6`.
|
159
|
+
|
160
|
+
### Custom build (from external scripts)
|
161
|
+
|
162
|
+
[`core-js-builder`](https://www.npmjs.com/package/core-js-builder) package exports a function that takes the same parameters as the `build` target from the previous section. This will conditionally include or exclude certain parts of `core-js`:
|
163
|
+
|
164
|
+
```js
|
165
|
+
require('core-js-builder')({
|
166
|
+
modules: ['es6', 'core.dict'], // modules / namespaces
|
167
|
+
blacklist: ['es6.reflect'], // blacklist of modules / namespaces, by default - empty list
|
168
|
+
library: false, // flag for build without global namespace pollution, by default - false
|
169
|
+
umd: true // use UMD wrapper for export `core` object, by default - true
|
170
|
+
}).then(code => {
|
171
|
+
// ...
|
172
|
+
}).catch(error => {
|
173
|
+
// ...
|
174
|
+
});
|
175
|
+
```
|
176
|
+
## Supported engines
|
177
|
+
**Tested in:**
|
178
|
+
- Chrome 26+
|
179
|
+
- Firefox 4+
|
180
|
+
- Safari 5+
|
181
|
+
- Opera 12+
|
182
|
+
- Internet Explorer 6+ (sure, IE8- with ES3 limitations)
|
183
|
+
- Edge
|
184
|
+
- Android Browser 2.3+
|
185
|
+
- iOS Safari 5.1+
|
186
|
+
- PhantomJS 1.9 / 2.1
|
187
|
+
- NodeJS 0.8+
|
188
|
+
|
189
|
+
...and it doesn't mean `core-js` will not work in other engines, they just have not been tested.
|
190
|
+
|
191
|
+
## Features:
|
192
|
+
[*CommonJS entry points:*](#commonjs)
|
193
|
+
```
|
194
|
+
core-js(/library) <- all features
|
195
|
+
core-js(/library)/shim <- only polyfills
|
196
|
+
```
|
197
|
+
### ECMAScript 5
|
198
|
+
All features moved to the [`es6` namespace](#ecmascript-6), here just a list of features:
|
199
|
+
```js
|
200
|
+
Object
|
201
|
+
.create(proto | null, descriptors?) -> object
|
202
|
+
.getPrototypeOf(object) -> proto | null
|
203
|
+
.defineProperty(target, key, desc) -> target, cap for ie8-
|
204
|
+
.defineProperties(target, descriptors) -> target, cap for ie8-
|
205
|
+
.getOwnPropertyDescriptor(object, key) -> desc
|
206
|
+
.getOwnPropertyNames(object) -> array
|
207
|
+
.keys(object) -> array
|
208
|
+
.seal(object) -> object, cap for ie8-
|
209
|
+
.freeze(object) -> object, cap for ie8-
|
210
|
+
.preventExtensions(object) -> object, cap for ie8-
|
211
|
+
.isSealed(object) -> bool, cap for ie8-
|
212
|
+
.isFrozen(object) -> bool, cap for ie8-
|
213
|
+
.isExtensible(object) -> bool, cap for ie8-
|
214
|
+
Array
|
215
|
+
.isArray(var) -> bool
|
216
|
+
#slice(start?, end?) -> array, fix for ie7-
|
217
|
+
#join(string = ',') -> string, fix for ie7-
|
218
|
+
#indexOf(var, from?) -> int
|
219
|
+
#lastIndexOf(var, from?) -> int
|
220
|
+
#every(fn(val, index, @), that) -> bool
|
221
|
+
#some(fn(val, index, @), that) -> bool
|
222
|
+
#forEach(fn(val, index, @), that) -> void
|
223
|
+
#map(fn(val, index, @), that) -> array
|
224
|
+
#filter(fn(val, index, @), that) -> array
|
225
|
+
#reduce(fn(memo, val, index, @), memo?) -> var
|
226
|
+
#reduceRight(fn(memo, val, index, @), memo?) -> var
|
227
|
+
#sort(fn?) -> @, fixes for some engines
|
228
|
+
Function
|
229
|
+
#bind(object, ...args) -> boundFn(...args)
|
230
|
+
String
|
231
|
+
#split(separator, limit) -> array
|
232
|
+
#trim() -> str
|
233
|
+
RegExp
|
234
|
+
#toString() -> str
|
235
|
+
Number
|
236
|
+
#toFixed(digits) -> string
|
237
|
+
#toPrecision(precision) -> string
|
238
|
+
parseInt(str, radix) -> int
|
239
|
+
parseFloat(str) -> num
|
240
|
+
Date
|
241
|
+
.now() -> int
|
242
|
+
#toISOString() -> string
|
243
|
+
#toJSON() -> string
|
244
|
+
```
|
245
|
+
[*CommonJS entry points:*](#commonjs)
|
246
|
+
```
|
247
|
+
core-js(/library)/es5
|
248
|
+
```
|
249
|
+
|
250
|
+
### ECMAScript 6
|
251
|
+
[*CommonJS entry points:*](#commonjs)
|
252
|
+
```
|
253
|
+
core-js(/library)/es6
|
254
|
+
```
|
255
|
+
#### ECMAScript 6: Object
|
256
|
+
Modules [`es6.object.assign`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.assign.js), [`es6.object.is`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is.js), [`es6.object.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.set-prototype-of.js) and [`es6.object.to-string`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.to-string.js).
|
257
|
+
|
258
|
+
In ES6 most `Object` static methods should work with primitives. Modules [`es6.object.freeze`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.freeze.js), [`es6.object.seal`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.seal.js), [`es6.object.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.prevent-extensions.js), [`es6.object.is-frozen`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-frozen.js), [`es6.object.is-sealed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-sealed.js), [`es6.object.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.is-extensible.js), [`es6.object.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-own-property-descriptor.js), [`es6.object.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-prototype-of.js), [`es6.object.keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.keys.js) and [`es6.object.get-own-property-names`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.get-own-property-names.js).
|
259
|
+
|
260
|
+
Just ES5 features: [`es6.object.create`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.create.js), [`es6.object.define-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.define-property.js) and [`es6.object.define-properties`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.object.es6.object.define-properties.js).
|
261
|
+
```js
|
262
|
+
Object
|
263
|
+
.assign(target, ...src) -> target
|
264
|
+
.is(a, b) -> bool
|
265
|
+
.setPrototypeOf(target, proto | null) -> target (required __proto__ - IE11+)
|
266
|
+
.create(object | null, descriptors?) -> object
|
267
|
+
.getPrototypeOf(var) -> object | null
|
268
|
+
.defineProperty(object, key, desc) -> target
|
269
|
+
.defineProperties(object, descriptors) -> target
|
270
|
+
.getOwnPropertyDescriptor(var, key) -> desc | undefined
|
271
|
+
.keys(var) -> array
|
272
|
+
.getOwnPropertyNames(var) -> array
|
273
|
+
.freeze(var) -> var
|
274
|
+
.seal(var) -> var
|
275
|
+
.preventExtensions(var) -> var
|
276
|
+
.isFrozen(var) -> bool
|
277
|
+
.isSealed(var) -> bool
|
278
|
+
.isExtensible(var) -> bool
|
279
|
+
#toString() -> string, ES6 fix: @@toStringTag support
|
280
|
+
```
|
281
|
+
[*CommonJS entry points:*](#commonjs)
|
282
|
+
```
|
283
|
+
core-js(/library)/es6/object
|
284
|
+
core-js(/library)/fn/object/assign
|
285
|
+
core-js(/library)/fn/object/is
|
286
|
+
core-js(/library)/fn/object/set-prototype-of
|
287
|
+
core-js(/library)/fn/object/get-prototype-of
|
288
|
+
core-js(/library)/fn/object/create
|
289
|
+
core-js(/library)/fn/object/define-property
|
290
|
+
core-js(/library)/fn/object/define-properties
|
291
|
+
core-js(/library)/fn/object/get-own-property-descriptor
|
292
|
+
core-js(/library)/fn/object/keys
|
293
|
+
core-js(/library)/fn/object/get-own-property-names
|
294
|
+
core-js(/library)/fn/object/freeze
|
295
|
+
core-js(/library)/fn/object/seal
|
296
|
+
core-js(/library)/fn/object/prevent-extensions
|
297
|
+
core-js(/library)/fn/object/is-frozen
|
298
|
+
core-js(/library)/fn/object/is-sealed
|
299
|
+
core-js(/library)/fn/object/is-extensible
|
300
|
+
core-js/fn/object/to-string
|
301
|
+
```
|
302
|
+
[*Examples*](http://goo.gl/ywdwPz):
|
303
|
+
```js
|
304
|
+
var foo = {q: 1, w: 2}
|
305
|
+
, bar = {e: 3, r: 4}
|
306
|
+
, baz = {t: 5, y: 6};
|
307
|
+
Object.assign(foo, bar, baz); // => foo = {q: 1, w: 2, e: 3, r: 4, t: 5, y: 6}
|
308
|
+
|
309
|
+
Object.is(NaN, NaN); // => true
|
310
|
+
Object.is(0, -0); // => false
|
311
|
+
Object.is(42, 42); // => true
|
312
|
+
Object.is(42, '42'); // => false
|
313
|
+
|
314
|
+
function Parent(){}
|
315
|
+
function Child(){}
|
316
|
+
Object.setPrototypeOf(Child.prototype, Parent.prototype);
|
317
|
+
new Child instanceof Child; // => true
|
318
|
+
new Child instanceof Parent; // => true
|
319
|
+
|
320
|
+
var O = {};
|
321
|
+
O[Symbol.toStringTag] = 'Foo';
|
322
|
+
'' + O; // => '[object Foo]'
|
323
|
+
|
324
|
+
Object.keys('qwe'); // => ['0', '1', '2']
|
325
|
+
Object.getPrototypeOf('qwe') === String.prototype; // => true
|
326
|
+
```
|
327
|
+
#### ECMAScript 6: Function
|
328
|
+
Modules [`es6.function.name`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.name.js), [`es6.function.has-instance`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.has-instance.js). Just ES5: [`es6.function.bind`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.function.bind.js).
|
329
|
+
```js
|
330
|
+
Function
|
331
|
+
#bind(object, ...args) -> boundFn(...args)
|
332
|
+
#name -> string (IE9+)
|
333
|
+
#@@hasInstance(var) -> bool
|
334
|
+
```
|
335
|
+
[*CommonJS entry points:*](#commonjs)
|
336
|
+
```
|
337
|
+
core-js/es6/function
|
338
|
+
core-js/fn/function/name
|
339
|
+
core-js/fn/function/has-instance
|
340
|
+
core-js/fn/function/bind
|
341
|
+
core-js/fn/function/virtual/bind
|
342
|
+
```
|
343
|
+
[*Example*](http://goo.gl/zqu3Wp):
|
344
|
+
```js
|
345
|
+
(function foo(){}).name // => 'foo'
|
346
|
+
|
347
|
+
console.log.bind(console, 42)(43); // => 42 43
|
348
|
+
```
|
349
|
+
#### ECMAScript 6: Array
|
350
|
+
Modules [`es6.array.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.from.js), [`es6.array.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.of.js), [`es6.array.copy-within`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.copy-within.js), [`es6.array.fill`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.fill.js), [`es6.array.find`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.find.js), [`es6.array.find-index`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.find-index.js), [`es6.array.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.iterator.js). ES5 features with fixes: [`es6.array.is-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.is-array.js), [`es6.array.slice`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.slice.js), [`es6.array.join`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.join.js), [`es6.array.index-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.index-of.js), [`es6.array.last-index-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.last-index-of.js), [`es6.array.every`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.every.js), [`es6.array.some`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.some.js), [`es6.array.for-each`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.for-each.js), [`es6.array.map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.map.js), [`es6.array.filter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.filter.js), [`es6.array.reduce`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.reduce.js), [`es6.array.reduce-right`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.reduce-right.js), [`es6.array.sort`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.array.sort.js).
|
351
|
+
```js
|
352
|
+
Array
|
353
|
+
.from(iterable | array-like, mapFn(val, index)?, that) -> array
|
354
|
+
.of(...args) -> array
|
355
|
+
.isArray(var) -> bool
|
356
|
+
#copyWithin(target = 0, start = 0, end = @length) -> @
|
357
|
+
#fill(val, start = 0, end = @length) -> @
|
358
|
+
#find(fn(val, index, @), that) -> val
|
359
|
+
#findIndex(fn(val, index, @), that) -> index | -1
|
360
|
+
#values() -> iterator
|
361
|
+
#keys() -> iterator
|
362
|
+
#entries() -> iterator
|
363
|
+
#join(string = ',') -> string, fix for ie7-
|
364
|
+
#slice(start?, end?) -> array, fix for ie7-
|
365
|
+
#indexOf(var, from?) -> index | -1
|
366
|
+
#lastIndexOf(var, from?) -> index | -1
|
367
|
+
#every(fn(val, index, @), that) -> bool
|
368
|
+
#some(fn(val, index, @), that) -> bool
|
369
|
+
#forEach(fn(val, index, @), that) -> void
|
370
|
+
#map(fn(val, index, @), that) -> array
|
371
|
+
#filter(fn(val, index, @), that) -> array
|
372
|
+
#reduce(fn(memo, val, index, @), memo?) -> var
|
373
|
+
#reduceRight(fn(memo, val, index, @), memo?) -> var
|
374
|
+
#sort(fn?) -> @, invalid arguments fix
|
375
|
+
#@@iterator() -> iterator (values)
|
376
|
+
#@@unscopables -> object (cap)
|
377
|
+
Arguments
|
378
|
+
#@@iterator() -> iterator (values, available only in core-js methods)
|
379
|
+
```
|
380
|
+
[*CommonJS entry points:*](#commonjs)
|
381
|
+
```
|
382
|
+
core-js(/library)/es6/array
|
383
|
+
core-js(/library)/fn/array/from
|
384
|
+
core-js(/library)/fn/array/of
|
385
|
+
core-js(/library)/fn/array/is-array
|
386
|
+
core-js(/library)/fn/array/iterator
|
387
|
+
core-js(/library)/fn/array/copy-within
|
388
|
+
core-js(/library)/fn/array/fill
|
389
|
+
core-js(/library)/fn/array/find
|
390
|
+
core-js(/library)/fn/array/find-index
|
391
|
+
core-js(/library)/fn/array/values
|
392
|
+
core-js(/library)/fn/array/keys
|
393
|
+
core-js(/library)/fn/array/entries
|
394
|
+
core-js(/library)/fn/array/slice
|
395
|
+
core-js(/library)/fn/array/join
|
396
|
+
core-js(/library)/fn/array/index-of
|
397
|
+
core-js(/library)/fn/array/last-index-of
|
398
|
+
core-js(/library)/fn/array/every
|
399
|
+
core-js(/library)/fn/array/some
|
400
|
+
core-js(/library)/fn/array/for-each
|
401
|
+
core-js(/library)/fn/array/map
|
402
|
+
core-js(/library)/fn/array/filter
|
403
|
+
core-js(/library)/fn/array/reduce
|
404
|
+
core-js(/library)/fn/array/reduce-right
|
405
|
+
core-js(/library)/fn/array/sort
|
406
|
+
core-js(/library)/fn/array/virtual/iterator
|
407
|
+
core-js(/library)/fn/array/virtual/copy-within
|
408
|
+
core-js(/library)/fn/array/virtual/fill
|
409
|
+
core-js(/library)/fn/array/virtual/find
|
410
|
+
core-js(/library)/fn/array/virtual/find-index
|
411
|
+
core-js(/library)/fn/array/virtual/values
|
412
|
+
core-js(/library)/fn/array/virtual/keys
|
413
|
+
core-js(/library)/fn/array/virtual/entries
|
414
|
+
core-js(/library)/fn/array/virtual/slice
|
415
|
+
core-js(/library)/fn/array/virtual/join
|
416
|
+
core-js(/library)/fn/array/virtual/index-of
|
417
|
+
core-js(/library)/fn/array/virtual/last-index-of
|
418
|
+
core-js(/library)/fn/array/virtual/every
|
419
|
+
core-js(/library)/fn/array/virtual/some
|
420
|
+
core-js(/library)/fn/array/virtual/for-each
|
421
|
+
core-js(/library)/fn/array/virtual/map
|
422
|
+
core-js(/library)/fn/array/virtual/filter
|
423
|
+
core-js(/library)/fn/array/virtual/reduce
|
424
|
+
core-js(/library)/fn/array/virtual/reduce-right
|
425
|
+
core-js(/library)/fn/array/virtual/sort
|
426
|
+
```
|
427
|
+
[*Examples*](http://goo.gl/oaUFUf):
|
428
|
+
```js
|
429
|
+
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
430
|
+
Array.from({0: 1, 1: 2, 2: 3, length: 3}); // => [1, 2, 3]
|
431
|
+
Array.from('123', Number); // => [1, 2, 3]
|
432
|
+
Array.from('123', function(it){
|
433
|
+
return it * it;
|
434
|
+
}); // => [1, 4, 9]
|
435
|
+
|
436
|
+
Array.of(1); // => [1]
|
437
|
+
Array.of(1, 2, 3); // => [1, 2, 3]
|
438
|
+
|
439
|
+
var array = ['a', 'b', 'c'];
|
440
|
+
|
441
|
+
for(var val of array)console.log(val); // => 'a', 'b', 'c'
|
442
|
+
for(var val of array.values())console.log(val); // => 'a', 'b', 'c'
|
443
|
+
for(var key of array.keys())console.log(key); // => 0, 1, 2
|
444
|
+
for(var [key, val] of array.entries()){
|
445
|
+
console.log(key); // => 0, 1, 2
|
446
|
+
console.log(val); // => 'a', 'b', 'c'
|
447
|
+
}
|
448
|
+
|
449
|
+
function isOdd(val){
|
450
|
+
return val % 2;
|
451
|
+
}
|
452
|
+
[4, 8, 15, 16, 23, 42].find(isOdd); // => 15
|
453
|
+
[4, 8, 15, 16, 23, 42].findIndex(isOdd); // => 2
|
454
|
+
[4, 8, 15, 16, 23, 42].find(isNaN); // => undefined
|
455
|
+
[4, 8, 15, 16, 23, 42].findIndex(isNaN); // => -1
|
456
|
+
|
457
|
+
Array(5).fill(42); // => [42, 42, 42, 42, 42]
|
458
|
+
|
459
|
+
[1, 2, 3, 4, 5].copyWithin(0, 3); // => [4, 5, 3, 4, 5]
|
460
|
+
```
|
461
|
+
#### ECMAScript 6: String
|
462
|
+
Modules [`es6.string.from-code-point`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.from-code-point.js), [`es6.string.raw`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.raw.js), [`es6.string.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.iterator.js), [`es6.string.code-point-at`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.code-point-at.js), [`es6.string.ends-with`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.ends-with.js), [`es6.string.includes`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.includes.js), [`es6.string.repeat`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.repeat.js), [`es6.string.starts-with`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.starts-with.js) and [`es6.string.trim`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.trim.js).
|
463
|
+
|
464
|
+
Annex B HTML methods. Ugly, but it's also the part of the spec. Modules [`es6.string.anchor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.anchor.js), [`es6.string.big`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.big.js), [`es6.string.blink`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.blink.js), [`es6.string.bold`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.bold.js), [`es6.string.fixed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fixed.js), [`es6.string.fontcolor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fontcolor.js), [`es6.string.fontsize`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.fontsize.js), [`es6.string.italics`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.italics.js), [`es6.string.link`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.link.js), [`es6.string.small`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.small.js), [`es6.string.strike`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.strike.js), [`es6.string.sub`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.sub.js) and [`es6.string.sup`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.string.sup.js).
|
465
|
+
```js
|
466
|
+
String
|
467
|
+
.fromCodePoint(...codePoints) -> str
|
468
|
+
.raw({raw}, ...substitutions) -> str
|
469
|
+
#includes(str, from?) -> bool
|
470
|
+
#startsWith(str, from?) -> bool
|
471
|
+
#endsWith(str, from?) -> bool
|
472
|
+
#repeat(num) -> str
|
473
|
+
#codePointAt(pos) -> uint
|
474
|
+
#trim() -> str, ES6 fix
|
475
|
+
#anchor(name) -> str
|
476
|
+
#big() -> str
|
477
|
+
#blink() -> str
|
478
|
+
#bold() -> str
|
479
|
+
#fixed() -> str
|
480
|
+
#fontcolor(color) -> str
|
481
|
+
#fontsize(size) -> str
|
482
|
+
#italics() -> str
|
483
|
+
#link(url) -> str
|
484
|
+
#small() -> str
|
485
|
+
#strike() -> str
|
486
|
+
#sub() -> str
|
487
|
+
#sup() -> str
|
488
|
+
#@@iterator() -> iterator (code points)
|
489
|
+
```
|
490
|
+
[*CommonJS entry points:*](#commonjs)
|
491
|
+
```
|
492
|
+
core-js(/library)/es6/string
|
493
|
+
core-js(/library)/fn/string/from-code-point
|
494
|
+
core-js(/library)/fn/string/raw
|
495
|
+
core-js(/library)/fn/string/includes
|
496
|
+
core-js(/library)/fn/string/starts-with
|
497
|
+
core-js(/library)/fn/string/ends-with
|
498
|
+
core-js(/library)/fn/string/repeat
|
499
|
+
core-js(/library)/fn/string/code-point-at
|
500
|
+
core-js(/library)/fn/string/trim
|
501
|
+
core-js(/library)/fn/string/anchor
|
502
|
+
core-js(/library)/fn/string/big
|
503
|
+
core-js(/library)/fn/string/blink
|
504
|
+
core-js(/library)/fn/string/bold
|
505
|
+
core-js(/library)/fn/string/fixed
|
506
|
+
core-js(/library)/fn/string/fontcolor
|
507
|
+
core-js(/library)/fn/string/fontsize
|
508
|
+
core-js(/library)/fn/string/italics
|
509
|
+
core-js(/library)/fn/string/link
|
510
|
+
core-js(/library)/fn/string/small
|
511
|
+
core-js(/library)/fn/string/strike
|
512
|
+
core-js(/library)/fn/string/sub
|
513
|
+
core-js(/library)/fn/string/sup
|
514
|
+
core-js(/library)/fn/string/iterator
|
515
|
+
core-js(/library)/fn/string/virtual/includes
|
516
|
+
core-js(/library)/fn/string/virtual/starts-with
|
517
|
+
core-js(/library)/fn/string/virtual/ends-with
|
518
|
+
core-js(/library)/fn/string/virtual/repeat
|
519
|
+
core-js(/library)/fn/string/virtual/code-point-at
|
520
|
+
core-js(/library)/fn/string/virtual/trim
|
521
|
+
core-js(/library)/fn/string/virtual/anchor
|
522
|
+
core-js(/library)/fn/string/virtual/big
|
523
|
+
core-js(/library)/fn/string/virtual/blink
|
524
|
+
core-js(/library)/fn/string/virtual/bold
|
525
|
+
core-js(/library)/fn/string/virtual/fixed
|
526
|
+
core-js(/library)/fn/string/virtual/fontcolor
|
527
|
+
core-js(/library)/fn/string/virtual/fontsize
|
528
|
+
core-js(/library)/fn/string/virtual/italics
|
529
|
+
core-js(/library)/fn/string/virtual/link
|
530
|
+
core-js(/library)/fn/string/virtual/small
|
531
|
+
core-js(/library)/fn/string/virtual/strike
|
532
|
+
core-js(/library)/fn/string/virtual/sub
|
533
|
+
core-js(/library)/fn/string/virtual/sup
|
534
|
+
core-js(/library)/fn/string/virtual/iterator
|
535
|
+
```
|
536
|
+
[*Examples*](http://goo.gl/3UaQ93):
|
537
|
+
```js
|
538
|
+
for(var val of 'a𠮷b'){
|
539
|
+
console.log(val); // => 'a', '𠮷', 'b'
|
540
|
+
}
|
541
|
+
|
542
|
+
'foobarbaz'.includes('bar'); // => true
|
543
|
+
'foobarbaz'.includes('bar', 4); // => false
|
544
|
+
'foobarbaz'.startsWith('foo'); // => true
|
545
|
+
'foobarbaz'.startsWith('bar', 3); // => true
|
546
|
+
'foobarbaz'.endsWith('baz'); // => true
|
547
|
+
'foobarbaz'.endsWith('bar', 6); // => true
|
548
|
+
|
549
|
+
'string'.repeat(3); // => 'stringstringstring'
|
550
|
+
|
551
|
+
'𠮷'.codePointAt(0); // => 134071
|
552
|
+
String.fromCodePoint(97, 134071, 98); // => 'a𠮷b'
|
553
|
+
|
554
|
+
var name = 'Bob';
|
555
|
+
String.raw`Hi\n${name}!`; // => 'Hi\\nBob!' (ES6 template string syntax)
|
556
|
+
String.raw({raw: 'test'}, 0, 1, 2); // => 't0e1s2t'
|
557
|
+
|
558
|
+
'foo'.bold(); // => '<b>foo</b>'
|
559
|
+
'bar'.anchor('a"b'); // => '<a name="a"b">bar</a>'
|
560
|
+
'baz'.link('http://example.com'); // => '<a href="http://example.com">baz</a>'
|
561
|
+
```
|
562
|
+
#### ECMAScript 6: RegExp
|
563
|
+
Modules [`es6.regexp.constructor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.constructor.js) and [`es6.regexp.flags`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.flags.js).
|
564
|
+
|
565
|
+
Support well-known [symbols](#ecmascript-6-symbol) `@@match`, `@@replace`, `@@search` and `@@split`, modules [`es6.regexp.match`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.match.js), [`es6.regexp.replace`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.replace.js), [`es6.regexp.search`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.search.js) and [`es6.regexp.split`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.regexp.split.js).
|
566
|
+
```
|
567
|
+
[new] RegExp(pattern, flags?) -> regexp, ES6 fix: can alter flags (IE9+)
|
568
|
+
#flags -> str (IE9+)
|
569
|
+
#toString() -> str, ES6 fixes
|
570
|
+
#@@match(str) -> array | null
|
571
|
+
#@@replace(str, replacer) -> string
|
572
|
+
#@@search(str) -> index
|
573
|
+
#@@split(str, limit) -> array
|
574
|
+
String
|
575
|
+
#match(tpl) -> var, ES6 fix for support @@match
|
576
|
+
#replace(tpl, replacer) -> var, ES6 fix for support @@replace
|
577
|
+
#search(tpl) -> var, ES6 fix for support @@search
|
578
|
+
#split(tpl, limit) -> var, ES6 fix for support @@split, some fixes for old engines
|
579
|
+
```
|
580
|
+
[*CommonJS entry points:*](#commonjs)
|
581
|
+
```
|
582
|
+
core-js/es6/regexp
|
583
|
+
core-js/fn/regexp/constructor
|
584
|
+
core-js(/library)/fn/regexp/flags
|
585
|
+
core-js/fn/regexp/to-string
|
586
|
+
core-js/fn/regexp/match
|
587
|
+
core-js/fn/regexp/replace
|
588
|
+
core-js/fn/regexp/search
|
589
|
+
core-js/fn/regexp/split
|
590
|
+
```
|
591
|
+
[*Examples*](http://goo.gl/PiJxBD):
|
592
|
+
```js
|
593
|
+
RegExp(/./g, 'm'); // => /./m
|
594
|
+
|
595
|
+
/foo/.flags; // => ''
|
596
|
+
/foo/gim.flags; // => 'gim'
|
597
|
+
|
598
|
+
'foo'.match({[Symbol.match]: _ => 1}); // => 1
|
599
|
+
'foo'.replace({[Symbol.replace]: _ => 2}); // => 2
|
600
|
+
'foo'.search({[Symbol.search]: _ => 3}); // => 3
|
601
|
+
'foo'.split({[Symbol.split]: _ => 4}); // => 4
|
602
|
+
|
603
|
+
RegExp.prototype.toString.call({source: 'foo', flags: 'bar'}); // => '/foo/bar'
|
604
|
+
```
|
605
|
+
#### ECMAScript 6: Number
|
606
|
+
Module [`es6.number.constructor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.constructor.js). `Number` constructor support binary and octal literals, [*example*](http://goo.gl/jRd6b3):
|
607
|
+
```js
|
608
|
+
Number('0b1010101'); // => 85
|
609
|
+
Number('0o7654321'); // => 2054353
|
610
|
+
```
|
611
|
+
Modules [`es6.number.epsilon`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.epsilon.js), [`es6.number.is-finite`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-finite.js), [`es6.number.is-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-integer.js), [`es6.number.is-nan`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-nan.js), [`es6.number.is-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.is-safe-integer.js), [`es6.number.max-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.max-safe-integer.js), [`es6.number.min-safe-integer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.min-safe-integer.js), [`es6.number.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.parse-float.js), [`es6.number.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.parse-int.js), [`es6.number.to-fixed`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.to-fixed.js), [`es6.number.to-precision`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.number.to-precision.js), [`es6.parse-int`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.parse-int.js), [`es6.parse-float`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.parse-float.js).
|
612
|
+
```js
|
613
|
+
[new] Number(var) -> number | number object
|
614
|
+
.isFinite(num) -> bool
|
615
|
+
.isNaN(num) -> bool
|
616
|
+
.isInteger(num) -> bool
|
617
|
+
.isSafeInteger(num) -> bool
|
618
|
+
.parseFloat(str) -> num
|
619
|
+
.parseInt(str) -> int
|
620
|
+
.EPSILON -> num
|
621
|
+
.MAX_SAFE_INTEGER -> int
|
622
|
+
.MIN_SAFE_INTEGER -> int
|
623
|
+
#toFixed(digits) -> string, fixes
|
624
|
+
#toPrecision(precision) -> string, fixes
|
625
|
+
parseFloat(str) -> num, fixes
|
626
|
+
parseInt(str) -> int, fixes
|
627
|
+
```
|
628
|
+
[*CommonJS entry points:*](#commonjs)
|
629
|
+
```
|
630
|
+
core-js(/library)/es6/number
|
631
|
+
core-js/es6/number/constructor
|
632
|
+
core-js(/library)/fn/number/is-finite
|
633
|
+
core-js(/library)/fn/number/is-nan
|
634
|
+
core-js(/library)/fn/number/is-integer
|
635
|
+
core-js(/library)/fn/number/is-safe-integer
|
636
|
+
core-js(/library)/fn/number/parse-float
|
637
|
+
core-js(/library)/fn/number/parse-int
|
638
|
+
core-js(/library)/fn/number/epsilon
|
639
|
+
core-js(/library)/fn/number/max-safe-integer
|
640
|
+
core-js(/library)/fn/number/min-safe-integer
|
641
|
+
core-js(/library)/fn/number/to-fixed
|
642
|
+
core-js(/library)/fn/number/to-precision
|
643
|
+
core-js(/library)/fn/parse-float
|
644
|
+
core-js(/library)/fn/parse-int
|
645
|
+
```
|
646
|
+
#### ECMAScript 6: Math
|
647
|
+
Modules [`es6.math.acosh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.acosh.js), [`es6.math.asinh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.asinh.js), [`es6.math.atanh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.atanh.js), [`es6.math.cbrt`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.cbrt.js), [`es6.math.clz32`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.clz32.js), [`es6.math.cosh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.cosh.js), [`es6.math.expm1`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.expm1.js), [`es6.math.fround`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.fround.js), [`es6.math.hypot`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.hypot.js), [`es6.math.imul`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.imul.js), [`es6.math.log10`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log10.js), [`es6.math.log1p`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log1p.js), [`es6.math.log2`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.log2.js), [`es6.math.sign`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.sign.js), [`es6.math.sinh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.sinh.js), [`es6.math.tanh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.tanh.js), [`es6.math.trunc`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.math.trunc.js).
|
648
|
+
```js
|
649
|
+
Math
|
650
|
+
.acosh(num) -> num
|
651
|
+
.asinh(num) -> num
|
652
|
+
.atanh(num) -> num
|
653
|
+
.cbrt(num) -> num
|
654
|
+
.clz32(num) -> uint
|
655
|
+
.cosh(num) -> num
|
656
|
+
.expm1(num) -> num
|
657
|
+
.fround(num) -> num
|
658
|
+
.hypot(...args) -> num
|
659
|
+
.imul(num, num) -> int
|
660
|
+
.log1p(num) -> num
|
661
|
+
.log10(num) -> num
|
662
|
+
.log2(num) -> num
|
663
|
+
.sign(num) -> 1 | -1 | 0 | -0 | NaN
|
664
|
+
.sinh(num) -> num
|
665
|
+
.tanh(num) -> num
|
666
|
+
.trunc(num) -> num
|
667
|
+
```
|
668
|
+
[*CommonJS entry points:*](#commonjs)
|
669
|
+
```
|
670
|
+
core-js(/library)/es6/math
|
671
|
+
core-js(/library)/fn/math/acosh
|
672
|
+
core-js(/library)/fn/math/asinh
|
673
|
+
core-js(/library)/fn/math/atanh
|
674
|
+
core-js(/library)/fn/math/cbrt
|
675
|
+
core-js(/library)/fn/math/clz32
|
676
|
+
core-js(/library)/fn/math/cosh
|
677
|
+
core-js(/library)/fn/math/expm1
|
678
|
+
core-js(/library)/fn/math/fround
|
679
|
+
core-js(/library)/fn/math/hypot
|
680
|
+
core-js(/library)/fn/math/imul
|
681
|
+
core-js(/library)/fn/math/log1p
|
682
|
+
core-js(/library)/fn/math/log10
|
683
|
+
core-js(/library)/fn/math/log2
|
684
|
+
core-js(/library)/fn/math/sign
|
685
|
+
core-js(/library)/fn/math/sinh
|
686
|
+
core-js(/library)/fn/math/tanh
|
687
|
+
core-js(/library)/fn/math/trunc
|
688
|
+
```
|
689
|
+
#### ECMAScript 6: Date
|
690
|
+
Modules [`es6.date.to-string`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-string.js), ES5 features with fixes: [`es6.date.now`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.now.js), [`es6.date.to-iso-string`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-iso-string.js), [`es6.date.to-json`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-json.js) and [`es6.date.to-primitive`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.date.to-primitive.js).
|
691
|
+
```js
|
692
|
+
Date
|
693
|
+
.now() -> int
|
694
|
+
#toISOString() -> string
|
695
|
+
#toJSON() -> string
|
696
|
+
#toString() -> string
|
697
|
+
#@@toPrimitive(hint) -> primitive
|
698
|
+
```
|
699
|
+
[*CommonJS entry points:*](#commonjs)
|
700
|
+
```
|
701
|
+
core-js/es6/date
|
702
|
+
core-js/fn/date/to-string
|
703
|
+
core-js(/library)/fn/date/now
|
704
|
+
core-js(/library)/fn/date/to-iso-string
|
705
|
+
core-js(/library)/fn/date/to-json
|
706
|
+
core-js(/library)/fn/date/to-primitive
|
707
|
+
```
|
708
|
+
[*Example*](http://goo.gl/haeHLR):
|
709
|
+
```js
|
710
|
+
new Date(NaN).toString(); // => 'Invalid Date'
|
711
|
+
```
|
712
|
+
|
713
|
+
#### ECMAScript 6: Promise
|
714
|
+
Module [`es6.promise`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.promise.js).
|
715
|
+
```js
|
716
|
+
new Promise(executor(resolve(var), reject(var))) -> promise
|
717
|
+
#then(resolved(var), rejected(var)) -> promise
|
718
|
+
#catch(rejected(var)) -> promise
|
719
|
+
.resolve(promise | var) -> promise
|
720
|
+
.reject(var) -> promise
|
721
|
+
.all(iterable) -> promise
|
722
|
+
.race(iterable) -> promise
|
723
|
+
```
|
724
|
+
[*CommonJS entry points:*](#commonjs)
|
725
|
+
```
|
726
|
+
core-js(/library)/es6/promise
|
727
|
+
core-js(/library)/fn/promise
|
728
|
+
```
|
729
|
+
Basic [*example*](http://goo.gl/vGrtUC):
|
730
|
+
```js
|
731
|
+
function sleepRandom(time){
|
732
|
+
return new Promise(function(resolve, reject){
|
733
|
+
setTimeout(resolve, time * 1e3, 0 | Math.random() * 1e3);
|
734
|
+
});
|
735
|
+
}
|
736
|
+
|
737
|
+
console.log('Run'); // => Run
|
738
|
+
sleepRandom(5).then(function(result){
|
739
|
+
console.log(result); // => 869, after 5 sec.
|
740
|
+
return sleepRandom(10);
|
741
|
+
}).then(function(result){
|
742
|
+
console.log(result); // => 202, after 10 sec.
|
743
|
+
}).then(function(){
|
744
|
+
console.log('immediately after'); // => immediately after
|
745
|
+
throw Error('Irror!');
|
746
|
+
}).then(function(){
|
747
|
+
console.log('will not be displayed');
|
748
|
+
}).catch(x => console.log(x)); // => => Error: Irror!
|
749
|
+
```
|
750
|
+
`Promise.resolve` and `Promise.reject` [*example*](http://goo.gl/vr8TN3):
|
751
|
+
```js
|
752
|
+
Promise.resolve(42).then(x => console.log(x)); // => 42
|
753
|
+
Promise.reject(42).catch(x => console.log(x)); // => 42
|
754
|
+
|
755
|
+
Promise.resolve($.getJSON('/data.json')); // => ES6 promise
|
756
|
+
```
|
757
|
+
`Promise.all` [*example*](http://goo.gl/RdoDBZ):
|
758
|
+
```js
|
759
|
+
Promise.all([
|
760
|
+
'foo',
|
761
|
+
sleepRandom(5),
|
762
|
+
sleepRandom(15),
|
763
|
+
sleepRandom(10) // after 15 sec:
|
764
|
+
]).then(x => console.log(x)); // => ['foo', 956, 85, 382]
|
765
|
+
```
|
766
|
+
`Promise.race` [*example*](http://goo.gl/L8ovkJ):
|
767
|
+
```js
|
768
|
+
function timeLimit(promise, time){
|
769
|
+
return Promise.race([promise, new Promise(function(resolve, reject){
|
770
|
+
setTimeout(reject, time * 1e3, Error('Await > ' + time + ' sec'));
|
771
|
+
})]);
|
772
|
+
}
|
773
|
+
|
774
|
+
timeLimit(sleepRandom(5), 10).then(x => console.log(x)); // => 853, after 5 sec.
|
775
|
+
timeLimit(sleepRandom(15), 10).catch(x => console.log(x)); // Error: Await > 10 sec
|
776
|
+
```
|
777
|
+
ECMAScript 7 [async functions](https://tc39.github.io/ecmascript-asyncawait) [example](http://goo.gl/wnQS4j):
|
778
|
+
```js
|
779
|
+
var delay = time => new Promise(resolve => setTimeout(resolve, time))
|
780
|
+
|
781
|
+
async function sleepRandom(time){
|
782
|
+
await delay(time * 1e3);
|
783
|
+
return 0 | Math.random() * 1e3;
|
784
|
+
};
|
785
|
+
async function sleepError(time, msg){
|
786
|
+
await delay(time * 1e3);
|
787
|
+
throw Error(msg);
|
788
|
+
};
|
789
|
+
|
790
|
+
(async () => {
|
791
|
+
try {
|
792
|
+
console.log('Run'); // => Run
|
793
|
+
console.log(await sleepRandom(5)); // => 936, after 5 sec.
|
794
|
+
var [a, b, c] = await Promise.all([
|
795
|
+
sleepRandom(5),
|
796
|
+
sleepRandom(15),
|
797
|
+
sleepRandom(10)
|
798
|
+
]);
|
799
|
+
console.log(a, b, c); // => 210 445 71, after 15 sec.
|
800
|
+
await sleepError(5, 'Irror!');
|
801
|
+
console.log('Will not be displayed');
|
802
|
+
} catch(e){
|
803
|
+
console.log(e); // => Error: 'Irror!', after 5 sec.
|
804
|
+
}
|
805
|
+
})();
|
806
|
+
```
|
807
|
+
|
808
|
+
##### Unhandled rejection tracking
|
809
|
+
|
810
|
+
In Node.js, like in native implementation, available events [`unhandledRejection`](https://nodejs.org/api/process.html#process_event_unhandledrejection) and [`rejectionHandled`](https://nodejs.org/api/process.html#process_event_rejectionhandled):
|
811
|
+
```js
|
812
|
+
process.on('unhandledRejection', (reason, promise) => console.log('unhandled', reason, promise));
|
813
|
+
process.on('rejectionHandled', (promise) => console.log('handled', promise));
|
814
|
+
|
815
|
+
var p = Promise.reject(42);
|
816
|
+
// unhandled 42 [object Promise]
|
817
|
+
|
818
|
+
setTimeout(() => p.catch(_ => _), 1e3);
|
819
|
+
// handled [object Promise]
|
820
|
+
```
|
821
|
+
In a browser on rejection, by default, you will see notify in the console, or you can add a custom handler and a handler on handling unhandled, [*example*](http://goo.gl/Wozskl):
|
822
|
+
```js
|
823
|
+
window.onunhandledrejection = e => console.log('unhandled', e.reason, e.promise);
|
824
|
+
window.onrejectionhandled = e => console.log('handled', e.reason, e.promise);
|
825
|
+
|
826
|
+
var p = Promise.reject(42);
|
827
|
+
// unhandled 42 [object Promise]
|
828
|
+
|
829
|
+
setTimeout(() => p.catch(_ => _), 1e3);
|
830
|
+
// handled 42 [object Promise]
|
831
|
+
```
|
832
|
+
|
833
|
+
#### ECMAScript 6: Symbol
|
834
|
+
Module [`es6.symbol`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.symbol.js).
|
835
|
+
```js
|
836
|
+
Symbol(description?) -> symbol
|
837
|
+
.hasInstance -> @@hasInstance
|
838
|
+
.isConcatSpreadable -> @@isConcatSpreadable
|
839
|
+
.iterator -> @@iterator
|
840
|
+
.match -> @@match
|
841
|
+
.replace -> @@replace
|
842
|
+
.search -> @@search
|
843
|
+
.species -> @@species
|
844
|
+
.split -> @@split
|
845
|
+
.toPrimitive -> @@toPrimitive
|
846
|
+
.toStringTag -> @@toStringTag
|
847
|
+
.unscopables -> @@unscopables
|
848
|
+
.for(key) -> symbol
|
849
|
+
.keyFor(symbol) -> key
|
850
|
+
.useSimple() -> void
|
851
|
+
.useSetter() -> void
|
852
|
+
Object
|
853
|
+
.getOwnPropertySymbols(object) -> array
|
854
|
+
```
|
855
|
+
Also wrapped some methods for correct work with `Symbol` polyfill.
|
856
|
+
```js
|
857
|
+
Object
|
858
|
+
.create(proto | null, descriptors?) -> object
|
859
|
+
.defineProperty(target, key, desc) -> target
|
860
|
+
.defineProperties(target, descriptors) -> target
|
861
|
+
.getOwnPropertyDescriptor(var, key) -> desc | undefined
|
862
|
+
.getOwnPropertyNames(var) -> array
|
863
|
+
#propertyIsEnumerable(key) -> bool
|
864
|
+
JSON
|
865
|
+
.stringify(target, replacer?, space?) -> string | undefined
|
866
|
+
```
|
867
|
+
[*CommonJS entry points:*](#commonjs)
|
868
|
+
```
|
869
|
+
core-js(/library)/es6/symbol
|
870
|
+
core-js(/library)/fn/symbol
|
871
|
+
core-js(/library)/fn/symbol/has-instance
|
872
|
+
core-js(/library)/fn/symbol/is-concat-spreadable
|
873
|
+
core-js(/library)/fn/symbol/iterator
|
874
|
+
core-js(/library)/fn/symbol/match
|
875
|
+
core-js(/library)/fn/symbol/replace
|
876
|
+
core-js(/library)/fn/symbol/search
|
877
|
+
core-js(/library)/fn/symbol/species
|
878
|
+
core-js(/library)/fn/symbol/split
|
879
|
+
core-js(/library)/fn/symbol/to-primitive
|
880
|
+
core-js(/library)/fn/symbol/to-string-tag
|
881
|
+
core-js(/library)/fn/symbol/unscopables
|
882
|
+
core-js(/library)/fn/symbol/for
|
883
|
+
core-js(/library)/fn/symbol/key-for
|
884
|
+
```
|
885
|
+
[*Basic example*](http://goo.gl/BbvWFc):
|
886
|
+
```js
|
887
|
+
var Person = (function(){
|
888
|
+
var NAME = Symbol('name');
|
889
|
+
function Person(name){
|
890
|
+
this[NAME] = name;
|
891
|
+
}
|
892
|
+
Person.prototype.getName = function(){
|
893
|
+
return this[NAME];
|
894
|
+
};
|
895
|
+
return Person;
|
896
|
+
})();
|
897
|
+
|
898
|
+
var person = new Person('Vasya');
|
899
|
+
console.log(person.getName()); // => 'Vasya'
|
900
|
+
console.log(person['name']); // => undefined
|
901
|
+
console.log(person[Symbol('name')]); // => undefined, symbols are uniq
|
902
|
+
for(var key in person)console.log(key); // => only 'getName', symbols are not enumerable
|
903
|
+
```
|
904
|
+
`Symbol.for` & `Symbol.keyFor` [*example*](http://goo.gl/0pdJjX):
|
905
|
+
```js
|
906
|
+
var symbol = Symbol.for('key');
|
907
|
+
symbol === Symbol.for('key'); // true
|
908
|
+
Symbol.keyFor(symbol); // 'key'
|
909
|
+
```
|
910
|
+
[*Example*](http://goo.gl/mKVOQJ) with methods for getting own object keys:
|
911
|
+
```js
|
912
|
+
var O = {a: 1};
|
913
|
+
Object.defineProperty(O, 'b', {value: 2});
|
914
|
+
O[Symbol('c')] = 3;
|
915
|
+
Object.keys(O); // => ['a']
|
916
|
+
Object.getOwnPropertyNames(O); // => ['a', 'b']
|
917
|
+
Object.getOwnPropertySymbols(O); // => [Symbol(c)]
|
918
|
+
Reflect.ownKeys(O); // => ['a', 'b', Symbol(c)]
|
919
|
+
```
|
920
|
+
##### Caveats when using `Symbol` polyfill:
|
921
|
+
|
922
|
+
* We can't add new primitive type, `Symbol` returns object.
|
923
|
+
* `Symbol.for` and `Symbol.keyFor` can't be shimmed cross-realm.
|
924
|
+
* By default, to hide the keys, `Symbol` polyfill defines setter in `Object.prototype`. For this reason, uncontrolled creation of symbols can cause memory leak and the `in` operator is not working correctly with `Symbol` polyfill: `Symbol() in {} // => true`.
|
925
|
+
|
926
|
+
You can disable defining setters in `Object.prototype`. [Example](http://goo.gl/N5UD7J):
|
927
|
+
```js
|
928
|
+
Symbol.useSimple();
|
929
|
+
var s1 = Symbol('s1')
|
930
|
+
, o1 = {};
|
931
|
+
o1[s1] = true;
|
932
|
+
for(var key in o1)console.log(key); // => 'Symbol(s1)_t.qamkg9f3q', w/o native Symbol
|
933
|
+
|
934
|
+
Symbol.useSetter();
|
935
|
+
var s2 = Symbol('s2')
|
936
|
+
, o2 = {};
|
937
|
+
o2[s2] = true;
|
938
|
+
for(var key in o2)console.log(key); // nothing
|
939
|
+
```
|
940
|
+
* Currently, `core-js` not adds setters to `Object.prototype` for well-known symbols for correct work something like `Symbol.iterator in foo`. It can cause problems with their enumerability.
|
941
|
+
* Some problems possible with environment exotic objects (for example, IE `localStorage`).
|
942
|
+
|
943
|
+
#### ECMAScript 6: Collections
|
944
|
+
`core-js` uses native collections in most case, just fixes methods / constructor, if it's required, and in old environment uses fast polyfill (O(1) lookup).
|
945
|
+
#### Map
|
946
|
+
Module [`es6.map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.map.js).
|
947
|
+
```js
|
948
|
+
new Map(iterable (entries) ?) -> map
|
949
|
+
#clear() -> void
|
950
|
+
#delete(key) -> bool
|
951
|
+
#forEach(fn(val, key, @), that) -> void
|
952
|
+
#get(key) -> val
|
953
|
+
#has(key) -> bool
|
954
|
+
#set(key, val) -> @
|
955
|
+
#size -> uint
|
956
|
+
#values() -> iterator
|
957
|
+
#keys() -> iterator
|
958
|
+
#entries() -> iterator
|
959
|
+
#@@iterator() -> iterator (entries)
|
960
|
+
```
|
961
|
+
[*CommonJS entry points:*](#commonjs)
|
962
|
+
```
|
963
|
+
core-js(/library)/es6/map
|
964
|
+
core-js(/library)/fn/map
|
965
|
+
```
|
966
|
+
[*Examples*](http://goo.gl/GWR7NI):
|
967
|
+
```js
|
968
|
+
var a = [1];
|
969
|
+
|
970
|
+
var map = new Map([['a', 1], [42, 2]]);
|
971
|
+
map.set(a, 3).set(true, 4);
|
972
|
+
|
973
|
+
console.log(map.size); // => 4
|
974
|
+
console.log(map.has(a)); // => true
|
975
|
+
console.log(map.has([1])); // => false
|
976
|
+
console.log(map.get(a)); // => 3
|
977
|
+
map.forEach(function(val, key){
|
978
|
+
console.log(val); // => 1, 2, 3, 4
|
979
|
+
console.log(key); // => 'a', 42, [1], true
|
980
|
+
});
|
981
|
+
map.delete(a);
|
982
|
+
console.log(map.size); // => 3
|
983
|
+
console.log(map.get(a)); // => undefined
|
984
|
+
console.log(Array.from(map)); // => [['a', 1], [42, 2], [true, 4]]
|
985
|
+
|
986
|
+
var map = new Map([['a', 1], ['b', 2], ['c', 3]]);
|
987
|
+
|
988
|
+
for(var [key, val] of map){
|
989
|
+
console.log(key); // => 'a', 'b', 'c'
|
990
|
+
console.log(val); // => 1, 2, 3
|
991
|
+
}
|
992
|
+
for(var val of map.values())console.log(val); // => 1, 2, 3
|
993
|
+
for(var key of map.keys())console.log(key); // => 'a', 'b', 'c'
|
994
|
+
for(var [key, val] of map.entries()){
|
995
|
+
console.log(key); // => 'a', 'b', 'c'
|
996
|
+
console.log(val); // => 1, 2, 3
|
997
|
+
}
|
998
|
+
```
|
999
|
+
#### Set
|
1000
|
+
Module [`es6.set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.set.js).
|
1001
|
+
```js
|
1002
|
+
new Set(iterable?) -> set
|
1003
|
+
#add(key) -> @
|
1004
|
+
#clear() -> void
|
1005
|
+
#delete(key) -> bool
|
1006
|
+
#forEach(fn(el, el, @), that) -> void
|
1007
|
+
#has(key) -> bool
|
1008
|
+
#size -> uint
|
1009
|
+
#values() -> iterator
|
1010
|
+
#keys() -> iterator
|
1011
|
+
#entries() -> iterator
|
1012
|
+
#@@iterator() -> iterator (values)
|
1013
|
+
```
|
1014
|
+
[*CommonJS entry points:*](#commonjs)
|
1015
|
+
```
|
1016
|
+
core-js(/library)/es6/set
|
1017
|
+
core-js(/library)/fn/set
|
1018
|
+
```
|
1019
|
+
[*Examples*](http://goo.gl/bmhLwg):
|
1020
|
+
```js
|
1021
|
+
var set = new Set(['a', 'b', 'a', 'c']);
|
1022
|
+
set.add('d').add('b').add('e');
|
1023
|
+
console.log(set.size); // => 5
|
1024
|
+
console.log(set.has('b')); // => true
|
1025
|
+
set.forEach(function(it){
|
1026
|
+
console.log(it); // => 'a', 'b', 'c', 'd', 'e'
|
1027
|
+
});
|
1028
|
+
set.delete('b');
|
1029
|
+
console.log(set.size); // => 4
|
1030
|
+
console.log(set.has('b')); // => false
|
1031
|
+
console.log(Array.from(set)); // => ['a', 'c', 'd', 'e']
|
1032
|
+
|
1033
|
+
var set = new Set([1, 2, 3, 2, 1]);
|
1034
|
+
|
1035
|
+
for(var val of set)console.log(val); // => 1, 2, 3
|
1036
|
+
for(var val of set.values())console.log(val); // => 1, 2, 3
|
1037
|
+
for(var key of set.keys())console.log(key); // => 1, 2, 3
|
1038
|
+
for(var [key, val] of set.entries()){
|
1039
|
+
console.log(key); // => 1, 2, 3
|
1040
|
+
console.log(val); // => 1, 2, 3
|
1041
|
+
}
|
1042
|
+
```
|
1043
|
+
#### WeakMap
|
1044
|
+
Module [`es6.weak-map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.weak-map.js).
|
1045
|
+
```js
|
1046
|
+
new WeakMap(iterable (entries) ?) -> weakmap
|
1047
|
+
#delete(key) -> bool
|
1048
|
+
#get(key) -> val
|
1049
|
+
#has(key) -> bool
|
1050
|
+
#set(key, val) -> @
|
1051
|
+
```
|
1052
|
+
[*CommonJS entry points:*](#commonjs)
|
1053
|
+
```
|
1054
|
+
core-js(/library)/es6/weak-map
|
1055
|
+
core-js(/library)/fn/weak-map
|
1056
|
+
```
|
1057
|
+
[*Examples*](http://goo.gl/SILXyw):
|
1058
|
+
```js
|
1059
|
+
var a = [1]
|
1060
|
+
, b = [2]
|
1061
|
+
, c = [3];
|
1062
|
+
|
1063
|
+
var wmap = new WeakMap([[a, 1], [b, 2]]);
|
1064
|
+
wmap.set(c, 3).set(b, 4);
|
1065
|
+
console.log(wmap.has(a)); // => true
|
1066
|
+
console.log(wmap.has([1])); // => false
|
1067
|
+
console.log(wmap.get(a)); // => 1
|
1068
|
+
wmap.delete(a);
|
1069
|
+
console.log(wmap.get(a)); // => undefined
|
1070
|
+
|
1071
|
+
// Private properties store:
|
1072
|
+
var Person = (function(){
|
1073
|
+
var names = new WeakMap;
|
1074
|
+
function Person(name){
|
1075
|
+
names.set(this, name);
|
1076
|
+
}
|
1077
|
+
Person.prototype.getName = function(){
|
1078
|
+
return names.get(this);
|
1079
|
+
};
|
1080
|
+
return Person;
|
1081
|
+
})();
|
1082
|
+
|
1083
|
+
var person = new Person('Vasya');
|
1084
|
+
console.log(person.getName()); // => 'Vasya'
|
1085
|
+
for(var key in person)console.log(key); // => only 'getName'
|
1086
|
+
```
|
1087
|
+
#### WeakSet
|
1088
|
+
Module [`es6.weak-set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.weak-set.js).
|
1089
|
+
```js
|
1090
|
+
new WeakSet(iterable?) -> weakset
|
1091
|
+
#add(key) -> @
|
1092
|
+
#delete(key) -> bool
|
1093
|
+
#has(key) -> bool
|
1094
|
+
```
|
1095
|
+
[*CommonJS entry points:*](#commonjs)
|
1096
|
+
```
|
1097
|
+
core-js(/library)/es6/weak-set
|
1098
|
+
core-js(/library)/fn/weak-set
|
1099
|
+
```
|
1100
|
+
[*Examples*](http://goo.gl/TdFbEx):
|
1101
|
+
```js
|
1102
|
+
var a = [1]
|
1103
|
+
, b = [2]
|
1104
|
+
, c = [3];
|
1105
|
+
|
1106
|
+
var wset = new WeakSet([a, b, a]);
|
1107
|
+
wset.add(c).add(b).add(c);
|
1108
|
+
console.log(wset.has(b)); // => true
|
1109
|
+
console.log(wset.has([2])); // => false
|
1110
|
+
wset.delete(b);
|
1111
|
+
console.log(wset.has(b)); // => false
|
1112
|
+
```
|
1113
|
+
##### Caveats when using collections polyfill:
|
1114
|
+
|
1115
|
+
* Weak-collections polyfill stores values as hidden properties of keys. It works correct and not leak in most cases. However, it is desirable to store a collection longer than its keys.
|
1116
|
+
|
1117
|
+
#### ECMAScript 6: Typed Arrays
|
1118
|
+
Implementations and fixes `ArrayBuffer`, `DataView`, typed arrays constructors, static and prototype methods. Typed Arrays work only in environments with support descriptors (IE9+), `ArrayBuffer` and `DataView` should work anywhere.
|
1119
|
+
|
1120
|
+
Modules [`es6.typed.array-buffer`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.array-buffer.js), [`es6.typed.data-view`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.data-view.js), [`es6.typed.int8-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int8-array.js), [`es6.typed.uint8-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint8-array.js), [`es6.typed.uint8-clamped-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint8-clamped-array.js), [`es6.typed.int16-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int16-array.js), [`es6.typed.uint16-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint16-array.js), [`es6.typed.int32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.int32-array.js), [`es6.typed.uint32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.uint32-array.js), [`es6.typed.float32-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.float32-array.js) and [`es6.typed.float64-array`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.typed.float64-array.js).
|
1121
|
+
```js
|
1122
|
+
new ArrayBuffer(length) -> buffer
|
1123
|
+
.isView(var) -> bool
|
1124
|
+
#slice(start = 0, end = @length) -> buffer
|
1125
|
+
#byteLength -> uint
|
1126
|
+
|
1127
|
+
new DataView(buffer, byteOffset = 0, byteLength = buffer.byteLength - byteOffset) -> view
|
1128
|
+
#getInt8(offset) -> int8
|
1129
|
+
#getUint8(offset) -> uint8
|
1130
|
+
#getInt16(offset, littleEndian = false) -> int16
|
1131
|
+
#getUint16(offset, littleEndian = false) -> uint16
|
1132
|
+
#getInt32(offset, littleEndian = false) -> int32
|
1133
|
+
#getUint32(offset, littleEndian = false) -> uint32
|
1134
|
+
#getFloat32(offset, littleEndian = false) -> float32
|
1135
|
+
#getFloat64(offset, littleEndian = false) -> float64
|
1136
|
+
#setInt8(offset, value) -> void
|
1137
|
+
#setUint8(offset, value) -> void
|
1138
|
+
#setInt16(offset, value, littleEndian = false) -> void
|
1139
|
+
#setUint16(offset, value, littleEndian = false) -> void
|
1140
|
+
#setInt32(offset, value, littleEndian = false) -> void
|
1141
|
+
#setUint32(offset, value, littleEndian = false) -> void
|
1142
|
+
#setFloat32(offset, value, littleEndian = false) -> void
|
1143
|
+
#setFloat64(offset, value, littleEndian = false) -> void
|
1144
|
+
#buffer -> buffer
|
1145
|
+
#byteLength -> uint
|
1146
|
+
#byteOffset -> uint
|
1147
|
+
|
1148
|
+
{
|
1149
|
+
Int8Array,
|
1150
|
+
Uint8Array,
|
1151
|
+
Uint8ClampedArray,
|
1152
|
+
Int16Array,
|
1153
|
+
Uint16Array,
|
1154
|
+
Int32Array,
|
1155
|
+
Uint32Array,
|
1156
|
+
Float32Array,
|
1157
|
+
Float64Array
|
1158
|
+
}
|
1159
|
+
new %TypedArray%(length) -> typed
|
1160
|
+
new %TypedArray%(typed) -> typed
|
1161
|
+
new %TypedArray%(arrayLike) -> typed
|
1162
|
+
new %TypedArray%(iterable) -> typed
|
1163
|
+
new %TypedArray%(buffer, byteOffset = 0, length = (buffer.byteLength - byteOffset) / @BYTES_PER_ELEMENT) -> typed
|
1164
|
+
.BYTES_PER_ELEMENT -> uint
|
1165
|
+
.from(arrayLike | iterable, mapFn(val, index)?, that) -> typed
|
1166
|
+
.of(...args) -> typed
|
1167
|
+
#BYTES_PER_ELEMENT -> uint
|
1168
|
+
#copyWithin(target = 0, start = 0, end = @length) -> @
|
1169
|
+
#every(fn(val, index, @), that) -> bool
|
1170
|
+
#fill(val, start = 0, end = @length) -> @
|
1171
|
+
#filter(fn(val, index, @), that) -> typed
|
1172
|
+
#find(fn(val, index, @), that) -> val
|
1173
|
+
#findIndex(fn(val, index, @), that) -> index
|
1174
|
+
#forEach(fn(val, index, @), that) -> void
|
1175
|
+
#indexOf(var, from?) -> int
|
1176
|
+
#join(string = ',') -> string
|
1177
|
+
#lastIndexOf(var, from?) -> int
|
1178
|
+
#map(fn(val, index, @), that) -> typed
|
1179
|
+
#reduce(fn(memo, val, index, @), memo?) -> var
|
1180
|
+
#reduceRight(fn(memo, val, index, @), memo?) -> var
|
1181
|
+
#reverse() -> @
|
1182
|
+
#set(arrayLike, offset = 0) -> void
|
1183
|
+
#slice(start = 0, end = @length) -> typed
|
1184
|
+
#some(fn(val, index, @), that) -> bool
|
1185
|
+
#sort(fn(a, b)?) -> @
|
1186
|
+
#subarray(start = 0, end = @length) -> typed
|
1187
|
+
#toString() -> string
|
1188
|
+
#toLocaleString() -> string
|
1189
|
+
#values() -> iterator
|
1190
|
+
#keys() -> iterator
|
1191
|
+
#entries() -> iterator
|
1192
|
+
#@@iterator() -> iterator (values)
|
1193
|
+
#buffer -> buffer
|
1194
|
+
#byteLength -> uint
|
1195
|
+
#byteOffset -> uint
|
1196
|
+
#length -> uint
|
1197
|
+
```
|
1198
|
+
[*CommonJS entry points:*](#commonjs)
|
1199
|
+
```
|
1200
|
+
core-js(/library)/es6/typed
|
1201
|
+
core-js(/library)/fn/typed
|
1202
|
+
core-js(/library)/fn/typed/array-buffer
|
1203
|
+
core-js(/library)/fn/typed/data-view
|
1204
|
+
core-js(/library)/fn/typed/int8-array
|
1205
|
+
core-js(/library)/fn/typed/uint8-array
|
1206
|
+
core-js(/library)/fn/typed/uint8-clamped-array
|
1207
|
+
core-js(/library)/fn/typed/int16-array
|
1208
|
+
core-js(/library)/fn/typed/uint16-array
|
1209
|
+
core-js(/library)/fn/typed/int32-array
|
1210
|
+
core-js(/library)/fn/typed/uint32-array
|
1211
|
+
core-js(/library)/fn/typed/float32-array
|
1212
|
+
core-js(/library)/fn/typed/float64-array
|
1213
|
+
```
|
1214
|
+
[*Examples*](http://goo.gl/yla75z):
|
1215
|
+
```js
|
1216
|
+
new Int32Array(4); // => [0, 0, 0, 0]
|
1217
|
+
new Uint8ClampedArray([1, 2, 3, 666]); // => [1, 2, 3, 255]
|
1218
|
+
new Float32Array(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
|
1219
|
+
|
1220
|
+
var buffer = new ArrayBuffer(8);
|
1221
|
+
var view = new DataView(buffer);
|
1222
|
+
view.setFloat64(0, 123.456, true);
|
1223
|
+
new Uint8Array(buffer.slice(4)); // => [47, 221, 94, 64]
|
1224
|
+
|
1225
|
+
Int8Array.of(1, 1.5, 5.7, 745); // => [1, 1, 5, -23]
|
1226
|
+
Uint8Array.from([1, 1.5, 5.7, 745]); // => [1, 1, 5, 233]
|
1227
|
+
|
1228
|
+
var typed = new Uint8Array([1, 2, 3]);
|
1229
|
+
|
1230
|
+
var a = typed.slice(1); // => [2, 3]
|
1231
|
+
typed.buffer === a.buffer; // => false
|
1232
|
+
var b = typed.subarray(1); // => [2, 3]
|
1233
|
+
typed.buffer === b.buffer; // => true
|
1234
|
+
|
1235
|
+
typed.filter(it => it % 2); // => [1, 3]
|
1236
|
+
typed.map(it => it * 1.5); // => [1, 3, 4]
|
1237
|
+
|
1238
|
+
for(var val of typed)console.log(val); // => 1, 2, 3
|
1239
|
+
for(var val of typed.values())console.log(val); // => 1, 2, 3
|
1240
|
+
for(var key of typed.keys())console.log(key); // => 0, 1, 2
|
1241
|
+
for(var [key, val] of typed.entries()){
|
1242
|
+
console.log(key); // => 0, 1, 2
|
1243
|
+
console.log(val); // => 1, 2, 3
|
1244
|
+
}
|
1245
|
+
```
|
1246
|
+
##### Caveats when using typed arrays:
|
1247
|
+
|
1248
|
+
* Typed Arrays polyfills works completely how should work by the spec, but because of internal use getter / setters on each instance, is slow and consumes significant memory. However, typed arrays polyfills required mainly for IE9 (and for `Uint8ClampedArray` in IE10 and early IE11), all modern engines have native typed arrays and requires only constructors fixes and methods.
|
1249
|
+
* The current version hasn't special entry points for methods, they can be added only with constructors. It can be added in the future.
|
1250
|
+
* In the `library` version we can't pollute native prototypes, so prototype methods available as constructors static.
|
1251
|
+
|
1252
|
+
#### ECMAScript 6: Reflect
|
1253
|
+
Modules [`es6.reflect.apply`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.apply.js), [`es6.reflect.construct`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.construct.js), [`es6.reflect.define-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.define-property.js), [`es6.reflect.delete-property`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.delete-property.js), [`es6.reflect.enumerate`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.enumerate.js), [`es6.reflect.get`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get.js), [`es6.reflect.get-own-property-descriptor`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get-own-property-descriptor.js), [`es6.reflect.get-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.get-prototype-of.js), [`es6.reflect.has`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.has.js), [`es6.reflect.is-extensible`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.is-extensible.js), [`es6.reflect.own-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.own-keys.js), [`es6.reflect.prevent-extensions`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.prevent-extensions.js), [`es6.reflect.set`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.set.js), [`es6.reflect.set-prototype-of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es6.reflect.set-prototype-of.js).
|
1254
|
+
```js
|
1255
|
+
Reflect
|
1256
|
+
.apply(target, thisArgument, argumentsList) -> var
|
1257
|
+
.construct(target, argumentsList, newTarget?) -> object
|
1258
|
+
.defineProperty(target, propertyKey, attributes) -> bool
|
1259
|
+
.deleteProperty(target, propertyKey) -> bool
|
1260
|
+
.enumerate(target) -> iterator (removed from the spec and will be removed from core-js@3)
|
1261
|
+
.get(target, propertyKey, receiver?) -> var
|
1262
|
+
.getOwnPropertyDescriptor(target, propertyKey) -> desc
|
1263
|
+
.getPrototypeOf(target) -> object | null
|
1264
|
+
.has(target, propertyKey) -> bool
|
1265
|
+
.isExtensible(target) -> bool
|
1266
|
+
.ownKeys(target) -> array
|
1267
|
+
.preventExtensions(target) -> bool
|
1268
|
+
.set(target, propertyKey, V, receiver?) -> bool
|
1269
|
+
.setPrototypeOf(target, proto) -> bool (required __proto__ - IE11+)
|
1270
|
+
```
|
1271
|
+
[*CommonJS entry points:*](#commonjs)
|
1272
|
+
```
|
1273
|
+
core-js(/library)/es6/reflect
|
1274
|
+
core-js(/library)/fn/reflect
|
1275
|
+
core-js(/library)/fn/reflect/apply
|
1276
|
+
core-js(/library)/fn/reflect/construct
|
1277
|
+
core-js(/library)/fn/reflect/define-property
|
1278
|
+
core-js(/library)/fn/reflect/delete-property
|
1279
|
+
core-js(/library)/fn/reflect/enumerate (deprecated and will be removed from the next major release)
|
1280
|
+
core-js(/library)/fn/reflect/get
|
1281
|
+
core-js(/library)/fn/reflect/get-own-property-descriptor
|
1282
|
+
core-js(/library)/fn/reflect/get-prototype-of
|
1283
|
+
core-js(/library)/fn/reflect/has
|
1284
|
+
core-js(/library)/fn/reflect/is-extensible
|
1285
|
+
core-js(/library)/fn/reflect/own-keys
|
1286
|
+
core-js(/library)/fn/reflect/prevent-extensions
|
1287
|
+
core-js(/library)/fn/reflect/set
|
1288
|
+
core-js(/library)/fn/reflect/set-prototype-of
|
1289
|
+
```
|
1290
|
+
[*Examples*](http://goo.gl/gVT0cH):
|
1291
|
+
```js
|
1292
|
+
var O = {a: 1};
|
1293
|
+
Object.defineProperty(O, 'b', {value: 2});
|
1294
|
+
O[Symbol('c')] = 3;
|
1295
|
+
Reflect.ownKeys(O); // => ['a', 'b', Symbol(c)]
|
1296
|
+
|
1297
|
+
function C(a, b){
|
1298
|
+
this.c = a + b;
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
var instance = Reflect.construct(C, [20, 22]);
|
1302
|
+
instance.c; // => 42
|
1303
|
+
```
|
1304
|
+
|
1305
|
+
### ECMAScript 7+ proposals
|
1306
|
+
[The TC39 process.](https://tc39.github.io/process-document/)
|
1307
|
+
|
1308
|
+
[*CommonJS entry points:*](#commonjs)
|
1309
|
+
```
|
1310
|
+
core-js(/library)/es7
|
1311
|
+
core-js(/library)/es7/array
|
1312
|
+
core-js(/library)/es7/global
|
1313
|
+
core-js(/library)/es7/string
|
1314
|
+
core-js(/library)/es7/map
|
1315
|
+
core-js(/library)/es7/set
|
1316
|
+
core-js(/library)/es7/error
|
1317
|
+
core-js(/library)/es7/math
|
1318
|
+
core-js(/library)/es7/system
|
1319
|
+
core-js(/library)/es7/symbol
|
1320
|
+
core-js(/library)/es7/reflect
|
1321
|
+
core-js(/library)/es7/observable
|
1322
|
+
```
|
1323
|
+
`core-js/stage/4` entry point contains only stage 4 proposals, `core-js/stage/3` - stage 3 and stage 4, etc.
|
1324
|
+
#### Stage 4 proposals
|
1325
|
+
|
1326
|
+
[*CommonJS entry points:*](#commonjs)
|
1327
|
+
```js
|
1328
|
+
core-js(/library)/stage/4
|
1329
|
+
```
|
1330
|
+
* `{Array, %TypedArray%}#includes` [proposal](https://github.com/tc39/Array.prototype.includes) - module [`es7.array.includes`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.array.includes.js), `%TypedArray%` version in modules from [this section](#ecmascript-6-typed-arrays).
|
1331
|
+
```js
|
1332
|
+
Array
|
1333
|
+
#includes(var, from?) -> bool
|
1334
|
+
{
|
1335
|
+
Int8Array,
|
1336
|
+
Uint8Array,
|
1337
|
+
Uint8ClampedArray,
|
1338
|
+
Int16Array,
|
1339
|
+
Uint16Array,
|
1340
|
+
Int32Array,
|
1341
|
+
Uint32Array,
|
1342
|
+
Float32Array,
|
1343
|
+
Float64Array
|
1344
|
+
}
|
1345
|
+
#includes(var, from?) -> bool
|
1346
|
+
```
|
1347
|
+
[*CommonJS entry points:*](#commonjs)
|
1348
|
+
```js
|
1349
|
+
core-js(/library)/fn/array/includes
|
1350
|
+
```
|
1351
|
+
[*Examples*](http://goo.gl/2Gq4ma):
|
1352
|
+
```js
|
1353
|
+
[1, 2, 3].includes(2); // => true
|
1354
|
+
[1, 2, 3].includes(4); // => false
|
1355
|
+
[1, 2, 3].includes(2, 2); // => false
|
1356
|
+
|
1357
|
+
[NaN].indexOf(NaN); // => -1
|
1358
|
+
[NaN].includes(NaN); // => true
|
1359
|
+
Array(1).indexOf(undefined); // => -1
|
1360
|
+
Array(1).includes(undefined); // => true
|
1361
|
+
```
|
1362
|
+
* `Object.values`, `Object.entries` [proposal](https://github.com/tc39/proposal-object-values-entries) - modules [`es7.object.values`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.values.js), [`es7.object.entries`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.entries.js)
|
1363
|
+
```js
|
1364
|
+
Object
|
1365
|
+
.values(object) -> array
|
1366
|
+
.entries(object) -> array
|
1367
|
+
```
|
1368
|
+
[*CommonJS entry points:*](#commonjs)
|
1369
|
+
```js
|
1370
|
+
core-js(/library)/fn/object/values
|
1371
|
+
core-js(/library)/fn/object/entries
|
1372
|
+
```
|
1373
|
+
[*Examples*](http://goo.gl/6kuGOn):
|
1374
|
+
```js
|
1375
|
+
Object.values({a: 1, b: 2, c: 3}); // => [1, 2, 3]
|
1376
|
+
Object.entries({a: 1, b: 2, c: 3}); // => [['a', 1], ['b', 2], ['c', 3]]
|
1377
|
+
|
1378
|
+
for(let [key, value] of Object.entries({a: 1, b: 2, c: 3})){
|
1379
|
+
console.log(key); // => 'a', 'b', 'c'
|
1380
|
+
console.log(value); // => 1, 2, 3
|
1381
|
+
}
|
1382
|
+
```
|
1383
|
+
* `Object.getOwnPropertyDescriptors` [proposal](https://github.com/tc39/proposal-object-getownpropertydescriptors) - module [`es7.object.get-own-property-descriptors`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.get-own-property-descriptors.js)
|
1384
|
+
```js
|
1385
|
+
Object
|
1386
|
+
.getOwnPropertyDescriptors(object) -> object
|
1387
|
+
```
|
1388
|
+
[*CommonJS entry points:*](#commonjs)
|
1389
|
+
```js
|
1390
|
+
core-js(/library)/fn/object/get-own-property-descriptors
|
1391
|
+
```
|
1392
|
+
*Examples*:
|
1393
|
+
```js
|
1394
|
+
// Shallow object cloning with prototype and descriptors:
|
1395
|
+
var copy = Object.create(Object.getPrototypeOf(O), Object.getOwnPropertyDescriptors(O));
|
1396
|
+
// Mixin:
|
1397
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
1398
|
+
```
|
1399
|
+
* `String#padStart`, `String#padEnd` [proposal](https://github.com/tc39/proposal-string-pad-start-end) - modules [`es7.string.pad-start`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.pad-start.js), [`es7.string.pad-end`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.pad-end.js)
|
1400
|
+
```js
|
1401
|
+
String
|
1402
|
+
#padStart(length, fillStr = ' ') -> string
|
1403
|
+
#padEnd(length, fillStr = ' ') -> string
|
1404
|
+
```
|
1405
|
+
[*CommonJS entry points:*](#commonjs)
|
1406
|
+
```js
|
1407
|
+
core-js(/library)/fn/string/pad-start
|
1408
|
+
core-js(/library)/fn/string/pad-end
|
1409
|
+
core-js(/library)/fn/string/virtual/pad-start
|
1410
|
+
core-js(/library)/fn/string/virtual/pad-end
|
1411
|
+
```
|
1412
|
+
[*Examples*](http://goo.gl/hK5ccv):
|
1413
|
+
```js
|
1414
|
+
'hello'.padStart(10); // => ' hello'
|
1415
|
+
'hello'.padStart(10, '1234'); // => '12341hello'
|
1416
|
+
'hello'.padEnd(10); // => 'hello '
|
1417
|
+
'hello'.padEnd(10, '1234'); // => 'hello12341'
|
1418
|
+
```
|
1419
|
+
* `Object#__(define|lookup)[GS]etter__`, [annex B ES2017](https://github.com/tc39/ecma262/pull/381), but we haven't special namespace for that - modules [`es7.object.define-setter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.define-setter.js), [`es7.object.define-getter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.define-getter.js), [`es7.object.lookup-setter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.lookup-setter.js) and [`es7.object.lookup-getter`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.object.lookup-getter.js).
|
1420
|
+
```js
|
1421
|
+
Object
|
1422
|
+
#__defineSetter__(key, fn) -> void
|
1423
|
+
#__defineGetter__(key, fn) -> void
|
1424
|
+
#__lookupSetter__(key) -> fn | void
|
1425
|
+
#__lookupGetter__(key) -> fn | void
|
1426
|
+
```
|
1427
|
+
[*CommonJS entry points:*](#commonjs)
|
1428
|
+
```js
|
1429
|
+
core-js(/library)/fn/object/define-getter
|
1430
|
+
core-js(/library)/fn/object/define-setter
|
1431
|
+
core-js(/library)/fn/object/lookup-getter
|
1432
|
+
core-js(/library)/fn/object/lookup-setter
|
1433
|
+
```
|
1434
|
+
|
1435
|
+
#### Stage 3 proposals
|
1436
|
+
[*CommonJS entry points:*](#commonjs)
|
1437
|
+
```js
|
1438
|
+
core-js(/library)/stage/3
|
1439
|
+
```
|
1440
|
+
* `global` [proposal](https://github.com/tc39/proposal-global) - modules [`es7.global`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.global.js) and [`es7.system.global`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.system.global.js) (obsolete)
|
1441
|
+
```js
|
1442
|
+
global -> object
|
1443
|
+
System
|
1444
|
+
.global -> object (obsolete)
|
1445
|
+
```
|
1446
|
+
[*CommonJS entry points:*](#commonjs)
|
1447
|
+
```js
|
1448
|
+
core-js(/library)/fn/global
|
1449
|
+
core-js(/library)/fn/system/global (obsolete)
|
1450
|
+
```
|
1451
|
+
[*Examples*](http://goo.gl/gEqMl7):
|
1452
|
+
```js
|
1453
|
+
global.Array === Array; // => true
|
1454
|
+
```
|
1455
|
+
* `Promise#finally` [proposal](https://github.com/tc39/proposal-promise-finally) - module [`es7.promise.finally`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.promise.finally.js)
|
1456
|
+
```js
|
1457
|
+
Promise
|
1458
|
+
#finally(onFinally()) -> promise
|
1459
|
+
```
|
1460
|
+
[*CommonJS entry points:*](#commonjs)
|
1461
|
+
```js
|
1462
|
+
core-js(/library)/fn/promise/finally
|
1463
|
+
```
|
1464
|
+
[*Examples*](https://goo.gl/AhyBbJ):
|
1465
|
+
```js
|
1466
|
+
Promise.resolve(42).finally(() => console.log('You will see it anyway'));
|
1467
|
+
|
1468
|
+
Promise.reject(42).finally(() => console.log('You will see it anyway'));
|
1469
|
+
|
1470
|
+
#### Stage 2 proposals
|
1471
|
+
[*CommonJS entry points:*](#commonjs)
|
1472
|
+
```js
|
1473
|
+
core-js(/library)/stage/2
|
1474
|
+
```
|
1475
|
+
* `String#trimLeft`, `String#trimRight` / `String#trimStart`, `String#trimEnd` [proposal](https://github.com/sebmarkbage/ecmascript-string-left-right-trim) - modules [`es7.string.trim-left`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.trim-right.js), [`es7.string.trim-right`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.trim-right.js)
|
1476
|
+
```js
|
1477
|
+
String
|
1478
|
+
#trimLeft() -> string
|
1479
|
+
#trimRight() -> string
|
1480
|
+
#trimStart() -> string
|
1481
|
+
#trimEnd() -> string
|
1482
|
+
```
|
1483
|
+
[*CommonJS entry points:*](#commonjs)
|
1484
|
+
```js
|
1485
|
+
core-js(/library)/fn/string/trim-start
|
1486
|
+
core-js(/library)/fn/string/trim-end
|
1487
|
+
core-js(/library)/fn/string/trim-left
|
1488
|
+
core-js(/library)/fn/string/trim-right
|
1489
|
+
core-js(/library)/fn/string/virtual/trim-start
|
1490
|
+
core-js(/library)/fn/string/virtual/trim-end
|
1491
|
+
core-js(/library)/fn/string/virtual/trim-left
|
1492
|
+
core-js(/library)/fn/string/virtual/trim-right
|
1493
|
+
```
|
1494
|
+
[*Examples*](http://goo.gl/Er5lMJ):
|
1495
|
+
```js
|
1496
|
+
' hello '.trimLeft(); // => 'hello '
|
1497
|
+
' hello '.trimRight(); // => ' hello'
|
1498
|
+
```
|
1499
|
+
```
|
1500
|
+
* `Symbol.asyncIterator` for [async iteration proposal](https://github.com/tc39/proposal-async-iteration) - module [`es7.symbol.async-iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.symbol.async-iterator.js)
|
1501
|
+
```js
|
1502
|
+
Symbol
|
1503
|
+
.asyncIterator -> @@asyncIterator
|
1504
|
+
```
|
1505
|
+
[*CommonJS entry points:*](#commonjs)
|
1506
|
+
```js
|
1507
|
+
core-js(/library)/fn/symbol/async-iterator
|
1508
|
+
```
|
1509
|
+
|
1510
|
+
#### Stage 1 proposals
|
1511
|
+
[*CommonJS entry points:*](#commonjs)
|
1512
|
+
```js
|
1513
|
+
core-js(/library)/stage/1
|
1514
|
+
```
|
1515
|
+
* `Promise.try` [proposal](https://github.com/tc39/proposal-promise-try) - module [`es7.promise.try`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.promise.try.js)
|
1516
|
+
```js
|
1517
|
+
Promise
|
1518
|
+
.try(function()) -> promise
|
1519
|
+
```
|
1520
|
+
[*CommonJS entry points:*](#commonjs)
|
1521
|
+
```js
|
1522
|
+
core-js(/library)/fn/promise/try
|
1523
|
+
```
|
1524
|
+
[*Examples*](https://goo.gl/k5GGRo):
|
1525
|
+
```js
|
1526
|
+
Promise.try(() => 42).then(it => console.log(`Promise, resolved as ${it}`));
|
1527
|
+
|
1528
|
+
Promise.try(() => { throw 42; }).catch(it => console.log(`Promise, rejected as ${it}`));
|
1529
|
+
```
|
1530
|
+
* `Array#flatten` and `Array#flatMap` [proposal](https://tc39.github.io/proposal-flatMap) - modules [`es7.array.flatten`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.array.flatten.js) and [`es7.array.flat-map`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.array.flat-map.js)
|
1531
|
+
```js
|
1532
|
+
Array
|
1533
|
+
#flatten(depthArg = 1) -> array
|
1534
|
+
#flatMap(fn(val, key, @), that) -> array
|
1535
|
+
```
|
1536
|
+
[*CommonJS entry points:*](#commonjs)
|
1537
|
+
```js
|
1538
|
+
core-js(/library)/fn/array/flatten
|
1539
|
+
core-js(/library)/fn/array/flat-map
|
1540
|
+
core-js(/library)/fn/array/virtual/flatten
|
1541
|
+
core-js(/library)/fn/array/virtual/flat-map
|
1542
|
+
```
|
1543
|
+
[*Examples*](https://goo.gl/jTXsZi):
|
1544
|
+
```js
|
1545
|
+
[1, [2, 3], [4, 5]].flatten(); // => [1, 2, 3, 4, 5]
|
1546
|
+
[1, [2, [3, [4]]], 5].flatten(); // => [1, 2, [3, [4]], 5]
|
1547
|
+
[1, [2, [3, [4]]], 5].flatten(3); // => [1, 2, 3, 4, 5]
|
1548
|
+
|
1549
|
+
[{a: 1, b: 2}, {a: 3, b: 4}, {a: 5, b: 6}].flatMap(it => [it.a, it.b]); // => [1, 2, 3, 4, 5, 6]
|
1550
|
+
```
|
1551
|
+
* `.of` and `.from` methods on collection constructors [proposal](https://github.com/tc39/proposal-setmap-offrom) - modules [`es7.set.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.set.of.js), [`es7.set.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.set.from.js), [`es7.map.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.map.of.js), [`es7.map.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.map.from.js), [`es7.weak-set.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-set.of.js), [`es7.weak-set.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-set.from.js), [`es7.weak-map.of`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-map.of.js), [`es7.weak-map.from`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.weak-map.from.js)
|
1552
|
+
```js
|
1553
|
+
Set
|
1554
|
+
.of(...args) -> set
|
1555
|
+
.from(iterable, mapFn(val, index)?, that?) -> set
|
1556
|
+
Map
|
1557
|
+
.of(...args) -> map
|
1558
|
+
.from(iterable, mapFn(val, index)?, that?) -> map
|
1559
|
+
WeakSet
|
1560
|
+
.of(...args) -> weakset
|
1561
|
+
.from(iterable, mapFn(val, index)?, that?) -> weakset
|
1562
|
+
WeakMap
|
1563
|
+
.of(...args) -> weakmap
|
1564
|
+
.from(iterable, mapFn(val, index)?, that?) -> weakmap
|
1565
|
+
```
|
1566
|
+
[*CommonJS entry points:*](#commonjs)
|
1567
|
+
```js
|
1568
|
+
core-js(/library)/fn/set/of
|
1569
|
+
core-js(/library)/fn/set/from
|
1570
|
+
core-js(/library)/fn/map/of
|
1571
|
+
core-js(/library)/fn/map/from
|
1572
|
+
core-js(/library)/fn/weak-set/of
|
1573
|
+
core-js(/library)/fn/weak-set/from
|
1574
|
+
core-js(/library)/fn/weak-map/of
|
1575
|
+
core-js(/library)/fn/weak-map/from
|
1576
|
+
```
|
1577
|
+
[*Examples*](https://goo.gl/mSC7eU):
|
1578
|
+
```js
|
1579
|
+
Set.of(1, 2, 3, 2, 1); // => Set {1, 2, 3}
|
1580
|
+
|
1581
|
+
Map.from([[1, 2], [3, 4]], ([key, val]) => [key ** 2, val ** 2]); // => Map {1: 4, 9: 16}
|
1582
|
+
```
|
1583
|
+
* `String#matchAll` [proposal](https://github.com/tc39/String.prototype.matchAll) - module [`es7.string.match-all`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.match-all.js)
|
1584
|
+
```js
|
1585
|
+
String
|
1586
|
+
#matchAll(regexp) -> iterator
|
1587
|
+
```
|
1588
|
+
[*CommonJS entry points:*](#commonjs)
|
1589
|
+
```js
|
1590
|
+
core-js(/library)/fn/string/match-all
|
1591
|
+
core-js(/library)/fn/string/virtual/match-all
|
1592
|
+
```
|
1593
|
+
[*Examples*](http://goo.gl/6kp9EB):
|
1594
|
+
```js
|
1595
|
+
for(let [_, d, D] of '1111a2b3cccc'.matchAll(/(\d)(\D)/)){
|
1596
|
+
console.log(d, D); // => 1 a, 2 b, 3 c
|
1597
|
+
}
|
1598
|
+
```
|
1599
|
+
* `Observable` [proposal](https://github.com/zenparsing/es-observable) - modules [`es7.observable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.observable.js) and [`es7.symbol.observable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.symbol.observable.js)
|
1600
|
+
```js
|
1601
|
+
new Observable(fn) -> observable
|
1602
|
+
#subscribe(observer) -> subscription
|
1603
|
+
#forEach(fn) -> promise
|
1604
|
+
#@@observable() -> @
|
1605
|
+
.of(...items) -> observable
|
1606
|
+
.from(observable | iterable) -> observable
|
1607
|
+
.@@species -> @
|
1608
|
+
Symbol
|
1609
|
+
.observable -> @@observable
|
1610
|
+
```
|
1611
|
+
[*CommonJS entry points:*](#commonjs)
|
1612
|
+
```js
|
1613
|
+
core-js(/library)/fn/observable
|
1614
|
+
core-js(/library)/fn/symbol/observable
|
1615
|
+
```
|
1616
|
+
[*Examples*](http://goo.gl/1LDywi):
|
1617
|
+
```js
|
1618
|
+
new Observable(observer => {
|
1619
|
+
observer.next('hello');
|
1620
|
+
observer.next('world');
|
1621
|
+
observer.complete();
|
1622
|
+
}).forEach(it => console.log(it))
|
1623
|
+
.then(_ => console.log('!'));
|
1624
|
+
```
|
1625
|
+
* `Math.{clamp, DEG_PER_RAD, degrees, fscale, rad-per-deg, radians, scale}`
|
1626
|
+
[proposal](https://github.com/rwaldron/proposal-math-extensions) - modules
|
1627
|
+
[`es7.math.clamp`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.clamp.js),
|
1628
|
+
[`es7.math.DEG_PER_RAD`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.DEG_PER_RAD.js),
|
1629
|
+
[`es7.math.degrees`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.degrees.js),
|
1630
|
+
[`es7.math.fscale`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.fscale.js),
|
1631
|
+
[`es7.math.RAD_PER_DEG`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.RAD_PER_DEG.js),
|
1632
|
+
[`es7.math.radians`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.radians.js) and
|
1633
|
+
[`es7.math.scale`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.scale.js)
|
1634
|
+
```js
|
1635
|
+
Math
|
1636
|
+
.DEG_PER_RAD -> number
|
1637
|
+
.RAD_PER_DEG -> number
|
1638
|
+
.clamp(x, lower, upper) -> number
|
1639
|
+
.degrees(radians) -> number
|
1640
|
+
.fscale(x, inLow, inHigh, outLow, outHigh) -> number
|
1641
|
+
.radians(degrees) -> number
|
1642
|
+
.scale(x, inLow, inHigh, outLow, outHigh) -> number
|
1643
|
+
```
|
1644
|
+
[*CommonJS entry points:*](#commonjs)
|
1645
|
+
```js
|
1646
|
+
core-js(/library)/fn/math/clamp
|
1647
|
+
core-js(/library)/fn/math/deg-per-rad
|
1648
|
+
core-js(/library)/fn/math/degrees
|
1649
|
+
core-js(/library)/fn/math/fscale
|
1650
|
+
core-js(/library)/fn/math/rad-per-deg
|
1651
|
+
core-js(/library)/fn/math/radians
|
1652
|
+
core-js(/library)/fn/math/scale
|
1653
|
+
```
|
1654
|
+
* `Math.signbit` [proposal](http://jfbastien.github.io/papers/Math.signbit.html) - module [`es7.math.signbit`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.signbit.js)
|
1655
|
+
```js
|
1656
|
+
Math
|
1657
|
+
.signbit(x) -> bool
|
1658
|
+
```
|
1659
|
+
[*CommonJS entry points:*](#commonjs)
|
1660
|
+
```js
|
1661
|
+
core-js(/library)/fn/math/signbit
|
1662
|
+
```
|
1663
|
+
[*Examples*](http://es6.zloirock.ru/):
|
1664
|
+
```js
|
1665
|
+
Math.signbit(NaN); // => NaN
|
1666
|
+
Math.signbit(1); // => true
|
1667
|
+
Math.signbit(-1); // => false
|
1668
|
+
Math.signbit(0); // => true
|
1669
|
+
Math.signbit(-0); // => false
|
1670
|
+
```
|
1671
|
+
|
1672
|
+
#### Stage 0 proposals
|
1673
|
+
[*CommonJS entry points:*](#commonjs)
|
1674
|
+
```js
|
1675
|
+
core-js(/library)/stage/0
|
1676
|
+
```
|
1677
|
+
* `String#at` [proposal](https://github.com/mathiasbynens/String.prototype.at) - module [`es7.string.at`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.string.at.js)
|
1678
|
+
```js
|
1679
|
+
String
|
1680
|
+
#at(index) -> string
|
1681
|
+
```
|
1682
|
+
[*CommonJS entry points:*](#commonjs)
|
1683
|
+
```js
|
1684
|
+
core-js(/library)/fn/string/at
|
1685
|
+
core-js(/library)/fn/string/virtual/at
|
1686
|
+
```
|
1687
|
+
[*Examples*](http://goo.gl/XluXI8):
|
1688
|
+
```js
|
1689
|
+
'a𠮷b'.at(1); // => '𠮷'
|
1690
|
+
'a𠮷b'.at(1).length; // => 2
|
1691
|
+
```
|
1692
|
+
* `Map#toJSON`, `Set#toJSON` [proposal](https://github.com/DavidBruant/Map-Set.prototype.toJSON) - modules [`es7.map.to-json`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.map.to-json.js), [`es7.set.to-json`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.set.to-json.js) (rejected and will be removed from `core-js@3`)
|
1693
|
+
```js
|
1694
|
+
Map
|
1695
|
+
#toJSON() -> array (rejected and will be removed from core-js@3)
|
1696
|
+
Set
|
1697
|
+
#toJSON() -> array (rejected and will be removed from core-js@3)
|
1698
|
+
```
|
1699
|
+
[*CommonJS entry points:*](#commonjs)
|
1700
|
+
```js
|
1701
|
+
core-js(/library)/fn/map
|
1702
|
+
core-js(/library)/fn/set
|
1703
|
+
```
|
1704
|
+
* `Error.isError` [proposal](https://github.com/ljharb/proposal-is-error) - module [`es7.error.is-error`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.error.is-error.js) (withdrawn and will be removed from `core-js@3`)
|
1705
|
+
```js
|
1706
|
+
Error
|
1707
|
+
.isError(it) -> bool (withdrawn and will be removed from core-js@3)
|
1708
|
+
```
|
1709
|
+
[*CommonJS entry points:*](#commonjs)
|
1710
|
+
```js
|
1711
|
+
core-js(/library)/fn/error/is-error
|
1712
|
+
```
|
1713
|
+
* `Math.{iaddh, isubh, imulh, umulh}` [proposal](https://gist.github.com/BrendanEich/4294d5c212a6d2254703) - modules [`es7.math.iaddh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.iaddh.js), [`es7.math.isubh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.isubh.js), [`es7.math.imulh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.imulh.js) and [`es7.math.umulh`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.math.umulh.js)
|
1714
|
+
```js
|
1715
|
+
Math
|
1716
|
+
.iaddh(lo0, hi0, lo1, hi1) -> int32
|
1717
|
+
.isubh(lo0, hi0, lo1, hi1) -> int32
|
1718
|
+
.imulh(a, b) -> int32
|
1719
|
+
.umulh(a, b) -> uint32
|
1720
|
+
```
|
1721
|
+
[*CommonJS entry points:*](#commonjs)
|
1722
|
+
```js
|
1723
|
+
core-js(/library)/fn/math/iaddh
|
1724
|
+
core-js(/library)/fn/math/isubh
|
1725
|
+
core-js(/library)/fn/math/imulh
|
1726
|
+
core-js(/library)/fn/math/umulh
|
1727
|
+
```
|
1728
|
+
* `global.asap`, [TC39 discussion](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask), module [`es7.asap`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.asap.js)
|
1729
|
+
```js
|
1730
|
+
asap(fn) -> void
|
1731
|
+
```
|
1732
|
+
[*CommonJS entry points:*](#commonjs)
|
1733
|
+
```js
|
1734
|
+
core-js(/library)/fn/asap
|
1735
|
+
```
|
1736
|
+
[*Examples*](http://goo.gl/tx3SRK):
|
1737
|
+
```js
|
1738
|
+
asap(() => console.log('called as microtask'));
|
1739
|
+
```
|
1740
|
+
|
1741
|
+
#### Pre-stage 0 proposals
|
1742
|
+
[*CommonJS entry points:*](#commonjs)
|
1743
|
+
```js
|
1744
|
+
core-js(/library)/stage/pre
|
1745
|
+
```
|
1746
|
+
* `Reflect` metadata [proposal](https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md) - modules [`es7.reflect.define-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.define-metadata.js), [`es7.reflect.delete-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.delete-metadata.js), [`es7.reflect.get-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-metadata.js), [`es7.reflect.get-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-metadata-keys.js), [`es7.reflect.get-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-own-metadata.js), [`es7.reflect.get-own-metadata-keys`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.get-own-metadata-keys.js), [`es7.reflect.has-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.has-metadata.js), [`es7.reflect.has-own-metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.has-own-metadata.js) and [`es7.reflect.metadata`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/es7.reflect.metadata.js).
|
1747
|
+
```js
|
1748
|
+
Reflect
|
1749
|
+
.defineMetadata(metadataKey, metadataValue, target, propertyKey?) -> void
|
1750
|
+
.getMetadata(metadataKey, target, propertyKey?) -> var
|
1751
|
+
.getOwnMetadata(metadataKey, target, propertyKey?) -> var
|
1752
|
+
.hasMetadata(metadataKey, target, propertyKey?) -> bool
|
1753
|
+
.hasOwnMetadata(metadataKey, target, propertyKey?) -> bool
|
1754
|
+
.deleteMetadata(metadataKey, target, propertyKey?) -> bool
|
1755
|
+
.getMetadataKeys(target, propertyKey?) -> array
|
1756
|
+
.getOwnMetadataKeys(target, propertyKey?) -> array
|
1757
|
+
.metadata(metadataKey, metadataValue) -> decorator(target, targetKey?) -> void
|
1758
|
+
```
|
1759
|
+
[*CommonJS entry points:*](#commonjs)
|
1760
|
+
```js
|
1761
|
+
core-js(/library)/fn/reflect/define-metadata
|
1762
|
+
core-js(/library)/fn/reflect/delete-metadata
|
1763
|
+
core-js(/library)/fn/reflect/get-metadata
|
1764
|
+
core-js(/library)/fn/reflect/get-metadata-keys
|
1765
|
+
core-js(/library)/fn/reflect/get-own-metadata
|
1766
|
+
core-js(/library)/fn/reflect/get-own-metadata-keys
|
1767
|
+
core-js(/library)/fn/reflect/has-metadata
|
1768
|
+
core-js(/library)/fn/reflect/has-own-metadata
|
1769
|
+
core-js(/library)/fn/reflect/metadata
|
1770
|
+
```
|
1771
|
+
[*Examples*](http://goo.gl/KCo3PS):
|
1772
|
+
```js
|
1773
|
+
var O = {};
|
1774
|
+
Reflect.defineMetadata('foo', 'bar', O);
|
1775
|
+
Reflect.ownKeys(O); // => []
|
1776
|
+
Reflect.getOwnMetadataKeys(O); // => ['foo']
|
1777
|
+
Reflect.getOwnMetadata('foo', O); // => 'bar'
|
1778
|
+
```
|
1779
|
+
|
1780
|
+
### Web standards
|
1781
|
+
[*CommonJS entry points:*](#commonjs)
|
1782
|
+
```js
|
1783
|
+
core-js(/library)/web
|
1784
|
+
```
|
1785
|
+
#### setTimeout / setInterval
|
1786
|
+
Module [`web.timers`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/web.timers.js). Additional arguments fix for IE9-.
|
1787
|
+
```js
|
1788
|
+
setTimeout(fn(...args), time, ...args) -> id
|
1789
|
+
setInterval(fn(...args), time, ...args) -> id
|
1790
|
+
```
|
1791
|
+
[*CommonJS entry points:*](#commonjs)
|
1792
|
+
```js
|
1793
|
+
core-js(/library)/web/timers
|
1794
|
+
core-js(/library)/fn/set-timeout
|
1795
|
+
core-js(/library)/fn/set-interval
|
1796
|
+
```
|
1797
|
+
```js
|
1798
|
+
// Before:
|
1799
|
+
setTimeout(log.bind(null, 42), 1000);
|
1800
|
+
// After:
|
1801
|
+
setTimeout(log, 1000, 42);
|
1802
|
+
```
|
1803
|
+
#### setImmediate
|
1804
|
+
Module [`web.immediate`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/web.immediate.js). [`setImmediate` proposal](https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate) polyfill.
|
1805
|
+
```js
|
1806
|
+
setImmediate(fn(...args), ...args) -> id
|
1807
|
+
clearImmediate(id) -> void
|
1808
|
+
```
|
1809
|
+
[*CommonJS entry points:*](#commonjs)
|
1810
|
+
```js
|
1811
|
+
core-js(/library)/web/immediate
|
1812
|
+
core-js(/library)/fn/set-immediate
|
1813
|
+
core-js(/library)/fn/clear-immediate
|
1814
|
+
```
|
1815
|
+
[*Examples*](http://goo.gl/6nXGrx):
|
1816
|
+
```js
|
1817
|
+
setImmediate(function(arg1, arg2){
|
1818
|
+
console.log(arg1, arg2); // => Message will be displayed with minimum delay
|
1819
|
+
}, 'Message will be displayed', 'with minimum delay');
|
1820
|
+
|
1821
|
+
clearImmediate(setImmediate(function(){
|
1822
|
+
console.log('Message will not be displayed');
|
1823
|
+
}));
|
1824
|
+
```
|
1825
|
+
#### Iterable DOM collections
|
1826
|
+
Some DOM collections should have [iterable interface](https://heycam.github.io/webidl/#idl-iterable) or should be [inherited from `Array`](https://heycam.github.io/webidl/#LegacyArrayClass). That mean they should have `keys`, `values`, `entries` and `@@iterator` methods for iteration. So add them. Module [`web.dom.iterable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/web.dom.iterable.js):
|
1827
|
+
```js
|
1828
|
+
{
|
1829
|
+
CSSRuleList,
|
1830
|
+
CSSStyleDeclaration,
|
1831
|
+
CSSValueList,
|
1832
|
+
ClientRectList,
|
1833
|
+
DOMRectList,
|
1834
|
+
DOMStringList,
|
1835
|
+
DOMTokenList,
|
1836
|
+
DataTransferItemList,
|
1837
|
+
FileList,
|
1838
|
+
HTMLAllCollection,
|
1839
|
+
HTMLCollection,
|
1840
|
+
HTMLFormElement,
|
1841
|
+
HTMLSelectElement,
|
1842
|
+
MediaList,
|
1843
|
+
MimeTypeArray,
|
1844
|
+
NamedNodeMap,
|
1845
|
+
NodeList,
|
1846
|
+
PaintRequestList,
|
1847
|
+
Plugin,
|
1848
|
+
PluginArray,
|
1849
|
+
SVGLengthList,
|
1850
|
+
SVGNumberList,
|
1851
|
+
SVGPathSegList,
|
1852
|
+
SVGPointList,
|
1853
|
+
SVGStringList,
|
1854
|
+
SVGTransformList,
|
1855
|
+
SourceBufferList,
|
1856
|
+
StyleSheetList,
|
1857
|
+
TextTrackCueList,
|
1858
|
+
TextTrackList,
|
1859
|
+
TouchList
|
1860
|
+
}
|
1861
|
+
#@@iterator() -> iterator (values)
|
1862
|
+
|
1863
|
+
{
|
1864
|
+
DOMTokenList,
|
1865
|
+
NodeList
|
1866
|
+
}
|
1867
|
+
#values() -> iterator
|
1868
|
+
#keys() -> iterator
|
1869
|
+
#entries() -> iterator
|
1870
|
+
```
|
1871
|
+
[*CommonJS entry points:*](#commonjs)
|
1872
|
+
```js
|
1873
|
+
core-js(/library)/web/dom-collections
|
1874
|
+
core-js(/library)/fn/dom-collections/iterator
|
1875
|
+
```
|
1876
|
+
[*Examples*](http://goo.gl/lfXVFl):
|
1877
|
+
```js
|
1878
|
+
for(var {id} of document.querySelectorAll('*')){
|
1879
|
+
if(id)console.log(id);
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
for(var [index, {id}] of document.querySelectorAll('*').entries()){
|
1883
|
+
if(id)console.log(index, id);
|
1884
|
+
}
|
1885
|
+
```
|
1886
|
+
### Non-standard
|
1887
|
+
[*CommonJS entry points:*](#commonjs)
|
1888
|
+
```js
|
1889
|
+
core-js(/library)/core
|
1890
|
+
```
|
1891
|
+
#### Object
|
1892
|
+
Modules [`core.object.is-object`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.is-object.js), [`core.object.classof`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.classof.js), [`core.object.define`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.define.js), [`core.object.make`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.object.make.js).
|
1893
|
+
```js
|
1894
|
+
Object
|
1895
|
+
.isObject(var) -> bool
|
1896
|
+
.classof(var) -> string
|
1897
|
+
.define(target, mixin) -> target
|
1898
|
+
.make(proto | null, mixin?) -> object
|
1899
|
+
```
|
1900
|
+
|
1901
|
+
[*CommonJS entry points:*](#commonjs)
|
1902
|
+
```js
|
1903
|
+
core-js(/library)/core/object
|
1904
|
+
core-js(/library)/fn/object/is-object
|
1905
|
+
core-js(/library)/fn/object/define
|
1906
|
+
core-js(/library)/fn/object/make
|
1907
|
+
```
|
1908
|
+
Object classify [*examples*](http://goo.gl/YZQmGo):
|
1909
|
+
```js
|
1910
|
+
Object.isObject({}); // => true
|
1911
|
+
Object.isObject(isNaN); // => true
|
1912
|
+
Object.isObject(null); // => false
|
1913
|
+
|
1914
|
+
var classof = Object.classof;
|
1915
|
+
|
1916
|
+
classof(null); // => 'Null'
|
1917
|
+
classof(undefined); // => 'Undefined'
|
1918
|
+
classof(1); // => 'Number'
|
1919
|
+
classof(true); // => 'Boolean'
|
1920
|
+
classof('string'); // => 'String'
|
1921
|
+
classof(Symbol()); // => 'Symbol'
|
1922
|
+
|
1923
|
+
classof(new Number(1)); // => 'Number'
|
1924
|
+
classof(new Boolean(true)); // => 'Boolean'
|
1925
|
+
classof(new String('string')); // => 'String'
|
1926
|
+
|
1927
|
+
var fn = function(){}
|
1928
|
+
, list = (function(){return arguments})(1, 2, 3);
|
1929
|
+
|
1930
|
+
classof({}); // => 'Object'
|
1931
|
+
classof(fn); // => 'Function'
|
1932
|
+
classof([]); // => 'Array'
|
1933
|
+
classof(list); // => 'Arguments'
|
1934
|
+
classof(/./); // => 'RegExp'
|
1935
|
+
classof(new TypeError); // => 'Error'
|
1936
|
+
|
1937
|
+
classof(new Set); // => 'Set'
|
1938
|
+
classof(new Map); // => 'Map'
|
1939
|
+
classof(new WeakSet); // => 'WeakSet'
|
1940
|
+
classof(new WeakMap); // => 'WeakMap'
|
1941
|
+
classof(new Promise(fn)); // => 'Promise'
|
1942
|
+
|
1943
|
+
classof([].values()); // => 'Array Iterator'
|
1944
|
+
classof(new Set().values()); // => 'Set Iterator'
|
1945
|
+
classof(new Map().values()); // => 'Map Iterator'
|
1946
|
+
|
1947
|
+
classof(Math); // => 'Math'
|
1948
|
+
classof(JSON); // => 'JSON'
|
1949
|
+
|
1950
|
+
function Example(){}
|
1951
|
+
Example.prototype[Symbol.toStringTag] = 'Example';
|
1952
|
+
|
1953
|
+
classof(new Example); // => 'Example'
|
1954
|
+
```
|
1955
|
+
`Object.define` and `Object.make` [*examples*](http://goo.gl/rtpD5Z):
|
1956
|
+
```js
|
1957
|
+
// Before:
|
1958
|
+
Object.defineProperty(target, 'c', {
|
1959
|
+
enumerable: true,
|
1960
|
+
configurable: true,
|
1961
|
+
get: function(){
|
1962
|
+
return this.a + this.b;
|
1963
|
+
}
|
1964
|
+
});
|
1965
|
+
|
1966
|
+
// After:
|
1967
|
+
Object.define(target, {
|
1968
|
+
get c(){
|
1969
|
+
return this.a + this.b;
|
1970
|
+
}
|
1971
|
+
});
|
1972
|
+
|
1973
|
+
// Shallow object cloning with prototype and descriptors:
|
1974
|
+
var copy = Object.make(Object.getPrototypeOf(src), src);
|
1975
|
+
|
1976
|
+
// Simple inheritance:
|
1977
|
+
function Vector2D(x, y){
|
1978
|
+
this.x = x;
|
1979
|
+
this.y = y;
|
1980
|
+
}
|
1981
|
+
Object.define(Vector2D.prototype, {
|
1982
|
+
get xy(){
|
1983
|
+
return Math.hypot(this.x, this.y);
|
1984
|
+
}
|
1985
|
+
});
|
1986
|
+
function Vector3D(x, y, z){
|
1987
|
+
Vector2D.apply(this, arguments);
|
1988
|
+
this.z = z;
|
1989
|
+
}
|
1990
|
+
Vector3D.prototype = Object.make(Vector2D.prototype, {
|
1991
|
+
constructor: Vector3D,
|
1992
|
+
get xyz(){
|
1993
|
+
return Math.hypot(this.x, this.y, this.z);
|
1994
|
+
}
|
1995
|
+
});
|
1996
|
+
|
1997
|
+
var vector = new Vector3D(9, 12, 20);
|
1998
|
+
console.log(vector.xy); // => 15
|
1999
|
+
console.log(vector.xyz); // => 25
|
2000
|
+
vector.y++;
|
2001
|
+
console.log(vector.xy); // => 15.811388300841896
|
2002
|
+
console.log(vector.xyz); // => 25.495097567963924
|
2003
|
+
```
|
2004
|
+
#### Dict
|
2005
|
+
Module [`core.dict`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.dict.js). Based on [TC39 discuss](https://github.com/rwaldron/tc39-notes/blob/master/es6/2012-11/nov-29.md#collection-apis-review) / [strawman](http://wiki.ecmascript.org/doku.php?id=harmony:modules_standard#dictionaries).
|
2006
|
+
```js
|
2007
|
+
[new] Dict(iterable (entries) | object ?) -> dict
|
2008
|
+
.isDict(var) -> bool
|
2009
|
+
.values(object) -> iterator
|
2010
|
+
.keys(object) -> iterator
|
2011
|
+
.entries(object) -> iterator (entries)
|
2012
|
+
.has(object, key) -> bool
|
2013
|
+
.get(object, key) -> val
|
2014
|
+
.set(object, key, value) -> object
|
2015
|
+
.forEach(object, fn(val, key, @), that) -> void
|
2016
|
+
.map(object, fn(val, key, @), that) -> new @
|
2017
|
+
.mapPairs(object, fn(val, key, @), that) -> new @
|
2018
|
+
.filter(object, fn(val, key, @), that) -> new @
|
2019
|
+
.some(object, fn(val, key, @), that) -> bool
|
2020
|
+
.every(object, fn(val, key, @), that) -> bool
|
2021
|
+
.find(object, fn(val, key, @), that) -> val
|
2022
|
+
.findKey(object, fn(val, key, @), that) -> key
|
2023
|
+
.keyOf(object, var) -> key
|
2024
|
+
.includes(object, var) -> bool
|
2025
|
+
.reduce(object, fn(memo, val, key, @), memo?) -> var
|
2026
|
+
```
|
2027
|
+
|
2028
|
+
[*CommonJS entry points:*](#commonjs)
|
2029
|
+
```js
|
2030
|
+
core-js(/library)/core/dict
|
2031
|
+
core-js(/library)/fn/dict
|
2032
|
+
```
|
2033
|
+
`Dict` create object without prototype from iterable or simple object.
|
2034
|
+
|
2035
|
+
[*Examples*](http://goo.gl/pnp8Vr):
|
2036
|
+
```js
|
2037
|
+
var map = new Map([['a', 1], ['b', 2], ['c', 3]]);
|
2038
|
+
|
2039
|
+
Dict(); // => {__proto__: null}
|
2040
|
+
Dict({a: 1, b: 2, c: 3}); // => {__proto__: null, a: 1, b: 2, c: 3}
|
2041
|
+
Dict(map); // => {__proto__: null, a: 1, b: 2, c: 3}
|
2042
|
+
Dict([1, 2, 3].entries()); // => {__proto__: null, 0: 1, 1: 2, 2: 3}
|
2043
|
+
|
2044
|
+
var dict = Dict({a: 42});
|
2045
|
+
dict instanceof Object; // => false
|
2046
|
+
dict.a; // => 42
|
2047
|
+
dict.toString; // => undefined
|
2048
|
+
'a' in dict; // => true
|
2049
|
+
'hasOwnProperty' in dict; // => false
|
2050
|
+
|
2051
|
+
Dict.isDict({}); // => false
|
2052
|
+
Dict.isDict(Dict()); // => true
|
2053
|
+
```
|
2054
|
+
`Dict.keys`, `Dict.values` and `Dict.entries` returns iterators for objects.
|
2055
|
+
|
2056
|
+
[*Examples*](http://goo.gl/xAvECH):
|
2057
|
+
```js
|
2058
|
+
var dict = {a: 1, b: 2, c: 3};
|
2059
|
+
|
2060
|
+
for(var key of Dict.keys(dict))console.log(key); // => 'a', 'b', 'c'
|
2061
|
+
|
2062
|
+
for(var val of Dict.values(dict))console.log(val); // => 1, 2, 3
|
2063
|
+
|
2064
|
+
for(var [key, val] of Dict.entries(dict)){
|
2065
|
+
console.log(key); // => 'a', 'b', 'c'
|
2066
|
+
console.log(val); // => 1, 2, 3
|
2067
|
+
}
|
2068
|
+
|
2069
|
+
new Map(Dict.entries(dict)); // => Map {a: 1, b: 2, c: 3}
|
2070
|
+
```
|
2071
|
+
Basic dict operations for objects with prototype [*examples*](http://goo.gl/B28UnG):
|
2072
|
+
```js
|
2073
|
+
'q' in {q: 1}; // => true
|
2074
|
+
'toString' in {}; // => true
|
2075
|
+
|
2076
|
+
Dict.has({q: 1}, 'q'); // => true
|
2077
|
+
Dict.has({}, 'toString'); // => false
|
2078
|
+
|
2079
|
+
({q: 1})['q']; // => 1
|
2080
|
+
({}).toString; // => function toString(){ [native code] }
|
2081
|
+
|
2082
|
+
Dict.get({q: 1}, 'q'); // => 1
|
2083
|
+
Dict.get({}, 'toString'); // => undefined
|
2084
|
+
|
2085
|
+
var O = {};
|
2086
|
+
O['q'] = 1;
|
2087
|
+
O['q']; // => 1
|
2088
|
+
O['__proto__'] = {w: 2};
|
2089
|
+
O['__proto__']; // => {w: 2}
|
2090
|
+
O['w']; // => 2
|
2091
|
+
|
2092
|
+
var O = {};
|
2093
|
+
Dict.set(O, 'q', 1);
|
2094
|
+
O['q']; // => 1
|
2095
|
+
Dict.set(O, '__proto__', {w: 2});
|
2096
|
+
O['__proto__']; // => {w: 2}
|
2097
|
+
O['w']; // => undefined
|
2098
|
+
```
|
2099
|
+
Other methods of `Dict` module are static equivalents of `Array.prototype` methods for dictionaries.
|
2100
|
+
|
2101
|
+
[*Examples*](http://goo.gl/xFi1RH):
|
2102
|
+
```js
|
2103
|
+
var dict = {a: 1, b: 2, c: 3};
|
2104
|
+
|
2105
|
+
Dict.forEach(dict, console.log, console);
|
2106
|
+
// => 1, 'a', {a: 1, b: 2, c: 3}
|
2107
|
+
// => 2, 'b', {a: 1, b: 2, c: 3}
|
2108
|
+
// => 3, 'c', {a: 1, b: 2, c: 3}
|
2109
|
+
|
2110
|
+
Dict.map(dict, function(it){
|
2111
|
+
return it * it;
|
2112
|
+
}); // => {a: 1, b: 4, c: 9}
|
2113
|
+
|
2114
|
+
Dict.mapPairs(dict, function(val, key){
|
2115
|
+
if(key != 'b')return [key + key, val * val];
|
2116
|
+
}); // => {aa: 1, cc: 9}
|
2117
|
+
|
2118
|
+
Dict.filter(dict, function(it){
|
2119
|
+
return it % 2;
|
2120
|
+
}); // => {a: 1, c: 3}
|
2121
|
+
|
2122
|
+
Dict.some(dict, function(it){
|
2123
|
+
return it === 2;
|
2124
|
+
}); // => true
|
2125
|
+
|
2126
|
+
Dict.every(dict, function(it){
|
2127
|
+
return it === 2;
|
2128
|
+
}); // => false
|
2129
|
+
|
2130
|
+
Dict.find(dict, function(it){
|
2131
|
+
return it > 2;
|
2132
|
+
}); // => 3
|
2133
|
+
Dict.find(dict, function(it){
|
2134
|
+
return it > 4;
|
2135
|
+
}); // => undefined
|
2136
|
+
|
2137
|
+
Dict.findKey(dict, function(it){
|
2138
|
+
return it > 2;
|
2139
|
+
}); // => 'c'
|
2140
|
+
Dict.findKey(dict, function(it){
|
2141
|
+
return it > 4;
|
2142
|
+
}); // => undefined
|
2143
|
+
|
2144
|
+
Dict.keyOf(dict, 2); // => 'b'
|
2145
|
+
Dict.keyOf(dict, 4); // => undefined
|
2146
|
+
|
2147
|
+
Dict.includes(dict, 2); // => true
|
2148
|
+
Dict.includes(dict, 4); // => false
|
2149
|
+
|
2150
|
+
Dict.reduce(dict, function(memo, it){
|
2151
|
+
return memo + it;
|
2152
|
+
}); // => 6
|
2153
|
+
Dict.reduce(dict, function(memo, it){
|
2154
|
+
return memo + it;
|
2155
|
+
}, ''); // => '123'
|
2156
|
+
```
|
2157
|
+
#### Partial application
|
2158
|
+
Module [`core.function.part`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.function.part.js).
|
2159
|
+
```js
|
2160
|
+
Function
|
2161
|
+
#part(...args | _) -> fn(...args)
|
2162
|
+
```
|
2163
|
+
|
2164
|
+
[*CommonJS entry points:*](#commonjs)
|
2165
|
+
```js
|
2166
|
+
core-js/core/function
|
2167
|
+
core-js(/library)/fn/function/part
|
2168
|
+
core-js(/library)/fn/function/virtual/part
|
2169
|
+
core-js(/library)/fn/_
|
2170
|
+
```
|
2171
|
+
`Function#part` partial apply function without `this` binding. Uses global variable `_` (`core._` for builds without global namespace pollution) as placeholder and not conflict with `Underscore` / `LoDash`.
|
2172
|
+
|
2173
|
+
[*Examples*](http://goo.gl/p9ZJ8K):
|
2174
|
+
```js
|
2175
|
+
var fn1 = log.part(1, 2);
|
2176
|
+
fn1(3, 4); // => 1, 2, 3, 4
|
2177
|
+
|
2178
|
+
var fn2 = log.part(_, 2, _, 4);
|
2179
|
+
fn2(1, 3); // => 1, 2, 3, 4
|
2180
|
+
|
2181
|
+
var fn3 = log.part(1, _, _, 4);
|
2182
|
+
fn3(2, 3); // => 1, 2, 3, 4
|
2183
|
+
|
2184
|
+
fn2(1, 3, 5); // => 1, 2, 3, 4, 5
|
2185
|
+
fn2(1); // => 1, 2, undefined, 4
|
2186
|
+
```
|
2187
|
+
#### Number Iterator
|
2188
|
+
Module [`core.number.iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.number.iterator.js).
|
2189
|
+
```js
|
2190
|
+
Number
|
2191
|
+
#@@iterator() -> iterator
|
2192
|
+
```
|
2193
|
+
|
2194
|
+
[*CommonJS entry points:*](#commonjs)
|
2195
|
+
```js
|
2196
|
+
core-js(/library)/core/number
|
2197
|
+
core-js(/library)/fn/number/iterator
|
2198
|
+
core-js(/library)/fn/number/virtual/iterator
|
2199
|
+
```
|
2200
|
+
[*Examples*](http://goo.gl/o45pCN):
|
2201
|
+
```js
|
2202
|
+
for(var i of 3)console.log(i); // => 0, 1, 2
|
2203
|
+
|
2204
|
+
[...10]; // => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
2205
|
+
|
2206
|
+
Array.from(10, Math.random); // => [0.9817775336559862, 0.02720663254149258, ...]
|
2207
|
+
|
2208
|
+
Array.from(10, function(it){
|
2209
|
+
return this + it * it;
|
2210
|
+
}, .42); // => [0.42, 1.42, 4.42, 9.42, 16.42, 25.42, 36.42, 49.42, 64.42, 81.42]
|
2211
|
+
```
|
2212
|
+
#### Escaping strings
|
2213
|
+
Modules [`core.regexp.escape`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.regexp.escape.js), [`core.string.escape-html`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.string.escape-html.js) and [`core.string.unescape-html`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.string.unescape-html.js).
|
2214
|
+
```js
|
2215
|
+
RegExp
|
2216
|
+
.escape(str) -> str
|
2217
|
+
String
|
2218
|
+
#escapeHTML() -> str
|
2219
|
+
#unescapeHTML() -> str
|
2220
|
+
```
|
2221
|
+
[*CommonJS entry points:*](#commonjs)
|
2222
|
+
```js
|
2223
|
+
core-js(/library)/core/regexp
|
2224
|
+
core-js(/library)/core/string
|
2225
|
+
core-js(/library)/fn/regexp/escape
|
2226
|
+
core-js(/library)/fn/string/escape-html
|
2227
|
+
core-js(/library)/fn/string/unescape-html
|
2228
|
+
core-js(/library)/fn/string/virtual/escape-html
|
2229
|
+
core-js(/library)/fn/string/virtual/unescape-html
|
2230
|
+
```
|
2231
|
+
[*Examples*](http://goo.gl/6bOvsQ):
|
2232
|
+
```js
|
2233
|
+
RegExp.escape('Hello, []{}()*+?.\\^$|!'); // => 'Hello, \[\]\{\}\(\)\*\+\?\.\\\^\$\|!'
|
2234
|
+
|
2235
|
+
'<script>doSomething();</script>'.escapeHTML(); // => '<script>doSomething();</script>'
|
2236
|
+
'<script>doSomething();</script>'.unescapeHTML(); // => '<script>doSomething();</script>'
|
2237
|
+
```
|
2238
|
+
#### delay
|
2239
|
+
Module [`core.delay`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.delay.js). [Promise](#ecmascript-6-promise)-returning delay function, [esdiscuss](https://esdiscuss.org/topic/promise-returning-delay-function).
|
2240
|
+
```js
|
2241
|
+
delay(ms) -> promise
|
2242
|
+
```
|
2243
|
+
[*CommonJS entry points:*](#commonjs)
|
2244
|
+
```js
|
2245
|
+
core-js(/library)/core/delay
|
2246
|
+
core-js(/library)/fn/delay
|
2247
|
+
```
|
2248
|
+
[*Examples*](http://goo.gl/lbucba):
|
2249
|
+
```js
|
2250
|
+
delay(1e3).then(() => console.log('after 1 sec'));
|
2251
|
+
|
2252
|
+
(async () => {
|
2253
|
+
await delay(3e3);
|
2254
|
+
console.log('after 3 sec');
|
2255
|
+
|
2256
|
+
while(await delay(3e3))console.log('each 3 sec');
|
2257
|
+
})();
|
2258
|
+
```
|
2259
|
+
#### Helpers for iterators
|
2260
|
+
Modules [`core.is-iterable`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.is-iterable.js), [`core.get-iterator`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.get-iterator.js), [`core.get-iterator-method`](https://github.com/zloirock/core-js/blob/v2.6.12/modules/core.get-iterator-method.js) - helpers for check iterability / get iterator in the `library` version or, for example, for `arguments` object:
|
2261
|
+
```js
|
2262
|
+
core
|
2263
|
+
.isIterable(var) -> bool
|
2264
|
+
.getIterator(iterable) -> iterator
|
2265
|
+
.getIteratorMethod(var) -> function | undefined
|
2266
|
+
```
|
2267
|
+
[*CommonJS entry points:*](#commonjs)
|
2268
|
+
```js
|
2269
|
+
core-js(/library)/fn/is-iterable
|
2270
|
+
core-js(/library)/fn/get-iterator
|
2271
|
+
core-js(/library)/fn/get-iterator-method
|
2272
|
+
```
|
2273
|
+
[*Examples*](http://goo.gl/SXsM6D):
|
2274
|
+
```js
|
2275
|
+
var list = (function(){
|
2276
|
+
return arguments;
|
2277
|
+
})(1, 2, 3);
|
2278
|
+
|
2279
|
+
console.log(core.isIterable(list)); // true;
|
2280
|
+
|
2281
|
+
var iter = core.getIterator(list);
|
2282
|
+
console.log(iter.next().value); // 1
|
2283
|
+
console.log(iter.next().value); // 2
|
2284
|
+
console.log(iter.next().value); // 3
|
2285
|
+
console.log(iter.next().value); // undefined
|
2286
|
+
|
2287
|
+
core.getIterator({}); // TypeError: [object Object] is not iterable!
|
2288
|
+
|
2289
|
+
var iterFn = core.getIteratorMethod(list);
|
2290
|
+
console.log(typeof iterFn); // 'function'
|
2291
|
+
var iter = iterFn.call(list);
|
2292
|
+
console.log(iter.next().value); // 1
|
2293
|
+
console.log(iter.next().value); // 2
|
2294
|
+
console.log(iter.next().value); // 3
|
2295
|
+
console.log(iter.next().value); // undefined
|
2296
|
+
|
2297
|
+
console.log(core.getIteratorMethod({})); // undefined
|
2298
|
+
```
|
2299
|
+
|
2300
|
+
## Missing polyfills
|
2301
|
+
- ES5 `JSON` is missing now only in IE7- and never will it be added to `core-js`, if you need it in these old browsers, many implementations are available, for example, [json3](https://github.com/bestiejs/json3).
|
2302
|
+
- ES6 `String#normalize` is not a very useful feature, but this polyfill will be very large. If you need it, you can use [unorm](https://github.com/walling/unorm/).
|
2303
|
+
- ES6 `Proxy` can't be polyfilled, but for Node.js / Chromium with additional flags you can try [harmony-reflect](https://github.com/tvcutsem/harmony-reflect) for adapt old style `Proxy` API to final ES6 version.
|
2304
|
+
- ES6 logic for `@@isConcatSpreadable` and `@@species` (in most places) can be polyfilled without problems, but it will cause a serious slowdown in popular cases in some engines. It will be polyfilled when it will be implemented in modern engines.
|
2305
|
+
- ES7 `SIMD`. `core-js` doesn't add polyfill of this feature because of large size and some other reasons. You can use [this polyfill](https://github.com/tc39/ecmascript_simd/blob/master/src/ecmascript_simd.js).
|
2306
|
+
- `window.fetch` is not a cross-platform feature, in some environments it makes no sense. For this reason, I don't think it should be in `core-js`. Looking at a large number of requests it *may be* added in the future. Now you can use, for example, [this polyfill](https://github.com/github/fetch).
|
2307
|
+
- ECMA-402 `Intl` is missed because of size. You can use [this polyfill](https://github.com/andyearnshaw/Intl.js/).
|