cloudstructs 0.9.9 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +135 -4
- package/API.md +175 -0
- package/README.md +2 -0
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/mjml-template/index.d.ts +30 -0
- package/lib/mjml-template/index.js +28 -0
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/LICENSE +22 -0
- package/node_modules/@babel/runtime/README.md +19 -0
- package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +304 -0
- package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +47 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +51 -0
- package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +27 -0
- package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +304 -0
- package/node_modules/@babel/runtime/helpers/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/usingCtx.js +47 -0
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +51 -0
- package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/package.json +1038 -0
- package/node_modules/@babel/runtime/regenerator/index.js +15 -0
- package/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
- package/node_modules/@isaacs/cliui/README.md +143 -0
- package/node_modules/@isaacs/cliui/build/index.cjs +317 -0
- package/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
- package/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
- package/node_modules/@isaacs/cliui/index.mjs +14 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js +8 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/license +9 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +58 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-regex/readme.md +72 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +236 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +223 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/license +9 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +54 -0
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/readme.md +173 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/README.md +137 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +52 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.d.ts +5 -0
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.js +54 -0
- package/node_modules/@isaacs/cliui/node_modules/string-width/license +9 -0
- package/node_modules/@isaacs/cliui/node_modules/string-width/package.json +59 -0
- package/node_modules/@isaacs/cliui/node_modules/string-width/readme.md +67 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +14 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/license +9 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +57 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/readme.md +41 -0
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.d.ts +41 -0
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js +214 -0
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/license +9 -0
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/package.json +69 -0
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/readme.md +91 -0
- package/node_modules/@isaacs/cliui/package.json +86 -0
- package/node_modules/@one-ini/wasm/LICENSE +21 -0
- package/node_modules/@one-ini/wasm/README.md +83 -0
- package/node_modules/@one-ini/wasm/one_ini.d.ts +25 -0
- package/node_modules/@one-ini/wasm/one_ini.js +323 -0
- package/node_modules/@one-ini/wasm/one_ini_bg.wasm +0 -0
- package/node_modules/@one-ini/wasm/package.json +28 -0
- package/node_modules/@pkgjs/parseargs/.editorconfig +14 -0
- package/node_modules/@pkgjs/parseargs/CHANGELOG.md +147 -0
- package/node_modules/@pkgjs/parseargs/LICENSE +201 -0
- package/node_modules/@pkgjs/parseargs/README.md +413 -0
- package/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -0
- package/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -0
- package/node_modules/@pkgjs/parseargs/examples/negate.js +43 -0
- package/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -0
- package/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -0
- package/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -0
- package/node_modules/@pkgjs/parseargs/index.js +396 -0
- package/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
- package/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
- package/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
- package/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
- package/node_modules/@pkgjs/parseargs/package.json +36 -0
- package/node_modules/@pkgjs/parseargs/utils.js +198 -0
- package/node_modules/abbrev/LICENSE +46 -0
- package/node_modules/abbrev/README.md +23 -0
- package/node_modules/abbrev/lib/index.js +50 -0
- package/node_modules/abbrev/package.json +43 -0
- package/node_modules/ansi-colors/LICENSE +21 -0
- package/node_modules/ansi-colors/README.md +315 -0
- package/node_modules/ansi-colors/index.js +184 -0
- package/node_modules/ansi-colors/package.json +129 -0
- package/node_modules/ansi-colors/symbols.js +69 -0
- package/node_modules/ansi-colors/types/index.d.ts +235 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/anymatch/LICENSE +15 -0
- package/node_modules/anymatch/README.md +87 -0
- package/node_modules/anymatch/index.d.ts +20 -0
- package/node_modules/anymatch/index.js +104 -0
- package/node_modules/anymatch/package.json +48 -0
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +48 -0
- package/node_modules/binary-extensions/binary-extensions.json +263 -0
- package/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/node_modules/binary-extensions/index.d.ts +14 -0
- package/node_modules/binary-extensions/index.js +1 -0
- package/node_modules/binary-extensions/license +10 -0
- package/node_modules/binary-extensions/package.json +40 -0
- package/node_modules/binary-extensions/readme.md +25 -0
- package/node_modules/boolbase/README.md +10 -0
- package/node_modules/boolbase/index.js +8 -0
- package/node_modules/boolbase/package.json +23 -0
- package/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/brace-expansion/package.json +46 -0
- package/node_modules/braces/LICENSE +21 -0
- package/node_modules/braces/README.md +586 -0
- package/node_modules/braces/index.js +170 -0
- package/node_modules/braces/lib/compile.js +60 -0
- package/node_modules/braces/lib/constants.js +57 -0
- package/node_modules/braces/lib/expand.js +113 -0
- package/node_modules/braces/lib/parse.js +331 -0
- package/node_modules/braces/lib/stringify.js +32 -0
- package/node_modules/braces/lib/utils.js +122 -0
- package/node_modules/braces/package.json +77 -0
- package/node_modules/camel-case/LICENSE +21 -0
- package/node_modules/camel-case/camel-case.d.ts +3 -0
- package/node_modules/camel-case/camel-case.js +23 -0
- package/node_modules/camel-case/package.json +56 -0
- package/node_modules/cheerio/LICENSE +21 -0
- package/node_modules/cheerio/Readme.md +357 -0
- package/node_modules/cheerio/lib/api/attributes.d.ts +332 -0
- package/node_modules/cheerio/lib/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/lib/api/attributes.js +622 -0
- package/node_modules/cheerio/lib/api/attributes.js.map +1 -0
- package/node_modules/cheerio/lib/api/css.d.ts +40 -0
- package/node_modules/cheerio/lib/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/lib/api/css.js +118 -0
- package/node_modules/cheerio/lib/api/css.js.map +1 -0
- package/node_modules/cheerio/lib/api/forms.d.ts +38 -0
- package/node_modules/cheerio/lib/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/lib/api/forms.js +92 -0
- package/node_modules/cheerio/lib/api/forms.js.map +1 -0
- package/node_modules/cheerio/lib/api/manipulation.d.ts +522 -0
- package/node_modules/cheerio/lib/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/lib/api/manipulation.js +861 -0
- package/node_modules/cheerio/lib/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/lib/api/traversing.d.ts +644 -0
- package/node_modules/cheerio/lib/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/lib/api/traversing.js +907 -0
- package/node_modules/cheerio/lib/api/traversing.js.map +1 -0
- package/node_modules/cheerio/lib/cheerio.d.ts +69 -0
- package/node_modules/cheerio/lib/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/lib/cheerio.js +66 -0
- package/node_modules/cheerio/lib/cheerio.js.map +1 -0
- package/node_modules/cheerio/lib/esm/api/attributes.d.ts +332 -0
- package/node_modules/cheerio/lib/esm/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/api/attributes.js +601 -0
- package/node_modules/cheerio/lib/esm/api/attributes.js.map +1 -0
- package/node_modules/cheerio/lib/esm/api/css.d.ts +40 -0
- package/node_modules/cheerio/lib/esm/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/api/css.js +113 -0
- package/node_modules/cheerio/lib/esm/api/css.js.map +1 -0
- package/node_modules/cheerio/lib/esm/api/forms.d.ts +38 -0
- package/node_modules/cheerio/lib/esm/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/api/forms.js +83 -0
- package/node_modules/cheerio/lib/esm/api/forms.js.map +1 -0
- package/node_modules/cheerio/lib/esm/api/manipulation.d.ts +522 -0
- package/node_modules/cheerio/lib/esm/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/api/manipulation.js +810 -0
- package/node_modules/cheerio/lib/esm/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/lib/esm/api/traversing.d.ts +644 -0
- package/node_modules/cheerio/lib/esm/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/api/traversing.js +831 -0
- package/node_modules/cheerio/lib/esm/api/traversing.js.map +1 -0
- package/node_modules/cheerio/lib/esm/cheerio.d.ts +69 -0
- package/node_modules/cheerio/lib/esm/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/cheerio.js +38 -0
- package/node_modules/cheerio/lib/esm/cheerio.js.map +1 -0
- package/node_modules/cheerio/lib/esm/index.d.ts +107 -0
- package/node_modules/cheerio/lib/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/index.js +102 -0
- package/node_modules/cheerio/lib/esm/index.js.map +1 -0
- package/node_modules/cheerio/lib/esm/load.d.ts +60 -0
- package/node_modules/cheerio/lib/esm/load.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/load.js +122 -0
- package/node_modules/cheerio/lib/esm/load.js.map +1 -0
- package/node_modules/cheerio/lib/esm/options.d.ts +90 -0
- package/node_modules/cheerio/lib/esm/options.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/options.js +26 -0
- package/node_modules/cheerio/lib/esm/options.js.map +1 -0
- package/node_modules/cheerio/lib/esm/package.json +1 -0
- package/node_modules/cheerio/lib/esm/parse.d.ts +19 -0
- package/node_modules/cheerio/lib/esm/parse.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/parse.js +73 -0
- package/node_modules/cheerio/lib/esm/parse.js.map +1 -0
- package/node_modules/cheerio/lib/esm/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/lib/esm/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/parsers/parse5-adapter.js +52 -0
- package/node_modules/cheerio/lib/esm/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/lib/esm/slim.d.ts +20 -0
- package/node_modules/cheerio/lib/esm/slim.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/slim.js +22 -0
- package/node_modules/cheerio/lib/esm/slim.js.map +1 -0
- package/node_modules/cheerio/lib/esm/static.d.ts +93 -0
- package/node_modules/cheerio/lib/esm/static.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/static.js +185 -0
- package/node_modules/cheerio/lib/esm/static.js.map +1 -0
- package/node_modules/cheerio/lib/esm/types.d.ts +20 -0
- package/node_modules/cheerio/lib/esm/types.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/types.js +2 -0
- package/node_modules/cheerio/lib/esm/types.js.map +1 -0
- package/node_modules/cheerio/lib/esm/utils.d.ts +75 -0
- package/node_modules/cheerio/lib/esm/utils.d.ts.map +1 -0
- package/node_modules/cheerio/lib/esm/utils.js +112 -0
- package/node_modules/cheerio/lib/esm/utils.js.map +1 -0
- package/node_modules/cheerio/lib/index.d.ts +107 -0
- package/node_modules/cheerio/lib/index.d.ts.map +1 -0
- package/node_modules/cheerio/lib/index.js +141 -0
- package/node_modules/cheerio/lib/index.js.map +1 -0
- package/node_modules/cheerio/lib/load.d.ts +60 -0
- package/node_modules/cheerio/lib/load.d.ts.map +1 -0
- package/node_modules/cheerio/lib/load.js +179 -0
- package/node_modules/cheerio/lib/load.js.map +1 -0
- package/node_modules/cheerio/lib/options.d.ts +90 -0
- package/node_modules/cheerio/lib/options.d.ts.map +1 -0
- package/node_modules/cheerio/lib/options.js +41 -0
- package/node_modules/cheerio/lib/options.js.map +1 -0
- package/node_modules/cheerio/lib/parse.d.ts +19 -0
- package/node_modules/cheerio/lib/parse.d.ts.map +1 -0
- package/node_modules/cheerio/lib/parse.js +78 -0
- package/node_modules/cheerio/lib/parse.js.map +1 -0
- package/node_modules/cheerio/lib/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/lib/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/lib/parsers/parse5-adapter.js +67 -0
- package/node_modules/cheerio/lib/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/lib/slim.d.ts +20 -0
- package/node_modules/cheerio/lib/slim.d.ts.map +1 -0
- package/node_modules/cheerio/lib/slim.js +42 -0
- package/node_modules/cheerio/lib/slim.js.map +1 -0
- package/node_modules/cheerio/lib/static.d.ts +93 -0
- package/node_modules/cheerio/lib/static.d.ts.map +1 -0
- package/node_modules/cheerio/lib/static.js +226 -0
- package/node_modules/cheerio/lib/static.js.map +1 -0
- package/node_modules/cheerio/lib/types.d.ts +20 -0
- package/node_modules/cheerio/lib/types.d.ts.map +1 -0
- package/node_modules/cheerio/lib/types.js +3 -0
- package/node_modules/cheerio/lib/types.js.map +1 -0
- package/node_modules/cheerio/lib/utils.d.ts +75 -0
- package/node_modules/cheerio/lib/utils.d.ts.map +1 -0
- package/node_modules/cheerio/lib/utils.js +122 -0
- package/node_modules/cheerio/lib/utils.js.map +1 -0
- package/node_modules/cheerio/package.json +134 -0
- package/node_modules/cheerio-select/LICENSE +11 -0
- package/node_modules/cheerio-select/README.md +18 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.js +241 -0
- package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/package.json +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.js +26 -0
- package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/index.js +302 -0
- package/node_modules/cheerio-select/lib/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.js +52 -0
- package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
- package/node_modules/cheerio-select/package.json +76 -0
- package/node_modules/chokidar/LICENSE +21 -0
- package/node_modules/chokidar/README.md +308 -0
- package/node_modules/chokidar/index.js +973 -0
- package/node_modules/chokidar/lib/constants.js +66 -0
- package/node_modules/chokidar/lib/fsevents-handler.js +526 -0
- package/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/node_modules/chokidar/package.json +70 -0
- package/node_modules/chokidar/types/index.d.ts +192 -0
- package/node_modules/clean-css/History.md +1377 -0
- package/node_modules/clean-css/LICENSE +19 -0
- package/node_modules/clean-css/README.md +764 -0
- package/node_modules/clean-css/index.js +1 -0
- package/node_modules/clean-css/lib/clean.js +172 -0
- package/node_modules/clean-css/lib/optimizer/hack.js +8 -0
- package/node_modules/clean-css/lib/optimizer/level-0/optimize.js +6 -0
- package/node_modules/clean-css/lib/optimizer/level-1/optimize.js +691 -0
- package/node_modules/clean-css/lib/optimizer/level-1/shorten-hex.js +189 -0
- package/node_modules/clean-css/lib/optimizer/level-1/shorten-hsl.js +61 -0
- package/node_modules/clean-css/lib/optimizer/level-1/shorten-rgb.js +10 -0
- package/node_modules/clean-css/lib/optimizer/level-1/sort-selectors.js +23 -0
- package/node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js +9 -0
- package/node_modules/clean-css/lib/optimizer/level-1/tidy-block.js +23 -0
- package/node_modules/clean-css/lib/optimizer/level-1/tidy-rules.js +213 -0
- package/node_modules/clean-css/lib/optimizer/level-2/break-up.js +644 -0
- package/node_modules/clean-css/lib/optimizer/level-2/can-override.js +283 -0
- package/node_modules/clean-css/lib/optimizer/level-2/clone.js +33 -0
- package/node_modules/clean-css/lib/optimizer/level-2/compactable.js +1063 -0
- package/node_modules/clean-css/lib/optimizer/level-2/extract-properties.js +73 -0
- package/node_modules/clean-css/lib/optimizer/level-2/invalid-property-error.js +10 -0
- package/node_modules/clean-css/lib/optimizer/level-2/is-mergeable.js +259 -0
- package/node_modules/clean-css/lib/optimizer/level-2/merge-adjacent.js +50 -0
- package/node_modules/clean-css/lib/optimizer/level-2/merge-media-queries.js +103 -0
- package/node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-body.js +80 -0
- package/node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-selector.js +78 -0
- package/node_modules/clean-css/lib/optimizer/level-2/optimize.js +134 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/every-values-pair.js +28 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/find-component-in.js +40 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js +10 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/is-component-of.js +22 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/is-mergeable-shorthand.js +11 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/merge-into-shorthands.js +445 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/optimize.js +40 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/override-properties.js +484 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/overrides-non-component-shorthand.js +9 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/populate-components.js +42 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/understandable.js +15 -0
- package/node_modules/clean-css/lib/optimizer/level-2/properties/vendor-prefixes.js +23 -0
- package/node_modules/clean-css/lib/optimizer/level-2/reduce-non-adjacent.js +180 -0
- package/node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-font-at-rules.js +30 -0
- package/node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-media-queries.js +30 -0
- package/node_modules/clean-css/lib/optimizer/level-2/remove-duplicates.js +43 -0
- package/node_modules/clean-css/lib/optimizer/level-2/remove-unused-at-rules.js +249 -0
- package/node_modules/clean-css/lib/optimizer/level-2/reorderable.js +93 -0
- package/node_modules/clean-css/lib/optimizer/level-2/restore-with-components.js +13 -0
- package/node_modules/clean-css/lib/optimizer/level-2/restore.js +303 -0
- package/node_modules/clean-css/lib/optimizer/level-2/restructure.js +389 -0
- package/node_modules/clean-css/lib/optimizer/level-2/rules-overlap.js +32 -0
- package/node_modules/clean-css/lib/optimizer/level-2/specificities-overlap.js +34 -0
- package/node_modules/clean-css/lib/optimizer/level-2/specificity.js +77 -0
- package/node_modules/clean-css/lib/optimizer/level-2/tidy-rule-duplicates.js +21 -0
- package/node_modules/clean-css/lib/optimizer/remove-unused.js +11 -0
- package/node_modules/clean-css/lib/optimizer/restore-from-optimizing.js +69 -0
- package/node_modules/clean-css/lib/optimizer/validator.js +529 -0
- package/node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js +191 -0
- package/node_modules/clean-css/lib/options/compatibility.js +185 -0
- package/node_modules/clean-css/lib/options/fetch.js +7 -0
- package/node_modules/clean-css/lib/options/format.js +216 -0
- package/node_modules/clean-css/lib/options/inline-request.js +22 -0
- package/node_modules/clean-css/lib/options/inline-timeout.js +7 -0
- package/node_modules/clean-css/lib/options/inline.js +15 -0
- package/node_modules/clean-css/lib/options/optimization-level.js +221 -0
- package/node_modules/clean-css/lib/options/rebase-to.js +7 -0
- package/node_modules/clean-css/lib/options/rebase.js +5 -0
- package/node_modules/clean-css/lib/options/rounding-precision.js +88 -0
- package/node_modules/clean-css/lib/reader/apply-source-maps.js +245 -0
- package/node_modules/clean-css/lib/reader/extract-import-url-and-media.js +35 -0
- package/node_modules/clean-css/lib/reader/input-source-map-tracker.js +58 -0
- package/node_modules/clean-css/lib/reader/is-allowed-resource.js +77 -0
- package/node_modules/clean-css/lib/reader/load-original-sources.js +126 -0
- package/node_modules/clean-css/lib/reader/load-remote-resource.js +74 -0
- package/node_modules/clean-css/lib/reader/match-data-uri.js +7 -0
- package/node_modules/clean-css/lib/reader/normalize-path.js +8 -0
- package/node_modules/clean-css/lib/reader/read-sources.js +341 -0
- package/node_modules/clean-css/lib/reader/rebase-local-map.js +15 -0
- package/node_modules/clean-css/lib/reader/rebase-remote-map.js +14 -0
- package/node_modules/clean-css/lib/reader/rebase.js +101 -0
- package/node_modules/clean-css/lib/reader/restore-import.js +5 -0
- package/node_modules/clean-css/lib/reader/rewrite-url.js +118 -0
- package/node_modules/clean-css/lib/tokenizer/marker.js +26 -0
- package/node_modules/clean-css/lib/tokenizer/token.js +17 -0
- package/node_modules/clean-css/lib/tokenizer/tokenize.js +571 -0
- package/node_modules/clean-css/lib/utils/clone-array.js +12 -0
- package/node_modules/clean-css/lib/utils/format-position.js +11 -0
- package/node_modules/clean-css/lib/utils/has-protocol.js +7 -0
- package/node_modules/clean-css/lib/utils/is-data-uri-resource.js +7 -0
- package/node_modules/clean-css/lib/utils/is-http-resource.js +7 -0
- package/node_modules/clean-css/lib/utils/is-https-resource.js +7 -0
- package/node_modules/clean-css/lib/utils/is-import.js +7 -0
- package/node_modules/clean-css/lib/utils/is-remote-resource.js +7 -0
- package/node_modules/clean-css/lib/utils/natural-compare.js +31 -0
- package/node_modules/clean-css/lib/utils/override.js +34 -0
- package/node_modules/clean-css/lib/utils/split.js +50 -0
- package/node_modules/clean-css/lib/writer/helpers.js +247 -0
- package/node_modules/clean-css/lib/writer/one-time.js +52 -0
- package/node_modules/clean-css/lib/writer/simple.js +50 -0
- package/node_modules/clean-css/lib/writer/source-maps.js +101 -0
- package/node_modules/clean-css/package.json +48 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +428 -0
- package/node_modules/commander/index.js +1224 -0
- package/node_modules/commander/package.json +38 -0
- package/node_modules/commander/typings/index.d.ts +310 -0
- package/node_modules/config-chain/LICENCE +22 -0
- package/node_modules/config-chain/index.js +282 -0
- package/node_modules/config-chain/package.json +28 -0
- package/node_modules/config-chain/readme.markdown +257 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +96 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +45 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/css-select/LICENSE +11 -0
- package/node_modules/css-select/README.md +264 -0
- package/node_modules/css-select/lib/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/attributes.js +236 -0
- package/node_modules/css-select/lib/attributes.js.map +1 -0
- package/node_modules/css-select/lib/compile.d.ts +13 -0
- package/node_modules/css-select/lib/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/compile.js +151 -0
- package/node_modules/css-select/lib/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/compile.js +115 -0
- package/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/general.d.ts +3 -0
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/general.js +144 -0
- package/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts +50 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/index.js +115 -0
- package/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/package.json +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/sort.js +79 -0
- package/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/node_modules/css-select/lib/esm/types.d.ts +167 -0
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/types.js +2 -0
- package/node_modules/css-select/lib/esm/types.js.map +1 -0
- package/node_modules/css-select/lib/general.d.ts +3 -0
- package/node_modules/css-select/lib/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/general.js +148 -0
- package/node_modules/css-select/lib/general.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts +50 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/index.js +154 -0
- package/node_modules/css-select/lib/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/sort.d.ts +12 -0
- package/node_modules/css-select/lib/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/sort.js +84 -0
- package/node_modules/css-select/lib/sort.js.map +1 -0
- package/node_modules/css-select/lib/types.d.ts +167 -0
- package/node_modules/css-select/lib/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/types.js +3 -0
- package/node_modules/css-select/lib/types.js.map +1 -0
- package/node_modules/css-select/package.json +81 -0
- package/node_modules/css-what/LICENSE +11 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/node_modules/css-what/lib/es/index.d.ts +4 -0
- package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/index.js +3 -0
- package/node_modules/css-what/lib/es/parse.d.ts +20 -0
- package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/parse.js +420 -0
- package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/stringify.js +126 -0
- package/node_modules/css-what/lib/es/types.d.ts +70 -0
- package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/types.js +39 -0
- package/node_modules/css-what/package.json +59 -0
- package/node_modules/css-what/readme.md +69 -0
- package/node_modules/detect-node/LICENSE +21 -0
- package/node_modules/detect-node/Readme.md +30 -0
- package/node_modules/detect-node/browser.js +2 -0
- package/node_modules/detect-node/index.esm.js +2 -0
- package/node_modules/detect-node/index.js +2 -0
- package/node_modules/detect-node/package.json +25 -0
- package/node_modules/dom-serializer/LICENSE +11 -0
- package/node_modules/dom-serializer/README.md +109 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/node_modules/dom-serializer/lib/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/index.js +229 -0
- package/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/domelementtype/LICENSE +11 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/node_modules/domelementtype/lib/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/index.js +55 -0
- package/node_modules/domelementtype/package.json +54 -0
- package/node_modules/domelementtype/readme.md +1 -0
- package/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
- package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/index.js +146 -0
- package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
- package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/node.js +338 -0
- package/node_modules/domhandler/lib/esm/package.json +1 -0
- package/node_modules/domhandler/lib/index.d.ts +76 -0
- package/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/index.js +165 -0
- package/node_modules/domhandler/lib/node.d.ts +245 -0
- package/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/node.js +474 -0
- package/node_modules/domhandler/package.json +73 -0
- package/node_modules/domhandler/readme.md +92 -0
- package/node_modules/domutils/LICENSE +11 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/node_modules/domutils/lib/esm/index.d.ts +10 -0
- package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/index.js +10 -0
- package/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts +68 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.js +139 -0
- package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/esm/package.json +1 -0
- package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
- package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/querying.js +145 -0
- package/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/node_modules/domutils/lib/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/feeds.js +191 -0
- package/node_modules/domutils/lib/feeds.js.map +1 -0
- package/node_modules/domutils/lib/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/helpers.js +142 -0
- package/node_modules/domutils/lib/helpers.js.map +1 -0
- package/node_modules/domutils/lib/index.d.ts +10 -0
- package/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/index.js +33 -0
- package/node_modules/domutils/lib/index.js.map +1 -0
- package/node_modules/domutils/lib/legacy.d.ts +68 -0
- package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/legacy.js +153 -0
- package/node_modules/domutils/lib/legacy.js.map +1 -0
- package/node_modules/domutils/lib/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/manipulation.js +143 -0
- package/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/querying.d.ts +64 -0
- package/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/querying.js +159 -0
- package/node_modules/domutils/lib/querying.js.map +1 -0
- package/node_modules/domutils/lib/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/stringify.js +92 -0
- package/node_modules/domutils/lib/stringify.js.map +1 -0
- package/node_modules/domutils/lib/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/traversal.js +126 -0
- package/node_modules/domutils/lib/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +79 -0
- package/node_modules/domutils/readme.md +31 -0
- package/node_modules/eastasianwidth/README.md +32 -0
- package/node_modules/eastasianwidth/eastasianwidth.js +311 -0
- package/node_modules/eastasianwidth/package.json +18 -0
- package/node_modules/editorconfig/LICENSE +19 -0
- package/node_modules/editorconfig/README.md +255 -0
- package/node_modules/editorconfig/bin/editorconfig +6 -0
- package/node_modules/editorconfig/lib/cli.d.ts +14 -0
- package/node_modules/editorconfig/lib/cli.js +109 -0
- package/node_modules/editorconfig/lib/index.d.ts +105 -0
- package/node_modules/editorconfig/lib/index.js +460 -0
- package/node_modules/editorconfig/node_modules/commander/LICENSE +22 -0
- package/node_modules/editorconfig/node_modules/commander/Readme.md +1134 -0
- package/node_modules/editorconfig/node_modules/commander/esm.mjs +16 -0
- package/node_modules/editorconfig/node_modules/commander/index.js +27 -0
- package/node_modules/editorconfig/node_modules/commander/lib/argument.js +147 -0
- package/node_modules/editorconfig/node_modules/commander/lib/command.js +2179 -0
- package/node_modules/editorconfig/node_modules/commander/lib/error.js +45 -0
- package/node_modules/editorconfig/node_modules/commander/lib/help.js +464 -0
- package/node_modules/editorconfig/node_modules/commander/lib/option.js +331 -0
- package/node_modules/editorconfig/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/node_modules/editorconfig/node_modules/commander/package-support.json +16 -0
- package/node_modules/editorconfig/node_modules/commander/package.json +80 -0
- package/node_modules/editorconfig/node_modules/commander/typings/index.d.ts +889 -0
- package/node_modules/editorconfig/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/editorconfig/node_modules/minimatch/README.md +454 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +14 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.d.ts +24 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js +566 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.js +22 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts +94 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js +1011 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/package.json +3 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/unescape.js +24 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +10 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.d.ts +24 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js +562 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.js +18 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts +94 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js +995 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/package.json +3 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/unescape.js +20 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/package.json +86 -0
- package/node_modules/editorconfig/package.json +65 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/entities/lib/index.js +126 -0
- package/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/entities/package.json +90 -0
- package/node_modules/entities/readme.md +122 -0
- package/node_modules/escalade/dist/index.js +22 -0
- package/node_modules/escalade/dist/index.mjs +22 -0
- package/node_modules/escalade/index.d.ts +3 -0
- package/node_modules/escalade/license +9 -0
- package/node_modules/escalade/package.json +63 -0
- package/node_modules/escalade/readme.md +211 -0
- package/node_modules/escalade/sync/index.d.ts +2 -0
- package/node_modules/escalade/sync/index.js +18 -0
- package/node_modules/escalade/sync/index.mjs +18 -0
- package/node_modules/escape-goat/index.d.ts +62 -0
- package/node_modules/escape-goat/index.js +41 -0
- package/node_modules/escape-goat/license +9 -0
- package/node_modules/escape-goat/package.json +46 -0
- package/node_modules/escape-goat/readme.md +62 -0
- package/node_modules/fill-range/LICENSE +21 -0
- package/node_modules/fill-range/README.md +237 -0
- package/node_modules/fill-range/index.js +248 -0
- package/node_modules/fill-range/package.json +74 -0
- package/node_modules/foreground-child/LICENSE +15 -0
- package/node_modules/foreground-child/README.md +128 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +3 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +63 -0
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/index.js +121 -0
- package/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +7 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +11 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +3 -0
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts +63 -0
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/index.js +113 -0
- package/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +7 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +11 -0
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/foreground-child/node_modules/signal-exit/README.md +74 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/foreground-child/node_modules/signal-exit/package.json +106 -0
- package/node_modules/foreground-child/package.json +111 -0
- package/node_modules/get-caller-file/LICENSE.md +6 -0
- package/node_modules/get-caller-file/README.md +41 -0
- package/node_modules/get-caller-file/index.d.ts +2 -0
- package/node_modules/get-caller-file/index.js +22 -0
- package/node_modules/get-caller-file/index.js.map +1 -0
- package/node_modules/get-caller-file/package.json +42 -0
- package/node_modules/glob-parent/LICENSE +15 -0
- package/node_modules/glob-parent/README.md +137 -0
- package/node_modules/glob-parent/index.js +42 -0
- package/node_modules/glob-parent/package.json +48 -0
- package/node_modules/he/LICENSE-MIT.txt +20 -0
- package/node_modules/he/README.md +379 -0
- package/node_modules/he/bin/he +148 -0
- package/node_modules/he/he.js +345 -0
- package/node_modules/he/man/he.1 +78 -0
- package/node_modules/he/package.json +58 -0
- package/node_modules/html-minifier/LICENSE +22 -0
- package/node_modules/html-minifier/README.md +160 -0
- package/node_modules/html-minifier/cli.js +311 -0
- package/node_modules/html-minifier/package.json +86 -0
- package/node_modules/html-minifier/sample-cli-config-file.conf +40 -0
- package/node_modules/html-minifier/src/htmlminifier.js +1344 -0
- package/node_modules/html-minifier/src/htmlparser.js +567 -0
- package/node_modules/html-minifier/src/tokenchain.js +71 -0
- package/node_modules/html-minifier/src/utils.js +18 -0
- package/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/htmlparser2/README.md +172 -0
- package/node_modules/htmlparser2/lib/Parser.d.ts +190 -0
- package/node_modules/htmlparser2/lib/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/Parser.js +518 -0
- package/node_modules/htmlparser2/lib/Parser.js.map +1 -0
- package/node_modules/htmlparser2/lib/Tokenizer.d.ts +143 -0
- package/node_modules/htmlparser2/lib/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/Tokenizer.js +938 -0
- package/node_modules/htmlparser2/lib/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/lib/WritableStream.d.ts +17 -0
- package/node_modules/htmlparser2/lib/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/WritableStream.js +54 -0
- package/node_modules/htmlparser2/lib/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Parser.d.ts +190 -0
- package/node_modules/htmlparser2/lib/esm/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Parser.js +489 -0
- package/node_modules/htmlparser2/lib/esm/Parser.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts +143 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.js +932 -0
- package/node_modules/htmlparser2/lib/esm/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.d.ts +17 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.js +32 -0
- package/node_modules/htmlparser2/lib/esm/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/index.d.ts +44 -0
- package/node_modules/htmlparser2/lib/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/esm/index.js +62 -0
- package/node_modules/htmlparser2/lib/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/lib/esm/package.json +1 -0
- package/node_modules/htmlparser2/lib/index.d.ts +44 -0
- package/node_modules/htmlparser2/lib/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/lib/index.js +100 -0
- package/node_modules/htmlparser2/lib/index.js.map +1 -0
- package/node_modules/htmlparser2/package.json +97 -0
- package/node_modules/ini/LICENSE +15 -0
- package/node_modules/ini/README.md +102 -0
- package/node_modules/ini/ini.js +206 -0
- package/node_modules/ini/package.json +33 -0
- package/node_modules/is-binary-path/index.d.ts +17 -0
- package/node_modules/is-binary-path/index.js +7 -0
- package/node_modules/is-binary-path/license +9 -0
- package/node_modules/is-binary-path/package.json +40 -0
- package/node_modules/is-binary-path/readme.md +34 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/README.md +107 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +69 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/README.md +206 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +81 -0
- package/node_modules/is-number/LICENSE +21 -0
- package/node_modules/is-number/README.md +187 -0
- package/node_modules/is-number/index.js +18 -0
- package/node_modules/is-number/package.json +82 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/jackspeak/LICENSE.md +55 -0
- package/node_modules/jackspeak/README.md +357 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +315 -0
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
- package/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
- package/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +4 -0
- package/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts +315 -0
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/esm/index.js +1000 -0
- package/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts +4 -0
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
- package/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
- package/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
- package/node_modules/jackspeak/package.json +95 -0
- package/node_modules/js-beautify/LICENSE +9 -0
- package/node_modules/js-beautify/README.md +437 -0
- package/node_modules/js-beautify/js/bin/css-beautify.js +4 -0
- package/node_modules/js-beautify/js/bin/html-beautify.js +4 -0
- package/node_modules/js-beautify/js/bin/js-beautify.js +4 -0
- package/node_modules/js-beautify/js/index.js +86 -0
- package/node_modules/js-beautify/js/lib/beautifier.js +6117 -0
- package/node_modules/js-beautify/js/lib/beautifier.min.js +2 -0
- package/node_modules/js-beautify/js/lib/beautify-css.js +1693 -0
- package/node_modules/js-beautify/js/lib/beautify-html.js +3225 -0
- package/node_modules/js-beautify/js/lib/beautify.js +4049 -0
- package/node_modules/js-beautify/js/lib/cli.js +713 -0
- package/node_modules/js-beautify/js/lib/unpackers/javascriptobfuscator_unpacker.js +132 -0
- package/node_modules/js-beautify/js/lib/unpackers/myobfuscate_unpacker.js +119 -0
- package/node_modules/js-beautify/js/lib/unpackers/p_a_c_k_e_r_unpacker.js +119 -0
- package/node_modules/js-beautify/js/lib/unpackers/urlencode_unpacker.js +104 -0
- package/node_modules/js-beautify/js/src/cli.js +713 -0
- package/node_modules/js-beautify/js/src/core/directives.js +62 -0
- package/node_modules/js-beautify/js/src/core/inputscanner.js +192 -0
- package/node_modules/js-beautify/js/src/core/options.js +193 -0
- package/node_modules/js-beautify/js/src/core/output.js +419 -0
- package/node_modules/js-beautify/js/src/core/pattern.js +94 -0
- package/node_modules/js-beautify/js/src/core/templatablepattern.js +212 -0
- package/node_modules/js-beautify/js/src/core/token.js +54 -0
- package/node_modules/js-beautify/js/src/core/tokenizer.js +140 -0
- package/node_modules/js-beautify/js/src/core/tokenstream.js +78 -0
- package/node_modules/js-beautify/js/src/core/whitespacepattern.js +105 -0
- package/node_modules/js-beautify/js/src/css/beautifier.js +547 -0
- package/node_modules/js-beautify/js/src/css/index.js +42 -0
- package/node_modules/js-beautify/js/src/css/options.js +56 -0
- package/node_modules/js-beautify/js/src/css/tokenizer.js +29 -0
- package/node_modules/js-beautify/js/src/html/beautifier.js +919 -0
- package/node_modules/js-beautify/js/src/html/index.js +42 -0
- package/node_modules/js-beautify/js/src/html/options.js +93 -0
- package/node_modules/js-beautify/js/src/html/tokenizer.js +377 -0
- package/node_modules/js-beautify/js/src/index.js +44 -0
- package/node_modules/js-beautify/js/src/javascript/acorn.js +58 -0
- package/node_modules/js-beautify/js/src/javascript/beautifier.js +1480 -0
- package/node_modules/js-beautify/js/src/javascript/index.js +42 -0
- package/node_modules/js-beautify/js/src/javascript/options.js +93 -0
- package/node_modules/js-beautify/js/src/javascript/tokenizer.js +586 -0
- package/node_modules/js-beautify/js/src/unpackers/javascriptobfuscator_unpacker.js +132 -0
- package/node_modules/js-beautify/js/src/unpackers/myobfuscate_unpacker.js +119 -0
- package/node_modules/js-beautify/js/src/unpackers/p_a_c_k_e_r_unpacker.js +119 -0
- package/node_modules/js-beautify/js/src/unpackers/urlencode_unpacker.js +104 -0
- package/node_modules/js-beautify/node_modules/glob/LICENSE +15 -0
- package/node_modules/js-beautify/node_modules/glob/README.md +1265 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts +389 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts +25 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts +77 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts +98 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.mjs +270 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts +389 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.js +243 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts +25 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts +77 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.js +215 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts +98 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/js-beautify/node_modules/glob/package.json +98 -0
- package/node_modules/js-beautify/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/js-beautify/node_modules/minimatch/README.md +454 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +1016 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +1000 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/js-beautify/node_modules/minimatch/package.json +82 -0
- package/node_modules/js-beautify/package.json +73 -0
- package/node_modules/js-cookie/LICENSE +21 -0
- package/node_modules/js-cookie/README.md +305 -0
- package/node_modules/js-cookie/dist/js.cookie.js +147 -0
- package/node_modules/js-cookie/dist/js.cookie.min.js +2 -0
- package/node_modules/js-cookie/dist/js.cookie.min.mjs +2 -0
- package/node_modules/js-cookie/dist/js.cookie.mjs +134 -0
- package/node_modules/js-cookie/index.js +1 -0
- package/node_modules/js-cookie/package.json +71 -0
- package/node_modules/juice/LICENSE.md +21 -0
- package/node_modules/juice/README.md +201 -0
- package/node_modules/juice/bin/juice +64 -0
- package/node_modules/juice/client.js +29 -0
- package/node_modules/juice/index.js +69 -0
- package/node_modules/juice/juice.d.ts +66 -0
- package/node_modules/juice/lib/cheerio.js +72 -0
- package/node_modules/juice/lib/cli.js +142 -0
- package/node_modules/juice/lib/inline.js +517 -0
- package/node_modules/juice/lib/numbers.js +40 -0
- package/node_modules/juice/lib/property.js +65 -0
- package/node_modules/juice/lib/selector.js +97 -0
- package/node_modules/juice/lib/utils.js +167 -0
- package/node_modules/juice/lib/variables.js +70 -0
- package/node_modules/juice/node_modules/commander/LICENSE +22 -0
- package/node_modules/juice/node_modules/commander/Readme.md +791 -0
- package/node_modules/juice/node_modules/commander/index.js +1881 -0
- package/node_modules/juice/node_modules/commander/package.json +51 -0
- package/node_modules/juice/node_modules/commander/typings/index.d.ts +410 -0
- package/node_modules/juice/package.json +57 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +17 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lower-case/LICENSE +21 -0
- package/node_modules/lower-case/README.md +45 -0
- package/node_modules/lower-case/lower-case.d.ts +3 -0
- package/node_modules/lower-case/lower-case.js +54 -0
- package/node_modules/lower-case/package.json +52 -0
- package/node_modules/mensch/HISTORY.md +48 -0
- package/node_modules/mensch/LICENSE +21 -0
- package/node_modules/mensch/README.md +130 -0
- package/node_modules/mensch/bower.json +27 -0
- package/node_modules/mensch/index.js +5 -0
- package/node_modules/mensch/lib/debug.js +11 -0
- package/node_modules/mensch/lib/lexer.js +692 -0
- package/node_modules/mensch/lib/parser.js +291 -0
- package/node_modules/mensch/lib/stringify.js +258 -0
- package/node_modules/mensch/package.json +26 -0
- package/node_modules/mime/LICENSE +21 -0
- package/node_modules/mime/Mime.js +97 -0
- package/node_modules/mime/README.md +187 -0
- package/node_modules/mime/cli.js +46 -0
- package/node_modules/mime/index.js +4 -0
- package/node_modules/mime/lite.js +4 -0
- package/node_modules/mime/package.json +52 -0
- package/node_modules/mime/types/other.js +1 -0
- package/node_modules/mime/types/standard.js +1 -0
- package/node_modules/minipass/LICENSE +15 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1018 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +82 -0
- package/node_modules/mjml/LICENSE.md +21 -0
- package/node_modules/mjml/README.md +144 -0
- package/node_modules/mjml/bin/mjml +4 -0
- package/node_modules/mjml/lib/index.js +15 -0
- package/node_modules/mjml/package.json +45 -0
- package/node_modules/mjml-accordion/LICENSE.md +21 -0
- package/node_modules/mjml-accordion/README.md +138 -0
- package/node_modules/mjml-accordion/lib/Accordion.js +115 -0
- package/node_modules/mjml-accordion/lib/AccordionElement.js +133 -0
- package/node_modules/mjml-accordion/lib/AccordionText.js +107 -0
- package/node_modules/mjml-accordion/lib/AccordionTitle.js +141 -0
- package/node_modules/mjml-accordion/lib/index.js +34 -0
- package/node_modules/mjml-accordion/package.json +33 -0
- package/node_modules/mjml-body/LICENSE.md +21 -0
- package/node_modules/mjml-body/README.md +28 -0
- package/node_modules/mjml-body/lib/index.js +72 -0
- package/node_modules/mjml-body/package.json +33 -0
- package/node_modules/mjml-button/LICENSE.md +21 -0
- package/node_modules/mjml-button/README.md +75 -0
- package/node_modules/mjml-button/lib/index.js +181 -0
- package/node_modules/mjml-button/package.json +33 -0
- package/node_modules/mjml-carousel/LICENSE.md +21 -0
- package/node_modules/mjml-carousel/README.md +67 -0
- package/node_modules/mjml-carousel/lib/Carousel.js +357 -0
- package/node_modules/mjml-carousel/lib/CarouselImage.js +177 -0
- package/node_modules/mjml-carousel/lib/index.js +20 -0
- package/node_modules/mjml-carousel/package.json +33 -0
- package/node_modules/mjml-cli/LICENSE.md +21 -0
- package/node_modules/mjml-cli/README.md +162 -0
- package/node_modules/mjml-cli/bin/mjml +3 -0
- package/node_modules/mjml-cli/lib/client.js +307 -0
- package/node_modules/mjml-cli/lib/commands/outputToConsole.js +21 -0
- package/node_modules/mjml-cli/lib/commands/outputToFile.js +53 -0
- package/node_modules/mjml-cli/lib/commands/readFile.js +27 -0
- package/node_modules/mjml-cli/lib/commands/readStream.js +22 -0
- package/node_modules/mjml-cli/lib/commands/watchFiles.js +121 -0
- package/node_modules/mjml-cli/lib/helpers/defaultOptions.js +11 -0
- package/node_modules/mjml-cli/lib/helpers/fileContext.js +56 -0
- package/node_modules/mjml-cli/lib/helpers/promesify.js +48 -0
- package/node_modules/mjml-cli/lib/helpers/timePad.js +18 -0
- package/node_modules/mjml-cli/node_modules/cliui/LICENSE.txt +14 -0
- package/node_modules/mjml-cli/node_modules/cliui/README.md +141 -0
- package/node_modules/mjml-cli/node_modules/cliui/build/index.cjs +302 -0
- package/node_modules/mjml-cli/node_modules/cliui/build/index.d.cts +43 -0
- package/node_modules/mjml-cli/node_modules/cliui/build/lib/index.js +287 -0
- package/node_modules/mjml-cli/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/node_modules/mjml-cli/node_modules/cliui/index.mjs +13 -0
- package/node_modules/mjml-cli/node_modules/cliui/package.json +83 -0
- package/node_modules/mjml-cli/node_modules/glob/LICENSE +15 -0
- package/node_modules/mjml-cli/node_modules/glob/README.md +1265 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts +389 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts +25 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts +77 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts +98 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.mjs +270 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts +389 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.js +243 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts +25 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts +77 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.js +215 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts +98 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/glob/package.json +98 -0
- package/node_modules/mjml-cli/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/mjml-cli/node_modules/minimatch/README.md +454 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +1016 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +1000 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/mjml-cli/node_modules/minimatch/package.json +82 -0
- package/node_modules/mjml-cli/node_modules/yargs/LICENSE +21 -0
- package/node_modules/mjml-cli/node_modules/yargs/README.md +204 -0
- package/node_modules/mjml-cli/node_modules/yargs/browser.d.ts +5 -0
- package/node_modules/mjml-cli/node_modules/yargs/browser.mjs +7 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/index.cjs +1 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/argsert.js +62 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/command.js +449 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/completion.js +243 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/middleware.js +88 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/usage.js +584 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/validation.js +305 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- package/node_modules/mjml-cli/node_modules/yargs/build/lib/yerror.js +9 -0
- package/node_modules/mjml-cli/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/node_modules/mjml-cli/node_modules/yargs/helpers/index.js +14 -0
- package/node_modules/mjml-cli/node_modules/yargs/helpers/package.json +3 -0
- package/node_modules/mjml-cli/node_modules/yargs/index.cjs +53 -0
- package/node_modules/mjml-cli/node_modules/yargs/index.mjs +8 -0
- package/node_modules/mjml-cli/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/node_modules/mjml-cli/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/be.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/cs.json +51 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/de.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/en.json +55 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/es.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/fr.json +53 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/hi.json +49 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/hu.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/id.json +50 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/it.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/ja.json +51 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/ko.json +49 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/nb.json +44 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/nl.json +49 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/nn.json +44 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/pirate.json +13 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/pl.json +49 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/pt.json +45 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/pt_BR.json +48 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/ru.json +51 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/th.json +46 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/tr.json +48 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/zh_CN.json +48 -0
- package/node_modules/mjml-cli/node_modules/yargs/locales/zh_TW.json +51 -0
- package/node_modules/mjml-cli/node_modules/yargs/package.json +123 -0
- package/node_modules/mjml-cli/node_modules/yargs/yargs +9 -0
- package/node_modules/mjml-cli/node_modules/yargs/yargs.mjs +10 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/README.md +518 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/browser.js +29 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/index.cjs +1050 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/lib/index.js +62 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/node_modules/mjml-cli/node_modules/yargs-parser/package.json +92 -0
- package/node_modules/mjml-cli/package.json +46 -0
- package/node_modules/mjml-column/LICENSE.md +21 -0
- package/node_modules/mjml-column/README.md +65 -0
- package/node_modules/mjml-column/lib/index.js +324 -0
- package/node_modules/mjml-column/package.json +33 -0
- package/node_modules/mjml-core/LICENSE.md +21 -0
- package/node_modules/mjml-core/README.md +17 -0
- package/node_modules/mjml-core/lib/Error.js +86 -0
- package/node_modules/mjml-core/lib/MJMLElementsCollection.js +37 -0
- package/node_modules/mjml-core/lib/MJMLHead.js +38 -0
- package/node_modules/mjml-core/lib/MJMLRenderer.js +275 -0
- package/node_modules/mjml-core/lib/components.js +24 -0
- package/node_modules/mjml-core/lib/configs/defaultContainer.js +15 -0
- package/node_modules/mjml-core/lib/configs/defaultStyle.js +6 -0
- package/node_modules/mjml-core/lib/configs/listFontsImports.js +21 -0
- package/node_modules/mjml-core/lib/createComponent.js +284 -0
- package/node_modules/mjml-core/lib/decorators/MJMLElement.js +356 -0
- package/node_modules/mjml-core/lib/helpers/colors.js +7 -0
- package/node_modules/mjml-core/lib/helpers/conditionalTag.js +29 -0
- package/node_modules/mjml-core/lib/helpers/dom.js +109 -0
- package/node_modules/mjml-core/lib/helpers/fonts.js +31 -0
- package/node_modules/mjml-core/lib/helpers/formatAttributes.js +27 -0
- package/node_modules/mjml-core/lib/helpers/genRandomHexString.js +14 -0
- package/node_modules/mjml-core/lib/helpers/html.js +9 -0
- package/node_modules/mjml-core/lib/helpers/importFonts.js +46 -0
- package/node_modules/mjml-core/lib/helpers/index.js +40 -0
- package/node_modules/mjml-core/lib/helpers/isBrowser.js +11 -0
- package/node_modules/mjml-core/lib/helpers/jsonToXML.js +18 -0
- package/node_modules/mjml-core/lib/helpers/makeLowerBreakpoint.js +15 -0
- package/node_modules/mjml-core/lib/helpers/mediaQueries.js +39 -0
- package/node_modules/mjml-core/lib/helpers/mergeOutlookConditionnals.js +10 -0
- package/node_modules/mjml-core/lib/helpers/minifyOutlookConditionnals.js +15 -0
- package/node_modules/mjml-core/lib/helpers/mjAttribute.js +62 -0
- package/node_modules/mjml-core/lib/helpers/mjml.js +46 -0
- package/node_modules/mjml-core/lib/helpers/mjmlconfig.js +125 -0
- package/node_modules/mjml-core/lib/helpers/parseAttributes.js +29 -0
- package/node_modules/mjml-core/lib/helpers/postRender.js +33 -0
- package/node_modules/mjml-core/lib/helpers/preview.js +15 -0
- package/node_modules/mjml-core/lib/helpers/removeCDATA.js +19 -0
- package/node_modules/mjml-core/lib/helpers/shorthandParser.js +46 -0
- package/node_modules/mjml-core/lib/helpers/skeleton.js +81 -0
- package/node_modules/mjml-core/lib/helpers/styles.js +26 -0
- package/node_modules/mjml-core/lib/helpers/suffixCssClasses.js +9 -0
- package/node_modules/mjml-core/lib/helpers/traverseMJML.js +41 -0
- package/node_modules/mjml-core/lib/helpers/widthParser.js +24 -0
- package/node_modules/mjml-core/lib/includeExternal.js +92 -0
- package/node_modules/mjml-core/lib/index.js +432 -0
- package/node_modules/mjml-core/lib/parsers/config.js +130 -0
- package/node_modules/mjml-core/lib/parsers/document.js +189 -0
- package/node_modules/mjml-core/lib/types/boolean.js +31 -0
- package/node_modules/mjml-core/lib/types/color.js +38 -0
- package/node_modules/mjml-core/lib/types/enum.js +31 -0
- package/node_modules/mjml-core/lib/types/helpers/colors.js +8 -0
- package/node_modules/mjml-core/lib/types/index.js +40 -0
- package/node_modules/mjml-core/lib/types/integer.js +25 -0
- package/node_modules/mjml-core/lib/types/string.js +25 -0
- package/node_modules/mjml-core/lib/types/type.js +60 -0
- package/node_modules/mjml-core/lib/types/unit.js +37 -0
- package/node_modules/mjml-core/package.json +42 -0
- package/node_modules/mjml-divider/LICENSE.md +21 -0
- package/node_modules/mjml-divider/README.md +36 -0
- package/node_modules/mjml-divider/lib/index.js +132 -0
- package/node_modules/mjml-divider/package.json +33 -0
- package/node_modules/mjml-group/LICENSE.md +21 -0
- package/node_modules/mjml-group/README.md +67 -0
- package/node_modules/mjml-group/lib/index.js +229 -0
- package/node_modules/mjml-group/package.json +33 -0
- package/node_modules/mjml-head/LICENSE.md +21 -0
- package/node_modules/mjml-head/lib/index.js +29 -0
- package/node_modules/mjml-head/package.json +33 -0
- package/node_modules/mjml-head-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-attributes/README.md +48 -0
- package/node_modules/mjml-head-attributes/lib/index.js +56 -0
- package/node_modules/mjml-head-attributes/package.json +33 -0
- package/node_modules/mjml-head-breakpoint/LICENSE.md +21 -0
- package/node_modules/mjml-head-breakpoint/README.md +30 -0
- package/node_modules/mjml-head-breakpoint/lib/index.js +36 -0
- package/node_modules/mjml-head-breakpoint/package.json +33 -0
- package/node_modules/mjml-head-font/LICENSE.md +21 -0
- package/node_modules/mjml-head-font/README.md +36 -0
- package/node_modules/mjml-head-font/lib/index.js +36 -0
- package/node_modules/mjml-head-font/package.json +33 -0
- package/node_modules/mjml-head-html-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-html-attributes/README.md +38 -0
- package/node_modules/mjml-head-html-attributes/lib/index.js +49 -0
- package/node_modules/mjml-head-html-attributes/package.json +33 -0
- package/node_modules/mjml-head-preview/LICENSE.md +21 -0
- package/node_modules/mjml-head-preview/README.md +29 -0
- package/node_modules/mjml-head-preview/lib/index.js +33 -0
- package/node_modules/mjml-head-preview/package.json +33 -0
- package/node_modules/mjml-head-style/LICENSE.md +21 -0
- package/node_modules/mjml-head-style/README.md +49 -0
- package/node_modules/mjml-head-style/lib/index.js +36 -0
- package/node_modules/mjml-head-style/package.json +33 -0
- package/node_modules/mjml-head-title/LICENSE.md +21 -0
- package/node_modules/mjml-head-title/README.md +27 -0
- package/node_modules/mjml-head-title/lib/index.js +33 -0
- package/node_modules/mjml-head-title/package.json +33 -0
- package/node_modules/mjml-hero/LICENSE.md +21 -0
- package/node_modules/mjml-hero/README.md +121 -0
- package/node_modules/mjml-hero/lib/index.js +374 -0
- package/node_modules/mjml-hero/package.json +33 -0
- package/node_modules/mjml-image/LICENSE.md +21 -0
- package/node_modules/mjml-image/README.md +53 -0
- package/node_modules/mjml-image/lib/index.js +187 -0
- package/node_modules/mjml-image/package.json +33 -0
- package/node_modules/mjml-migrate/LICENSE +21 -0
- package/node_modules/mjml-migrate/README.md +21 -0
- package/node_modules/mjml-migrate/lib/cli.js +20 -0
- package/node_modules/mjml-migrate/lib/config.js +8 -0
- package/node_modules/mjml-migrate/lib/migrate.js +187 -0
- package/node_modules/mjml-migrate/node_modules/cliui/LICENSE.txt +14 -0
- package/node_modules/mjml-migrate/node_modules/cliui/README.md +141 -0
- package/node_modules/mjml-migrate/node_modules/cliui/build/index.cjs +302 -0
- package/node_modules/mjml-migrate/node_modules/cliui/build/index.d.cts +43 -0
- package/node_modules/mjml-migrate/node_modules/cliui/build/lib/index.js +287 -0
- package/node_modules/mjml-migrate/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/node_modules/mjml-migrate/node_modules/cliui/index.mjs +13 -0
- package/node_modules/mjml-migrate/node_modules/cliui/package.json +83 -0
- package/node_modules/mjml-migrate/node_modules/yargs/LICENSE +21 -0
- package/node_modules/mjml-migrate/node_modules/yargs/README.md +204 -0
- package/node_modules/mjml-migrate/node_modules/yargs/browser.d.ts +5 -0
- package/node_modules/mjml-migrate/node_modules/yargs/browser.mjs +7 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/index.cjs +1 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/argsert.js +62 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/command.js +449 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/completion.js +243 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/middleware.js +88 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/usage.js +584 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/validation.js +305 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- package/node_modules/mjml-migrate/node_modules/yargs/build/lib/yerror.js +9 -0
- package/node_modules/mjml-migrate/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/node_modules/mjml-migrate/node_modules/yargs/helpers/index.js +14 -0
- package/node_modules/mjml-migrate/node_modules/yargs/helpers/package.json +3 -0
- package/node_modules/mjml-migrate/node_modules/yargs/index.cjs +53 -0
- package/node_modules/mjml-migrate/node_modules/yargs/index.mjs +8 -0
- package/node_modules/mjml-migrate/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/node_modules/mjml-migrate/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/be.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/cs.json +51 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/de.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/en.json +55 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/es.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/fr.json +53 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/hi.json +49 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/hu.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/id.json +50 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/it.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/ja.json +51 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/ko.json +49 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/nb.json +44 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/nl.json +49 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/nn.json +44 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/pirate.json +13 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/pl.json +49 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/pt.json +45 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/pt_BR.json +48 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/ru.json +51 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/th.json +46 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/tr.json +48 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/zh_CN.json +48 -0
- package/node_modules/mjml-migrate/node_modules/yargs/locales/zh_TW.json +51 -0
- package/node_modules/mjml-migrate/node_modules/yargs/package.json +123 -0
- package/node_modules/mjml-migrate/node_modules/yargs/yargs +9 -0
- package/node_modules/mjml-migrate/node_modules/yargs/yargs.mjs +10 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/README.md +518 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/browser.js +29 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/index.cjs +1050 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/lib/index.js +62 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/node_modules/mjml-migrate/node_modules/yargs-parser/package.json +92 -0
- package/node_modules/mjml-migrate/package.json +36 -0
- package/node_modules/mjml-navbar/LICENSE.md +21 -0
- package/node_modules/mjml-navbar/README.md +123 -0
- package/node_modules/mjml-navbar/lib/InlineLinks.js +227 -0
- package/node_modules/mjml-navbar/lib/Link.js +130 -0
- package/node_modules/mjml-navbar/lib/Navbar.js +191 -0
- package/node_modules/mjml-navbar/lib/NavbarLink.js +127 -0
- package/node_modules/mjml-navbar/lib/index.js +20 -0
- package/node_modules/mjml-navbar/package.json +33 -0
- package/node_modules/mjml-parser-xml/LICENSE.md +21 -0
- package/node_modules/mjml-parser-xml/lib/helpers/addCDATASection.js +31 -0
- package/node_modules/mjml-parser-xml/lib/helpers/cleanNode.js +24 -0
- package/node_modules/mjml-parser-xml/lib/helpers/convertBooleansOnAttrs.js +25 -0
- package/node_modules/mjml-parser-xml/lib/helpers/parseAttributes.js +37 -0
- package/node_modules/mjml-parser-xml/lib/helpers/setEmptyAttributes.js +17 -0
- package/node_modules/mjml-parser-xml/lib/index.js +315 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/README.md +171 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Parser.d.ts +198 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Parser.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Parser.js +519 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Parser.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Tokenizer.d.ts +126 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Tokenizer.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Tokenizer.js +791 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/Tokenizer.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/WritableStream.d.ts +17 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/WritableStream.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/WritableStream.js +54 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/WritableStream.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Parser.d.ts +198 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Parser.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Parser.js +490 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Parser.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts +126 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Tokenizer.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Tokenizer.js +784 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/Tokenizer.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/WritableStream.d.ts +17 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/WritableStream.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/WritableStream.js +32 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/WritableStream.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/index.d.ts +54 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/index.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/index.js +74 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/index.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/esm/package.json +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/index.d.ts +54 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/index.d.ts.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/index.js +114 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/lib/index.js.map +1 -0
- package/node_modules/mjml-parser-xml/node_modules/htmlparser2/package.json +97 -0
- package/node_modules/mjml-parser-xml/package.json +38 -0
- package/node_modules/mjml-preset-core/LICENSE.md +21 -0
- package/node_modules/mjml-preset-core/README.md +18 -0
- package/node_modules/mjml-preset-core/lib/dependencies.js +37 -0
- package/node_modules/mjml-preset-core/lib/index.js +40 -0
- package/node_modules/mjml-preset-core/package.json +56 -0
- package/node_modules/mjml-raw/LICENSE.md +21 -0
- package/node_modules/mjml-raw/README.md +57 -0
- package/node_modules/mjml-raw/lib/index.js +34 -0
- package/node_modules/mjml-raw/package.json +33 -0
- package/node_modules/mjml-section/LICENSE.md +21 -0
- package/node_modules/mjml-section/README.md +64 -0
- package/node_modules/mjml-section/lib/index.js +505 -0
- package/node_modules/mjml-section/package.json +33 -0
- package/node_modules/mjml-social/LICENSE.md +21 -0
- package/node_modules/mjml-social/README.md +152 -0
- package/node_modules/mjml-social/lib/Social.js +170 -0
- package/node_modules/mjml-social/lib/SocialElement.js +301 -0
- package/node_modules/mjml-social/lib/index.js +20 -0
- package/node_modules/mjml-social/package.json +33 -0
- package/node_modules/mjml-spacer/LICENSE.md +21 -0
- package/node_modules/mjml-spacer/README.md +34 -0
- package/node_modules/mjml-spacer/lib/index.js +62 -0
- package/node_modules/mjml-spacer/package.json +33 -0
- package/node_modules/mjml-table/LICENSE.md +21 -0
- package/node_modules/mjml-table/README.md +63 -0
- package/node_modules/mjml-table/lib/index.js +106 -0
- package/node_modules/mjml-table/package.json +33 -0
- package/node_modules/mjml-text/LICENSE.md +21 -0
- package/node_modules/mjml-text/README.md +52 -0
- package/node_modules/mjml-text/lib/index.js +99 -0
- package/node_modules/mjml-text/package.json +33 -0
- package/node_modules/mjml-validator/LICENSE.md +21 -0
- package/node_modules/mjml-validator/README.md +36 -0
- package/node_modules/mjml-validator/lib/MJMLRulesCollection.js +32 -0
- package/node_modules/mjml-validator/lib/dependencies.js +39 -0
- package/node_modules/mjml-validator/lib/index.js +75 -0
- package/node_modules/mjml-validator/lib/rules/errorAttr.js +29 -0
- package/node_modules/mjml-validator/lib/rules/index.js +29 -0
- package/node_modules/mjml-validator/lib/rules/ruleError.js +31 -0
- package/node_modules/mjml-validator/lib/rules/validAttributes.js +35 -0
- package/node_modules/mjml-validator/lib/rules/validChildren.js +35 -0
- package/node_modules/mjml-validator/lib/rules/validTag.js +24 -0
- package/node_modules/mjml-validator/lib/rules/validTypes.js +34 -0
- package/node_modules/mjml-validator/lib/types/boolean.js +57 -0
- package/node_modules/mjml-validator/lib/types/color.js +51 -0
- package/node_modules/mjml-validator/lib/types/enum.js +57 -0
- package/node_modules/mjml-validator/lib/types/helpers/colors.js +7 -0
- package/node_modules/mjml-validator/lib/types/index.js +41 -0
- package/node_modules/mjml-validator/lib/types/integer.js +47 -0
- package/node_modules/mjml-validator/lib/types/string.js +47 -0
- package/node_modules/mjml-validator/lib/types/type.js +93 -0
- package/node_modules/mjml-validator/lib/types/unit.js +57 -0
- package/node_modules/mjml-validator/package.json +31 -0
- package/node_modules/mjml-wrapper/LICENSE.md +21 -0
- package/node_modules/mjml-wrapper/README.md +72 -0
- package/node_modules/mjml-wrapper/lib/index.js +56 -0
- package/node_modules/mjml-wrapper/package.json +34 -0
- package/node_modules/no-case/LICENSE +21 -0
- package/node_modules/no-case/README.md +50 -0
- package/node_modules/no-case/no-case.d.ts +3 -0
- package/node_modules/no-case/no-case.js +40 -0
- package/node_modules/no-case/package.json +56 -0
- package/node_modules/no-case/vendor/camel-case-regexp.js +1 -0
- package/node_modules/no-case/vendor/camel-case-upper-regexp.js +1 -0
- package/node_modules/no-case/vendor/non-word-regexp.js +1 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +634 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1777 -0
- package/node_modules/node-fetch/lib/index.js +1787 -0
- package/node_modules/node-fetch/lib/index.mjs +1775 -0
- package/node_modules/node-fetch/package.json +89 -0
- package/node_modules/nopt/LICENSE +15 -0
- package/node_modules/nopt/README.md +213 -0
- package/node_modules/nopt/bin/nopt.js +29 -0
- package/node_modules/nopt/lib/debug.js +5 -0
- package/node_modules/nopt/lib/nopt-lib.js +479 -0
- package/node_modules/nopt/lib/nopt.js +30 -0
- package/node_modules/nopt/lib/type-defs.js +91 -0
- package/node_modules/nopt/package.json +51 -0
- package/node_modules/normalize-path/LICENSE +21 -0
- package/node_modules/normalize-path/README.md +127 -0
- package/node_modules/normalize-path/index.js +35 -0
- package/node_modules/normalize-path/package.json +77 -0
- package/node_modules/nth-check/LICENSE +11 -0
- package/node_modules/nth-check/README.md +136 -0
- package/node_modules/nth-check/lib/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/compile.js +121 -0
- package/node_modules/nth-check/lib/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
- package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/index.js +63 -0
- package/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/node_modules/nth-check/lib/esm/package.json +1 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/node_modules/nth-check/lib/index.d.ts +59 -0
- package/node_modules/nth-check/lib/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/index.js +70 -0
- package/node_modules/nth-check/lib/index.js.map +1 -0
- package/node_modules/nth-check/lib/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/parse.js +77 -0
- package/node_modules/nth-check/lib/parse.js.map +1 -0
- package/node_modules/nth-check/package.json +78 -0
- package/node_modules/package-json-from-dist/LICENSE.md +63 -0
- package/node_modules/package-json-from-dist/README.md +95 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js +124 -0
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js +119 -0
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/node_modules/package-json-from-dist/package.json +68 -0
- package/node_modules/param-case/LICENSE +21 -0
- package/node_modules/param-case/README.md +45 -0
- package/node_modules/param-case/package.json +46 -0
- package/node_modules/param-case/param-case.d.ts +3 -0
- package/node_modules/param-case/param-case.js +12 -0
- package/node_modules/parse5/LICENSE +19 -0
- package/node_modules/parse5/README.md +38 -0
- package/node_modules/parse5/dist/cjs/common/doctype.d.ts +5 -0
- package/node_modules/parse5/dist/cjs/common/doctype.js +120 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +68 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.js +67 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +10 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.js +239 -0
- package/node_modules/parse5/dist/cjs/common/html.d.ts +288 -0
- package/node_modules/parse5/dist/cjs/common/html.js +529 -0
- package/node_modules/parse5/dist/cjs/common/token.d.ts +85 -0
- package/node_modules/parse5/dist/cjs/common/token.js +25 -0
- package/node_modules/parse5/dist/cjs/common/unicode.d.ts +49 -0
- package/node_modules/parse5/dist/cjs/common/unicode.js +77 -0
- package/node_modules/parse5/dist/cjs/index.d.ts +60 -0
- package/node_modules/parse5/dist/cjs/index.js +57 -0
- package/node_modules/parse5/dist/cjs/package.json +1 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +37 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +115 -0
- package/node_modules/parse5/dist/cjs/parser/index.d.ts +157 -0
- package/node_modules/parse5/dist/cjs/parser/index.js +3163 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +316 -0
- package/node_modules/parse5/dist/cjs/serializer/index.d.ts +61 -0
- package/node_modules/parse5/dist/cjs/serializer/index.js +173 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +248 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.js +2908 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +37 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +199 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +85 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.js +177 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +250 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +3 -0
- package/node_modules/parse5/dist/common/doctype.d.ts +5 -0
- package/node_modules/parse5/dist/common/doctype.js +115 -0
- package/node_modules/parse5/dist/common/error-codes.d.ts +68 -0
- package/node_modules/parse5/dist/common/error-codes.js +64 -0
- package/node_modules/parse5/dist/common/foreign-content.d.ts +10 -0
- package/node_modules/parse5/dist/common/foreign-content.js +230 -0
- package/node_modules/parse5/dist/common/html.d.ts +288 -0
- package/node_modules/parse5/dist/common/html.js +523 -0
- package/node_modules/parse5/dist/common/token.d.ts +85 -0
- package/node_modules/parse5/dist/common/token.js +21 -0
- package/node_modules/parse5/dist/common/unicode.d.ts +49 -0
- package/node_modules/parse5/dist/common/unicode.js +69 -0
- package/node_modules/parse5/dist/index.d.ts +60 -0
- package/node_modules/parse5/dist/index.js +45 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +37 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.js +111 -0
- package/node_modules/parse5/dist/parser/index.d.ts +157 -0
- package/node_modules/parse5/dist/parser/index.js +3168 -0
- package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/parser/open-element-stack.js +312 -0
- package/node_modules/parse5/dist/serializer/index.d.ts +61 -0
- package/node_modules/parse5/dist/serializer/index.js +168 -0
- package/node_modules/parse5/dist/tokenizer/index.d.ts +248 -0
- package/node_modules/parse5/dist/tokenizer/index.js +2904 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +37 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.js +195 -0
- package/node_modules/parse5/dist/tree-adapters/default.d.ts +85 -0
- package/node_modules/parse5/dist/tree-adapters/default.js +174 -0
- package/node_modules/parse5/dist/tree-adapters/interface.d.ts +250 -0
- package/node_modules/parse5/dist/tree-adapters/interface.js +2 -0
- package/node_modules/parse5/package.json +50 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +7 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +215 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +7 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +214 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/package.json +39 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/path-scurry/LICENSE.md +55 -0
- package/node_modules/path-scurry/README.md +636 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +1979 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/LICENSE +15 -0
- package/node_modules/path-scurry/node_modules/lru-cache/README.md +1204 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts +856 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1446 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts +856 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +1442 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/node_modules/lru-cache/package.json +117 -0
- package/node_modules/path-scurry/package.json +89 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +708 -0
- package/node_modules/picomatch/index.js +3 -0
- package/node_modules/picomatch/lib/constants.js +179 -0
- package/node_modules/picomatch/lib/parse.js +1091 -0
- package/node_modules/picomatch/lib/picomatch.js +342 -0
- package/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/picomatch/lib/utils.js +64 -0
- package/node_modules/picomatch/package.json +81 -0
- package/node_modules/proto-list/LICENSE +15 -0
- package/node_modules/proto-list/README.md +3 -0
- package/node_modules/proto-list/package.json +18 -0
- package/node_modules/proto-list/proto-list.js +88 -0
- package/node_modules/proto-list/test/basic.js +61 -0
- package/node_modules/readdirp/LICENSE +21 -0
- package/node_modules/readdirp/README.md +122 -0
- package/node_modules/readdirp/index.d.ts +43 -0
- package/node_modules/readdirp/index.js +287 -0
- package/node_modules/readdirp/package.json +122 -0
- package/node_modules/regenerator-runtime/LICENSE +21 -0
- package/node_modules/regenerator-runtime/README.md +31 -0
- package/node_modules/regenerator-runtime/package.json +19 -0
- package/node_modules/regenerator-runtime/path.js +11 -0
- package/node_modules/regenerator-runtime/runtime.js +761 -0
- package/node_modules/relateurl/README.md +159 -0
- package/node_modules/relateurl/lib/constants.js +10 -0
- package/node_modules/relateurl/lib/format.js +174 -0
- package/node_modules/relateurl/lib/index.js +94 -0
- package/node_modules/relateurl/lib/options.js +57 -0
- package/node_modules/relateurl/lib/parse/host.js +26 -0
- package/node_modules/relateurl/lib/parse/hrefInfo.js +20 -0
- package/node_modules/relateurl/lib/parse/index.js +58 -0
- package/node_modules/relateurl/lib/parse/path.js +100 -0
- package/node_modules/relateurl/lib/parse/port.js +32 -0
- package/node_modules/relateurl/lib/parse/query.js +53 -0
- package/node_modules/relateurl/lib/parse/urlstring.js +146 -0
- package/node_modules/relateurl/lib/relate/absolutize.js +89 -0
- package/node_modules/relateurl/lib/relate/findRelation.js +79 -0
- package/node_modules/relateurl/lib/relate/index.js +18 -0
- package/node_modules/relateurl/lib/relate/relativize.js +67 -0
- package/node_modules/relateurl/lib/util/devlog.js +25 -0
- package/node_modules/relateurl/lib/util/object.js +64 -0
- package/node_modules/relateurl/lib/util/path.js +49 -0
- package/node_modules/relateurl/license +21 -0
- package/node_modules/relateurl/package.json +46 -0
- package/node_modules/require-directory/.jshintrc +67 -0
- package/node_modules/require-directory/.npmignore +1 -0
- package/node_modules/require-directory/.travis.yml +3 -0
- package/node_modules/require-directory/LICENSE +22 -0
- package/node_modules/require-directory/README.markdown +184 -0
- package/node_modules/require-directory/index.js +86 -0
- package/node_modules/require-directory/package.json +40 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +654 -0
- package/node_modules/semver/bin/semver.js +188 -0
- package/node_modules/semver/classes/comparator.js +141 -0
- package/node_modules/semver/classes/index.js +5 -0
- package/node_modules/semver/classes/range.js +540 -0
- package/node_modules/semver/classes/semver.js +302 -0
- package/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/semver/functions/cmp.js +52 -0
- package/node_modules/semver/functions/coerce.js +60 -0
- package/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/semver/functions/diff.js +65 -0
- package/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/semver/functions/inc.js +19 -0
- package/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/semver/functions/major.js +3 -0
- package/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/semver/functions/parse.js +16 -0
- package/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/semver/index.js +89 -0
- package/node_modules/semver/internal/constants.js +35 -0
- package/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/semver/internal/lrucache.js +40 -0
- package/node_modules/semver/internal/parse-options.js +15 -0
- package/node_modules/semver/internal/re.js +217 -0
- package/node_modules/semver/package.json +77 -0
- package/node_modules/semver/preload.js +2 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/semver/ranges/min-version.js +61 -0
- package/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/semver/ranges/simplify.js +47 -0
- package/node_modules/semver/ranges/subset.js +247 -0
- package/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/slick/.npmignore +1 -0
- package/node_modules/slick/README.md +106 -0
- package/node_modules/slick/finder.js +829 -0
- package/node_modules/slick/index.js +5 -0
- package/node_modules/slick/package.json +33 -0
- package/node_modules/slick/parser.js +250 -0
- package/node_modules/source-map/LICENSE +28 -0
- package/node_modules/source-map/README.md +742 -0
- package/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/node_modules/source-map/dist/source-map.js +3233 -0
- package/node_modules/source-map/dist/source-map.min.js +2 -0
- package/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/node_modules/source-map/lib/array-set.js +121 -0
- package/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/node_modules/source-map/lib/base64.js +67 -0
- package/node_modules/source-map/lib/binary-search.js +111 -0
- package/node_modules/source-map/lib/mapping-list.js +79 -0
- package/node_modules/source-map/lib/quick-sort.js +114 -0
- package/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/node_modules/source-map/lib/source-node.js +413 -0
- package/node_modules/source-map/lib/util.js +488 -0
- package/node_modules/source-map/package.json +73 -0
- package/node_modules/source-map/source-map.d.ts +98 -0
- package/node_modules/source-map/source-map.js +8 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/string-width-cjs/index.d.ts +29 -0
- package/node_modules/string-width-cjs/index.js +47 -0
- package/node_modules/string-width-cjs/license +9 -0
- package/node_modules/string-width-cjs/package.json +56 -0
- package/node_modules/string-width-cjs/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/strip-ansi-cjs/index.d.ts +17 -0
- package/node_modules/strip-ansi-cjs/index.js +4 -0
- package/node_modules/strip-ansi-cjs/license +9 -0
- package/node_modules/strip-ansi-cjs/package.json +54 -0
- package/node_modules/strip-ansi-cjs/readme.md +46 -0
- package/node_modules/to-regex-range/LICENSE +21 -0
- package/node_modules/to-regex-range/README.md +305 -0
- package/node_modules/to-regex-range/index.js +288 -0
- package/node_modules/to-regex-range/package.json +88 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +31 -0
- package/node_modules/uglify-js/LICENSE +29 -0
- package/node_modules/uglify-js/README.md +1479 -0
- package/node_modules/uglify-js/bin/uglifyjs +621 -0
- package/node_modules/uglify-js/lib/ast.js +2356 -0
- package/node_modules/uglify-js/lib/compress.js +14483 -0
- package/node_modules/uglify-js/lib/minify.js +277 -0
- package/node_modules/uglify-js/lib/mozilla-ast.js +1338 -0
- package/node_modules/uglify-js/lib/output.js +1959 -0
- package/node_modules/uglify-js/lib/parse.js +2589 -0
- package/node_modules/uglify-js/lib/propmangle.js +328 -0
- package/node_modules/uglify-js/lib/scope.js +883 -0
- package/node_modules/uglify-js/lib/sourcemap.js +195 -0
- package/node_modules/uglify-js/lib/transform.js +250 -0
- package/node_modules/uglify-js/lib/utils.js +300 -0
- package/node_modules/uglify-js/package.json +56 -0
- package/node_modules/uglify-js/tools/domprops.html +456 -0
- package/node_modules/uglify-js/tools/domprops.json +8327 -0
- package/node_modules/uglify-js/tools/exports.js +8 -0
- package/node_modules/uglify-js/tools/node.js +110 -0
- package/node_modules/uglify-js/tools/tty.js +22 -0
- package/node_modules/upper-case/LICENSE +21 -0
- package/node_modules/upper-case/README.md +45 -0
- package/node_modules/upper-case/package.json +51 -0
- package/node_modules/upper-case/upper-case.d.ts +3 -0
- package/node_modules/upper-case/upper-case.js +50 -0
- package/node_modules/valid-data-url/LICENSE +21 -0
- package/node_modules/valid-data-url/README.md +78 -0
- package/node_modules/valid-data-url/index.js +27 -0
- package/node_modules/valid-data-url/package.json +62 -0
- package/node_modules/web-resource-inliner/README.md +80 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/README.md +97 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/index.d.ts +43 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/lib/index.js +211 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/index.d.ts +85 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/index.js +176 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/node.d.ts +237 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/lib/node.js +444 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/package.json +58 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler/readme.md +163 -0
- package/node_modules/web-resource-inliner/node_modules/dom-serializer/package.json +55 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/index.d.ts +78 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/index.js +176 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/node.d.ts +98 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/lib/node.js +296 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/package.json +57 -0
- package/node_modules/web-resource-inliner/node_modules/domhandler/readme.md +163 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/feeds.d.ts +45 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/feeds.js +190 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/helpers.d.ts +51 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/helpers.js +125 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/index.d.ts +10 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/index.js +28 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/legacy.d.ts +47 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/legacy.js +124 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/manipulation.d.ts +43 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/manipulation.js +129 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/querying.d.ts +55 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/querying.js +126 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/stringify.d.ts +41 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/stringify.js +86 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/traversal.d.ts +59 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/lib/traversal.js +117 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/index.d.ts +85 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/index.js +176 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/node.d.ts +237 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/lib/node.js +444 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/package.json +58 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler/readme.md +163 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/package.json +65 -0
- package/node_modules/web-resource-inliner/node_modules/domutils/readme.md +31 -0
- package/node_modules/web-resource-inliner/node_modules/entities/LICENSE +11 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode.d.ts +5 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode.js +53 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode_codepoint.d.ts +2 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/decode_codepoint.js +30 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/encode.d.ts +47 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/encode.js +136 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/index.d.ts +27 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/index.js +57 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/maps/decode.json +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/maps/entities.json +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/maps/legacy.json +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/lib/maps/xml.json +1 -0
- package/node_modules/web-resource-inliner/node_modules/entities/package.json +64 -0
- package/node_modules/web-resource-inliner/node_modules/entities/readme.md +57 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/README.md +127 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/CollectingHandler.d.ts +10 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/CollectingHandler.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/CollectingHandler.js +60 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/FeedHandler.d.ts +67 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/FeedHandler.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/FeedHandler.js +233 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/MultiplexHandler.d.ts +27 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/MultiplexHandler.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/MultiplexHandler.js +56 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Parser.d.ts +146 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Parser.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Parser.js +379 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Tokenizer.d.ts +175 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Tokenizer.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/Tokenizer.js +898 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/WritableStream.d.ts +16 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/WritableStream.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/WritableStream.js +51 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/index.d.ts +28 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/index.d.ts.map +1 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/lib/index.js +70 -0
- package/node_modules/web-resource-inliner/node_modules/htmlparser2/package.json +68 -0
- package/node_modules/web-resource-inliner/package.json +50 -0
- package/node_modules/web-resource-inliner/src/css.js +115 -0
- package/node_modules/web-resource-inliner/src/html.js +286 -0
- package/node_modules/web-resource-inliner/src/inline.js +16 -0
- package/node_modules/web-resource-inliner/src/util.js +216 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/wrap-ansi/index.js +216 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +62 -0
- package/node_modules/wrap-ansi/readme.md +91 -0
- package/node_modules/wrap-ansi-cjs/index.js +216 -0
- package/node_modules/wrap-ansi-cjs/license +9 -0
- package/node_modules/wrap-ansi-cjs/package.json +62 -0
- package/node_modules/wrap-ansi-cjs/readme.md +91 -0
- package/node_modules/y18n/LICENSE +13 -0
- package/node_modules/y18n/README.md +127 -0
- package/node_modules/y18n/build/index.cjs +203 -0
- package/node_modules/y18n/build/lib/cjs.js +6 -0
- package/node_modules/y18n/build/lib/index.js +174 -0
- package/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- package/node_modules/y18n/index.mjs +8 -0
- package/node_modules/y18n/package.json +70 -0
- package/package.json +12 -3
|
@@ -0,0 +1,2356 @@
|
|
|
1
|
+
/***********************************************************************
|
|
2
|
+
|
|
3
|
+
A JavaScript tokenizer / parser / beautifier / compressor.
|
|
4
|
+
https://github.com/mishoo/UglifyJS
|
|
5
|
+
|
|
6
|
+
-------------------------------- (C) ---------------------------------
|
|
7
|
+
|
|
8
|
+
Author: Mihai Bazon
|
|
9
|
+
<mihai.bazon@gmail.com>
|
|
10
|
+
http://mihai.bazon.net/blog
|
|
11
|
+
|
|
12
|
+
Distributed under the BSD license:
|
|
13
|
+
|
|
14
|
+
Copyright 2012 (c) Mihai Bazon <mihai.bazon@gmail.com>
|
|
15
|
+
|
|
16
|
+
Redistribution and use in source and binary forms, with or without
|
|
17
|
+
modification, are permitted provided that the following conditions
|
|
18
|
+
are met:
|
|
19
|
+
|
|
20
|
+
* Redistributions of source code must retain the above
|
|
21
|
+
copyright notice, this list of conditions and the following
|
|
22
|
+
disclaimer.
|
|
23
|
+
|
|
24
|
+
* Redistributions in binary form must reproduce the above
|
|
25
|
+
copyright notice, this list of conditions and the following
|
|
26
|
+
disclaimer in the documentation and/or other materials
|
|
27
|
+
provided with the distribution.
|
|
28
|
+
|
|
29
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
|
|
30
|
+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
31
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
32
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
|
|
33
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
34
|
+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
35
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
36
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
37
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
|
38
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
39
|
+
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
40
|
+
SUCH DAMAGE.
|
|
41
|
+
|
|
42
|
+
***********************************************************************/
|
|
43
|
+
|
|
44
|
+
"use strict";
|
|
45
|
+
|
|
46
|
+
function DEFNODE(type, props, methods, base) {
|
|
47
|
+
if (typeof base === "undefined") base = AST_Node;
|
|
48
|
+
props = props ? props.split(/\s+/) : [];
|
|
49
|
+
var self_props = props;
|
|
50
|
+
if (base && base.PROPS) props = props.concat(base.PROPS);
|
|
51
|
+
var code = [
|
|
52
|
+
"return function AST_", type, "(props){",
|
|
53
|
+
// not essential, but speeds up compress by a few percent
|
|
54
|
+
"this._bits=0;",
|
|
55
|
+
"if(props){",
|
|
56
|
+
];
|
|
57
|
+
props.forEach(function(prop) {
|
|
58
|
+
code.push("this.", prop, "=props.", prop, ";");
|
|
59
|
+
});
|
|
60
|
+
code.push("}");
|
|
61
|
+
var proto = Object.create(base && base.prototype);
|
|
62
|
+
if (methods.initialize || proto.initialize) code.push("this.initialize();");
|
|
63
|
+
code.push("};");
|
|
64
|
+
var ctor = new Function(code.join(""))();
|
|
65
|
+
ctor.prototype = proto;
|
|
66
|
+
ctor.prototype.CTOR = ctor;
|
|
67
|
+
ctor.prototype.TYPE = ctor.TYPE = type;
|
|
68
|
+
if (base) {
|
|
69
|
+
ctor.BASE = base;
|
|
70
|
+
base.SUBCLASSES.push(ctor);
|
|
71
|
+
}
|
|
72
|
+
ctor.DEFMETHOD = function(name, method) {
|
|
73
|
+
this.prototype[name] = method;
|
|
74
|
+
};
|
|
75
|
+
ctor.PROPS = props;
|
|
76
|
+
ctor.SELF_PROPS = self_props;
|
|
77
|
+
ctor.SUBCLASSES = [];
|
|
78
|
+
for (var name in methods) if (HOP(methods, name)) {
|
|
79
|
+
if (/^\$/.test(name)) {
|
|
80
|
+
ctor[name.substr(1)] = methods[name];
|
|
81
|
+
} else {
|
|
82
|
+
ctor.DEFMETHOD(name, methods[name]);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (typeof exports !== "undefined") exports["AST_" + type] = ctor;
|
|
86
|
+
return ctor;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
var AST_Token = DEFNODE("Token", "type value line col pos endline endcol endpos nlb comments_before comments_after file raw", {
|
|
90
|
+
}, null);
|
|
91
|
+
|
|
92
|
+
var AST_Node = DEFNODE("Node", "start end", {
|
|
93
|
+
_clone: function(deep) {
|
|
94
|
+
if (deep) {
|
|
95
|
+
var self = this.clone();
|
|
96
|
+
return self.transform(new TreeTransformer(function(node) {
|
|
97
|
+
if (node !== self) {
|
|
98
|
+
return node.clone(true);
|
|
99
|
+
}
|
|
100
|
+
}));
|
|
101
|
+
}
|
|
102
|
+
return new this.CTOR(this);
|
|
103
|
+
},
|
|
104
|
+
clone: function(deep) {
|
|
105
|
+
return this._clone(deep);
|
|
106
|
+
},
|
|
107
|
+
$documentation: "Base class of all AST nodes",
|
|
108
|
+
$propdoc: {
|
|
109
|
+
start: "[AST_Token] The first token of this node",
|
|
110
|
+
end: "[AST_Token] The last token of this node"
|
|
111
|
+
},
|
|
112
|
+
equals: function(node) {
|
|
113
|
+
return this.TYPE == node.TYPE && this._equals(node);
|
|
114
|
+
},
|
|
115
|
+
walk: function(visitor) {
|
|
116
|
+
visitor.visit(this);
|
|
117
|
+
},
|
|
118
|
+
_validate: function() {
|
|
119
|
+
if (this.TYPE == "Node") throw new Error("should not instantiate AST_Node");
|
|
120
|
+
},
|
|
121
|
+
validate: function() {
|
|
122
|
+
var ctor = this.CTOR;
|
|
123
|
+
do {
|
|
124
|
+
ctor.prototype._validate.call(this);
|
|
125
|
+
} while (ctor = ctor.BASE);
|
|
126
|
+
},
|
|
127
|
+
validate_ast: function() {
|
|
128
|
+
var marker = {};
|
|
129
|
+
this.walk(new TreeWalker(function(node) {
|
|
130
|
+
if (node.validate_visited === marker) {
|
|
131
|
+
throw new Error(string_template("cannot reuse AST_{TYPE} from [{start}]", node));
|
|
132
|
+
}
|
|
133
|
+
node.validate_visited = marker;
|
|
134
|
+
}));
|
|
135
|
+
},
|
|
136
|
+
}, null);
|
|
137
|
+
|
|
138
|
+
DEF_BITPROPS(AST_Node, [
|
|
139
|
+
// AST_Node
|
|
140
|
+
"_optimized",
|
|
141
|
+
"_squeezed",
|
|
142
|
+
// AST_Call
|
|
143
|
+
"call_only",
|
|
144
|
+
// AST_Lambda
|
|
145
|
+
"collapse_scanning",
|
|
146
|
+
// AST_SymbolRef
|
|
147
|
+
"defined",
|
|
148
|
+
"evaluating",
|
|
149
|
+
"falsy",
|
|
150
|
+
// AST_SymbolRef
|
|
151
|
+
"in_arg",
|
|
152
|
+
// AST_Return
|
|
153
|
+
"in_bool",
|
|
154
|
+
// AST_SymbolRef
|
|
155
|
+
"is_undefined",
|
|
156
|
+
// AST_LambdaExpression
|
|
157
|
+
// AST_LambdaDefinition
|
|
158
|
+
"inlined",
|
|
159
|
+
// AST_Lambda
|
|
160
|
+
"length_read",
|
|
161
|
+
// AST_Yield
|
|
162
|
+
"nested",
|
|
163
|
+
// AST_Lambda
|
|
164
|
+
"new",
|
|
165
|
+
// AST_Call
|
|
166
|
+
// AST_PropAccess
|
|
167
|
+
"optional",
|
|
168
|
+
// AST_ClassProperty
|
|
169
|
+
"private",
|
|
170
|
+
// AST_Call
|
|
171
|
+
"pure",
|
|
172
|
+
// AST_Assign
|
|
173
|
+
"redundant",
|
|
174
|
+
// AST_Node
|
|
175
|
+
"single_use",
|
|
176
|
+
// AST_ClassProperty
|
|
177
|
+
"static",
|
|
178
|
+
// AST_Call
|
|
179
|
+
// AST_PropAccess
|
|
180
|
+
"terminal",
|
|
181
|
+
"truthy",
|
|
182
|
+
// AST_Scope
|
|
183
|
+
"uses_eval",
|
|
184
|
+
// AST_Scope
|
|
185
|
+
"uses_with",
|
|
186
|
+
]);
|
|
187
|
+
|
|
188
|
+
(AST_Node.log_function = function(fn, verbose) {
|
|
189
|
+
if (typeof fn != "function") {
|
|
190
|
+
AST_Node.info = AST_Node.warn = noop;
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
var printed = Object.create(null);
|
|
194
|
+
AST_Node.info = verbose ? function(text, props) {
|
|
195
|
+
log("INFO: " + string_template(text, props));
|
|
196
|
+
} : noop;
|
|
197
|
+
AST_Node.warn = function(text, props) {
|
|
198
|
+
log("WARN: " + string_template(text, props));
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
function log(msg) {
|
|
202
|
+
if (printed[msg]) return;
|
|
203
|
+
printed[msg] = true;
|
|
204
|
+
fn(msg);
|
|
205
|
+
}
|
|
206
|
+
})();
|
|
207
|
+
|
|
208
|
+
var restore_transforms = [];
|
|
209
|
+
AST_Node.enable_validation = function() {
|
|
210
|
+
AST_Node.disable_validation();
|
|
211
|
+
(function validate_transform(ctor) {
|
|
212
|
+
ctor.SUBCLASSES.forEach(validate_transform);
|
|
213
|
+
if (!HOP(ctor.prototype, "transform")) return;
|
|
214
|
+
var transform = ctor.prototype.transform;
|
|
215
|
+
ctor.prototype.transform = function(tw, in_list) {
|
|
216
|
+
var node = transform.call(this, tw, in_list);
|
|
217
|
+
if (node instanceof AST_Node) {
|
|
218
|
+
node.validate();
|
|
219
|
+
} else if (!(node === null || in_list && List.is_op(node))) {
|
|
220
|
+
throw new Error("invalid transformed value: " + node);
|
|
221
|
+
}
|
|
222
|
+
return node;
|
|
223
|
+
};
|
|
224
|
+
restore_transforms.push(function() {
|
|
225
|
+
ctor.prototype.transform = transform;
|
|
226
|
+
});
|
|
227
|
+
})(this);
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
AST_Node.disable_validation = function() {
|
|
231
|
+
var restore;
|
|
232
|
+
while (restore = restore_transforms.pop()) restore();
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
function all_equals(k, l) {
|
|
236
|
+
return k.length == l.length && all(k, function(m, i) {
|
|
237
|
+
return m.equals(l[i]);
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
function list_equals(s, t) {
|
|
242
|
+
return s.length == t.length && all(s, function(u, i) {
|
|
243
|
+
return u == t[i];
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function prop_equals(u, v) {
|
|
248
|
+
if (u === v) return true;
|
|
249
|
+
if (u == null) return v == null;
|
|
250
|
+
return u instanceof AST_Node && v instanceof AST_Node && u.equals(v);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* -----[ statements ]----- */
|
|
254
|
+
|
|
255
|
+
var AST_Statement = DEFNODE("Statement", null, {
|
|
256
|
+
$documentation: "Base class of all statements",
|
|
257
|
+
_validate: function() {
|
|
258
|
+
if (this.TYPE == "Statement") throw new Error("should not instantiate AST_Statement");
|
|
259
|
+
},
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
var AST_Debugger = DEFNODE("Debugger", null, {
|
|
263
|
+
$documentation: "Represents a debugger statement",
|
|
264
|
+
_equals: return_true,
|
|
265
|
+
}, AST_Statement);
|
|
266
|
+
|
|
267
|
+
var AST_Directive = DEFNODE("Directive", "quote value", {
|
|
268
|
+
$documentation: "Represents a directive, like \"use strict\";",
|
|
269
|
+
$propdoc: {
|
|
270
|
+
quote: "[string?] the original quote character",
|
|
271
|
+
value: "[string] The value of this directive as a plain string (it's not an AST_String!)",
|
|
272
|
+
},
|
|
273
|
+
_equals: function(node) {
|
|
274
|
+
return this.value == node.value;
|
|
275
|
+
},
|
|
276
|
+
_validate: function() {
|
|
277
|
+
if (this.quote != null) {
|
|
278
|
+
if (typeof this.quote != "string") throw new Error("quote must be string");
|
|
279
|
+
if (!/^["']$/.test(this.quote)) throw new Error("invalid quote: " + this.quote);
|
|
280
|
+
}
|
|
281
|
+
if (typeof this.value != "string") throw new Error("value must be string");
|
|
282
|
+
},
|
|
283
|
+
}, AST_Statement);
|
|
284
|
+
|
|
285
|
+
var AST_EmptyStatement = DEFNODE("EmptyStatement", null, {
|
|
286
|
+
$documentation: "The empty statement (empty block or simply a semicolon)",
|
|
287
|
+
_equals: return_true,
|
|
288
|
+
}, AST_Statement);
|
|
289
|
+
|
|
290
|
+
function is_statement(node) {
|
|
291
|
+
return node instanceof AST_Statement
|
|
292
|
+
&& !(node instanceof AST_ClassExpression)
|
|
293
|
+
&& !(node instanceof AST_LambdaExpression);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
function validate_expression(value, prop, multiple, allow_spread, allow_hole) {
|
|
297
|
+
multiple = multiple ? "contain" : "be";
|
|
298
|
+
if (!(value instanceof AST_Node)) throw new Error(prop + " must " + multiple + " AST_Node");
|
|
299
|
+
if (value instanceof AST_DefaultValue) throw new Error(prop + " cannot " + multiple + " AST_DefaultValue");
|
|
300
|
+
if (value instanceof AST_Destructured) throw new Error(prop + " cannot " + multiple + " AST_Destructured");
|
|
301
|
+
if (value instanceof AST_Hole && !allow_hole) throw new Error(prop + " cannot " + multiple + " AST_Hole");
|
|
302
|
+
if (value instanceof AST_Spread && !allow_spread) throw new Error(prop + " cannot " + multiple + " AST_Spread");
|
|
303
|
+
if (is_statement(value)) throw new Error(prop + " cannot " + multiple + " AST_Statement");
|
|
304
|
+
if (value instanceof AST_SymbolDeclaration) {
|
|
305
|
+
throw new Error(prop + " cannot " + multiple + " AST_SymbolDeclaration");
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
function must_be_expression(node, prop) {
|
|
310
|
+
validate_expression(node[prop], prop);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
var AST_SimpleStatement = DEFNODE("SimpleStatement", "body", {
|
|
314
|
+
$documentation: "A statement consisting of an expression, i.e. a = 1 + 2",
|
|
315
|
+
$propdoc: {
|
|
316
|
+
body: "[AST_Node] an expression node (should not be instanceof AST_Statement)",
|
|
317
|
+
},
|
|
318
|
+
_equals: function(node) {
|
|
319
|
+
return this.body.equals(node.body);
|
|
320
|
+
},
|
|
321
|
+
walk: function(visitor) {
|
|
322
|
+
var node = this;
|
|
323
|
+
visitor.visit(node, function() {
|
|
324
|
+
node.body.walk(visitor);
|
|
325
|
+
});
|
|
326
|
+
},
|
|
327
|
+
_validate: function() {
|
|
328
|
+
must_be_expression(this, "body");
|
|
329
|
+
},
|
|
330
|
+
}, AST_Statement);
|
|
331
|
+
|
|
332
|
+
var AST_BlockScope = DEFNODE("BlockScope", "_var_names enclosed functions make_def parent_scope variables", {
|
|
333
|
+
$documentation: "Base class for all statements introducing a lexical scope",
|
|
334
|
+
$propdoc: {
|
|
335
|
+
enclosed: "[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any inner scopes",
|
|
336
|
+
functions: "[Dictionary/S] like `variables`, but only lists function declarations",
|
|
337
|
+
parent_scope: "[AST_Scope?/S] link to the parent scope",
|
|
338
|
+
variables: "[Dictionary/S] a map of name ---> SymbolDef for all variables/functions defined in this scope",
|
|
339
|
+
},
|
|
340
|
+
clone: function(deep) {
|
|
341
|
+
var node = this._clone(deep);
|
|
342
|
+
if (this.enclosed) node.enclosed = this.enclosed.slice();
|
|
343
|
+
if (this.functions) node.functions = this.functions.clone();
|
|
344
|
+
if (this.variables) node.variables = this.variables.clone();
|
|
345
|
+
return node;
|
|
346
|
+
},
|
|
347
|
+
pinned: function() {
|
|
348
|
+
return this.resolve().pinned();
|
|
349
|
+
},
|
|
350
|
+
resolve: function() {
|
|
351
|
+
return this.parent_scope.resolve();
|
|
352
|
+
},
|
|
353
|
+
_validate: function() {
|
|
354
|
+
if (this.TYPE == "BlockScope") throw new Error("should not instantiate AST_BlockScope");
|
|
355
|
+
if (this.parent_scope == null) return;
|
|
356
|
+
if (!(this.parent_scope instanceof AST_BlockScope)) throw new Error("parent_scope must be AST_BlockScope");
|
|
357
|
+
if (!(this.resolve() instanceof AST_Scope)) throw new Error("must be contained within AST_Scope");
|
|
358
|
+
},
|
|
359
|
+
}, AST_Statement);
|
|
360
|
+
|
|
361
|
+
function walk_body(node, visitor) {
|
|
362
|
+
node.body.forEach(function(node) {
|
|
363
|
+
node.walk(visitor);
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
var AST_Block = DEFNODE("Block", "body", {
|
|
368
|
+
$documentation: "A body of statements (usually braced)",
|
|
369
|
+
$propdoc: {
|
|
370
|
+
body: "[AST_Statement*] an array of statements"
|
|
371
|
+
},
|
|
372
|
+
_equals: function(node) {
|
|
373
|
+
return all_equals(this.body, node.body);
|
|
374
|
+
},
|
|
375
|
+
walk: function(visitor) {
|
|
376
|
+
var node = this;
|
|
377
|
+
visitor.visit(node, function() {
|
|
378
|
+
walk_body(node, visitor);
|
|
379
|
+
});
|
|
380
|
+
},
|
|
381
|
+
_validate: function() {
|
|
382
|
+
if (this.TYPE == "Block") throw new Error("should not instantiate AST_Block");
|
|
383
|
+
this.body.forEach(function(node) {
|
|
384
|
+
if (!is_statement(node)) throw new Error("body must contain AST_Statement");
|
|
385
|
+
});
|
|
386
|
+
},
|
|
387
|
+
}, AST_BlockScope);
|
|
388
|
+
|
|
389
|
+
var AST_BlockStatement = DEFNODE("BlockStatement", null, {
|
|
390
|
+
$documentation: "A block statement",
|
|
391
|
+
}, AST_Block);
|
|
392
|
+
|
|
393
|
+
var AST_StatementWithBody = DEFNODE("StatementWithBody", "body", {
|
|
394
|
+
$documentation: "Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",
|
|
395
|
+
$propdoc: {
|
|
396
|
+
body: "[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"
|
|
397
|
+
},
|
|
398
|
+
_validate: function() {
|
|
399
|
+
if (this.TYPE == "StatementWithBody") throw new Error("should not instantiate AST_StatementWithBody");
|
|
400
|
+
if (!is_statement(this.body)) throw new Error("body must be AST_Statement");
|
|
401
|
+
},
|
|
402
|
+
}, AST_BlockScope);
|
|
403
|
+
|
|
404
|
+
var AST_LabeledStatement = DEFNODE("LabeledStatement", "label", {
|
|
405
|
+
$documentation: "Statement with a label",
|
|
406
|
+
$propdoc: {
|
|
407
|
+
label: "[AST_Label] a label definition"
|
|
408
|
+
},
|
|
409
|
+
_equals: function(node) {
|
|
410
|
+
return this.label.equals(node.label)
|
|
411
|
+
&& this.body.equals(node.body);
|
|
412
|
+
},
|
|
413
|
+
walk: function(visitor) {
|
|
414
|
+
var node = this;
|
|
415
|
+
visitor.visit(node, function() {
|
|
416
|
+
node.label.walk(visitor);
|
|
417
|
+
node.body.walk(visitor);
|
|
418
|
+
});
|
|
419
|
+
},
|
|
420
|
+
clone: function(deep) {
|
|
421
|
+
var node = this._clone(deep);
|
|
422
|
+
if (deep) {
|
|
423
|
+
var label = node.label;
|
|
424
|
+
var def = this.label;
|
|
425
|
+
node.walk(new TreeWalker(function(node) {
|
|
426
|
+
if (node instanceof AST_LoopControl) {
|
|
427
|
+
if (!node.label || node.label.thedef !== def) return;
|
|
428
|
+
node.label.thedef = label;
|
|
429
|
+
label.references.push(node);
|
|
430
|
+
return true;
|
|
431
|
+
}
|
|
432
|
+
if (node instanceof AST_Scope) return true;
|
|
433
|
+
}));
|
|
434
|
+
}
|
|
435
|
+
return node;
|
|
436
|
+
},
|
|
437
|
+
_validate: function() {
|
|
438
|
+
if (!(this.label instanceof AST_Label)) throw new Error("label must be AST_Label");
|
|
439
|
+
},
|
|
440
|
+
}, AST_StatementWithBody);
|
|
441
|
+
|
|
442
|
+
var AST_IterationStatement = DEFNODE("IterationStatement", null, {
|
|
443
|
+
$documentation: "Internal class. All loops inherit from it.",
|
|
444
|
+
_validate: function() {
|
|
445
|
+
if (this.TYPE == "IterationStatement") throw new Error("should not instantiate AST_IterationStatement");
|
|
446
|
+
},
|
|
447
|
+
}, AST_StatementWithBody);
|
|
448
|
+
|
|
449
|
+
var AST_DWLoop = DEFNODE("DWLoop", "condition", {
|
|
450
|
+
$documentation: "Base class for do/while statements",
|
|
451
|
+
$propdoc: {
|
|
452
|
+
condition: "[AST_Node] the loop condition. Should not be instanceof AST_Statement"
|
|
453
|
+
},
|
|
454
|
+
_equals: function(node) {
|
|
455
|
+
return this.body.equals(node.body)
|
|
456
|
+
&& this.condition.equals(node.condition);
|
|
457
|
+
},
|
|
458
|
+
_validate: function() {
|
|
459
|
+
if (this.TYPE == "DWLoop") throw new Error("should not instantiate AST_DWLoop");
|
|
460
|
+
must_be_expression(this, "condition");
|
|
461
|
+
},
|
|
462
|
+
}, AST_IterationStatement);
|
|
463
|
+
|
|
464
|
+
var AST_Do = DEFNODE("Do", null, {
|
|
465
|
+
$documentation: "A `do` statement",
|
|
466
|
+
walk: function(visitor) {
|
|
467
|
+
var node = this;
|
|
468
|
+
visitor.visit(node, function() {
|
|
469
|
+
node.body.walk(visitor);
|
|
470
|
+
node.condition.walk(visitor);
|
|
471
|
+
});
|
|
472
|
+
},
|
|
473
|
+
}, AST_DWLoop);
|
|
474
|
+
|
|
475
|
+
var AST_While = DEFNODE("While", null, {
|
|
476
|
+
$documentation: "A `while` statement",
|
|
477
|
+
walk: function(visitor) {
|
|
478
|
+
var node = this;
|
|
479
|
+
visitor.visit(node, function() {
|
|
480
|
+
node.condition.walk(visitor);
|
|
481
|
+
node.body.walk(visitor);
|
|
482
|
+
});
|
|
483
|
+
},
|
|
484
|
+
}, AST_DWLoop);
|
|
485
|
+
|
|
486
|
+
var AST_For = DEFNODE("For", "init condition step", {
|
|
487
|
+
$documentation: "A `for` statement",
|
|
488
|
+
$propdoc: {
|
|
489
|
+
init: "[AST_Node?] the `for` initialization code, or null if empty",
|
|
490
|
+
condition: "[AST_Node?] the `for` termination clause, or null if empty",
|
|
491
|
+
step: "[AST_Node?] the `for` update clause, or null if empty"
|
|
492
|
+
},
|
|
493
|
+
_equals: function(node) {
|
|
494
|
+
return prop_equals(this.init, node.init)
|
|
495
|
+
&& prop_equals(this.condition, node.condition)
|
|
496
|
+
&& prop_equals(this.step, node.step)
|
|
497
|
+
&& this.body.equals(node.body);
|
|
498
|
+
},
|
|
499
|
+
walk: function(visitor) {
|
|
500
|
+
var node = this;
|
|
501
|
+
visitor.visit(node, function() {
|
|
502
|
+
if (node.init) node.init.walk(visitor);
|
|
503
|
+
if (node.condition) node.condition.walk(visitor);
|
|
504
|
+
if (node.step) node.step.walk(visitor);
|
|
505
|
+
node.body.walk(visitor);
|
|
506
|
+
});
|
|
507
|
+
},
|
|
508
|
+
_validate: function() {
|
|
509
|
+
if (this.init != null) {
|
|
510
|
+
if (!(this.init instanceof AST_Node)) throw new Error("init must be AST_Node");
|
|
511
|
+
if (is_statement(this.init) && !(this.init instanceof AST_Definitions)) {
|
|
512
|
+
throw new Error("init cannot be AST_Statement");
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
if (this.condition != null) must_be_expression(this, "condition");
|
|
516
|
+
if (this.step != null) must_be_expression(this, "step");
|
|
517
|
+
},
|
|
518
|
+
}, AST_IterationStatement);
|
|
519
|
+
|
|
520
|
+
var AST_ForEnumeration = DEFNODE("ForEnumeration", "init object", {
|
|
521
|
+
$documentation: "Base class for enumeration loops, i.e. `for ... in`, `for ... of` & `for await ... of`",
|
|
522
|
+
$propdoc: {
|
|
523
|
+
init: "[AST_Node] the assignment target during iteration",
|
|
524
|
+
object: "[AST_Node] the object to iterate over"
|
|
525
|
+
},
|
|
526
|
+
_equals: function(node) {
|
|
527
|
+
return this.init.equals(node.init)
|
|
528
|
+
&& this.object.equals(node.object)
|
|
529
|
+
&& this.body.equals(node.body);
|
|
530
|
+
},
|
|
531
|
+
walk: function(visitor) {
|
|
532
|
+
var node = this;
|
|
533
|
+
visitor.visit(node, function() {
|
|
534
|
+
node.init.walk(visitor);
|
|
535
|
+
node.object.walk(visitor);
|
|
536
|
+
node.body.walk(visitor);
|
|
537
|
+
});
|
|
538
|
+
},
|
|
539
|
+
_validate: function() {
|
|
540
|
+
if (this.TYPE == "ForEnumeration") throw new Error("should not instantiate AST_ForEnumeration");
|
|
541
|
+
if (this.init instanceof AST_Definitions) {
|
|
542
|
+
if (this.init.definitions.length != 1) throw new Error("init must have single declaration");
|
|
543
|
+
} else {
|
|
544
|
+
validate_destructured(this.init, function(node) {
|
|
545
|
+
if (!(node instanceof AST_PropAccess || node instanceof AST_SymbolRef)) {
|
|
546
|
+
throw new Error("init must be assignable: " + node.TYPE);
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
must_be_expression(this, "object");
|
|
551
|
+
},
|
|
552
|
+
}, AST_IterationStatement);
|
|
553
|
+
|
|
554
|
+
var AST_ForIn = DEFNODE("ForIn", null, {
|
|
555
|
+
$documentation: "A `for ... in` statement",
|
|
556
|
+
}, AST_ForEnumeration);
|
|
557
|
+
|
|
558
|
+
var AST_ForOf = DEFNODE("ForOf", null, {
|
|
559
|
+
$documentation: "A `for ... of` statement",
|
|
560
|
+
}, AST_ForEnumeration);
|
|
561
|
+
|
|
562
|
+
var AST_ForAwaitOf = DEFNODE("ForAwaitOf", null, {
|
|
563
|
+
$documentation: "A `for await ... of` statement",
|
|
564
|
+
}, AST_ForOf);
|
|
565
|
+
|
|
566
|
+
var AST_With = DEFNODE("With", "expression", {
|
|
567
|
+
$documentation: "A `with` statement",
|
|
568
|
+
$propdoc: {
|
|
569
|
+
expression: "[AST_Node] the `with` expression"
|
|
570
|
+
},
|
|
571
|
+
_equals: function(node) {
|
|
572
|
+
return this.expression.equals(node.expression)
|
|
573
|
+
&& this.body.equals(node.body);
|
|
574
|
+
},
|
|
575
|
+
walk: function(visitor) {
|
|
576
|
+
var node = this;
|
|
577
|
+
visitor.visit(node, function() {
|
|
578
|
+
node.expression.walk(visitor);
|
|
579
|
+
node.body.walk(visitor);
|
|
580
|
+
});
|
|
581
|
+
},
|
|
582
|
+
_validate: function() {
|
|
583
|
+
must_be_expression(this, "expression");
|
|
584
|
+
},
|
|
585
|
+
}, AST_StatementWithBody);
|
|
586
|
+
|
|
587
|
+
/* -----[ scope and functions ]----- */
|
|
588
|
+
|
|
589
|
+
var AST_Scope = DEFNODE("Scope", "fn_defs may_call_this uses_eval uses_with", {
|
|
590
|
+
$documentation: "Base class for all statements introducing a lambda scope",
|
|
591
|
+
$propdoc: {
|
|
592
|
+
uses_eval: "[boolean/S] tells whether this scope contains a direct call to the global `eval`",
|
|
593
|
+
uses_with: "[boolean/S] tells whether this scope uses the `with` statement",
|
|
594
|
+
},
|
|
595
|
+
pinned: function() {
|
|
596
|
+
return this.uses_eval || this.uses_with;
|
|
597
|
+
},
|
|
598
|
+
resolve: return_this,
|
|
599
|
+
_validate: function() {
|
|
600
|
+
if (this.TYPE == "Scope") throw new Error("should not instantiate AST_Scope");
|
|
601
|
+
},
|
|
602
|
+
}, AST_Block);
|
|
603
|
+
|
|
604
|
+
var AST_Toplevel = DEFNODE("Toplevel", "globals", {
|
|
605
|
+
$documentation: "The toplevel scope",
|
|
606
|
+
$propdoc: {
|
|
607
|
+
globals: "[Dictionary/S] a map of name ---> SymbolDef for all undeclared names",
|
|
608
|
+
},
|
|
609
|
+
wrap: function(name) {
|
|
610
|
+
var body = this.body;
|
|
611
|
+
return parse([
|
|
612
|
+
"(function(exports){'$ORIG';})(typeof ",
|
|
613
|
+
name,
|
|
614
|
+
"=='undefined'?(",
|
|
615
|
+
name,
|
|
616
|
+
"={}):",
|
|
617
|
+
name,
|
|
618
|
+
");"
|
|
619
|
+
].join(""), {
|
|
620
|
+
filename: "wrap=" + JSON.stringify(name)
|
|
621
|
+
}).transform(new TreeTransformer(function(node) {
|
|
622
|
+
if (node instanceof AST_Directive && node.value == "$ORIG") {
|
|
623
|
+
return List.splice(body);
|
|
624
|
+
}
|
|
625
|
+
}));
|
|
626
|
+
},
|
|
627
|
+
enclose: function(args_values) {
|
|
628
|
+
if (typeof args_values != "string") args_values = "";
|
|
629
|
+
var index = args_values.indexOf(":");
|
|
630
|
+
if (index < 0) index = args_values.length;
|
|
631
|
+
var body = this.body;
|
|
632
|
+
return parse([
|
|
633
|
+
"(function(",
|
|
634
|
+
args_values.slice(0, index),
|
|
635
|
+
'){"$ORIG"})(',
|
|
636
|
+
args_values.slice(index + 1),
|
|
637
|
+
")"
|
|
638
|
+
].join(""), {
|
|
639
|
+
filename: "enclose=" + JSON.stringify(args_values)
|
|
640
|
+
}).transform(new TreeTransformer(function(node) {
|
|
641
|
+
if (node instanceof AST_Directive && node.value == "$ORIG") {
|
|
642
|
+
return List.splice(body);
|
|
643
|
+
}
|
|
644
|
+
}));
|
|
645
|
+
}
|
|
646
|
+
}, AST_Scope);
|
|
647
|
+
|
|
648
|
+
var AST_ClassInitBlock = DEFNODE("ClassInitBlock", null, {
|
|
649
|
+
$documentation: "Value for `class` static initialization blocks",
|
|
650
|
+
}, AST_Scope);
|
|
651
|
+
|
|
652
|
+
var AST_Lambda = DEFNODE("Lambda", "argnames length_read rest safe_ids uses_arguments", {
|
|
653
|
+
$documentation: "Base class for functions",
|
|
654
|
+
$propdoc: {
|
|
655
|
+
argnames: "[(AST_DefaultValue|AST_Destructured|AST_SymbolFunarg)*] array of function arguments and/or destructured literals",
|
|
656
|
+
length_read: "[boolean/S] whether length property of this function is accessed",
|
|
657
|
+
rest: "[(AST_Destructured|AST_SymbolFunarg)?] rest parameter, or null if absent",
|
|
658
|
+
uses_arguments: "[boolean|number/S] whether this function accesses the arguments array",
|
|
659
|
+
},
|
|
660
|
+
each_argname: function(visit) {
|
|
661
|
+
var tw = new TreeWalker(function(node) {
|
|
662
|
+
if (node instanceof AST_DefaultValue) {
|
|
663
|
+
node.name.walk(tw);
|
|
664
|
+
return true;
|
|
665
|
+
}
|
|
666
|
+
if (node instanceof AST_DestructuredKeyVal) {
|
|
667
|
+
node.value.walk(tw);
|
|
668
|
+
return true;
|
|
669
|
+
}
|
|
670
|
+
if (node instanceof AST_SymbolFunarg) visit(node);
|
|
671
|
+
});
|
|
672
|
+
this.argnames.forEach(function(argname) {
|
|
673
|
+
argname.walk(tw);
|
|
674
|
+
});
|
|
675
|
+
if (this.rest) this.rest.walk(tw);
|
|
676
|
+
},
|
|
677
|
+
_equals: function(node) {
|
|
678
|
+
return prop_equals(this.rest, node.rest)
|
|
679
|
+
&& prop_equals(this.name, node.name)
|
|
680
|
+
&& prop_equals(this.value, node.value)
|
|
681
|
+
&& all_equals(this.argnames, node.argnames)
|
|
682
|
+
&& all_equals(this.body, node.body);
|
|
683
|
+
},
|
|
684
|
+
walk: function(visitor) {
|
|
685
|
+
var node = this;
|
|
686
|
+
visitor.visit(node, function() {
|
|
687
|
+
if (node.name) node.name.walk(visitor);
|
|
688
|
+
node.argnames.forEach(function(argname) {
|
|
689
|
+
argname.walk(visitor);
|
|
690
|
+
});
|
|
691
|
+
if (node.rest) node.rest.walk(visitor);
|
|
692
|
+
walk_body(node, visitor);
|
|
693
|
+
});
|
|
694
|
+
},
|
|
695
|
+
_validate: function() {
|
|
696
|
+
if (this.TYPE == "Lambda") throw new Error("should not instantiate AST_Lambda");
|
|
697
|
+
this.argnames.forEach(function(node) {
|
|
698
|
+
validate_destructured(node, function(node) {
|
|
699
|
+
if (!(node instanceof AST_SymbolFunarg)) throw new Error("argnames must be AST_SymbolFunarg[]");
|
|
700
|
+
}, true);
|
|
701
|
+
});
|
|
702
|
+
if (this.rest != null) validate_destructured(this.rest, function(node) {
|
|
703
|
+
if (!(node instanceof AST_SymbolFunarg)) throw new Error("rest must be AST_SymbolFunarg");
|
|
704
|
+
});
|
|
705
|
+
},
|
|
706
|
+
}, AST_Scope);
|
|
707
|
+
|
|
708
|
+
var AST_Accessor = DEFNODE("Accessor", null, {
|
|
709
|
+
$documentation: "A getter/setter function",
|
|
710
|
+
_validate: function() {
|
|
711
|
+
if (this.name != null) throw new Error("name must be null");
|
|
712
|
+
},
|
|
713
|
+
}, AST_Lambda);
|
|
714
|
+
|
|
715
|
+
var AST_LambdaExpression = DEFNODE("LambdaExpression", "inlined", {
|
|
716
|
+
$documentation: "Base class for function expressions",
|
|
717
|
+
$propdoc: {
|
|
718
|
+
inlined: "[boolean/S] whether this function has been inlined",
|
|
719
|
+
},
|
|
720
|
+
_validate: function() {
|
|
721
|
+
if (this.TYPE == "LambdaExpression") throw new Error("should not instantiate AST_LambdaExpression");
|
|
722
|
+
},
|
|
723
|
+
}, AST_Lambda);
|
|
724
|
+
|
|
725
|
+
function is_arrow(node) {
|
|
726
|
+
return node instanceof AST_Arrow || node instanceof AST_AsyncArrow;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
function is_async(node) {
|
|
730
|
+
return node instanceof AST_AsyncArrow
|
|
731
|
+
|| node instanceof AST_AsyncDefun
|
|
732
|
+
|| node instanceof AST_AsyncFunction
|
|
733
|
+
|| node instanceof AST_AsyncGeneratorDefun
|
|
734
|
+
|| node instanceof AST_AsyncGeneratorFunction;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
function is_generator(node) {
|
|
738
|
+
return node instanceof AST_AsyncGeneratorDefun
|
|
739
|
+
|| node instanceof AST_AsyncGeneratorFunction
|
|
740
|
+
|| node instanceof AST_GeneratorDefun
|
|
741
|
+
|| node instanceof AST_GeneratorFunction;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
function walk_lambda(node, tw) {
|
|
745
|
+
if (is_arrow(node) && node.value) {
|
|
746
|
+
node.value.walk(tw);
|
|
747
|
+
} else {
|
|
748
|
+
walk_body(node, tw);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
var AST_Arrow = DEFNODE("Arrow", "value", {
|
|
753
|
+
$documentation: "An arrow function expression",
|
|
754
|
+
$propdoc: {
|
|
755
|
+
value: "[AST_Node?] simple return expression, or null if using function body.",
|
|
756
|
+
},
|
|
757
|
+
walk: function(visitor) {
|
|
758
|
+
var node = this;
|
|
759
|
+
visitor.visit(node, function() {
|
|
760
|
+
node.argnames.forEach(function(argname) {
|
|
761
|
+
argname.walk(visitor);
|
|
762
|
+
});
|
|
763
|
+
if (node.rest) node.rest.walk(visitor);
|
|
764
|
+
if (node.value) {
|
|
765
|
+
node.value.walk(visitor);
|
|
766
|
+
} else {
|
|
767
|
+
walk_body(node, visitor);
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
},
|
|
771
|
+
_validate: function() {
|
|
772
|
+
if (this.name != null) throw new Error("name must be null");
|
|
773
|
+
if (this.uses_arguments) throw new Error("uses_arguments must be false");
|
|
774
|
+
if (this.value != null) {
|
|
775
|
+
must_be_expression(this, "value");
|
|
776
|
+
if (this.body.length) throw new Error("body must be empty if value exists");
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
}, AST_LambdaExpression);
|
|
780
|
+
|
|
781
|
+
var AST_AsyncArrow = DEFNODE("AsyncArrow", "value", {
|
|
782
|
+
$documentation: "An asynchronous arrow function expression",
|
|
783
|
+
$propdoc: {
|
|
784
|
+
value: "[AST_Node?] simple return expression, or null if using function body.",
|
|
785
|
+
},
|
|
786
|
+
walk: function(visitor) {
|
|
787
|
+
var node = this;
|
|
788
|
+
visitor.visit(node, function() {
|
|
789
|
+
node.argnames.forEach(function(argname) {
|
|
790
|
+
argname.walk(visitor);
|
|
791
|
+
});
|
|
792
|
+
if (node.rest) node.rest.walk(visitor);
|
|
793
|
+
if (node.value) {
|
|
794
|
+
node.value.walk(visitor);
|
|
795
|
+
} else {
|
|
796
|
+
walk_body(node, visitor);
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
},
|
|
800
|
+
_validate: function() {
|
|
801
|
+
if (this.name != null) throw new Error("name must be null");
|
|
802
|
+
if (this.uses_arguments) throw new Error("uses_arguments must be false");
|
|
803
|
+
if (this.value != null) {
|
|
804
|
+
must_be_expression(this, "value");
|
|
805
|
+
if (this.body.length) throw new Error("body must be empty if value exists");
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
}, AST_LambdaExpression);
|
|
809
|
+
|
|
810
|
+
var AST_AsyncFunction = DEFNODE("AsyncFunction", "name", {
|
|
811
|
+
$documentation: "An asynchronous function expression",
|
|
812
|
+
$propdoc: {
|
|
813
|
+
name: "[AST_SymbolLambda?] the name of this function, or null if not specified",
|
|
814
|
+
},
|
|
815
|
+
_validate: function() {
|
|
816
|
+
if (this.name != null) {
|
|
817
|
+
if (!(this.name instanceof AST_SymbolLambda)) throw new Error("name must be AST_SymbolLambda");
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
}, AST_LambdaExpression);
|
|
821
|
+
|
|
822
|
+
var AST_AsyncGeneratorFunction = DEFNODE("AsyncGeneratorFunction", "name", {
|
|
823
|
+
$documentation: "An asynchronous generator function expression",
|
|
824
|
+
$propdoc: {
|
|
825
|
+
name: "[AST_SymbolLambda?] the name of this function, or null if not specified",
|
|
826
|
+
},
|
|
827
|
+
_validate: function() {
|
|
828
|
+
if (this.name != null) {
|
|
829
|
+
if (!(this.name instanceof AST_SymbolLambda)) throw new Error("name must be AST_SymbolLambda");
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
}, AST_LambdaExpression);
|
|
833
|
+
|
|
834
|
+
var AST_Function = DEFNODE("Function", "name", {
|
|
835
|
+
$documentation: "A function expression",
|
|
836
|
+
$propdoc: {
|
|
837
|
+
name: "[AST_SymbolLambda?] the name of this function, or null if not specified",
|
|
838
|
+
},
|
|
839
|
+
_validate: function() {
|
|
840
|
+
if (this.name != null) {
|
|
841
|
+
if (!(this.name instanceof AST_SymbolLambda)) throw new Error("name must be AST_SymbolLambda");
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
}, AST_LambdaExpression);
|
|
845
|
+
|
|
846
|
+
var AST_GeneratorFunction = DEFNODE("GeneratorFunction", "name", {
|
|
847
|
+
$documentation: "A generator function expression",
|
|
848
|
+
$propdoc: {
|
|
849
|
+
name: "[AST_SymbolLambda?] the name of this function, or null if not specified",
|
|
850
|
+
},
|
|
851
|
+
_validate: function() {
|
|
852
|
+
if (this.name != null) {
|
|
853
|
+
if (!(this.name instanceof AST_SymbolLambda)) throw new Error("name must be AST_SymbolLambda");
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
}, AST_LambdaExpression);
|
|
857
|
+
|
|
858
|
+
var AST_LambdaDefinition = DEFNODE("LambdaDefinition", "inlined name", {
|
|
859
|
+
$documentation: "Base class for function definitions",
|
|
860
|
+
$propdoc: {
|
|
861
|
+
inlined: "[boolean/S] whether this function has been inlined",
|
|
862
|
+
name: "[AST_SymbolDefun] the name of this function",
|
|
863
|
+
},
|
|
864
|
+
_validate: function() {
|
|
865
|
+
if (this.TYPE == "LambdaDefinition") throw new Error("should not instantiate AST_LambdaDefinition");
|
|
866
|
+
if (!(this.name instanceof AST_SymbolDefun)) throw new Error("name must be AST_SymbolDefun");
|
|
867
|
+
},
|
|
868
|
+
}, AST_Lambda);
|
|
869
|
+
|
|
870
|
+
var AST_AsyncDefun = DEFNODE("AsyncDefun", null, {
|
|
871
|
+
$documentation: "An asynchronous function definition",
|
|
872
|
+
}, AST_LambdaDefinition);
|
|
873
|
+
|
|
874
|
+
var AST_AsyncGeneratorDefun = DEFNODE("AsyncGeneratorDefun", null, {
|
|
875
|
+
$documentation: "An asynchronous generator function definition",
|
|
876
|
+
}, AST_LambdaDefinition);
|
|
877
|
+
|
|
878
|
+
var AST_Defun = DEFNODE("Defun", null, {
|
|
879
|
+
$documentation: "A function definition",
|
|
880
|
+
}, AST_LambdaDefinition);
|
|
881
|
+
|
|
882
|
+
var AST_GeneratorDefun = DEFNODE("GeneratorDefun", null, {
|
|
883
|
+
$documentation: "A generator function definition",
|
|
884
|
+
}, AST_LambdaDefinition);
|
|
885
|
+
|
|
886
|
+
/* -----[ classes ]----- */
|
|
887
|
+
|
|
888
|
+
var AST_Class = DEFNODE("Class", "extends name properties", {
|
|
889
|
+
$documentation: "Base class for class literals",
|
|
890
|
+
$propdoc: {
|
|
891
|
+
extends: "[AST_Node?] the super class, or null if not specified",
|
|
892
|
+
properties: "[AST_ClassProperty*] array of class properties",
|
|
893
|
+
},
|
|
894
|
+
_equals: function(node) {
|
|
895
|
+
return prop_equals(this.name, node.name)
|
|
896
|
+
&& prop_equals(this.extends, node.extends)
|
|
897
|
+
&& all_equals(this.properties, node.properties);
|
|
898
|
+
},
|
|
899
|
+
resolve: function(def_class) {
|
|
900
|
+
return def_class ? this : this.parent_scope.resolve();
|
|
901
|
+
},
|
|
902
|
+
walk: function(visitor) {
|
|
903
|
+
var node = this;
|
|
904
|
+
visitor.visit(node, function() {
|
|
905
|
+
if (node.name) node.name.walk(visitor);
|
|
906
|
+
if (node.extends) node.extends.walk(visitor);
|
|
907
|
+
node.properties.forEach(function(prop) {
|
|
908
|
+
prop.walk(visitor);
|
|
909
|
+
});
|
|
910
|
+
});
|
|
911
|
+
},
|
|
912
|
+
_validate: function() {
|
|
913
|
+
if (this.TYPE == "Class") throw new Error("should not instantiate AST_Class");
|
|
914
|
+
if (this.extends != null) must_be_expression(this, "extends");
|
|
915
|
+
this.properties.forEach(function(node) {
|
|
916
|
+
if (!(node instanceof AST_ClassProperty)) throw new Error("properties must contain AST_ClassProperty");
|
|
917
|
+
});
|
|
918
|
+
},
|
|
919
|
+
}, AST_BlockScope);
|
|
920
|
+
|
|
921
|
+
var AST_DefClass = DEFNODE("DefClass", null, {
|
|
922
|
+
$documentation: "A class definition",
|
|
923
|
+
$propdoc: {
|
|
924
|
+
name: "[AST_SymbolDefClass] the name of this class",
|
|
925
|
+
},
|
|
926
|
+
_validate: function() {
|
|
927
|
+
if (!(this.name instanceof AST_SymbolDefClass)) throw new Error("name must be AST_SymbolDefClass");
|
|
928
|
+
},
|
|
929
|
+
}, AST_Class);
|
|
930
|
+
|
|
931
|
+
var AST_ClassExpression = DEFNODE("ClassExpression", null, {
|
|
932
|
+
$documentation: "A class expression",
|
|
933
|
+
$propdoc: {
|
|
934
|
+
name: "[AST_SymbolClass?] the name of this class, or null if not specified",
|
|
935
|
+
},
|
|
936
|
+
_validate: function() {
|
|
937
|
+
if (this.name != null) {
|
|
938
|
+
if (!(this.name instanceof AST_SymbolClass)) throw new Error("name must be AST_SymbolClass");
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
}, AST_Class);
|
|
942
|
+
|
|
943
|
+
var AST_ClassProperty = DEFNODE("ClassProperty", "key private static value", {
|
|
944
|
+
$documentation: "Base class for `class` properties",
|
|
945
|
+
$propdoc: {
|
|
946
|
+
key: "[string|AST_Node?] property name (AST_Node for computed property, null for initialization block)",
|
|
947
|
+
private: "[boolean] whether this is a private property",
|
|
948
|
+
static: "[boolean] whether this is a static property",
|
|
949
|
+
value: "[AST_Node?] property value (AST_Accessor for getters/setters, AST_LambdaExpression for methods, null if not specified for fields)",
|
|
950
|
+
},
|
|
951
|
+
_equals: function(node) {
|
|
952
|
+
return !this.private == !node.private
|
|
953
|
+
&& !this.static == !node.static
|
|
954
|
+
&& prop_equals(this.key, node.key)
|
|
955
|
+
&& prop_equals(this.value, node.value);
|
|
956
|
+
},
|
|
957
|
+
walk: function(visitor) {
|
|
958
|
+
var node = this;
|
|
959
|
+
visitor.visit(node, function() {
|
|
960
|
+
if (node.key instanceof AST_Node) node.key.walk(visitor);
|
|
961
|
+
if (node.value) node.value.walk(visitor);
|
|
962
|
+
});
|
|
963
|
+
},
|
|
964
|
+
_validate: function() {
|
|
965
|
+
if (this.TYPE == "ClassProperty") throw new Error("should not instantiate AST_ClassProperty");
|
|
966
|
+
if (this instanceof AST_ClassInit) {
|
|
967
|
+
if (this.key != null) throw new Error("key must be null");
|
|
968
|
+
} else if (typeof this.key != "string") {
|
|
969
|
+
if (!(this.key instanceof AST_Node)) throw new Error("key must be string or AST_Node");
|
|
970
|
+
must_be_expression(this, "key");
|
|
971
|
+
}
|
|
972
|
+
if(this.value != null) {
|
|
973
|
+
if (!(this.value instanceof AST_Node)) throw new Error("value must be AST_Node");
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
});
|
|
977
|
+
|
|
978
|
+
var AST_ClassField = DEFNODE("ClassField", null, {
|
|
979
|
+
$documentation: "A `class` field",
|
|
980
|
+
_validate: function() {
|
|
981
|
+
if(this.value != null) must_be_expression(this, "value");
|
|
982
|
+
},
|
|
983
|
+
}, AST_ClassProperty);
|
|
984
|
+
|
|
985
|
+
var AST_ClassGetter = DEFNODE("ClassGetter", null, {
|
|
986
|
+
$documentation: "A `class` getter",
|
|
987
|
+
_validate: function() {
|
|
988
|
+
if (!(this.value instanceof AST_Accessor)) throw new Error("value must be AST_Accessor");
|
|
989
|
+
},
|
|
990
|
+
}, AST_ClassProperty);
|
|
991
|
+
|
|
992
|
+
var AST_ClassSetter = DEFNODE("ClassSetter", null, {
|
|
993
|
+
$documentation: "A `class` setter",
|
|
994
|
+
_validate: function() {
|
|
995
|
+
if (!(this.value instanceof AST_Accessor)) throw new Error("value must be AST_Accessor");
|
|
996
|
+
},
|
|
997
|
+
}, AST_ClassProperty);
|
|
998
|
+
|
|
999
|
+
var AST_ClassMethod = DEFNODE("ClassMethod", null, {
|
|
1000
|
+
$documentation: "A `class` method",
|
|
1001
|
+
_validate: function() {
|
|
1002
|
+
if (!(this.value instanceof AST_LambdaExpression)) throw new Error("value must be AST_LambdaExpression");
|
|
1003
|
+
if (is_arrow(this.value)) throw new Error("value cannot be AST_Arrow or AST_AsyncArrow");
|
|
1004
|
+
if (this.value.name != null) throw new Error("name of class method's lambda must be null");
|
|
1005
|
+
},
|
|
1006
|
+
}, AST_ClassProperty);
|
|
1007
|
+
|
|
1008
|
+
var AST_ClassInit = DEFNODE("ClassInit", null, {
|
|
1009
|
+
$documentation: "A `class` static initialization block",
|
|
1010
|
+
_validate: function() {
|
|
1011
|
+
if (!this.static) throw new Error("static must be true");
|
|
1012
|
+
if (!(this.value instanceof AST_ClassInitBlock)) throw new Error("value must be AST_ClassInitBlock");
|
|
1013
|
+
},
|
|
1014
|
+
initialize: function() {
|
|
1015
|
+
this.static = true;
|
|
1016
|
+
},
|
|
1017
|
+
}, AST_ClassProperty);
|
|
1018
|
+
|
|
1019
|
+
/* -----[ JUMPS ]----- */
|
|
1020
|
+
|
|
1021
|
+
var AST_Jump = DEFNODE("Jump", null, {
|
|
1022
|
+
$documentation: "Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)",
|
|
1023
|
+
_validate: function() {
|
|
1024
|
+
if (this.TYPE == "Jump") throw new Error("should not instantiate AST_Jump");
|
|
1025
|
+
},
|
|
1026
|
+
}, AST_Statement);
|
|
1027
|
+
|
|
1028
|
+
var AST_Exit = DEFNODE("Exit", "value", {
|
|
1029
|
+
$documentation: "Base class for “exits” (`return` and `throw`)",
|
|
1030
|
+
$propdoc: {
|
|
1031
|
+
value: "[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"
|
|
1032
|
+
},
|
|
1033
|
+
_equals: function(node) {
|
|
1034
|
+
return prop_equals(this.value, node.value);
|
|
1035
|
+
},
|
|
1036
|
+
walk: function(visitor) {
|
|
1037
|
+
var node = this;
|
|
1038
|
+
visitor.visit(node, function() {
|
|
1039
|
+
if (node.value) node.value.walk(visitor);
|
|
1040
|
+
});
|
|
1041
|
+
},
|
|
1042
|
+
_validate: function() {
|
|
1043
|
+
if (this.TYPE == "Exit") throw new Error("should not instantiate AST_Exit");
|
|
1044
|
+
},
|
|
1045
|
+
}, AST_Jump);
|
|
1046
|
+
|
|
1047
|
+
var AST_Return = DEFNODE("Return", null, {
|
|
1048
|
+
$documentation: "A `return` statement",
|
|
1049
|
+
_validate: function() {
|
|
1050
|
+
if (this.value != null) must_be_expression(this, "value");
|
|
1051
|
+
},
|
|
1052
|
+
}, AST_Exit);
|
|
1053
|
+
|
|
1054
|
+
var AST_Throw = DEFNODE("Throw", null, {
|
|
1055
|
+
$documentation: "A `throw` statement",
|
|
1056
|
+
_validate: function() {
|
|
1057
|
+
must_be_expression(this, "value");
|
|
1058
|
+
},
|
|
1059
|
+
}, AST_Exit);
|
|
1060
|
+
|
|
1061
|
+
var AST_LoopControl = DEFNODE("LoopControl", "label", {
|
|
1062
|
+
$documentation: "Base class for loop control statements (`break` and `continue`)",
|
|
1063
|
+
$propdoc: {
|
|
1064
|
+
label: "[AST_LabelRef?] the label, or null if none",
|
|
1065
|
+
},
|
|
1066
|
+
_equals: function(node) {
|
|
1067
|
+
return prop_equals(this.label, node.label);
|
|
1068
|
+
},
|
|
1069
|
+
walk: function(visitor) {
|
|
1070
|
+
var node = this;
|
|
1071
|
+
visitor.visit(node, function() {
|
|
1072
|
+
if (node.label) node.label.walk(visitor);
|
|
1073
|
+
});
|
|
1074
|
+
},
|
|
1075
|
+
_validate: function() {
|
|
1076
|
+
if (this.TYPE == "LoopControl") throw new Error("should not instantiate AST_LoopControl");
|
|
1077
|
+
if (this.label != null) {
|
|
1078
|
+
if (!(this.label instanceof AST_LabelRef)) throw new Error("label must be AST_LabelRef");
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
}, AST_Jump);
|
|
1082
|
+
|
|
1083
|
+
var AST_Break = DEFNODE("Break", null, {
|
|
1084
|
+
$documentation: "A `break` statement"
|
|
1085
|
+
}, AST_LoopControl);
|
|
1086
|
+
|
|
1087
|
+
var AST_Continue = DEFNODE("Continue", null, {
|
|
1088
|
+
$documentation: "A `continue` statement"
|
|
1089
|
+
}, AST_LoopControl);
|
|
1090
|
+
|
|
1091
|
+
/* -----[ IF ]----- */
|
|
1092
|
+
|
|
1093
|
+
var AST_If = DEFNODE("If", "condition alternative", {
|
|
1094
|
+
$documentation: "A `if` statement",
|
|
1095
|
+
$propdoc: {
|
|
1096
|
+
condition: "[AST_Node] the `if` condition",
|
|
1097
|
+
alternative: "[AST_Statement?] the `else` part, or null if not present"
|
|
1098
|
+
},
|
|
1099
|
+
_equals: function(node) {
|
|
1100
|
+
return this.body.equals(node.body)
|
|
1101
|
+
&& this.condition.equals(node.condition)
|
|
1102
|
+
&& prop_equals(this.alternative, node.alternative);
|
|
1103
|
+
},
|
|
1104
|
+
walk: function(visitor) {
|
|
1105
|
+
var node = this;
|
|
1106
|
+
visitor.visit(node, function() {
|
|
1107
|
+
node.condition.walk(visitor);
|
|
1108
|
+
node.body.walk(visitor);
|
|
1109
|
+
if (node.alternative) node.alternative.walk(visitor);
|
|
1110
|
+
});
|
|
1111
|
+
},
|
|
1112
|
+
_validate: function() {
|
|
1113
|
+
must_be_expression(this, "condition");
|
|
1114
|
+
if (this.alternative != null) {
|
|
1115
|
+
if (!is_statement(this.alternative)) throw new Error("alternative must be AST_Statement");
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
}, AST_StatementWithBody);
|
|
1119
|
+
|
|
1120
|
+
/* -----[ SWITCH ]----- */
|
|
1121
|
+
|
|
1122
|
+
var AST_Switch = DEFNODE("Switch", "expression", {
|
|
1123
|
+
$documentation: "A `switch` statement",
|
|
1124
|
+
$propdoc: {
|
|
1125
|
+
expression: "[AST_Node] the `switch` “discriminant”"
|
|
1126
|
+
},
|
|
1127
|
+
_equals: function(node) {
|
|
1128
|
+
return this.expression.equals(node.expression)
|
|
1129
|
+
&& all_equals(this.body, node.body);
|
|
1130
|
+
},
|
|
1131
|
+
walk: function(visitor) {
|
|
1132
|
+
var node = this;
|
|
1133
|
+
visitor.visit(node, function() {
|
|
1134
|
+
node.expression.walk(visitor);
|
|
1135
|
+
walk_body(node, visitor);
|
|
1136
|
+
});
|
|
1137
|
+
},
|
|
1138
|
+
_validate: function() {
|
|
1139
|
+
must_be_expression(this, "expression");
|
|
1140
|
+
this.body.forEach(function(node) {
|
|
1141
|
+
if (!(node instanceof AST_SwitchBranch)) throw new Error("body must be AST_SwitchBranch[]");
|
|
1142
|
+
});
|
|
1143
|
+
},
|
|
1144
|
+
}, AST_Block);
|
|
1145
|
+
|
|
1146
|
+
var AST_SwitchBranch = DEFNODE("SwitchBranch", null, {
|
|
1147
|
+
$documentation: "Base class for `switch` branches",
|
|
1148
|
+
_validate: function() {
|
|
1149
|
+
if (this.TYPE == "SwitchBranch") throw new Error("should not instantiate AST_SwitchBranch");
|
|
1150
|
+
},
|
|
1151
|
+
}, AST_Block);
|
|
1152
|
+
|
|
1153
|
+
var AST_Default = DEFNODE("Default", null, {
|
|
1154
|
+
$documentation: "A `default` switch branch",
|
|
1155
|
+
}, AST_SwitchBranch);
|
|
1156
|
+
|
|
1157
|
+
var AST_Case = DEFNODE("Case", "expression", {
|
|
1158
|
+
$documentation: "A `case` switch branch",
|
|
1159
|
+
$propdoc: {
|
|
1160
|
+
expression: "[AST_Node] the `case` expression"
|
|
1161
|
+
},
|
|
1162
|
+
_equals: function(node) {
|
|
1163
|
+
return this.expression.equals(node.expression)
|
|
1164
|
+
&& all_equals(this.body, node.body);
|
|
1165
|
+
},
|
|
1166
|
+
walk: function(visitor) {
|
|
1167
|
+
var node = this;
|
|
1168
|
+
visitor.visit(node, function() {
|
|
1169
|
+
node.expression.walk(visitor);
|
|
1170
|
+
walk_body(node, visitor);
|
|
1171
|
+
});
|
|
1172
|
+
},
|
|
1173
|
+
_validate: function() {
|
|
1174
|
+
must_be_expression(this, "expression");
|
|
1175
|
+
},
|
|
1176
|
+
}, AST_SwitchBranch);
|
|
1177
|
+
|
|
1178
|
+
/* -----[ EXCEPTIONS ]----- */
|
|
1179
|
+
|
|
1180
|
+
var AST_Try = DEFNODE("Try", "bcatch bfinally", {
|
|
1181
|
+
$documentation: "A `try` statement",
|
|
1182
|
+
$propdoc: {
|
|
1183
|
+
bcatch: "[AST_Catch?] the catch block, or null if not present",
|
|
1184
|
+
bfinally: "[AST_Finally?] the finally block, or null if not present"
|
|
1185
|
+
},
|
|
1186
|
+
_equals: function(node) {
|
|
1187
|
+
return all_equals(this.body, node.body)
|
|
1188
|
+
&& prop_equals(this.bcatch, node.bcatch)
|
|
1189
|
+
&& prop_equals(this.bfinally, node.bfinally);
|
|
1190
|
+
},
|
|
1191
|
+
walk: function(visitor) {
|
|
1192
|
+
var node = this;
|
|
1193
|
+
visitor.visit(node, function() {
|
|
1194
|
+
walk_body(node, visitor);
|
|
1195
|
+
if (node.bcatch) node.bcatch.walk(visitor);
|
|
1196
|
+
if (node.bfinally) node.bfinally.walk(visitor);
|
|
1197
|
+
});
|
|
1198
|
+
},
|
|
1199
|
+
_validate: function() {
|
|
1200
|
+
if (this.bcatch != null) {
|
|
1201
|
+
if (!(this.bcatch instanceof AST_Catch)) throw new Error("bcatch must be AST_Catch");
|
|
1202
|
+
}
|
|
1203
|
+
if (this.bfinally != null) {
|
|
1204
|
+
if (!(this.bfinally instanceof AST_Finally)) throw new Error("bfinally must be AST_Finally");
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
}, AST_Block);
|
|
1208
|
+
|
|
1209
|
+
var AST_Catch = DEFNODE("Catch", "argname", {
|
|
1210
|
+
$documentation: "A `catch` node; only makes sense as part of a `try` statement",
|
|
1211
|
+
$propdoc: {
|
|
1212
|
+
argname: "[(AST_Destructured|AST_SymbolCatch)?] symbol for the exception, or null if not present",
|
|
1213
|
+
},
|
|
1214
|
+
_equals: function(node) {
|
|
1215
|
+
return prop_equals(this.argname, node.argname)
|
|
1216
|
+
&& all_equals(this.body, node.body);
|
|
1217
|
+
},
|
|
1218
|
+
walk: function(visitor) {
|
|
1219
|
+
var node = this;
|
|
1220
|
+
visitor.visit(node, function() {
|
|
1221
|
+
if (node.argname) node.argname.walk(visitor);
|
|
1222
|
+
walk_body(node, visitor);
|
|
1223
|
+
});
|
|
1224
|
+
},
|
|
1225
|
+
_validate: function() {
|
|
1226
|
+
if (this.argname != null) validate_destructured(this.argname, function(node) {
|
|
1227
|
+
if (!(node instanceof AST_SymbolCatch)) throw new Error("argname must be AST_SymbolCatch");
|
|
1228
|
+
});
|
|
1229
|
+
},
|
|
1230
|
+
}, AST_Block);
|
|
1231
|
+
|
|
1232
|
+
var AST_Finally = DEFNODE("Finally", null, {
|
|
1233
|
+
$documentation: "A `finally` node; only makes sense as part of a `try` statement"
|
|
1234
|
+
}, AST_Block);
|
|
1235
|
+
|
|
1236
|
+
/* -----[ VAR ]----- */
|
|
1237
|
+
|
|
1238
|
+
var AST_Definitions = DEFNODE("Definitions", "definitions", {
|
|
1239
|
+
$documentation: "Base class for `var` nodes (variable declarations/initializations)",
|
|
1240
|
+
$propdoc: {
|
|
1241
|
+
definitions: "[AST_VarDef*] array of variable definitions"
|
|
1242
|
+
},
|
|
1243
|
+
_equals: function(node) {
|
|
1244
|
+
return all_equals(this.definitions, node.definitions);
|
|
1245
|
+
},
|
|
1246
|
+
walk: function(visitor) {
|
|
1247
|
+
var node = this;
|
|
1248
|
+
visitor.visit(node, function() {
|
|
1249
|
+
node.definitions.forEach(function(defn) {
|
|
1250
|
+
defn.walk(visitor);
|
|
1251
|
+
});
|
|
1252
|
+
});
|
|
1253
|
+
},
|
|
1254
|
+
_validate: function() {
|
|
1255
|
+
if (this.TYPE == "Definitions") throw new Error("should not instantiate AST_Definitions");
|
|
1256
|
+
if (this.definitions.length < 1) throw new Error("must have at least one definition");
|
|
1257
|
+
},
|
|
1258
|
+
}, AST_Statement);
|
|
1259
|
+
|
|
1260
|
+
var AST_Const = DEFNODE("Const", null, {
|
|
1261
|
+
$documentation: "A `const` statement",
|
|
1262
|
+
_validate: function() {
|
|
1263
|
+
this.definitions.forEach(function(node) {
|
|
1264
|
+
if (!(node instanceof AST_VarDef)) throw new Error("definitions must be AST_VarDef[]");
|
|
1265
|
+
validate_destructured(node.name, function(node) {
|
|
1266
|
+
if (!(node instanceof AST_SymbolConst)) throw new Error("name must be AST_SymbolConst");
|
|
1267
|
+
});
|
|
1268
|
+
});
|
|
1269
|
+
},
|
|
1270
|
+
}, AST_Definitions);
|
|
1271
|
+
|
|
1272
|
+
var AST_Let = DEFNODE("Let", null, {
|
|
1273
|
+
$documentation: "A `let` statement",
|
|
1274
|
+
_validate: function() {
|
|
1275
|
+
this.definitions.forEach(function(node) {
|
|
1276
|
+
if (!(node instanceof AST_VarDef)) throw new Error("definitions must be AST_VarDef[]");
|
|
1277
|
+
validate_destructured(node.name, function(node) {
|
|
1278
|
+
if (!(node instanceof AST_SymbolLet)) throw new Error("name must be AST_SymbolLet");
|
|
1279
|
+
});
|
|
1280
|
+
});
|
|
1281
|
+
},
|
|
1282
|
+
}, AST_Definitions);
|
|
1283
|
+
|
|
1284
|
+
var AST_Var = DEFNODE("Var", null, {
|
|
1285
|
+
$documentation: "A `var` statement",
|
|
1286
|
+
_validate: function() {
|
|
1287
|
+
this.definitions.forEach(function(node) {
|
|
1288
|
+
if (!(node instanceof AST_VarDef)) throw new Error("definitions must be AST_VarDef[]");
|
|
1289
|
+
validate_destructured(node.name, function(node) {
|
|
1290
|
+
if (!(node instanceof AST_SymbolVar)) throw new Error("name must be AST_SymbolVar");
|
|
1291
|
+
});
|
|
1292
|
+
});
|
|
1293
|
+
},
|
|
1294
|
+
}, AST_Definitions);
|
|
1295
|
+
|
|
1296
|
+
var AST_VarDef = DEFNODE("VarDef", "name value", {
|
|
1297
|
+
$documentation: "A variable declaration; only appears in a AST_Definitions node",
|
|
1298
|
+
$propdoc: {
|
|
1299
|
+
name: "[AST_Destructured|AST_SymbolVar] name of the variable",
|
|
1300
|
+
value: "[AST_Node?] initializer, or null of there's no initializer",
|
|
1301
|
+
},
|
|
1302
|
+
_equals: function(node) {
|
|
1303
|
+
return this.name.equals(node.name)
|
|
1304
|
+
&& prop_equals(this.value, node.value);
|
|
1305
|
+
},
|
|
1306
|
+
walk: function(visitor) {
|
|
1307
|
+
var node = this;
|
|
1308
|
+
visitor.visit(node, function() {
|
|
1309
|
+
node.name.walk(visitor);
|
|
1310
|
+
if (node.value) node.value.walk(visitor);
|
|
1311
|
+
});
|
|
1312
|
+
},
|
|
1313
|
+
_validate: function() {
|
|
1314
|
+
if (this.value != null) must_be_expression(this, "value");
|
|
1315
|
+
},
|
|
1316
|
+
});
|
|
1317
|
+
|
|
1318
|
+
/* -----[ OTHER ]----- */
|
|
1319
|
+
|
|
1320
|
+
var AST_ExportDeclaration = DEFNODE("ExportDeclaration", "body", {
|
|
1321
|
+
$documentation: "An `export` statement",
|
|
1322
|
+
$propdoc: {
|
|
1323
|
+
body: "[AST_DefClass|AST_Definitions|AST_LambdaDefinition] the statement to export",
|
|
1324
|
+
},
|
|
1325
|
+
_equals: function(node) {
|
|
1326
|
+
return this.body.equals(node.body);
|
|
1327
|
+
},
|
|
1328
|
+
walk: function(visitor) {
|
|
1329
|
+
var node = this;
|
|
1330
|
+
visitor.visit(node, function() {
|
|
1331
|
+
node.body.walk(visitor);
|
|
1332
|
+
});
|
|
1333
|
+
},
|
|
1334
|
+
_validate: function() {
|
|
1335
|
+
if (!(this.body instanceof AST_DefClass
|
|
1336
|
+
|| this.body instanceof AST_Definitions
|
|
1337
|
+
|| this.body instanceof AST_LambdaDefinition)) {
|
|
1338
|
+
throw new Error("body must be AST_DefClass, AST_Definitions or AST_LambdaDefinition");
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
}, AST_Statement);
|
|
1342
|
+
|
|
1343
|
+
var AST_ExportDefault = DEFNODE("ExportDefault", "body", {
|
|
1344
|
+
$documentation: "An `export default` statement",
|
|
1345
|
+
$propdoc: {
|
|
1346
|
+
body: "[AST_Node] the default export",
|
|
1347
|
+
},
|
|
1348
|
+
_equals: function(node) {
|
|
1349
|
+
return this.body.equals(node.body);
|
|
1350
|
+
},
|
|
1351
|
+
walk: function(visitor) {
|
|
1352
|
+
var node = this;
|
|
1353
|
+
visitor.visit(node, function() {
|
|
1354
|
+
node.body.walk(visitor);
|
|
1355
|
+
});
|
|
1356
|
+
},
|
|
1357
|
+
_validate: function() {
|
|
1358
|
+
if (!(this.body instanceof AST_DefClass || this.body instanceof AST_LambdaDefinition)) {
|
|
1359
|
+
must_be_expression(this, "body");
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
}, AST_Statement);
|
|
1363
|
+
|
|
1364
|
+
var AST_ExportForeign = DEFNODE("ExportForeign", "aliases keys path", {
|
|
1365
|
+
$documentation: "An `export ... from '...'` statement",
|
|
1366
|
+
$propdoc: {
|
|
1367
|
+
aliases: "[AST_String*] array of aliases to export",
|
|
1368
|
+
keys: "[AST_String*] array of keys to import",
|
|
1369
|
+
path: "[AST_String] the path to import module",
|
|
1370
|
+
},
|
|
1371
|
+
_equals: function(node) {
|
|
1372
|
+
return this.path.equals(node.path)
|
|
1373
|
+
&& all_equals(this.aliases, node.aliases)
|
|
1374
|
+
&& all_equals(this.keys, node.keys);
|
|
1375
|
+
},
|
|
1376
|
+
_validate: function() {
|
|
1377
|
+
if (this.aliases.length != this.keys.length) {
|
|
1378
|
+
throw new Error("aliases:key length mismatch: " + this.aliases.length + " != " + this.keys.length);
|
|
1379
|
+
}
|
|
1380
|
+
this.aliases.forEach(function(name) {
|
|
1381
|
+
if (!(name instanceof AST_String)) throw new Error("aliases must contain AST_String");
|
|
1382
|
+
});
|
|
1383
|
+
this.keys.forEach(function(name) {
|
|
1384
|
+
if (!(name instanceof AST_String)) throw new Error("keys must contain AST_String");
|
|
1385
|
+
});
|
|
1386
|
+
if (!(this.path instanceof AST_String)) throw new Error("path must be AST_String");
|
|
1387
|
+
},
|
|
1388
|
+
}, AST_Statement);
|
|
1389
|
+
|
|
1390
|
+
var AST_ExportReferences = DEFNODE("ExportReferences", "properties", {
|
|
1391
|
+
$documentation: "An `export { ... }` statement",
|
|
1392
|
+
$propdoc: {
|
|
1393
|
+
properties: "[AST_SymbolExport*] array of aliases to export",
|
|
1394
|
+
},
|
|
1395
|
+
_equals: function(node) {
|
|
1396
|
+
return all_equals(this.properties, node.properties);
|
|
1397
|
+
},
|
|
1398
|
+
walk: function(visitor) {
|
|
1399
|
+
var node = this;
|
|
1400
|
+
visitor.visit(node, function() {
|
|
1401
|
+
node.properties.forEach(function(prop) {
|
|
1402
|
+
prop.walk(visitor);
|
|
1403
|
+
});
|
|
1404
|
+
});
|
|
1405
|
+
},
|
|
1406
|
+
_validate: function() {
|
|
1407
|
+
this.properties.forEach(function(prop) {
|
|
1408
|
+
if (!(prop instanceof AST_SymbolExport)) throw new Error("properties must contain AST_SymbolExport");
|
|
1409
|
+
});
|
|
1410
|
+
},
|
|
1411
|
+
}, AST_Statement);
|
|
1412
|
+
|
|
1413
|
+
var AST_Import = DEFNODE("Import", "all default path properties", {
|
|
1414
|
+
$documentation: "An `import` statement",
|
|
1415
|
+
$propdoc: {
|
|
1416
|
+
all: "[AST_SymbolImport?] the imported namespace, or null if not specified",
|
|
1417
|
+
default: "[AST_SymbolImport?] the alias for default `export`, or null if not specified",
|
|
1418
|
+
path: "[AST_String] the path to import module",
|
|
1419
|
+
properties: "[(AST_SymbolImport*)?] array of aliases, or null if not specified",
|
|
1420
|
+
},
|
|
1421
|
+
_equals: function(node) {
|
|
1422
|
+
return this.path.equals(node.path)
|
|
1423
|
+
&& prop_equals(this.all, node.all)
|
|
1424
|
+
&& prop_equals(this.default, node.default)
|
|
1425
|
+
&& !this.properties == !node.properties
|
|
1426
|
+
&& (!this.properties || all_equals(this.properties, node.properties));
|
|
1427
|
+
},
|
|
1428
|
+
walk: function(visitor) {
|
|
1429
|
+
var node = this;
|
|
1430
|
+
visitor.visit(node, function() {
|
|
1431
|
+
if (node.all) node.all.walk(visitor);
|
|
1432
|
+
if (node.default) node.default.walk(visitor);
|
|
1433
|
+
if (node.properties) node.properties.forEach(function(prop) {
|
|
1434
|
+
prop.walk(visitor);
|
|
1435
|
+
});
|
|
1436
|
+
});
|
|
1437
|
+
},
|
|
1438
|
+
_validate: function() {
|
|
1439
|
+
if (this.all != null) {
|
|
1440
|
+
if (!(this.all instanceof AST_SymbolImport)) throw new Error("all must be AST_SymbolImport");
|
|
1441
|
+
if (this.properties != null) throw new Error("cannot import both * and {} in the same statement");
|
|
1442
|
+
}
|
|
1443
|
+
if (this.default != null) {
|
|
1444
|
+
if (!(this.default instanceof AST_SymbolImport)) throw new Error("default must be AST_SymbolImport");
|
|
1445
|
+
if (this.default.key.value !== "") throw new Error("invalid default key: " + this.default.key.value);
|
|
1446
|
+
}
|
|
1447
|
+
if (!(this.path instanceof AST_String)) throw new Error("path must be AST_String");
|
|
1448
|
+
if (this.properties != null) this.properties.forEach(function(node) {
|
|
1449
|
+
if (!(node instanceof AST_SymbolImport)) throw new Error("properties must contain AST_SymbolImport");
|
|
1450
|
+
});
|
|
1451
|
+
},
|
|
1452
|
+
}, AST_Statement);
|
|
1453
|
+
|
|
1454
|
+
var AST_DefaultValue = DEFNODE("DefaultValue", "name value", {
|
|
1455
|
+
$documentation: "A default value declaration",
|
|
1456
|
+
$propdoc: {
|
|
1457
|
+
name: "[AST_Destructured|AST_SymbolDeclaration] name of the variable",
|
|
1458
|
+
value: "[AST_Node] value to assign if variable is `undefined`",
|
|
1459
|
+
},
|
|
1460
|
+
_equals: function(node) {
|
|
1461
|
+
return this.name.equals(node.name)
|
|
1462
|
+
&& this.value.equals(node.value);
|
|
1463
|
+
},
|
|
1464
|
+
walk: function(visitor) {
|
|
1465
|
+
var node = this;
|
|
1466
|
+
visitor.visit(node, function() {
|
|
1467
|
+
node.name.walk(visitor);
|
|
1468
|
+
node.value.walk(visitor);
|
|
1469
|
+
});
|
|
1470
|
+
},
|
|
1471
|
+
_validate: function() {
|
|
1472
|
+
must_be_expression(this, "value");
|
|
1473
|
+
},
|
|
1474
|
+
});
|
|
1475
|
+
|
|
1476
|
+
function must_be_expressions(node, prop, allow_spread, allow_hole) {
|
|
1477
|
+
node[prop].forEach(function(node) {
|
|
1478
|
+
validate_expression(node, prop, true, allow_spread, allow_hole);
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
var AST_Call = DEFNODE("Call", "args expression optional pure terminal", {
|
|
1483
|
+
$documentation: "A function call expression",
|
|
1484
|
+
$propdoc: {
|
|
1485
|
+
args: "[AST_Node*] array of arguments",
|
|
1486
|
+
expression: "[AST_Node] expression to invoke as function",
|
|
1487
|
+
optional: "[boolean] whether the expression is optional chaining",
|
|
1488
|
+
pure: "[boolean/S] marker for side-effect-free call expression",
|
|
1489
|
+
terminal: "[boolean] whether the chain has ended",
|
|
1490
|
+
},
|
|
1491
|
+
_equals: function(node) {
|
|
1492
|
+
return !this.optional == !node.optional
|
|
1493
|
+
&& this.expression.equals(node.expression)
|
|
1494
|
+
&& all_equals(this.args, node.args);
|
|
1495
|
+
},
|
|
1496
|
+
walk: function(visitor) {
|
|
1497
|
+
var node = this;
|
|
1498
|
+
visitor.visit(node, function() {
|
|
1499
|
+
node.expression.walk(visitor);
|
|
1500
|
+
node.args.forEach(function(arg) {
|
|
1501
|
+
arg.walk(visitor);
|
|
1502
|
+
});
|
|
1503
|
+
});
|
|
1504
|
+
},
|
|
1505
|
+
_validate: function() {
|
|
1506
|
+
must_be_expression(this, "expression");
|
|
1507
|
+
must_be_expressions(this, "args", true);
|
|
1508
|
+
},
|
|
1509
|
+
});
|
|
1510
|
+
|
|
1511
|
+
var AST_New = DEFNODE("New", null, {
|
|
1512
|
+
$documentation: "An object instantiation. Derives from a function call since it has exactly the same properties",
|
|
1513
|
+
_validate: function() {
|
|
1514
|
+
if (this.optional) throw new Error("optional must be false");
|
|
1515
|
+
if (this.terminal) throw new Error("terminal must be false");
|
|
1516
|
+
},
|
|
1517
|
+
}, AST_Call);
|
|
1518
|
+
|
|
1519
|
+
var AST_Sequence = DEFNODE("Sequence", "expressions", {
|
|
1520
|
+
$documentation: "A sequence expression (comma-separated expressions)",
|
|
1521
|
+
$propdoc: {
|
|
1522
|
+
expressions: "[AST_Node*] array of expressions (at least two)",
|
|
1523
|
+
},
|
|
1524
|
+
_equals: function(node) {
|
|
1525
|
+
return all_equals(this.expressions, node.expressions);
|
|
1526
|
+
},
|
|
1527
|
+
walk: function(visitor) {
|
|
1528
|
+
var node = this;
|
|
1529
|
+
visitor.visit(node, function() {
|
|
1530
|
+
node.expressions.forEach(function(expr) {
|
|
1531
|
+
expr.walk(visitor);
|
|
1532
|
+
});
|
|
1533
|
+
});
|
|
1534
|
+
},
|
|
1535
|
+
_validate: function() {
|
|
1536
|
+
if (this.expressions.length < 2) throw new Error("expressions must contain multiple elements");
|
|
1537
|
+
must_be_expressions(this, "expressions");
|
|
1538
|
+
},
|
|
1539
|
+
});
|
|
1540
|
+
|
|
1541
|
+
function root_expr(prop) {
|
|
1542
|
+
while (prop instanceof AST_PropAccess) prop = prop.expression;
|
|
1543
|
+
return prop;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
var AST_PropAccess = DEFNODE("PropAccess", "expression optional property terminal", {
|
|
1547
|
+
$documentation: "Base class for property access expressions, i.e. `a.foo` or `a[\"foo\"]`",
|
|
1548
|
+
$propdoc: {
|
|
1549
|
+
expression: "[AST_Node] the “container” expression",
|
|
1550
|
+
optional: "[boolean] whether the expression is optional chaining",
|
|
1551
|
+
property: "[AST_Node|string] the property to access. For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",
|
|
1552
|
+
terminal: "[boolean] whether the chain has ended",
|
|
1553
|
+
},
|
|
1554
|
+
_equals: function(node) {
|
|
1555
|
+
return !this.optional == !node.optional
|
|
1556
|
+
&& prop_equals(this.property, node.property)
|
|
1557
|
+
&& this.expression.equals(node.expression);
|
|
1558
|
+
},
|
|
1559
|
+
get_property: function() {
|
|
1560
|
+
var p = this.property;
|
|
1561
|
+
if (p instanceof AST_Constant) return p.value;
|
|
1562
|
+
if (p instanceof AST_UnaryPrefix && p.operator == "void" && p.expression instanceof AST_Constant) return;
|
|
1563
|
+
return p;
|
|
1564
|
+
},
|
|
1565
|
+
_validate: function() {
|
|
1566
|
+
if (this.TYPE == "PropAccess") throw new Error("should not instantiate AST_PropAccess");
|
|
1567
|
+
must_be_expression(this, "expression");
|
|
1568
|
+
},
|
|
1569
|
+
});
|
|
1570
|
+
|
|
1571
|
+
var AST_Dot = DEFNODE("Dot", "quoted", {
|
|
1572
|
+
$documentation: "A dotted property access expression",
|
|
1573
|
+
$propdoc: {
|
|
1574
|
+
quoted: "[boolean] whether property is transformed from a quoted string",
|
|
1575
|
+
},
|
|
1576
|
+
walk: function(visitor) {
|
|
1577
|
+
var node = this;
|
|
1578
|
+
visitor.visit(node, function() {
|
|
1579
|
+
node.expression.walk(visitor);
|
|
1580
|
+
});
|
|
1581
|
+
},
|
|
1582
|
+
_validate: function() {
|
|
1583
|
+
if (typeof this.property != "string") throw new Error("property must be string");
|
|
1584
|
+
},
|
|
1585
|
+
}, AST_PropAccess);
|
|
1586
|
+
|
|
1587
|
+
var AST_Sub = DEFNODE("Sub", null, {
|
|
1588
|
+
$documentation: "Index-style property access, i.e. `a[\"foo\"]`",
|
|
1589
|
+
walk: function(visitor) {
|
|
1590
|
+
var node = this;
|
|
1591
|
+
visitor.visit(node, function() {
|
|
1592
|
+
node.expression.walk(visitor);
|
|
1593
|
+
node.property.walk(visitor);
|
|
1594
|
+
});
|
|
1595
|
+
},
|
|
1596
|
+
_validate: function() {
|
|
1597
|
+
must_be_expression(this, "property");
|
|
1598
|
+
},
|
|
1599
|
+
}, AST_PropAccess);
|
|
1600
|
+
|
|
1601
|
+
var AST_Spread = DEFNODE("Spread", "expression", {
|
|
1602
|
+
$documentation: "Spread expression in array/object literals or function calls",
|
|
1603
|
+
$propdoc: {
|
|
1604
|
+
expression: "[AST_Node] expression to be expanded",
|
|
1605
|
+
},
|
|
1606
|
+
_equals: function(node) {
|
|
1607
|
+
return this.expression.equals(node.expression);
|
|
1608
|
+
},
|
|
1609
|
+
walk: function(visitor) {
|
|
1610
|
+
var node = this;
|
|
1611
|
+
visitor.visit(node, function() {
|
|
1612
|
+
node.expression.walk(visitor);
|
|
1613
|
+
});
|
|
1614
|
+
},
|
|
1615
|
+
_validate: function() {
|
|
1616
|
+
must_be_expression(this, "expression");
|
|
1617
|
+
},
|
|
1618
|
+
});
|
|
1619
|
+
|
|
1620
|
+
var AST_Unary = DEFNODE("Unary", "operator expression", {
|
|
1621
|
+
$documentation: "Base class for unary expressions",
|
|
1622
|
+
$propdoc: {
|
|
1623
|
+
operator: "[string] the operator",
|
|
1624
|
+
expression: "[AST_Node] expression that this unary operator applies to",
|
|
1625
|
+
},
|
|
1626
|
+
_equals: function(node) {
|
|
1627
|
+
return this.operator == node.operator
|
|
1628
|
+
&& this.expression.equals(node.expression);
|
|
1629
|
+
},
|
|
1630
|
+
walk: function(visitor) {
|
|
1631
|
+
var node = this;
|
|
1632
|
+
visitor.visit(node, function() {
|
|
1633
|
+
node.expression.walk(visitor);
|
|
1634
|
+
});
|
|
1635
|
+
},
|
|
1636
|
+
_validate: function() {
|
|
1637
|
+
if (this.TYPE == "Unary") throw new Error("should not instantiate AST_Unary");
|
|
1638
|
+
if (typeof this.operator != "string") throw new Error("operator must be string");
|
|
1639
|
+
must_be_expression(this, "expression");
|
|
1640
|
+
},
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
var AST_UnaryPrefix = DEFNODE("UnaryPrefix", null, {
|
|
1644
|
+
$documentation: "Unary prefix expression, i.e. `typeof i` or `++i`"
|
|
1645
|
+
}, AST_Unary);
|
|
1646
|
+
|
|
1647
|
+
var AST_UnaryPostfix = DEFNODE("UnaryPostfix", null, {
|
|
1648
|
+
$documentation: "Unary postfix expression, i.e. `i++`"
|
|
1649
|
+
}, AST_Unary);
|
|
1650
|
+
|
|
1651
|
+
var AST_Binary = DEFNODE("Binary", "operator left right", {
|
|
1652
|
+
$documentation: "Binary expression, i.e. `a + b`",
|
|
1653
|
+
$propdoc: {
|
|
1654
|
+
left: "[AST_Node] left-hand side expression",
|
|
1655
|
+
operator: "[string] the operator",
|
|
1656
|
+
right: "[AST_Node] right-hand side expression"
|
|
1657
|
+
},
|
|
1658
|
+
_equals: function(node) {
|
|
1659
|
+
return this.operator == node.operator
|
|
1660
|
+
&& this.left.equals(node.left)
|
|
1661
|
+
&& this.right.equals(node.right);
|
|
1662
|
+
},
|
|
1663
|
+
walk: function(visitor) {
|
|
1664
|
+
var node = this;
|
|
1665
|
+
visitor.visit(node, function() {
|
|
1666
|
+
node.left.walk(visitor);
|
|
1667
|
+
node.right.walk(visitor);
|
|
1668
|
+
});
|
|
1669
|
+
},
|
|
1670
|
+
_validate: function() {
|
|
1671
|
+
if (!(this instanceof AST_Assign)) must_be_expression(this, "left");
|
|
1672
|
+
if (typeof this.operator != "string") throw new Error("operator must be string");
|
|
1673
|
+
must_be_expression(this, "right");
|
|
1674
|
+
},
|
|
1675
|
+
});
|
|
1676
|
+
|
|
1677
|
+
var AST_Conditional = DEFNODE("Conditional", "condition consequent alternative", {
|
|
1678
|
+
$documentation: "Conditional expression using the ternary operator, i.e. `a ? b : c`",
|
|
1679
|
+
$propdoc: {
|
|
1680
|
+
condition: "[AST_Node]",
|
|
1681
|
+
consequent: "[AST_Node]",
|
|
1682
|
+
alternative: "[AST_Node]"
|
|
1683
|
+
},
|
|
1684
|
+
_equals: function(node) {
|
|
1685
|
+
return this.condition.equals(node.condition)
|
|
1686
|
+
&& this.consequent.equals(node.consequent)
|
|
1687
|
+
&& this.alternative.equals(node.alternative);
|
|
1688
|
+
},
|
|
1689
|
+
walk: function(visitor) {
|
|
1690
|
+
var node = this;
|
|
1691
|
+
visitor.visit(node, function() {
|
|
1692
|
+
node.condition.walk(visitor);
|
|
1693
|
+
node.consequent.walk(visitor);
|
|
1694
|
+
node.alternative.walk(visitor);
|
|
1695
|
+
});
|
|
1696
|
+
},
|
|
1697
|
+
_validate: function() {
|
|
1698
|
+
must_be_expression(this, "condition");
|
|
1699
|
+
must_be_expression(this, "consequent");
|
|
1700
|
+
must_be_expression(this, "alternative");
|
|
1701
|
+
},
|
|
1702
|
+
});
|
|
1703
|
+
|
|
1704
|
+
var AST_Assign = DEFNODE("Assign", null, {
|
|
1705
|
+
$documentation: "An assignment expression — `a = b + 5`",
|
|
1706
|
+
_validate: function() {
|
|
1707
|
+
if (this.operator.indexOf("=") < 0) throw new Error('operator must contain "="');
|
|
1708
|
+
if (this.left instanceof AST_Destructured) {
|
|
1709
|
+
if (this.operator != "=") throw new Error("invalid destructuring operator: " + this.operator);
|
|
1710
|
+
validate_destructured(this.left, function(node) {
|
|
1711
|
+
if (!(node instanceof AST_PropAccess || node instanceof AST_SymbolRef)) {
|
|
1712
|
+
throw new Error("left must be assignable: " + node.TYPE);
|
|
1713
|
+
}
|
|
1714
|
+
});
|
|
1715
|
+
} else if (!(this.left instanceof AST_Infinity
|
|
1716
|
+
|| this.left instanceof AST_NaN
|
|
1717
|
+
|| this.left instanceof AST_PropAccess && !this.left.optional
|
|
1718
|
+
|| this.left instanceof AST_SymbolRef
|
|
1719
|
+
|| this.left instanceof AST_Undefined)) {
|
|
1720
|
+
throw new Error("left must be assignable");
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
}, AST_Binary);
|
|
1724
|
+
|
|
1725
|
+
var AST_Await = DEFNODE("Await", "expression", {
|
|
1726
|
+
$documentation: "An await expression",
|
|
1727
|
+
$propdoc: {
|
|
1728
|
+
expression: "[AST_Node] expression with Promise to resolve on",
|
|
1729
|
+
},
|
|
1730
|
+
_equals: function(node) {
|
|
1731
|
+
return this.expression.equals(node.expression);
|
|
1732
|
+
},
|
|
1733
|
+
walk: function(visitor) {
|
|
1734
|
+
var node = this;
|
|
1735
|
+
visitor.visit(node, function() {
|
|
1736
|
+
node.expression.walk(visitor);
|
|
1737
|
+
});
|
|
1738
|
+
},
|
|
1739
|
+
_validate: function() {
|
|
1740
|
+
must_be_expression(this, "expression");
|
|
1741
|
+
},
|
|
1742
|
+
});
|
|
1743
|
+
|
|
1744
|
+
var AST_Yield = DEFNODE("Yield", "expression nested", {
|
|
1745
|
+
$documentation: "A yield expression",
|
|
1746
|
+
$propdoc: {
|
|
1747
|
+
expression: "[AST_Node?] return value for iterator, or null if undefined",
|
|
1748
|
+
nested: "[boolean] whether to iterate over expression as generator",
|
|
1749
|
+
},
|
|
1750
|
+
_equals: function(node) {
|
|
1751
|
+
return !this.nested == !node.nested
|
|
1752
|
+
&& prop_equals(this.expression, node.expression);
|
|
1753
|
+
},
|
|
1754
|
+
walk: function(visitor) {
|
|
1755
|
+
var node = this;
|
|
1756
|
+
visitor.visit(node, function() {
|
|
1757
|
+
if (node.expression) node.expression.walk(visitor);
|
|
1758
|
+
});
|
|
1759
|
+
},
|
|
1760
|
+
_validate: function() {
|
|
1761
|
+
if (this.expression != null) {
|
|
1762
|
+
must_be_expression(this, "expression");
|
|
1763
|
+
} else if (this.nested) {
|
|
1764
|
+
throw new Error("yield* must contain expression");
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1767
|
+
});
|
|
1768
|
+
|
|
1769
|
+
/* -----[ LITERALS ]----- */
|
|
1770
|
+
|
|
1771
|
+
var AST_Array = DEFNODE("Array", "elements", {
|
|
1772
|
+
$documentation: "An array literal",
|
|
1773
|
+
$propdoc: {
|
|
1774
|
+
elements: "[AST_Node*] array of elements"
|
|
1775
|
+
},
|
|
1776
|
+
_equals: function(node) {
|
|
1777
|
+
return all_equals(this.elements, node.elements);
|
|
1778
|
+
},
|
|
1779
|
+
walk: function(visitor) {
|
|
1780
|
+
var node = this;
|
|
1781
|
+
visitor.visit(node, function() {
|
|
1782
|
+
node.elements.forEach(function(element) {
|
|
1783
|
+
element.walk(visitor);
|
|
1784
|
+
});
|
|
1785
|
+
});
|
|
1786
|
+
},
|
|
1787
|
+
_validate: function() {
|
|
1788
|
+
must_be_expressions(this, "elements", true, true);
|
|
1789
|
+
},
|
|
1790
|
+
});
|
|
1791
|
+
|
|
1792
|
+
var AST_Destructured = DEFNODE("Destructured", "rest", {
|
|
1793
|
+
$documentation: "Base class for destructured literal",
|
|
1794
|
+
$propdoc: {
|
|
1795
|
+
rest: "[(AST_Destructured|AST_SymbolDeclaration|AST_SymbolRef)?] rest parameter, or null if absent",
|
|
1796
|
+
},
|
|
1797
|
+
_validate: function() {
|
|
1798
|
+
if (this.TYPE == "Destructured") throw new Error("should not instantiate AST_Destructured");
|
|
1799
|
+
},
|
|
1800
|
+
});
|
|
1801
|
+
|
|
1802
|
+
function validate_destructured(node, check, allow_default) {
|
|
1803
|
+
if (node instanceof AST_DefaultValue && allow_default) return validate_destructured(node.name, check);
|
|
1804
|
+
if (node instanceof AST_Destructured) {
|
|
1805
|
+
if (node.rest != null) validate_destructured(node.rest, check);
|
|
1806
|
+
if (node instanceof AST_DestructuredArray) return node.elements.forEach(function(node) {
|
|
1807
|
+
if (!(node instanceof AST_Hole)) validate_destructured(node, check, true);
|
|
1808
|
+
});
|
|
1809
|
+
if (node instanceof AST_DestructuredObject) return node.properties.forEach(function(prop) {
|
|
1810
|
+
validate_destructured(prop.value, check, true);
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
check(node);
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
var AST_DestructuredArray = DEFNODE("DestructuredArray", "elements", {
|
|
1817
|
+
$documentation: "A destructured array literal",
|
|
1818
|
+
$propdoc: {
|
|
1819
|
+
elements: "[(AST_DefaultValue|AST_Destructured|AST_SymbolDeclaration|AST_SymbolRef)*] array of elements",
|
|
1820
|
+
},
|
|
1821
|
+
_equals: function(node) {
|
|
1822
|
+
return prop_equals(this.rest, node.rest)
|
|
1823
|
+
&& all_equals(this.elements, node.elements);
|
|
1824
|
+
},
|
|
1825
|
+
walk: function(visitor) {
|
|
1826
|
+
var node = this;
|
|
1827
|
+
visitor.visit(node, function() {
|
|
1828
|
+
node.elements.forEach(function(element) {
|
|
1829
|
+
element.walk(visitor);
|
|
1830
|
+
});
|
|
1831
|
+
if (node.rest) node.rest.walk(visitor);
|
|
1832
|
+
});
|
|
1833
|
+
},
|
|
1834
|
+
}, AST_Destructured);
|
|
1835
|
+
|
|
1836
|
+
var AST_DestructuredKeyVal = DEFNODE("DestructuredKeyVal", "key value", {
|
|
1837
|
+
$documentation: "A key: value destructured property",
|
|
1838
|
+
$propdoc: {
|
|
1839
|
+
key: "[string|AST_Node] property name. For computed property this is an AST_Node.",
|
|
1840
|
+
value: "[AST_DefaultValue|AST_Destructured|AST_SymbolDeclaration|AST_SymbolRef] property value",
|
|
1841
|
+
},
|
|
1842
|
+
_equals: function(node) {
|
|
1843
|
+
return prop_equals(this.key, node.key)
|
|
1844
|
+
&& this.value.equals(node.value);
|
|
1845
|
+
},
|
|
1846
|
+
walk: function(visitor) {
|
|
1847
|
+
var node = this;
|
|
1848
|
+
visitor.visit(node, function() {
|
|
1849
|
+
if (node.key instanceof AST_Node) node.key.walk(visitor);
|
|
1850
|
+
node.value.walk(visitor);
|
|
1851
|
+
});
|
|
1852
|
+
},
|
|
1853
|
+
_validate: function() {
|
|
1854
|
+
if (typeof this.key != "string") {
|
|
1855
|
+
if (!(this.key instanceof AST_Node)) throw new Error("key must be string or AST_Node");
|
|
1856
|
+
must_be_expression(this, "key");
|
|
1857
|
+
}
|
|
1858
|
+
if (!(this.value instanceof AST_Node)) throw new Error("value must be AST_Node");
|
|
1859
|
+
},
|
|
1860
|
+
});
|
|
1861
|
+
|
|
1862
|
+
var AST_DestructuredObject = DEFNODE("DestructuredObject", "properties", {
|
|
1863
|
+
$documentation: "A destructured object literal",
|
|
1864
|
+
$propdoc: {
|
|
1865
|
+
properties: "[AST_DestructuredKeyVal*] array of properties",
|
|
1866
|
+
},
|
|
1867
|
+
_equals: function(node) {
|
|
1868
|
+
return prop_equals(this.rest, node.rest)
|
|
1869
|
+
&& all_equals(this.properties, node.properties);
|
|
1870
|
+
},
|
|
1871
|
+
walk: function(visitor) {
|
|
1872
|
+
var node = this;
|
|
1873
|
+
visitor.visit(node, function() {
|
|
1874
|
+
node.properties.forEach(function(prop) {
|
|
1875
|
+
prop.walk(visitor);
|
|
1876
|
+
});
|
|
1877
|
+
if (node.rest) node.rest.walk(visitor);
|
|
1878
|
+
});
|
|
1879
|
+
},
|
|
1880
|
+
_validate: function() {
|
|
1881
|
+
this.properties.forEach(function(node) {
|
|
1882
|
+
if (!(node instanceof AST_DestructuredKeyVal)) throw new Error("properties must be AST_DestructuredKeyVal[]");
|
|
1883
|
+
});
|
|
1884
|
+
},
|
|
1885
|
+
}, AST_Destructured);
|
|
1886
|
+
|
|
1887
|
+
var AST_Object = DEFNODE("Object", "properties", {
|
|
1888
|
+
$documentation: "An object literal",
|
|
1889
|
+
$propdoc: {
|
|
1890
|
+
properties: "[(AST_ObjectProperty|AST_Spread)*] array of properties"
|
|
1891
|
+
},
|
|
1892
|
+
_equals: function(node) {
|
|
1893
|
+
return all_equals(this.properties, node.properties);
|
|
1894
|
+
},
|
|
1895
|
+
walk: function(visitor) {
|
|
1896
|
+
var node = this;
|
|
1897
|
+
visitor.visit(node, function() {
|
|
1898
|
+
node.properties.forEach(function(prop) {
|
|
1899
|
+
prop.walk(visitor);
|
|
1900
|
+
});
|
|
1901
|
+
});
|
|
1902
|
+
},
|
|
1903
|
+
_validate: function() {
|
|
1904
|
+
this.properties.forEach(function(node) {
|
|
1905
|
+
if (!(node instanceof AST_ObjectProperty || node instanceof AST_Spread)) {
|
|
1906
|
+
throw new Error("properties must contain AST_ObjectProperty and/or AST_Spread only");
|
|
1907
|
+
}
|
|
1908
|
+
});
|
|
1909
|
+
},
|
|
1910
|
+
});
|
|
1911
|
+
|
|
1912
|
+
var AST_ObjectProperty = DEFNODE("ObjectProperty", "key value", {
|
|
1913
|
+
$documentation: "Base class for literal object properties",
|
|
1914
|
+
$propdoc: {
|
|
1915
|
+
key: "[string|AST_Node] property name. For computed property this is an AST_Node.",
|
|
1916
|
+
value: "[AST_Node] property value. For getters and setters this is an AST_Accessor.",
|
|
1917
|
+
},
|
|
1918
|
+
_equals: function(node) {
|
|
1919
|
+
return prop_equals(this.key, node.key)
|
|
1920
|
+
&& this.value.equals(node.value);
|
|
1921
|
+
},
|
|
1922
|
+
walk: function(visitor) {
|
|
1923
|
+
var node = this;
|
|
1924
|
+
visitor.visit(node, function() {
|
|
1925
|
+
if (node.key instanceof AST_Node) node.key.walk(visitor);
|
|
1926
|
+
node.value.walk(visitor);
|
|
1927
|
+
});
|
|
1928
|
+
},
|
|
1929
|
+
_validate: function() {
|
|
1930
|
+
if (this.TYPE == "ObjectProperty") throw new Error("should not instantiate AST_ObjectProperty");
|
|
1931
|
+
if (typeof this.key != "string") {
|
|
1932
|
+
if (!(this.key instanceof AST_Node)) throw new Error("key must be string or AST_Node");
|
|
1933
|
+
must_be_expression(this, "key");
|
|
1934
|
+
}
|
|
1935
|
+
if (!(this.value instanceof AST_Node)) throw new Error("value must be AST_Node");
|
|
1936
|
+
},
|
|
1937
|
+
});
|
|
1938
|
+
|
|
1939
|
+
var AST_ObjectKeyVal = DEFNODE("ObjectKeyVal", null, {
|
|
1940
|
+
$documentation: "A key: value object property",
|
|
1941
|
+
_validate: function() {
|
|
1942
|
+
must_be_expression(this, "value");
|
|
1943
|
+
},
|
|
1944
|
+
}, AST_ObjectProperty);
|
|
1945
|
+
|
|
1946
|
+
var AST_ObjectMethod = DEFNODE("ObjectMethod", null, {
|
|
1947
|
+
$documentation: "A key(){} object property",
|
|
1948
|
+
_validate: function() {
|
|
1949
|
+
if (!(this.value instanceof AST_LambdaExpression)) throw new Error("value must be AST_LambdaExpression");
|
|
1950
|
+
if (is_arrow(this.value)) throw new Error("value cannot be AST_Arrow or AST_AsyncArrow");
|
|
1951
|
+
if (this.value.name != null) throw new Error("name of object method's lambda must be null");
|
|
1952
|
+
},
|
|
1953
|
+
}, AST_ObjectKeyVal);
|
|
1954
|
+
|
|
1955
|
+
var AST_ObjectSetter = DEFNODE("ObjectSetter", null, {
|
|
1956
|
+
$documentation: "An object setter property",
|
|
1957
|
+
_validate: function() {
|
|
1958
|
+
if (!(this.value instanceof AST_Accessor)) throw new Error("value must be AST_Accessor");
|
|
1959
|
+
},
|
|
1960
|
+
}, AST_ObjectProperty);
|
|
1961
|
+
|
|
1962
|
+
var AST_ObjectGetter = DEFNODE("ObjectGetter", null, {
|
|
1963
|
+
$documentation: "An object getter property",
|
|
1964
|
+
_validate: function() {
|
|
1965
|
+
if (!(this.value instanceof AST_Accessor)) throw new Error("value must be AST_Accessor");
|
|
1966
|
+
},
|
|
1967
|
+
}, AST_ObjectProperty);
|
|
1968
|
+
|
|
1969
|
+
var AST_Symbol = DEFNODE("Symbol", "scope name thedef", {
|
|
1970
|
+
$documentation: "Base class for all symbols",
|
|
1971
|
+
$propdoc: {
|
|
1972
|
+
name: "[string] name of this symbol",
|
|
1973
|
+
scope: "[AST_Scope/S] the current scope (not necessarily the definition scope)",
|
|
1974
|
+
thedef: "[SymbolDef/S] the definition of this symbol"
|
|
1975
|
+
},
|
|
1976
|
+
_equals: function(node) {
|
|
1977
|
+
return this.thedef ? this.thedef === node.thedef : this.name == node.name;
|
|
1978
|
+
},
|
|
1979
|
+
_validate: function() {
|
|
1980
|
+
if (this.TYPE == "Symbol") throw new Error("should not instantiate AST_Symbol");
|
|
1981
|
+
if (typeof this.name != "string") throw new Error("name must be string");
|
|
1982
|
+
},
|
|
1983
|
+
});
|
|
1984
|
+
|
|
1985
|
+
var AST_SymbolDeclaration = DEFNODE("SymbolDeclaration", "init", {
|
|
1986
|
+
$documentation: "A declaration symbol (symbol in var, function name or argument, symbol in catch)",
|
|
1987
|
+
}, AST_Symbol);
|
|
1988
|
+
|
|
1989
|
+
var AST_SymbolConst = DEFNODE("SymbolConst", null, {
|
|
1990
|
+
$documentation: "Symbol defining a constant",
|
|
1991
|
+
}, AST_SymbolDeclaration);
|
|
1992
|
+
|
|
1993
|
+
var AST_SymbolImport = DEFNODE("SymbolImport", "key", {
|
|
1994
|
+
$documentation: "Symbol defined by an `import` statement",
|
|
1995
|
+
$propdoc: {
|
|
1996
|
+
key: "[AST_String] the original `export` name",
|
|
1997
|
+
},
|
|
1998
|
+
_equals: function(node) {
|
|
1999
|
+
return this.name == node.name
|
|
2000
|
+
&& this.key.equals(node.key);
|
|
2001
|
+
},
|
|
2002
|
+
_validate: function() {
|
|
2003
|
+
if (!(this.key instanceof AST_String)) throw new Error("key must be AST_String");
|
|
2004
|
+
},
|
|
2005
|
+
}, AST_SymbolConst);
|
|
2006
|
+
|
|
2007
|
+
var AST_SymbolLet = DEFNODE("SymbolLet", null, {
|
|
2008
|
+
$documentation: "Symbol defining a lexical-scoped variable",
|
|
2009
|
+
}, AST_SymbolDeclaration);
|
|
2010
|
+
|
|
2011
|
+
var AST_SymbolVar = DEFNODE("SymbolVar", null, {
|
|
2012
|
+
$documentation: "Symbol defining a variable",
|
|
2013
|
+
}, AST_SymbolDeclaration);
|
|
2014
|
+
|
|
2015
|
+
var AST_SymbolFunarg = DEFNODE("SymbolFunarg", "unused", {
|
|
2016
|
+
$documentation: "Symbol naming a function argument",
|
|
2017
|
+
}, AST_SymbolVar);
|
|
2018
|
+
|
|
2019
|
+
var AST_SymbolDefun = DEFNODE("SymbolDefun", null, {
|
|
2020
|
+
$documentation: "Symbol defining a function",
|
|
2021
|
+
}, AST_SymbolDeclaration);
|
|
2022
|
+
|
|
2023
|
+
var AST_SymbolLambda = DEFNODE("SymbolLambda", null, {
|
|
2024
|
+
$documentation: "Symbol naming a function expression",
|
|
2025
|
+
}, AST_SymbolDeclaration);
|
|
2026
|
+
|
|
2027
|
+
var AST_SymbolDefClass = DEFNODE("SymbolDefClass", null, {
|
|
2028
|
+
$documentation: "Symbol defining a class",
|
|
2029
|
+
}, AST_SymbolConst);
|
|
2030
|
+
|
|
2031
|
+
var AST_SymbolClass = DEFNODE("SymbolClass", null, {
|
|
2032
|
+
$documentation: "Symbol naming a class expression",
|
|
2033
|
+
}, AST_SymbolConst);
|
|
2034
|
+
|
|
2035
|
+
var AST_SymbolCatch = DEFNODE("SymbolCatch", null, {
|
|
2036
|
+
$documentation: "Symbol naming the exception in catch",
|
|
2037
|
+
}, AST_SymbolDeclaration);
|
|
2038
|
+
|
|
2039
|
+
var AST_Label = DEFNODE("Label", "references", {
|
|
2040
|
+
$documentation: "Symbol naming a label (declaration)",
|
|
2041
|
+
$propdoc: {
|
|
2042
|
+
references: "[AST_LoopControl*] a list of nodes referring to this label"
|
|
2043
|
+
},
|
|
2044
|
+
initialize: function() {
|
|
2045
|
+
this.references = [];
|
|
2046
|
+
this.thedef = this;
|
|
2047
|
+
},
|
|
2048
|
+
}, AST_Symbol);
|
|
2049
|
+
|
|
2050
|
+
var AST_SymbolRef = DEFNODE("SymbolRef", "fixed in_arg redef", {
|
|
2051
|
+
$documentation: "Reference to some symbol (not definition/declaration)",
|
|
2052
|
+
}, AST_Symbol);
|
|
2053
|
+
|
|
2054
|
+
var AST_SymbolExport = DEFNODE("SymbolExport", "alias", {
|
|
2055
|
+
$documentation: "Reference in an `export` statement",
|
|
2056
|
+
$propdoc: {
|
|
2057
|
+
alias: "[AST_String] the `export` alias",
|
|
2058
|
+
},
|
|
2059
|
+
_equals: function(node) {
|
|
2060
|
+
return this.name == node.name
|
|
2061
|
+
&& this.alias.equals(node.alias);
|
|
2062
|
+
},
|
|
2063
|
+
_validate: function() {
|
|
2064
|
+
if (!(this.alias instanceof AST_String)) throw new Error("alias must be AST_String");
|
|
2065
|
+
},
|
|
2066
|
+
}, AST_SymbolRef);
|
|
2067
|
+
|
|
2068
|
+
var AST_LabelRef = DEFNODE("LabelRef", null, {
|
|
2069
|
+
$documentation: "Reference to a label symbol",
|
|
2070
|
+
}, AST_Symbol);
|
|
2071
|
+
|
|
2072
|
+
var AST_ObjectIdentity = DEFNODE("ObjectIdentity", null, {
|
|
2073
|
+
$documentation: "Base class for `super` & `this`",
|
|
2074
|
+
_equals: return_true,
|
|
2075
|
+
_validate: function() {
|
|
2076
|
+
if (this.TYPE == "ObjectIdentity") throw new Error("should not instantiate AST_ObjectIdentity");
|
|
2077
|
+
},
|
|
2078
|
+
}, AST_Symbol);
|
|
2079
|
+
|
|
2080
|
+
var AST_Super = DEFNODE("Super", null, {
|
|
2081
|
+
$documentation: "The `super` symbol",
|
|
2082
|
+
_validate: function() {
|
|
2083
|
+
if (this.name !== "super") throw new Error('name must be "super"');
|
|
2084
|
+
},
|
|
2085
|
+
}, AST_ObjectIdentity);
|
|
2086
|
+
|
|
2087
|
+
var AST_This = DEFNODE("This", null, {
|
|
2088
|
+
$documentation: "The `this` symbol",
|
|
2089
|
+
_validate: function() {
|
|
2090
|
+
if (this.TYPE == "This" && this.name !== "this") throw new Error('name must be "this"');
|
|
2091
|
+
},
|
|
2092
|
+
}, AST_ObjectIdentity);
|
|
2093
|
+
|
|
2094
|
+
var AST_NewTarget = DEFNODE("NewTarget", null, {
|
|
2095
|
+
$documentation: "The `new.target` symbol",
|
|
2096
|
+
initialize: function() {
|
|
2097
|
+
this.name = "new.target";
|
|
2098
|
+
},
|
|
2099
|
+
_validate: function() {
|
|
2100
|
+
if (this.name !== "new.target") throw new Error('name must be "new.target": ' + this.name);
|
|
2101
|
+
},
|
|
2102
|
+
}, AST_This);
|
|
2103
|
+
|
|
2104
|
+
var AST_Template = DEFNODE("Template", "expressions strings tag", {
|
|
2105
|
+
$documentation: "A template literal, i.e. tag`str1${expr1}...strN${exprN}strN+1`",
|
|
2106
|
+
$propdoc: {
|
|
2107
|
+
expressions: "[AST_Node*] the placeholder expressions",
|
|
2108
|
+
strings: "[string*] the raw text segments",
|
|
2109
|
+
tag: "[AST_Node?] tag function, or null if absent",
|
|
2110
|
+
},
|
|
2111
|
+
_equals: function(node) {
|
|
2112
|
+
return prop_equals(this.tag, node.tag)
|
|
2113
|
+
&& list_equals(this.strings, node.strings)
|
|
2114
|
+
&& all_equals(this.expressions, node.expressions);
|
|
2115
|
+
},
|
|
2116
|
+
walk: function(visitor) {
|
|
2117
|
+
var node = this;
|
|
2118
|
+
visitor.visit(node, function() {
|
|
2119
|
+
if (node.tag) node.tag.walk(visitor);
|
|
2120
|
+
node.expressions.forEach(function(expr) {
|
|
2121
|
+
expr.walk(visitor);
|
|
2122
|
+
});
|
|
2123
|
+
});
|
|
2124
|
+
},
|
|
2125
|
+
_validate: function() {
|
|
2126
|
+
if (this.expressions.length + 1 != this.strings.length) {
|
|
2127
|
+
throw new Error("malformed template with " + this.expressions.length + " placeholder(s) but " + this.strings.length + " text segment(s)");
|
|
2128
|
+
}
|
|
2129
|
+
must_be_expressions(this, "expressions");
|
|
2130
|
+
this.strings.forEach(function(string) {
|
|
2131
|
+
if (typeof string != "string") throw new Error("strings must contain string");
|
|
2132
|
+
});
|
|
2133
|
+
if (this.tag != null) must_be_expression(this, "tag");
|
|
2134
|
+
},
|
|
2135
|
+
});
|
|
2136
|
+
|
|
2137
|
+
var AST_Constant = DEFNODE("Constant", null, {
|
|
2138
|
+
$documentation: "Base class for all constants",
|
|
2139
|
+
_equals: function(node) {
|
|
2140
|
+
return this.value === node.value;
|
|
2141
|
+
},
|
|
2142
|
+
_validate: function() {
|
|
2143
|
+
if (this.TYPE == "Constant") throw new Error("should not instantiate AST_Constant");
|
|
2144
|
+
},
|
|
2145
|
+
});
|
|
2146
|
+
|
|
2147
|
+
var AST_String = DEFNODE("String", "quote value", {
|
|
2148
|
+
$documentation: "A string literal",
|
|
2149
|
+
$propdoc: {
|
|
2150
|
+
quote: "[string?] the original quote character",
|
|
2151
|
+
value: "[string] the contents of this string",
|
|
2152
|
+
},
|
|
2153
|
+
_validate: function() {
|
|
2154
|
+
if (this.quote != null) {
|
|
2155
|
+
if (typeof this.quote != "string") throw new Error("quote must be string");
|
|
2156
|
+
if (!/^["']$/.test(this.quote)) throw new Error("invalid quote: " + this.quote);
|
|
2157
|
+
}
|
|
2158
|
+
if (typeof this.value != "string") throw new Error("value must be string");
|
|
2159
|
+
},
|
|
2160
|
+
}, AST_Constant);
|
|
2161
|
+
|
|
2162
|
+
var AST_Number = DEFNODE("Number", "value", {
|
|
2163
|
+
$documentation: "A number literal",
|
|
2164
|
+
$propdoc: {
|
|
2165
|
+
value: "[number] the numeric value",
|
|
2166
|
+
},
|
|
2167
|
+
_validate: function() {
|
|
2168
|
+
if (typeof this.value != "number") throw new Error("value must be number");
|
|
2169
|
+
if (!isFinite(this.value)) throw new Error("value must be finite");
|
|
2170
|
+
if (this.value < 0) throw new Error("value cannot be negative");
|
|
2171
|
+
},
|
|
2172
|
+
}, AST_Constant);
|
|
2173
|
+
|
|
2174
|
+
var AST_BigInt = DEFNODE("BigInt", "value", {
|
|
2175
|
+
$documentation: "A BigInt literal",
|
|
2176
|
+
$propdoc: {
|
|
2177
|
+
value: "[string] the numeric representation",
|
|
2178
|
+
},
|
|
2179
|
+
_validate: function() {
|
|
2180
|
+
if (typeof this.value != "string") throw new Error("value must be string");
|
|
2181
|
+
if (this.value[0] == "-") throw new Error("value cannot be negative");
|
|
2182
|
+
},
|
|
2183
|
+
}, AST_Constant);
|
|
2184
|
+
|
|
2185
|
+
var AST_RegExp = DEFNODE("RegExp", "value", {
|
|
2186
|
+
$documentation: "A regexp literal",
|
|
2187
|
+
$propdoc: {
|
|
2188
|
+
value: "[RegExp] the actual regexp"
|
|
2189
|
+
},
|
|
2190
|
+
_equals: function(node) {
|
|
2191
|
+
return "" + this.value == "" + node.value;
|
|
2192
|
+
},
|
|
2193
|
+
_validate: function() {
|
|
2194
|
+
if (!(this.value instanceof RegExp)) throw new Error("value must be RegExp");
|
|
2195
|
+
},
|
|
2196
|
+
}, AST_Constant);
|
|
2197
|
+
|
|
2198
|
+
var AST_Atom = DEFNODE("Atom", null, {
|
|
2199
|
+
$documentation: "Base class for atoms",
|
|
2200
|
+
_equals: return_true,
|
|
2201
|
+
_validate: function() {
|
|
2202
|
+
if (this.TYPE == "Atom") throw new Error("should not instantiate AST_Atom");
|
|
2203
|
+
},
|
|
2204
|
+
}, AST_Constant);
|
|
2205
|
+
|
|
2206
|
+
var AST_Null = DEFNODE("Null", null, {
|
|
2207
|
+
$documentation: "The `null` atom",
|
|
2208
|
+
value: null,
|
|
2209
|
+
}, AST_Atom);
|
|
2210
|
+
|
|
2211
|
+
var AST_NaN = DEFNODE("NaN", null, {
|
|
2212
|
+
$documentation: "The impossible value",
|
|
2213
|
+
value: 0/0,
|
|
2214
|
+
}, AST_Atom);
|
|
2215
|
+
|
|
2216
|
+
var AST_Undefined = DEFNODE("Undefined", null, {
|
|
2217
|
+
$documentation: "The `undefined` value",
|
|
2218
|
+
value: function(){}(),
|
|
2219
|
+
}, AST_Atom);
|
|
2220
|
+
|
|
2221
|
+
var AST_Hole = DEFNODE("Hole", null, {
|
|
2222
|
+
$documentation: "A hole in an array",
|
|
2223
|
+
value: function(){}(),
|
|
2224
|
+
}, AST_Atom);
|
|
2225
|
+
|
|
2226
|
+
var AST_Infinity = DEFNODE("Infinity", null, {
|
|
2227
|
+
$documentation: "The `Infinity` value",
|
|
2228
|
+
value: 1/0,
|
|
2229
|
+
}, AST_Atom);
|
|
2230
|
+
|
|
2231
|
+
var AST_Boolean = DEFNODE("Boolean", null, {
|
|
2232
|
+
$documentation: "Base class for booleans",
|
|
2233
|
+
_validate: function() {
|
|
2234
|
+
if (this.TYPE == "Boolean") throw new Error("should not instantiate AST_Boolean");
|
|
2235
|
+
},
|
|
2236
|
+
}, AST_Atom);
|
|
2237
|
+
|
|
2238
|
+
var AST_False = DEFNODE("False", null, {
|
|
2239
|
+
$documentation: "The `false` atom",
|
|
2240
|
+
value: false,
|
|
2241
|
+
}, AST_Boolean);
|
|
2242
|
+
|
|
2243
|
+
var AST_True = DEFNODE("True", null, {
|
|
2244
|
+
$documentation: "The `true` atom",
|
|
2245
|
+
value: true,
|
|
2246
|
+
}, AST_Boolean);
|
|
2247
|
+
|
|
2248
|
+
/* -----[ TreeWalker ]----- */
|
|
2249
|
+
|
|
2250
|
+
function TreeWalker(callback) {
|
|
2251
|
+
this.callback = callback;
|
|
2252
|
+
this.directives = Object.create(null);
|
|
2253
|
+
this.stack = [];
|
|
2254
|
+
}
|
|
2255
|
+
TreeWalker.prototype = {
|
|
2256
|
+
visit: function(node, descend) {
|
|
2257
|
+
this.push(node);
|
|
2258
|
+
var done = this.callback(node, descend || noop);
|
|
2259
|
+
if (!done && descend) descend();
|
|
2260
|
+
this.pop();
|
|
2261
|
+
},
|
|
2262
|
+
parent: function(n) {
|
|
2263
|
+
return this.stack[this.stack.length - 2 - (n || 0)];
|
|
2264
|
+
},
|
|
2265
|
+
push: function(node) {
|
|
2266
|
+
var value;
|
|
2267
|
+
if (node instanceof AST_Class) {
|
|
2268
|
+
this.directives = Object.create(this.directives);
|
|
2269
|
+
value = "use strict";
|
|
2270
|
+
} else if (node instanceof AST_Directive) {
|
|
2271
|
+
value = node.value;
|
|
2272
|
+
} else if (node instanceof AST_Lambda) {
|
|
2273
|
+
this.directives = Object.create(this.directives);
|
|
2274
|
+
}
|
|
2275
|
+
if (value && !this.directives[value]) this.directives[value] = node;
|
|
2276
|
+
this.stack.push(node);
|
|
2277
|
+
},
|
|
2278
|
+
pop: function() {
|
|
2279
|
+
var node = this.stack.pop();
|
|
2280
|
+
if (node instanceof AST_Class || node instanceof AST_Lambda) {
|
|
2281
|
+
this.directives = Object.getPrototypeOf(this.directives);
|
|
2282
|
+
}
|
|
2283
|
+
},
|
|
2284
|
+
self: function() {
|
|
2285
|
+
return this.stack[this.stack.length - 1];
|
|
2286
|
+
},
|
|
2287
|
+
find_parent: function(type) {
|
|
2288
|
+
var stack = this.stack;
|
|
2289
|
+
for (var i = stack.length - 1; --i >= 0;) {
|
|
2290
|
+
var x = stack[i];
|
|
2291
|
+
if (x instanceof type) return x;
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
has_directive: function(type) {
|
|
2295
|
+
var dir = this.directives[type];
|
|
2296
|
+
if (dir) return dir;
|
|
2297
|
+
var node = this.stack[this.stack.length - 1];
|
|
2298
|
+
if (node instanceof AST_Scope) {
|
|
2299
|
+
for (var i = 0; i < node.body.length; ++i) {
|
|
2300
|
+
var st = node.body[i];
|
|
2301
|
+
if (!(st instanceof AST_Directive)) break;
|
|
2302
|
+
if (st.value == type) return st;
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
},
|
|
2306
|
+
loopcontrol_target: function(node) {
|
|
2307
|
+
var stack = this.stack;
|
|
2308
|
+
if (node.label) for (var i = stack.length; --i >= 0;) {
|
|
2309
|
+
var x = stack[i];
|
|
2310
|
+
if (x instanceof AST_LabeledStatement && x.label.name == node.label.name)
|
|
2311
|
+
return x.body;
|
|
2312
|
+
} else for (var i = stack.length; --i >= 0;) {
|
|
2313
|
+
var x = stack[i];
|
|
2314
|
+
if (x instanceof AST_IterationStatement
|
|
2315
|
+
|| node instanceof AST_Break && x instanceof AST_Switch)
|
|
2316
|
+
return x;
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
in_boolean_context: function() {
|
|
2320
|
+
for (var drop = true, level = 0, parent, self = this.self(); parent = this.parent(level++); self = parent) {
|
|
2321
|
+
if (parent instanceof AST_Binary) switch (parent.operator) {
|
|
2322
|
+
case "&&":
|
|
2323
|
+
case "||":
|
|
2324
|
+
if (parent.left === self) drop = false;
|
|
2325
|
+
continue;
|
|
2326
|
+
default:
|
|
2327
|
+
return false;
|
|
2328
|
+
}
|
|
2329
|
+
if (parent instanceof AST_Conditional) {
|
|
2330
|
+
if (parent.condition === self) return true;
|
|
2331
|
+
continue;
|
|
2332
|
+
}
|
|
2333
|
+
if (parent instanceof AST_DWLoop) return parent.condition === self;
|
|
2334
|
+
if (parent instanceof AST_For) return parent.condition === self;
|
|
2335
|
+
if (parent instanceof AST_If) return parent.condition === self;
|
|
2336
|
+
if (parent instanceof AST_Return) {
|
|
2337
|
+
if (parent.in_bool) return true;
|
|
2338
|
+
while (parent = this.parent(level++)) {
|
|
2339
|
+
if (parent instanceof AST_Lambda) {
|
|
2340
|
+
if (parent.name) return false;
|
|
2341
|
+
parent = this.parent(level++);
|
|
2342
|
+
if (parent.TYPE != "Call") return false;
|
|
2343
|
+
break;
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
if (parent instanceof AST_Sequence) {
|
|
2348
|
+
if (parent.tail_node() === self) continue;
|
|
2349
|
+
return drop ? "d" : true;
|
|
2350
|
+
}
|
|
2351
|
+
if (parent instanceof AST_SimpleStatement) return drop ? "d" : true;
|
|
2352
|
+
if (parent instanceof AST_UnaryPrefix) return parent.operator == "!";
|
|
2353
|
+
return false;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
};
|