isomorfeus-preact 10.5.1 → 10.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +29 -0
- data/lib/isomorfeus/preact/config.rb +19 -33
- data/lib/isomorfeus/preact/imports.rb +30 -0
- data/lib/isomorfeus/preact_view_helper.rb +26 -34
- data/lib/isomorfeus-preact.rb +6 -4
- data/lib/lucid_app/context.rb +9 -9
- data/lib/preact/version.rb +1 -1
- data/node_modules/.bin/loose-envify +12 -0
- data/node_modules/.bin/loose-envify.cmd +17 -0
- data/node_modules/.bin/loose-envify.ps1 +28 -0
- data/node_modules/.package-lock.json +278 -0
- data/node_modules/@babel/runtime/LICENSE +22 -0
- data/node_modules/@babel/runtime/README.md +19 -0
- data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +99 -0
- data/node_modules/@babel/runtime/helpers/AwaitValue.js +6 -0
- data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +31 -0
- data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +12 -0
- data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +6 -0
- data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +8 -0
- data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +10 -0
- data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +57 -0
- data/node_modules/@babel/runtime/helpers/asyncIterator.js +16 -0
- data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +38 -0
- data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +8 -0
- data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +8 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +23 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +10 -0
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classCallCheck.js +8 -0
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +8 -0
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +8 -0
- data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +10 -0
- data/node_modules/@babel/runtime/helpers/classNameTDZError.js +6 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +11 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +11 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +9 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +10 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +8 -0
- data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +12 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +10 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +9 -0
- data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +14 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +15 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +9 -0
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/construct.js +26 -0
- data/node_modules/@babel/runtime/helpers/createClass.js +18 -0
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +61 -0
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +25 -0
- data/node_modules/@babel/runtime/helpers/createSuper.js +25 -0
- data/node_modules/@babel/runtime/helpers/decorate.js +401 -0
- data/node_modules/@babel/runtime/helpers/defaults.js +17 -0
- data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +25 -0
- data/node_modules/@babel/runtime/helpers/defineProperty.js +17 -0
- data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +95 -0
- data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +28 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +54 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +13 -0
- data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +35 -0
- data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +20 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +4 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/construct.js +18 -0
- data/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +57 -0
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +21 -0
- data/node_modules/@babel/runtime/helpers/esm/createSuper.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/decorate.js +396 -0
- data/node_modules/@babel/runtime/helpers/esm/defaults.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +22 -0
- data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
- data/node_modules/@babel/runtime/helpers/esm/get.js +20 -0
- data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/inherits.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/instanceof.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +51 -0
- data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +12 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/jsx.js +46 -0
- data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +39 -0
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/set.js +51 -0
- data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +11 -0
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +8 -0
- data/node_modules/@babel/runtime/helpers/esm/tdz.js +3 -0
- data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +5 -0
- data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +1 -0
- data/node_modules/@babel/runtime/helpers/esm/toArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +7 -0
- data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +13 -0
- data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
- data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +6 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +37 -0
- data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +65 -0
- data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +3 -0
- data/node_modules/@babel/runtime/helpers/extends.js +21 -0
- data/node_modules/@babel/runtime/helpers/get.js +27 -0
- data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +10 -0
- data/node_modules/@babel/runtime/helpers/inherits.js +19 -0
- data/node_modules/@babel/runtime/helpers/inheritsLoose.js +10 -0
- data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +12 -0
- data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +6 -0
- data/node_modules/@babel/runtime/helpers/instanceof.js +10 -0
- data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +8 -0
- data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +54 -0
- data/node_modules/@babel/runtime/helpers/isNativeFunction.js +6 -0
- data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +15 -0
- data/node_modules/@babel/runtime/helpers/iterableToArray.js +6 -0
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +32 -0
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +17 -0
- data/node_modules/@babel/runtime/helpers/jsx.js +50 -0
- data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +13 -0
- data/node_modules/@babel/runtime/helpers/newArrowCheck.js +8 -0
- data/node_modules/@babel/runtime/helpers/nonIterableRest.js +6 -0
- data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +6 -0
- data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +6 -0
- data/node_modules/@babel/runtime/helpers/objectSpread.js +23 -0
- data/node_modules/@babel/runtime/helpers/objectSpread2.js +42 -0
- data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +23 -0
- data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +17 -0
- data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +16 -0
- data/node_modules/@babel/runtime/helpers/readOnlyError.js +6 -0
- data/node_modules/@babel/runtime/helpers/set.js +55 -0
- data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +12 -0
- data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +10 -0
- data/node_modules/@babel/runtime/helpers/slicedToArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +14 -0
- data/node_modules/@babel/runtime/helpers/superPropBase.js +13 -0
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +14 -0
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +11 -0
- data/node_modules/@babel/runtime/helpers/tdz.js +6 -0
- data/node_modules/@babel/runtime/helpers/temporalRef.js +10 -0
- data/node_modules/@babel/runtime/helpers/temporalUndefined.js +4 -0
- data/node_modules/@babel/runtime/helpers/toArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/toConsumableArray.js +14 -0
- data/node_modules/@babel/runtime/helpers/toPrimitive.js +17 -0
- data/node_modules/@babel/runtime/helpers/toPropertyKey.js +11 -0
- data/node_modules/@babel/runtime/helpers/typeof.js +22 -0
- data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +13 -0
- data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +10 -0
- data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +45 -0
- data/node_modules/@babel/runtime/helpers/wrapRegExp.js +72 -0
- data/node_modules/@babel/runtime/helpers/writeOnlyError.js +6 -0
- data/node_modules/@babel/runtime/package.json +848 -0
- data/node_modules/@babel/runtime/regenerator/index.js +1 -0
- data/node_modules/css-in-js-utils/Changelog.md +16 -0
- data/node_modules/css-in-js-utils/LICENSE +21 -0
- data/node_modules/css-in-js-utils/README.md +241 -0
- data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +117 -0
- data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +15 -0
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +15 -0
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +31 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +43 -0
- data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +21 -0
- data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +17 -0
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +19 -0
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +20 -0
- data/node_modules/css-in-js-utils/lib/assignStyle.js +37 -0
- data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +15 -0
- data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +17 -0
- data/node_modules/css-in-js-utils/lib/cssifyObject.js +34 -0
- data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +17 -0
- data/node_modules/css-in-js-utils/lib/index.js +71 -0
- data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +12 -0
- data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +12 -0
- data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +64 -0
- data/node_modules/css-in-js-utils/lib/normalizeProperty.js +21 -0
- data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +19 -0
- data/node_modules/css-in-js-utils/lib/unprefixProperty.js +13 -0
- data/node_modules/css-in-js-utils/lib/unprefixValue.js +16 -0
- data/node_modules/css-in-js-utils/package.json +56 -0
- data/node_modules/css-tree/CHANGELOG.md +590 -0
- data/node_modules/css-tree/LICENSE +19 -0
- data/node_modules/css-tree/README.md +130 -0
- data/node_modules/css-tree/data/index.js +103 -0
- data/node_modules/css-tree/data/patch.json +721 -0
- data/node_modules/css-tree/dist/csstree.js +12606 -0
- data/node_modules/css-tree/dist/csstree.min.js +1 -0
- data/node_modules/css-tree/lib/common/List.js +576 -0
- data/node_modules/css-tree/lib/common/OffsetToLocation.js +91 -0
- data/node_modules/css-tree/lib/common/SyntaxError.js +82 -0
- data/node_modules/css-tree/lib/common/TokenStream.js +219 -0
- data/node_modules/css-tree/lib/common/adopt-buffer.js +10 -0
- data/node_modules/css-tree/lib/convertor/create.js +28 -0
- data/node_modules/css-tree/lib/convertor/index.js +3 -0
- data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +14 -0
- data/node_modules/css-tree/lib/definition-syntax/generate.js +129 -0
- data/node_modules/css-tree/lib/definition-syntax/index.js +6 -0
- data/node_modules/css-tree/lib/definition-syntax/parse.js +568 -0
- data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +55 -0
- data/node_modules/css-tree/lib/definition-syntax/walk.js +52 -0
- data/node_modules/css-tree/lib/generator/create.js +66 -0
- data/node_modules/css-tree/lib/generator/index.js +4 -0
- data/node_modules/css-tree/lib/generator/sourceMap.js +95 -0
- data/node_modules/css-tree/lib/index.js +1 -0
- data/node_modules/css-tree/lib/lexer/Lexer.js +466 -0
- data/node_modules/css-tree/lib/lexer/error.js +127 -0
- data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +236 -0
- data/node_modules/css-tree/lib/lexer/generic-urange.js +159 -0
- data/node_modules/css-tree/lib/lexer/generic.js +585 -0
- data/node_modules/css-tree/lib/lexer/index.js +3 -0
- data/node_modules/css-tree/lib/lexer/match-graph.js +455 -0
- data/node_modules/css-tree/lib/lexer/match.js +639 -0
- data/node_modules/css-tree/lib/lexer/prepare-tokens.js +73 -0
- data/node_modules/css-tree/lib/lexer/search.js +65 -0
- data/node_modules/css-tree/lib/lexer/structure.js +163 -0
- data/node_modules/css-tree/lib/lexer/trace.js +79 -0
- data/node_modules/css-tree/lib/parser/create.js +304 -0
- data/node_modules/css-tree/lib/parser/index.js +4 -0
- data/node_modules/css-tree/lib/parser/sequence.js +54 -0
- data/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
- data/node_modules/css-tree/lib/syntax/atrule/import.js +40 -0
- data/node_modules/css-tree/lib/syntax/atrule/index.js +7 -0
- data/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
- data/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
- data/node_modules/css-tree/lib/syntax/atrule/supports.js +89 -0
- data/node_modules/css-tree/lib/syntax/config/lexer.js +9 -0
- data/node_modules/css-tree/lib/syntax/config/mix.js +140 -0
- data/node_modules/css-tree/lib/syntax/config/parser.js +25 -0
- data/node_modules/css-tree/lib/syntax/config/walker.js +3 -0
- data/node_modules/css-tree/lib/syntax/create.js +77 -0
- data/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
- data/node_modules/css-tree/lib/syntax/function/var.js +43 -0
- data/node_modules/css-tree/lib/syntax/index.js +21 -0
- data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +297 -0
- data/node_modules/css-tree/lib/syntax/node/Atrule.js +107 -0
- data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +51 -0
- data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +165 -0
- data/node_modules/css-tree/lib/syntax/node/Block.js +91 -0
- data/node_modules/css-tree/lib/syntax/node/Brackets.js +34 -0
- data/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +29 -0
- data/node_modules/css-tree/lib/syntax/node/Combinator.js +55 -0
- data/node_modules/css-tree/lib/syntax/node/Comment.js +36 -0
- data/node_modules/css-tree/lib/syntax/node/Declaration.js +169 -0
- data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +49 -0
- data/node_modules/css-tree/lib/syntax/node/Dimension.js +29 -0
- data/node_modules/css-tree/lib/syntax/node/Function.js +40 -0
- data/node_modules/css-tree/lib/syntax/node/Hash.js +26 -0
- data/node_modules/css-tree/lib/syntax/node/IdSelector.js +27 -0
- data/node_modules/css-tree/lib/syntax/node/Identifier.js +20 -0
- data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +76 -0
- data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +68 -0
- data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +36 -0
- data/node_modules/css-tree/lib/syntax/node/Nth.js +51 -0
- data/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
- data/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
- data/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
- data/node_modules/css-tree/lib/syntax/node/Percentage.js +27 -0
- data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +61 -0
- data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +62 -0
- data/node_modules/css-tree/lib/syntax/node/Ratio.js +66 -0
- data/node_modules/css-tree/lib/syntax/node/Raw.js +87 -0
- data/node_modules/css-tree/lib/syntax/node/Rule.js +54 -0
- data/node_modules/css-tree/lib/syntax/node/Selector.js +32 -0
- data/node_modules/css-tree/lib/syntax/node/SelectorList.js +39 -0
- data/node_modules/css-tree/lib/syntax/node/String.js +18 -0
- data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +81 -0
- data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +53 -0
- data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +173 -0
- data/node_modules/css-tree/lib/syntax/node/Url.js +69 -0
- data/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
- data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +26 -0
- data/node_modules/css-tree/lib/syntax/node/index.js +42 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +9 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +9 -0
- data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/dir.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/has.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/index.js +12 -0
- data/node_modules/css-tree/lib/syntax/pseudo/lang.js +7 -0
- data/node_modules/css-tree/lib/syntax/pseudo/matches.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/not.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +1 -0
- data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +7 -0
- data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +3 -0
- data/node_modules/css-tree/lib/syntax/scope/default.js +87 -0
- data/node_modules/css-tree/lib/syntax/scope/index.js +5 -0
- data/node_modules/css-tree/lib/syntax/scope/selector.js +80 -0
- data/node_modules/css-tree/lib/syntax/scope/value.js +5 -0
- data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +249 -0
- data/node_modules/css-tree/lib/tokenizer/const.js +40 -0
- data/node_modules/css-tree/lib/tokenizer/index.js +591 -0
- data/node_modules/css-tree/lib/tokenizer/utils.js +243 -0
- data/node_modules/css-tree/lib/utils/clone.js +21 -0
- data/node_modules/css-tree/lib/utils/createCustomError.js +17 -0
- data/node_modules/css-tree/lib/utils/names.js +104 -0
- data/node_modules/css-tree/lib/walker/create.js +284 -0
- data/node_modules/css-tree/lib/walker/index.js +4 -0
- data/node_modules/css-tree/package.json +60 -0
- data/node_modules/csstype/LICENSE +19 -0
- data/node_modules/csstype/README.md +273 -0
- data/node_modules/csstype/index.d.ts +20553 -0
- data/node_modules/csstype/index.js.flow +6278 -0
- data/node_modules/csstype/package.json +62 -0
- data/node_modules/error-stack-parser/CHANGELOG.md +53 -0
- data/node_modules/error-stack-parser/LICENSE +19 -0
- data/node_modules/error-stack-parser/README.md +44 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.js +202 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +2 -0
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +1 -0
- data/node_modules/error-stack-parser/error-stack-parser.d.ts +66 -0
- data/node_modules/error-stack-parser/error-stack-parser.js +202 -0
- data/node_modules/error-stack-parser/package.json +63 -0
- data/node_modules/fastest-stable-stringify/.eslintrc.yml +26 -0
- data/node_modules/fastest-stable-stringify/.travis.yml +7 -0
- data/node_modules/fastest-stable-stringify/LICENSE +18 -0
- data/node_modules/fastest-stable-stringify/README.md +44 -0
- data/node_modules/fastest-stable-stringify/benchmark/index.js +32 -0
- data/node_modules/fastest-stable-stringify/benchmark/test.json +215 -0
- data/node_modules/fastest-stable-stringify/example/key_cmp.js +7 -0
- data/node_modules/fastest-stable-stringify/example/nested.js +3 -0
- data/node_modules/fastest-stable-stringify/example/str.js +3 -0
- data/node_modules/fastest-stable-stringify/example/value_cmp.js +7 -0
- data/node_modules/fastest-stable-stringify/index.js +60 -0
- data/node_modules/fastest-stable-stringify/package.json +54 -0
- data/node_modules/fastest-stable-stringify/test/bench.js +20 -0
- data/node_modules/fastest-stable-stringify/test/nested.js +24 -0
- data/node_modules/fastest-stable-stringify/test/str.js +52 -0
- data/node_modules/fastest-stable-stringify/test/to-json.js +22 -0
- data/node_modules/hyphenate-style-name/LICENSE +28 -0
- data/node_modules/hyphenate-style-name/README.md +28 -0
- data/node_modules/hyphenate-style-name/index.cjs.js +21 -0
- data/node_modules/hyphenate-style-name/index.js +19 -0
- data/node_modules/hyphenate-style-name/package.json +42 -0
- data/node_modules/inline-style-prefixer/CHANGELOG.md +195 -0
- data/node_modules/inline-style-prefixer/LICENSE +22 -0
- data/node_modules/inline-style-prefixer/README.md +100 -0
- data/node_modules/inline-style-prefixer/es/createPrefixer.js +47 -0
- data/node_modules/inline-style-prefixer/es/data.js +12 -0
- data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +21 -0
- data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +75 -0
- data/node_modules/inline-style-prefixer/es/generator/index.js +69 -0
- data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +108 -0
- data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +38 -0
- data/node_modules/inline-style-prefixer/es/index.js +26 -0
- data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +7 -0
- data/node_modules/inline-style-prefixer/es/plugins/calc.js +11 -0
- data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/cursor.js +16 -0
- data/node_modules/inline-style-prefixer/es/plugins/filter.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/flex.js +10 -0
- data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +67 -0
- data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +33 -0
- data/node_modules/inline-style-prefixer/es/plugins/gradient.js +14 -0
- data/node_modules/inline-style-prefixer/es/plugins/grid.js +129 -0
- data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +12 -0
- data/node_modules/inline-style-prefixer/es/plugins/index.js +17 -0
- data/node_modules/inline-style-prefixer/es/plugins/logical.js +35 -0
- data/node_modules/inline-style-prefixer/es/plugins/position.js +5 -0
- data/node_modules/inline-style-prefixer/es/plugins/sizing.js +26 -0
- data/node_modules/inline-style-prefixer/es/plugins/transition.js +75 -0
- data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +15 -0
- data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +3 -0
- data/node_modules/inline-style-prefixer/es/utils/isObject.js +3 -0
- data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +22 -0
- data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +11 -0
- data/node_modules/inline-style-prefixer/lib/createPrefixer.js +66 -0
- data/node_modules/inline-style-prefixer/lib/data.js +17 -0
- data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +32 -0
- data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +86 -0
- data/node_modules/inline-style-prefixer/lib/generator/index.js +85 -0
- data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +113 -0
- data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +43 -0
- data/node_modules/inline-style-prefixer/lib/index.js +78 -0
- data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +13 -0
- data/node_modules/inline-style-prefixer/lib/plugins/calc.js +21 -0
- data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/filter.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flex.js +16 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +73 -0
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +39 -0
- data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +26 -0
- data/node_modules/inline-style-prefixer/lib/plugins/grid.js +136 -0
- data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +22 -0
- data/node_modules/inline-style-prefixer/lib/plugins/index.js +69 -0
- data/node_modules/inline-style-prefixer/lib/plugins/logical.js +41 -0
- data/node_modules/inline-style-prefixer/lib/plugins/position.js +11 -0
- data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +32 -0
- data/node_modules/inline-style-prefixer/lib/plugins/transition.js +92 -0
- data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +21 -0
- data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +9 -0
- data/node_modules/inline-style-prefixer/lib/utils/isObject.js +9 -0
- data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +32 -0
- data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +17 -0
- data/node_modules/inline-style-prefixer/package.json +79 -0
- data/node_modules/isobject/LICENSE +21 -0
- data/node_modules/isobject/README.md +122 -0
- data/node_modules/isobject/index.d.ts +5 -0
- data/node_modules/isobject/index.js +12 -0
- data/node_modules/isobject/package.json +74 -0
- data/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/js-tokens/README.md +240 -0
- data/node_modules/js-tokens/index.js +23 -0
- data/node_modules/js-tokens/package.json +30 -0
- data/node_modules/loose-envify/LICENSE +21 -0
- data/node_modules/loose-envify/README.md +45 -0
- data/node_modules/loose-envify/cli.js +16 -0
- data/node_modules/loose-envify/custom.js +4 -0
- data/node_modules/loose-envify/index.js +3 -0
- data/node_modules/loose-envify/loose-envify.js +36 -0
- data/node_modules/loose-envify/package.json +36 -0
- data/node_modules/loose-envify/replace.js +65 -0
- data/node_modules/mdn-data/LICENSE +116 -0
- data/node_modules/mdn-data/README.md +56 -0
- data/node_modules/mdn-data/api/index.js +3 -0
- data/node_modules/mdn-data/api/inheritance.json +2681 -0
- data/node_modules/mdn-data/api/inheritance.schema.json +31 -0
- data/node_modules/mdn-data/css/at-rules.json +560 -0
- data/node_modules/mdn-data/css/at-rules.schema.json +132 -0
- data/node_modules/mdn-data/css/definitions.json +77 -0
- data/node_modules/mdn-data/css/index.js +8 -0
- data/node_modules/mdn-data/css/properties.json +9163 -0
- data/node_modules/mdn-data/css/properties.schema.json +402 -0
- data/node_modules/mdn-data/css/selectors.json +927 -0
- data/node_modules/mdn-data/css/selectors.schema.json +36 -0
- data/node_modules/mdn-data/css/syntaxes.json +761 -0
- data/node_modules/mdn-data/css/syntaxes.schema.json +15 -0
- data/node_modules/mdn-data/css/types.json +265 -0
- data/node_modules/mdn-data/css/types.schema.json +32 -0
- data/node_modules/mdn-data/css/units.json +199 -0
- data/node_modules/mdn-data/css/units.schema.json +28 -0
- data/node_modules/mdn-data/index.js +5 -0
- data/node_modules/mdn-data/l10n/css.json +1567 -0
- data/node_modules/mdn-data/l10n/index.js +3 -0
- data/node_modules/mdn-data/package.json +39 -0
- data/node_modules/nano-css/.circleci/config.yml +85 -0
- data/node_modules/nano-css/.eslintrc.yml +27 -0
- data/node_modules/nano-css/.github/FUNDING.yml +3 -0
- data/node_modules/nano-css/.github/workflows/nodejs.yml +23 -0
- data/node_modules/nano-css/CHANGELOG.md +362 -0
- data/node_modules/nano-css/LICENSE +24 -0
- data/node_modules/nano-css/README.md +70 -0
- data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +25 -0
- data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +407 -0
- data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +43 -0
- data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/amp.server.test.js +223 -0
- data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +8 -0
- data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/atoms.test.js +49 -0
- data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +12 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +8 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +219 -0
- data/node_modules/nano-css/addon/__tests__/env.js +6 -0
- data/node_modules/nano-css/addon/__tests__/extract.server.test.js +159 -0
- data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/index.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/index.test.js +257 -0
- data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/jsx.test.js +33 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/keyframes.test.js +131 -0
- data/node_modules/nano-css/addon/__tests__/limit.server.test.js +54 -0
- data/node_modules/nano-css/addon/__tests__/nesting.test.js +85 -0
- data/node_modules/nano-css/addon/__tests__/prefixer.test.js +121 -0
- data/node_modules/nano-css/addon/__tests__/put.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/put.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/put.test.js +75 -0
- data/node_modules/nano-css/addon/__tests__/reset.test.js +38 -0
- data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +7 -0
- data/node_modules/nano-css/addon/__tests__/rule.server.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/rule.test.js +57 -0
- data/node_modules/nano-css/addon/__tests__/setup.js +7 -0
- data/node_modules/nano-css/addon/__tests__/sheet.test.js +74 -0
- data/node_modules/nano-css/addon/__tests__/snake.test.js +124 -0
- data/node_modules/nano-css/addon/__tests__/tachyons.test.js +45 -0
- data/node_modules/nano-css/addon/__tests__/units.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/units.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/units.test.js +41 -0
- data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/validate.test.js +69 -0
- data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +14 -0
- data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +5 -0
- data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +6 -0
- data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +4 -0
- data/node_modules/nano-css/addon/__tests__/virtual.test.js +225 -0
- data/node_modules/nano-css/addon/amp.d.ts +5 -0
- data/node_modules/nano-css/addon/amp.js +156 -0
- data/node_modules/nano-css/addon/animate/fadeIn.js +22 -0
- data/node_modules/nano-css/addon/animate/fadeInDown.js +25 -0
- data/node_modules/nano-css/addon/animate/fadeInScale.js +25 -0
- data/node_modules/nano-css/addon/animate/fadeOut.js +23 -0
- data/node_modules/nano-css/addon/animate/fadeOutScale.js +21 -0
- data/node_modules/nano-css/addon/array.d.ts +5 -0
- data/node_modules/nano-css/addon/array.js +33 -0
- data/node_modules/nano-css/addon/atoms.d.ts +243 -0
- data/node_modules/nano-css/addon/atoms.js +63 -0
- data/node_modules/nano-css/addon/cache.d.ts +8 -0
- data/node_modules/nano-css/addon/cache.js +17 -0
- data/node_modules/nano-css/addon/component.d.ts +7 -0
- data/node_modules/nano-css/addon/component.js +26 -0
- data/node_modules/nano-css/addon/cssom.d.ts +17 -0
- data/node_modules/nano-css/addon/cssom.js +36 -0
- data/node_modules/nano-css/addon/decorator.d.ts +7 -0
- data/node_modules/nano-css/addon/decorator.js +43 -0
- data/node_modules/nano-css/addon/drule.d.ts +8 -0
- data/node_modules/nano-css/addon/drule.js +27 -0
- data/node_modules/nano-css/addon/dsheet.d.ts +8 -0
- data/node_modules/nano-css/addon/dsheet.js +36 -0
- data/node_modules/nano-css/addon/emmet.d.ts +614 -0
- data/node_modules/nano-css/addon/emmet.js +177 -0
- data/node_modules/nano-css/addon/extract.d.ts +5 -0
- data/node_modules/nano-css/addon/extract.js +59 -0
- data/node_modules/nano-css/addon/global.d.ts +8 -0
- data/node_modules/nano-css/addon/global.js +19 -0
- data/node_modules/nano-css/addon/googleFont.d.ts +8 -0
- data/node_modules/nano-css/addon/googleFont.js +43 -0
- data/node_modules/nano-css/addon/hydrate.d.ts +7 -0
- data/node_modules/nano-css/addon/hydrate.js +28 -0
- data/node_modules/nano-css/addon/hyperstyle.js +27 -0
- data/node_modules/nano-css/addon/important.js +38 -0
- data/node_modules/nano-css/addon/jsx.js +60 -0
- data/node_modules/nano-css/addon/keyframes.d.ts +34 -0
- data/node_modules/nano-css/addon/keyframes.js +61 -0
- data/node_modules/nano-css/addon/limit.js +26 -0
- data/node_modules/nano-css/addon/nesting.js +37 -0
- data/node_modules/nano-css/addon/pipe.js +57 -0
- data/node_modules/nano-css/addon/prefixer.js +79 -0
- data/node_modules/nano-css/addon/ref.js +87 -0
- data/node_modules/nano-css/addon/reset/EricMeyer.js +48 -0
- data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +44 -0
- data/node_modules/nano-css/addon/reset/Minimalistic.js +16 -0
- data/node_modules/nano-css/addon/reset/Minimalistic2.js +17 -0
- data/node_modules/nano-css/addon/reset/Minimalistic3.js +18 -0
- data/node_modules/nano-css/addon/reset/Normalize.js +83 -0
- data/node_modules/nano-css/addon/reset/PoorMan.js +25 -0
- data/node_modules/nano-css/addon/reset/ShaunInman.js +42 -0
- data/node_modules/nano-css/addon/reset/Siolon.js +34 -0
- data/node_modules/nano-css/addon/reset/Tantek.js +31 -0
- data/node_modules/nano-css/addon/reset/Tripoli.js +75 -0
- data/node_modules/nano-css/addon/reset/Universal.js +23 -0
- data/node_modules/nano-css/addon/reset/Yahoo.js +43 -0
- data/node_modules/nano-css/addon/reset-font.js +24 -0
- data/node_modules/nano-css/addon/rtl.js +15 -0
- data/node_modules/nano-css/addon/rule.d.ts +26 -0
- data/node_modules/nano-css/addon/rule.js +39 -0
- data/node_modules/nano-css/addon/sheet.d.ts +22 -0
- data/node_modules/nano-css/addon/sheet.js +45 -0
- data/node_modules/nano-css/addon/snake.js +141 -0
- data/node_modules/nano-css/addon/sourcemaps.js +96 -0
- data/node_modules/nano-css/addon/spread.js +23 -0
- data/node_modules/nano-css/addon/stable.js +7 -0
- data/node_modules/nano-css/addon/style.js +33 -0
- data/node_modules/nano-css/addon/styled.js +161 -0
- data/node_modules/nano-css/addon/stylis/plugin-onRule.js +43 -0
- data/node_modules/nano-css/addon/stylis.js +28 -0
- data/node_modules/nano-css/addon/tachyons.js +215 -0
- data/node_modules/nano-css/addon/unitless.js +78 -0
- data/node_modules/nano-css/addon/units.d.ts +89 -0
- data/node_modules/nano-css/addon/units.js +27 -0
- data/node_modules/nano-css/addon/useStyles.js +24 -0
- data/node_modules/nano-css/addon/util/cloneElement.js +11 -0
- data/node_modules/nano-css/addon/util/transformComponentDynamic.js +50 -0
- data/node_modules/nano-css/addon/util/transformComponentStatic.js +26 -0
- data/node_modules/nano-css/addon/validate.js +82 -0
- data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +159 -0
- data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +15 -0
- data/node_modules/nano-css/addon/vcssom/cssToTree.js +42 -0
- data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +3 -0
- data/node_modules/nano-css/addon/vcssom/removeRule.js +15 -0
- data/node_modules/nano-css/addon/vcssom.d.ts +72 -0
- data/node_modules/nano-css/addon/vcssom.js +97 -0
- data/node_modules/nano-css/addon/virtual.js +107 -0
- data/node_modules/nano-css/addon/withStyles.js +32 -0
- data/node_modules/nano-css/index.d.ts +4 -0
- data/node_modules/nano-css/index.js +138 -0
- data/node_modules/nano-css/package.json +145 -0
- data/node_modules/nano-css/preset/react.js +43 -0
- data/node_modules/nano-css/preset/sheet.d.ts +5 -0
- data/node_modules/nano-css/preset/sheet.js +27 -0
- data/node_modules/nano-css/preset/vdom.js +40 -0
- data/node_modules/nano-css/prettier.config.js +13 -0
- data/node_modules/nano-css/renovate.json +3 -0
- data/node_modules/nano-css/types/common.d.ts +14 -0
- data/node_modules/nano-css/types/demo.ts +7 -0
- data/node_modules/nano-css/types/nano.d.ts +171 -0
- data/node_modules/object-assign/index.js +90 -0
- data/node_modules/object-assign/license +21 -0
- data/node_modules/object-assign/package.json +42 -0
- data/node_modules/object-assign/readme.md +61 -0
- data/node_modules/preact/LICENSE +21 -0
- data/node_modules/preact/README.md +187 -0
- data/node_modules/preact/compat/LICENSE +21 -0
- data/node_modules/preact/compat/dist/compat.js +2 -0
- data/node_modules/preact/compat/dist/compat.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.mjs +2 -0
- data/node_modules/preact/compat/dist/compat.mjs.map +1 -0
- data/node_modules/preact/compat/dist/compat.modern.js +2 -0
- data/node_modules/preact/compat/dist/compat.modern.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.module.js +2 -0
- data/node_modules/preact/compat/dist/compat.module.js.map +1 -0
- data/node_modules/preact/compat/dist/compat.umd.js +2 -0
- data/node_modules/preact/compat/dist/compat.umd.js.map +1 -0
- data/node_modules/preact/compat/jsx-dev-runtime.js +1 -0
- data/node_modules/preact/compat/jsx-dev-runtime.mjs +1 -0
- data/node_modules/preact/compat/jsx-runtime.js +1 -0
- data/node_modules/preact/compat/jsx-runtime.mjs +1 -0
- data/node_modules/preact/compat/package.json +19 -0
- data/node_modules/preact/compat/scheduler.js +15 -0
- data/node_modules/preact/compat/scheduler.mjs +23 -0
- data/node_modules/preact/compat/server.js +15 -0
- data/node_modules/preact/compat/server.mjs +4 -0
- data/node_modules/preact/compat/src/Children.js +21 -0
- data/node_modules/preact/compat/src/PureComponent.js +15 -0
- data/node_modules/preact/compat/src/forwardRef.js +51 -0
- data/node_modules/preact/compat/src/index.d.ts +140 -0
- data/node_modules/preact/compat/src/index.js +187 -0
- data/node_modules/preact/compat/src/internal.d.ts +47 -0
- data/node_modules/preact/compat/src/memo.js +34 -0
- data/node_modules/preact/compat/src/portals.js +80 -0
- data/node_modules/preact/compat/src/render.js +219 -0
- data/node_modules/preact/compat/src/suspense-list.d.ts +14 -0
- data/node_modules/preact/compat/src/suspense-list.js +126 -0
- data/node_modules/preact/compat/src/suspense.d.ts +15 -0
- data/node_modules/preact/compat/src/suspense.js +270 -0
- data/node_modules/preact/compat/src/util.js +28 -0
- data/node_modules/preact/compat/test-utils.js +1 -0
- data/node_modules/preact/debug/LICENSE +21 -0
- data/node_modules/preact/debug/dist/debug.js +2 -0
- data/node_modules/preact/debug/dist/debug.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.mjs +2 -0
- data/node_modules/preact/debug/dist/debug.mjs.map +1 -0
- data/node_modules/preact/debug/dist/debug.modern.js +2 -0
- data/node_modules/preact/debug/dist/debug.modern.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.module.js +2 -0
- data/node_modules/preact/debug/dist/debug.module.js.map +1 -0
- data/node_modules/preact/debug/dist/debug.umd.js +2 -0
- data/node_modules/preact/debug/dist/debug.umd.js.map +1 -0
- data/node_modules/preact/debug/package.json +18 -0
- data/node_modules/preact/debug/src/check-props.js +54 -0
- data/node_modules/preact/debug/src/component-stack.js +146 -0
- data/node_modules/preact/debug/src/constants.js +3 -0
- data/node_modules/preact/debug/src/debug.js +442 -0
- data/node_modules/preact/debug/src/index.js +6 -0
- data/node_modules/preact/debug/src/internal.d.ts +82 -0
- data/node_modules/preact/debug/src/util.js +11 -0
- data/node_modules/preact/devtools/LICENSE +21 -0
- data/node_modules/preact/devtools/dist/devtools.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.mjs +2 -0
- data/node_modules/preact/devtools/dist/devtools.mjs.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.modern.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.modern.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.module.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -0
- data/node_modules/preact/devtools/dist/devtools.umd.js +2 -0
- data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -0
- data/node_modules/preact/devtools/package.json +16 -0
- data/node_modules/preact/devtools/src/devtools.js +10 -0
- data/node_modules/preact/devtools/src/index.d.ts +8 -0
- data/node_modules/preact/devtools/src/index.js +15 -0
- data/node_modules/preact/dist/preact.js +2 -0
- data/node_modules/preact/dist/preact.js.map +1 -0
- data/node_modules/preact/dist/preact.min.js +2 -0
- data/node_modules/preact/dist/preact.min.js.map +1 -0
- data/node_modules/preact/dist/preact.mjs +2 -0
- data/node_modules/preact/dist/preact.mjs.map +1 -0
- data/node_modules/preact/dist/preact.module.js +2 -0
- data/node_modules/preact/dist/preact.module.js.map +1 -0
- data/node_modules/preact/dist/preact.umd.js +2 -0
- data/node_modules/preact/dist/preact.umd.js.map +1 -0
- data/node_modules/preact/hooks/LICENSE +21 -0
- data/node_modules/preact/hooks/dist/hooks.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.mjs +2 -0
- data/node_modules/preact/hooks/dist/hooks.mjs.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.modern.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.modern.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.module.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -0
- data/node_modules/preact/hooks/dist/hooks.umd.js +2 -0
- data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -0
- data/node_modules/preact/hooks/package.json +26 -0
- data/node_modules/preact/hooks/src/index.d.ts +133 -0
- data/node_modules/preact/hooks/src/index.js +386 -0
- data/node_modules/preact/hooks/src/internal.d.ts +75 -0
- data/node_modules/preact/jsx-runtime/LICENSE +21 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js +2 -0
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -0
- data/node_modules/preact/jsx-runtime/package.json +19 -0
- data/node_modules/preact/jsx-runtime/src/index.d.ts +50 -0
- data/node_modules/preact/jsx-runtime/src/index.js +77 -0
- data/node_modules/preact/package.json +270 -0
- data/node_modules/preact/src/cjs.js +3 -0
- data/node_modules/preact/src/clone-element.js +34 -0
- data/node_modules/preact/src/component.js +225 -0
- data/node_modules/preact/src/constants.js +3 -0
- data/node_modules/preact/src/create-context.js +68 -0
- data/node_modules/preact/src/create-element.js +97 -0
- data/node_modules/preact/src/diff/catch-error.js +38 -0
- data/node_modules/preact/src/diff/children.js +347 -0
- data/node_modules/preact/src/diff/index.js +514 -0
- data/node_modules/preact/src/diff/props.js +158 -0
- data/node_modules/preact/src/index.d.ts +310 -0
- data/node_modules/preact/src/index.js +13 -0
- data/node_modules/preact/src/internal.d.ts +146 -0
- data/node_modules/preact/src/jsx.d.ts +962 -0
- data/node_modules/preact/src/options.js +16 -0
- data/node_modules/preact/src/render.js +75 -0
- data/node_modules/preact/src/util.js +27 -0
- data/node_modules/preact/test-utils/dist/testUtils.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.mjs +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.mjs.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.modern.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.modern.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.module.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.module.js.map +1 -0
- data/node_modules/preact/test-utils/dist/testUtils.umd.js +2 -0
- data/node_modules/preact/test-utils/dist/testUtils.umd.js.map +1 -0
- data/node_modules/preact/test-utils/package.json +19 -0
- data/node_modules/preact/test-utils/src/index.d.ts +3 -0
- data/node_modules/preact/test-utils/src/index.js +117 -0
- data/node_modules/preact-deep-force-update/.babelrc +8 -0
- data/node_modules/preact-deep-force-update/.eslintrc +66 -0
- data/node_modules/preact-deep-force-update/.npmignore +2 -0
- data/node_modules/preact-deep-force-update/.travis.yml +3 -0
- data/node_modules/preact-deep-force-update/LICENSE +21 -0
- data/node_modules/preact-deep-force-update/README.md +53 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js +36 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js.map +1 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js +2 -0
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js.map +1 -0
- data/node_modules/preact-deep-force-update/karma.conf.js +32 -0
- data/node_modules/preact-deep-force-update/package.json +80 -0
- data/node_modules/preact-deep-force-update/rollup.config.js +17 -0
- data/node_modules/preact-deep-force-update/src/index.js +27 -0
- data/node_modules/preact-deep-force-update/test/index.js +50 -0
- data/node_modules/preact-render-to-string/LICENSE +21 -0
- data/node_modules/preact-render-to-string/README.md +102 -0
- data/node_modules/preact-render-to-string/dist/commonjs.js +2 -0
- data/node_modules/preact-render-to-string/dist/commonjs.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/index.d.ts +16 -0
- data/node_modules/preact-render-to-string/dist/index.js +1 -0
- data/node_modules/preact-render-to-string/dist/index.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/index.mjs +2 -0
- data/node_modules/preact-render-to-string/dist/index.module.js +2 -0
- data/node_modules/preact-render-to-string/dist/index.module.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx-entry.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx-entry.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.d.ts +13 -0
- data/node_modules/preact-render-to-string/dist/jsx.js +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.mjs +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.modern.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.modern.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/jsx.module.js +2 -0
- data/node_modules/preact-render-to-string/dist/jsx.module.js.map +1 -0
- data/node_modules/preact-render-to-string/dist/preact-render-to-string-tests.d.ts +1 -0
- data/node_modules/preact-render-to-string/jsx.js +1 -0
- data/node_modules/preact-render-to-string/package.json +139 -0
- data/node_modules/preact-render-to-string/src/index.d.ts +16 -0
- data/node_modules/preact-render-to-string/src/index.js +438 -0
- data/node_modules/preact-render-to-string/src/jsx.d.ts +13 -0
- data/node_modules/preact-render-to-string/src/jsx.js +76 -0
- data/node_modules/preact-render-to-string/src/polyfills.js +8 -0
- data/node_modules/preact-render-to-string/src/preact-render-to-string-tests.d.ts +1 -0
- data/node_modules/preact-render-to-string/src/util.js +78 -0
- data/node_modules/preact-render-to-string/typings.json +5 -0
- data/node_modules/pretty-format/.npmignore +3 -0
- data/node_modules/pretty-format/LICENSE.md +15 -0
- data/node_modules/pretty-format/README.md +94 -0
- data/node_modules/pretty-format/index.js +343 -0
- data/node_modules/pretty-format/package.json +26 -0
- data/node_modules/pretty-format/plugins/ReactElement.js +74 -0
- data/node_modules/pretty-format/plugins/ReactTestComponent.js +58 -0
- data/node_modules/pretty-format/printString.js +7 -0
- data/node_modules/react/LICENSE +21 -0
- data/node_modules/react/README.md +13 -0
- data/node_modules/react/build-info.json +8 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1203 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
- data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +9 -0
- data/node_modules/react/cjs/react-jsx-runtime.development.js +1221 -0
- data/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
- data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +10 -0
- data/node_modules/react/cjs/react.development.js +2333 -0
- data/node_modules/react/cjs/react.production.min.js +23 -0
- data/node_modules/react/index.js +7 -0
- data/node_modules/react/jsx-dev-runtime.js +7 -0
- data/node_modules/react/jsx-runtime.js +7 -0
- data/node_modules/react/package.json +39 -0
- data/node_modules/react/umd/react.development.js +3357 -0
- data/node_modules/react/umd/react.production.min.js +31 -0
- data/node_modules/react/umd/react.profiling.min.js +36 -0
- data/node_modules/react-dom/LICENSE +21 -0
- data/node_modules/react-dom/README.md +54 -0
- data/node_modules/react-dom/build-info.json +8 -0
- data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4342 -0
- data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +51 -0
- data/node_modules/react-dom/cjs/react-dom-server.node.development.js +4383 -0
- data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +52 -0
- data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +2118 -0
- data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +43 -0
- data/node_modules/react-dom/cjs/react-dom.development.js +26262 -0
- data/node_modules/react-dom/cjs/react-dom.production.min.js +297 -0
- data/node_modules/react-dom/cjs/react-dom.profiling.min.js +310 -0
- data/node_modules/react-dom/index.js +38 -0
- data/node_modules/react-dom/package.json +49 -0
- data/node_modules/react-dom/profiling.js +38 -0
- data/node_modules/react-dom/server.browser.js +7 -0
- data/node_modules/react-dom/server.js +3 -0
- data/node_modules/react-dom/server.node.js +7 -0
- data/node_modules/react-dom/test-utils.js +7 -0
- data/node_modules/react-dom/umd/react-dom-server.browser.development.js +4341 -0
- data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +46 -0
- data/node_modules/react-dom/umd/react-dom-test-utils.development.js +2136 -0
- data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +35 -0
- data/node_modules/react-dom/umd/react-dom.development.js +26292 -0
- data/node_modules/react-dom/umd/react-dom.production.min.js +245 -0
- data/node_modules/react-dom/umd/react-dom.profiling.min.js +252 -0
- data/node_modules/regenerator-runtime/LICENSE +21 -0
- data/node_modules/regenerator-runtime/README.md +31 -0
- data/node_modules/regenerator-runtime/package.json +19 -0
- data/node_modules/regenerator-runtime/path.js +11 -0
- data/node_modules/regenerator-runtime/runtime.js +754 -0
- data/node_modules/rtl-css-js/CHANGELOG.md +5 -0
- data/node_modules/rtl-css-js/LICENSE +20 -0
- data/node_modules/rtl-css-js/README.md +205 -0
- data/node_modules/rtl-css-js/core/package.json +6 -0
- data/node_modules/rtl-css-js/core.d.ts +163 -0
- data/node_modules/rtl-css-js/core.esm.d.ts +1 -0
- data/node_modules/rtl-css-js/core.esm.js +9 -0
- data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +509 -0
- data/node_modules/rtl-css-js/dist/cjs/core.js +30 -0
- data/node_modules/rtl-css-js/dist/cjs/index.js +7 -0
- data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +487 -0
- data/node_modules/rtl-css-js/dist/esm/core.js +1 -0
- data/node_modules/rtl-css-js/dist/esm/index.js +5 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +519 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +2 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +496 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +1 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +2 -0
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +1 -0
- data/node_modules/rtl-css-js/package.json +66 -0
- data/node_modules/rtl-css-js/types.d.ts +8 -0
- data/node_modules/scheduler/LICENSE +21 -0
- data/node_modules/scheduler/README.md +9 -0
- data/node_modules/scheduler/build-info.json +8 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
- data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
- data/node_modules/scheduler/cjs/scheduler.development.js +646 -0
- data/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
- data/node_modules/scheduler/index.js +7 -0
- data/node_modules/scheduler/package.json +40 -0
- data/node_modules/scheduler/tracing-profiling.js +7 -0
- data/node_modules/scheduler/tracing.js +7 -0
- data/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
- data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
- data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
- data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
- data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
- data/node_modules/scheduler/umd/scheduler.development.js +152 -0
- data/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- data/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- data/node_modules/scheduler/unstable_mock.js +7 -0
- data/node_modules/scheduler/unstable_post_task.js +7 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/sourcemap-codec/CHANGELOG.md +64 -0
- data/node_modules/sourcemap-codec/LICENSE +21 -0
- data/node_modules/sourcemap-codec/README.md +63 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +124 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +135 -0
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
- data/node_modules/sourcemap-codec/package.json +53 -0
- data/node_modules/stack-generator/.eslintrc.yml +32 -0
- data/node_modules/stack-generator/CHANGELOG.md +18 -0
- data/node_modules/stack-generator/CONTRIBUTING.md +27 -0
- data/node_modules/stack-generator/LICENSE +19 -0
- data/node_modules/stack-generator/README.md +28 -0
- data/node_modules/stack-generator/bower.json +33 -0
- data/node_modules/stack-generator/component.json +17 -0
- data/node_modules/stack-generator/dist/stack-generator.js +45 -0
- data/node_modules/stack-generator/dist/stack-generator.min.js +2 -0
- data/node_modules/stack-generator/dist/stack-generator.min.js.map +1 -0
- data/node_modules/stack-generator/karma.conf.ci.js +108 -0
- data/node_modules/stack-generator/karma.conf.js +26 -0
- data/node_modules/stack-generator/package.json +53 -0
- data/node_modules/stack-generator/stack-generator.js +45 -0
- data/node_modules/stackframe/.eslintrc.yml +29 -0
- data/node_modules/stackframe/CHANGELOG.md +39 -0
- data/node_modules/stackframe/CONTRIBUTING.md +28 -0
- data/node_modules/stackframe/LICENSE +19 -0
- data/node_modules/stackframe/README.md +78 -0
- data/node_modules/stackframe/bower.json +31 -0
- data/node_modules/stackframe/component.json +16 -0
- data/node_modules/stackframe/dist/stackframe.js +143 -0
- data/node_modules/stackframe/dist/stackframe.min.js +2 -0
- data/node_modules/stackframe/dist/stackframe.min.js.map +1 -0
- data/node_modules/stackframe/karma.conf.ci.js +105 -0
- data/node_modules/stackframe/karma.conf.js +23 -0
- data/node_modules/stackframe/package.json +51 -0
- data/node_modules/stackframe/stackframe-tests.ts +47 -0
- data/node_modules/stackframe/stackframe.d.ts +74 -0
- data/node_modules/stackframe/stackframe.js +143 -0
- data/node_modules/stacktrace-gps/CHANGELOG.md +60 -0
- data/node_modules/stacktrace-gps/LICENSE +19 -0
- data/node_modules/stacktrace-gps/README.md +89 -0
- data/node_modules/stacktrace-gps/dist/polyfills.js +5 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +2 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +1 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +342 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +2 -0
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +1 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +28 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/README.md +729 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +3056 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +3055 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +104 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +1082 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +404 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +407 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +417 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/package.json +71 -0
- data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +8 -0
- data/node_modules/stacktrace-gps/package.json +66 -0
- data/node_modules/stacktrace-gps/stacktrace-gps.js +342 -0
- data/node_modules/stacktrace-js/CHANGELOG.md +97 -0
- data/node_modules/stacktrace-js/LICENSE +19 -0
- data/node_modules/stacktrace-js/README.md +186 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +5405 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +3 -0
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +1 -0
- data/node_modules/stacktrace-js/dist/stacktrace.js +3025 -0
- data/node_modules/stacktrace-js/dist/stacktrace.min.js +2 -0
- data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +1 -0
- data/node_modules/stacktrace-js/package.json +82 -0
- data/node_modules/stacktrace-js/stacktrace-js.d.ts +134 -0
- data/node_modules/stacktrace-js/stacktrace.js +227 -0
- data/node_modules/stylis/LICENSE +21 -0
- data/node_modules/stylis/README.md +152 -0
- data/node_modules/stylis/dist/stylis.mjs +2 -0
- data/node_modules/stylis/dist/stylis.mjs.map +1 -0
- data/node_modules/stylis/dist/umd/package.json +1 -0
- data/node_modules/stylis/dist/umd/stylis.js +2 -0
- data/node_modules/stylis/dist/umd/stylis.js.map +1 -0
- data/node_modules/stylis/index.js +7 -0
- data/node_modules/stylis/package.json +164 -0
- data/node_modules/stylis/src/Enum.js +20 -0
- data/node_modules/stylis/src/Middleware.js +107 -0
- data/node_modules/stylis/src/Parser.js +184 -0
- data/node_modules/stylis/src/Prefixer.js +119 -0
- data/node_modules/stylis/src/Serializer.js +34 -0
- data/node_modules/stylis/src/Tokenizer.js +244 -0
- data/node_modules/stylis/src/Utility.js +109 -0
- data/node_modules/wouter-preact/cjs/index.js +180 -0
- data/node_modules/wouter-preact/cjs/matcher.js +72 -0
- data/node_modules/wouter-preact/cjs/package.json +1 -0
- data/node_modules/wouter-preact/cjs/react-deps.js +75 -0
- data/node_modules/wouter-preact/cjs/static-location.js +21 -0
- data/node_modules/wouter-preact/cjs/use-location.js +94 -0
- data/node_modules/wouter-preact/index.d.ts +110 -0
- data/node_modules/wouter-preact/index.js +178 -0
- data/node_modules/wouter-preact/matcher.d.ts +30 -0
- data/node_modules/wouter-preact/matcher.js +66 -0
- data/node_modules/wouter-preact/package.json +33 -0
- data/node_modules/wouter-preact/react-deps.js +15 -0
- data/node_modules/wouter-preact/static-location.d.ts +16 -0
- data/node_modules/wouter-preact/static-location.js +17 -0
- data/node_modules/wouter-preact/use-location.d.ts +43 -0
- data/node_modules/wouter-preact/use-location.js +86 -0
- data/package.json +10 -0
- metadata +1093 -20
@@ -0,0 +1,425 @@
|
|
1
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
+
/*
|
3
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
+
* Licensed under the New BSD license. See LICENSE or:
|
5
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
+
*/
|
7
|
+
|
8
|
+
var base64VLQ = require('./base64-vlq');
|
9
|
+
var util = require('./util');
|
10
|
+
var ArraySet = require('./array-set').ArraySet;
|
11
|
+
var MappingList = require('./mapping-list').MappingList;
|
12
|
+
|
13
|
+
/**
|
14
|
+
* An instance of the SourceMapGenerator represents a source map which is
|
15
|
+
* being built incrementally. You may pass an object with the following
|
16
|
+
* properties:
|
17
|
+
*
|
18
|
+
* - file: The filename of the generated source.
|
19
|
+
* - sourceRoot: A root for all relative URLs in this source map.
|
20
|
+
*/
|
21
|
+
function SourceMapGenerator(aArgs) {
|
22
|
+
if (!aArgs) {
|
23
|
+
aArgs = {};
|
24
|
+
}
|
25
|
+
this._file = util.getArg(aArgs, 'file', null);
|
26
|
+
this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);
|
27
|
+
this._skipValidation = util.getArg(aArgs, 'skipValidation', false);
|
28
|
+
this._sources = new ArraySet();
|
29
|
+
this._names = new ArraySet();
|
30
|
+
this._mappings = new MappingList();
|
31
|
+
this._sourcesContents = null;
|
32
|
+
}
|
33
|
+
|
34
|
+
SourceMapGenerator.prototype._version = 3;
|
35
|
+
|
36
|
+
/**
|
37
|
+
* Creates a new SourceMapGenerator based on a SourceMapConsumer
|
38
|
+
*
|
39
|
+
* @param aSourceMapConsumer The SourceMap.
|
40
|
+
*/
|
41
|
+
SourceMapGenerator.fromSourceMap =
|
42
|
+
function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
|
43
|
+
var sourceRoot = aSourceMapConsumer.sourceRoot;
|
44
|
+
var generator = new SourceMapGenerator({
|
45
|
+
file: aSourceMapConsumer.file,
|
46
|
+
sourceRoot: sourceRoot
|
47
|
+
});
|
48
|
+
aSourceMapConsumer.eachMapping(function (mapping) {
|
49
|
+
var newMapping = {
|
50
|
+
generated: {
|
51
|
+
line: mapping.generatedLine,
|
52
|
+
column: mapping.generatedColumn
|
53
|
+
}
|
54
|
+
};
|
55
|
+
|
56
|
+
if (mapping.source != null) {
|
57
|
+
newMapping.source = mapping.source;
|
58
|
+
if (sourceRoot != null) {
|
59
|
+
newMapping.source = util.relative(sourceRoot, newMapping.source);
|
60
|
+
}
|
61
|
+
|
62
|
+
newMapping.original = {
|
63
|
+
line: mapping.originalLine,
|
64
|
+
column: mapping.originalColumn
|
65
|
+
};
|
66
|
+
|
67
|
+
if (mapping.name != null) {
|
68
|
+
newMapping.name = mapping.name;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
generator.addMapping(newMapping);
|
73
|
+
});
|
74
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
75
|
+
var sourceRelative = sourceFile;
|
76
|
+
if (sourceRoot !== null) {
|
77
|
+
sourceRelative = util.relative(sourceRoot, sourceFile);
|
78
|
+
}
|
79
|
+
|
80
|
+
if (!generator._sources.has(sourceRelative)) {
|
81
|
+
generator._sources.add(sourceRelative);
|
82
|
+
}
|
83
|
+
|
84
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
85
|
+
if (content != null) {
|
86
|
+
generator.setSourceContent(sourceFile, content);
|
87
|
+
}
|
88
|
+
});
|
89
|
+
return generator;
|
90
|
+
};
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Add a single mapping from original source line and column to the generated
|
94
|
+
* source's line and column for this source map being created. The mapping
|
95
|
+
* object should have the following properties:
|
96
|
+
*
|
97
|
+
* - generated: An object with the generated line and column positions.
|
98
|
+
* - original: An object with the original line and column positions.
|
99
|
+
* - source: The original source file (relative to the sourceRoot).
|
100
|
+
* - name: An optional original token name for this mapping.
|
101
|
+
*/
|
102
|
+
SourceMapGenerator.prototype.addMapping =
|
103
|
+
function SourceMapGenerator_addMapping(aArgs) {
|
104
|
+
var generated = util.getArg(aArgs, 'generated');
|
105
|
+
var original = util.getArg(aArgs, 'original', null);
|
106
|
+
var source = util.getArg(aArgs, 'source', null);
|
107
|
+
var name = util.getArg(aArgs, 'name', null);
|
108
|
+
|
109
|
+
if (!this._skipValidation) {
|
110
|
+
this._validateMapping(generated, original, source, name);
|
111
|
+
}
|
112
|
+
|
113
|
+
if (source != null) {
|
114
|
+
source = String(source);
|
115
|
+
if (!this._sources.has(source)) {
|
116
|
+
this._sources.add(source);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
if (name != null) {
|
121
|
+
name = String(name);
|
122
|
+
if (!this._names.has(name)) {
|
123
|
+
this._names.add(name);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
this._mappings.add({
|
128
|
+
generatedLine: generated.line,
|
129
|
+
generatedColumn: generated.column,
|
130
|
+
originalLine: original != null && original.line,
|
131
|
+
originalColumn: original != null && original.column,
|
132
|
+
source: source,
|
133
|
+
name: name
|
134
|
+
});
|
135
|
+
};
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Set the source content for a source file.
|
139
|
+
*/
|
140
|
+
SourceMapGenerator.prototype.setSourceContent =
|
141
|
+
function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
|
142
|
+
var source = aSourceFile;
|
143
|
+
if (this._sourceRoot != null) {
|
144
|
+
source = util.relative(this._sourceRoot, source);
|
145
|
+
}
|
146
|
+
|
147
|
+
if (aSourceContent != null) {
|
148
|
+
// Add the source content to the _sourcesContents map.
|
149
|
+
// Create a new _sourcesContents map if the property is null.
|
150
|
+
if (!this._sourcesContents) {
|
151
|
+
this._sourcesContents = Object.create(null);
|
152
|
+
}
|
153
|
+
this._sourcesContents[util.toSetString(source)] = aSourceContent;
|
154
|
+
} else if (this._sourcesContents) {
|
155
|
+
// Remove the source file from the _sourcesContents map.
|
156
|
+
// If the _sourcesContents map is empty, set the property to null.
|
157
|
+
delete this._sourcesContents[util.toSetString(source)];
|
158
|
+
if (Object.keys(this._sourcesContents).length === 0) {
|
159
|
+
this._sourcesContents = null;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
};
|
163
|
+
|
164
|
+
/**
|
165
|
+
* Applies the mappings of a sub-source-map for a specific source file to the
|
166
|
+
* source map being generated. Each mapping to the supplied source file is
|
167
|
+
* rewritten using the supplied source map. Note: The resolution for the
|
168
|
+
* resulting mappings is the minimium of this map and the supplied map.
|
169
|
+
*
|
170
|
+
* @param aSourceMapConsumer The source map to be applied.
|
171
|
+
* @param aSourceFile Optional. The filename of the source file.
|
172
|
+
* If omitted, SourceMapConsumer's file property will be used.
|
173
|
+
* @param aSourceMapPath Optional. The dirname of the path to the source map
|
174
|
+
* to be applied. If relative, it is relative to the SourceMapConsumer.
|
175
|
+
* This parameter is needed when the two source maps aren't in the same
|
176
|
+
* directory, and the source map to be applied contains relative source
|
177
|
+
* paths. If so, those relative source paths need to be rewritten
|
178
|
+
* relative to the SourceMapGenerator.
|
179
|
+
*/
|
180
|
+
SourceMapGenerator.prototype.applySourceMap =
|
181
|
+
function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
|
182
|
+
var sourceFile = aSourceFile;
|
183
|
+
// If aSourceFile is omitted, we will use the file property of the SourceMap
|
184
|
+
if (aSourceFile == null) {
|
185
|
+
if (aSourceMapConsumer.file == null) {
|
186
|
+
throw new Error(
|
187
|
+
'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +
|
188
|
+
'or the source map\'s "file" property. Both were omitted.'
|
189
|
+
);
|
190
|
+
}
|
191
|
+
sourceFile = aSourceMapConsumer.file;
|
192
|
+
}
|
193
|
+
var sourceRoot = this._sourceRoot;
|
194
|
+
// Make "sourceFile" relative if an absolute Url is passed.
|
195
|
+
if (sourceRoot != null) {
|
196
|
+
sourceFile = util.relative(sourceRoot, sourceFile);
|
197
|
+
}
|
198
|
+
// Applying the SourceMap can add and remove items from the sources and
|
199
|
+
// the names array.
|
200
|
+
var newSources = new ArraySet();
|
201
|
+
var newNames = new ArraySet();
|
202
|
+
|
203
|
+
// Find mappings for the "sourceFile"
|
204
|
+
this._mappings.unsortedForEach(function (mapping) {
|
205
|
+
if (mapping.source === sourceFile && mapping.originalLine != null) {
|
206
|
+
// Check if it can be mapped by the source map, then update the mapping.
|
207
|
+
var original = aSourceMapConsumer.originalPositionFor({
|
208
|
+
line: mapping.originalLine,
|
209
|
+
column: mapping.originalColumn
|
210
|
+
});
|
211
|
+
if (original.source != null) {
|
212
|
+
// Copy mapping
|
213
|
+
mapping.source = original.source;
|
214
|
+
if (aSourceMapPath != null) {
|
215
|
+
mapping.source = util.join(aSourceMapPath, mapping.source)
|
216
|
+
}
|
217
|
+
if (sourceRoot != null) {
|
218
|
+
mapping.source = util.relative(sourceRoot, mapping.source);
|
219
|
+
}
|
220
|
+
mapping.originalLine = original.line;
|
221
|
+
mapping.originalColumn = original.column;
|
222
|
+
if (original.name != null) {
|
223
|
+
mapping.name = original.name;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
var source = mapping.source;
|
229
|
+
if (source != null && !newSources.has(source)) {
|
230
|
+
newSources.add(source);
|
231
|
+
}
|
232
|
+
|
233
|
+
var name = mapping.name;
|
234
|
+
if (name != null && !newNames.has(name)) {
|
235
|
+
newNames.add(name);
|
236
|
+
}
|
237
|
+
|
238
|
+
}, this);
|
239
|
+
this._sources = newSources;
|
240
|
+
this._names = newNames;
|
241
|
+
|
242
|
+
// Copy sourcesContents of applied map.
|
243
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
244
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
245
|
+
if (content != null) {
|
246
|
+
if (aSourceMapPath != null) {
|
247
|
+
sourceFile = util.join(aSourceMapPath, sourceFile);
|
248
|
+
}
|
249
|
+
if (sourceRoot != null) {
|
250
|
+
sourceFile = util.relative(sourceRoot, sourceFile);
|
251
|
+
}
|
252
|
+
this.setSourceContent(sourceFile, content);
|
253
|
+
}
|
254
|
+
}, this);
|
255
|
+
};
|
256
|
+
|
257
|
+
/**
|
258
|
+
* A mapping can have one of the three levels of data:
|
259
|
+
*
|
260
|
+
* 1. Just the generated position.
|
261
|
+
* 2. The Generated position, original position, and original source.
|
262
|
+
* 3. Generated and original position, original source, as well as a name
|
263
|
+
* token.
|
264
|
+
*
|
265
|
+
* To maintain consistency, we validate that any new mapping being added falls
|
266
|
+
* in to one of these categories.
|
267
|
+
*/
|
268
|
+
SourceMapGenerator.prototype._validateMapping =
|
269
|
+
function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,
|
270
|
+
aName) {
|
271
|
+
// When aOriginal is truthy but has empty values for .line and .column,
|
272
|
+
// it is most likely a programmer error. In this case we throw a very
|
273
|
+
// specific error message to try to guide them the right way.
|
274
|
+
// For example: https://github.com/Polymer/polymer-bundler/pull/519
|
275
|
+
if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {
|
276
|
+
throw new Error(
|
277
|
+
'original.line and original.column are not numbers -- you probably meant to omit ' +
|
278
|
+
'the original mapping entirely and only map the generated position. If so, pass ' +
|
279
|
+
'null for the original mapping instead of an object with empty or null values.'
|
280
|
+
);
|
281
|
+
}
|
282
|
+
|
283
|
+
if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
|
284
|
+
&& aGenerated.line > 0 && aGenerated.column >= 0
|
285
|
+
&& !aOriginal && !aSource && !aName) {
|
286
|
+
// Case 1.
|
287
|
+
return;
|
288
|
+
}
|
289
|
+
else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
|
290
|
+
&& aOriginal && 'line' in aOriginal && 'column' in aOriginal
|
291
|
+
&& aGenerated.line > 0 && aGenerated.column >= 0
|
292
|
+
&& aOriginal.line > 0 && aOriginal.column >= 0
|
293
|
+
&& aSource) {
|
294
|
+
// Cases 2 and 3.
|
295
|
+
return;
|
296
|
+
}
|
297
|
+
else {
|
298
|
+
throw new Error('Invalid mapping: ' + JSON.stringify({
|
299
|
+
generated: aGenerated,
|
300
|
+
source: aSource,
|
301
|
+
original: aOriginal,
|
302
|
+
name: aName
|
303
|
+
}));
|
304
|
+
}
|
305
|
+
};
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Serialize the accumulated mappings in to the stream of base 64 VLQs
|
309
|
+
* specified by the source map format.
|
310
|
+
*/
|
311
|
+
SourceMapGenerator.prototype._serializeMappings =
|
312
|
+
function SourceMapGenerator_serializeMappings() {
|
313
|
+
var previousGeneratedColumn = 0;
|
314
|
+
var previousGeneratedLine = 1;
|
315
|
+
var previousOriginalColumn = 0;
|
316
|
+
var previousOriginalLine = 0;
|
317
|
+
var previousName = 0;
|
318
|
+
var previousSource = 0;
|
319
|
+
var result = '';
|
320
|
+
var next;
|
321
|
+
var mapping;
|
322
|
+
var nameIdx;
|
323
|
+
var sourceIdx;
|
324
|
+
|
325
|
+
var mappings = this._mappings.toArray();
|
326
|
+
for (var i = 0, len = mappings.length; i < len; i++) {
|
327
|
+
mapping = mappings[i];
|
328
|
+
next = ''
|
329
|
+
|
330
|
+
if (mapping.generatedLine !== previousGeneratedLine) {
|
331
|
+
previousGeneratedColumn = 0;
|
332
|
+
while (mapping.generatedLine !== previousGeneratedLine) {
|
333
|
+
next += ';';
|
334
|
+
previousGeneratedLine++;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
else {
|
338
|
+
if (i > 0) {
|
339
|
+
if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
|
340
|
+
continue;
|
341
|
+
}
|
342
|
+
next += ',';
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
next += base64VLQ.encode(mapping.generatedColumn
|
347
|
+
- previousGeneratedColumn);
|
348
|
+
previousGeneratedColumn = mapping.generatedColumn;
|
349
|
+
|
350
|
+
if (mapping.source != null) {
|
351
|
+
sourceIdx = this._sources.indexOf(mapping.source);
|
352
|
+
next += base64VLQ.encode(sourceIdx - previousSource);
|
353
|
+
previousSource = sourceIdx;
|
354
|
+
|
355
|
+
// lines are stored 0-based in SourceMap spec version 3
|
356
|
+
next += base64VLQ.encode(mapping.originalLine - 1
|
357
|
+
- previousOriginalLine);
|
358
|
+
previousOriginalLine = mapping.originalLine - 1;
|
359
|
+
|
360
|
+
next += base64VLQ.encode(mapping.originalColumn
|
361
|
+
- previousOriginalColumn);
|
362
|
+
previousOriginalColumn = mapping.originalColumn;
|
363
|
+
|
364
|
+
if (mapping.name != null) {
|
365
|
+
nameIdx = this._names.indexOf(mapping.name);
|
366
|
+
next += base64VLQ.encode(nameIdx - previousName);
|
367
|
+
previousName = nameIdx;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
result += next;
|
372
|
+
}
|
373
|
+
|
374
|
+
return result;
|
375
|
+
};
|
376
|
+
|
377
|
+
SourceMapGenerator.prototype._generateSourcesContent =
|
378
|
+
function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
|
379
|
+
return aSources.map(function (source) {
|
380
|
+
if (!this._sourcesContents) {
|
381
|
+
return null;
|
382
|
+
}
|
383
|
+
if (aSourceRoot != null) {
|
384
|
+
source = util.relative(aSourceRoot, source);
|
385
|
+
}
|
386
|
+
var key = util.toSetString(source);
|
387
|
+
return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)
|
388
|
+
? this._sourcesContents[key]
|
389
|
+
: null;
|
390
|
+
}, this);
|
391
|
+
};
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Externalize the source map.
|
395
|
+
*/
|
396
|
+
SourceMapGenerator.prototype.toJSON =
|
397
|
+
function SourceMapGenerator_toJSON() {
|
398
|
+
var map = {
|
399
|
+
version: this._version,
|
400
|
+
sources: this._sources.toArray(),
|
401
|
+
names: this._names.toArray(),
|
402
|
+
mappings: this._serializeMappings()
|
403
|
+
};
|
404
|
+
if (this._file != null) {
|
405
|
+
map.file = this._file;
|
406
|
+
}
|
407
|
+
if (this._sourceRoot != null) {
|
408
|
+
map.sourceRoot = this._sourceRoot;
|
409
|
+
}
|
410
|
+
if (this._sourcesContents) {
|
411
|
+
map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
|
412
|
+
}
|
413
|
+
|
414
|
+
return map;
|
415
|
+
};
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Render the source map being generated to a string.
|
419
|
+
*/
|
420
|
+
SourceMapGenerator.prototype.toString =
|
421
|
+
function SourceMapGenerator_toString() {
|
422
|
+
return JSON.stringify(this.toJSON());
|
423
|
+
};
|
424
|
+
|
425
|
+
exports.SourceMapGenerator = SourceMapGenerator;
|
@@ -0,0 +1,413 @@
|
|
1
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
+
/*
|
3
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
+
* Licensed under the New BSD license. See LICENSE or:
|
5
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
+
*/
|
7
|
+
|
8
|
+
var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;
|
9
|
+
var util = require('./util');
|
10
|
+
|
11
|
+
// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
|
12
|
+
// operating systems these days (capturing the result).
|
13
|
+
var REGEX_NEWLINE = /(\r?\n)/;
|
14
|
+
|
15
|
+
// Newline character code for charCodeAt() comparisons
|
16
|
+
var NEWLINE_CODE = 10;
|
17
|
+
|
18
|
+
// Private symbol for identifying `SourceNode`s when multiple versions of
|
19
|
+
// the source-map library are loaded. This MUST NOT CHANGE across
|
20
|
+
// versions!
|
21
|
+
var isSourceNode = "$$$isSourceNode$$$";
|
22
|
+
|
23
|
+
/**
|
24
|
+
* SourceNodes provide a way to abstract over interpolating/concatenating
|
25
|
+
* snippets of generated JavaScript source code while maintaining the line and
|
26
|
+
* column information associated with the original source code.
|
27
|
+
*
|
28
|
+
* @param aLine The original line number.
|
29
|
+
* @param aColumn The original column number.
|
30
|
+
* @param aSource The original source's filename.
|
31
|
+
* @param aChunks Optional. An array of strings which are snippets of
|
32
|
+
* generated JS, or other SourceNodes.
|
33
|
+
* @param aName The original identifier.
|
34
|
+
*/
|
35
|
+
function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
|
36
|
+
this.children = [];
|
37
|
+
this.sourceContents = {};
|
38
|
+
this.line = aLine == null ? null : aLine;
|
39
|
+
this.column = aColumn == null ? null : aColumn;
|
40
|
+
this.source = aSource == null ? null : aSource;
|
41
|
+
this.name = aName == null ? null : aName;
|
42
|
+
this[isSourceNode] = true;
|
43
|
+
if (aChunks != null) this.add(aChunks);
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Creates a SourceNode from generated code and a SourceMapConsumer.
|
48
|
+
*
|
49
|
+
* @param aGeneratedCode The generated code
|
50
|
+
* @param aSourceMapConsumer The SourceMap for the generated code
|
51
|
+
* @param aRelativePath Optional. The path that relative sources in the
|
52
|
+
* SourceMapConsumer should be relative to.
|
53
|
+
*/
|
54
|
+
SourceNode.fromStringWithSourceMap =
|
55
|
+
function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
|
56
|
+
// The SourceNode we want to fill with the generated code
|
57
|
+
// and the SourceMap
|
58
|
+
var node = new SourceNode();
|
59
|
+
|
60
|
+
// All even indices of this array are one line of the generated code,
|
61
|
+
// while all odd indices are the newlines between two adjacent lines
|
62
|
+
// (since `REGEX_NEWLINE` captures its match).
|
63
|
+
// Processed fragments are accessed by calling `shiftNextLine`.
|
64
|
+
var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
|
65
|
+
var remainingLinesIndex = 0;
|
66
|
+
var shiftNextLine = function() {
|
67
|
+
var lineContents = getNextLine();
|
68
|
+
// The last line of a file might not have a newline.
|
69
|
+
var newLine = getNextLine() || "";
|
70
|
+
return lineContents + newLine;
|
71
|
+
|
72
|
+
function getNextLine() {
|
73
|
+
return remainingLinesIndex < remainingLines.length ?
|
74
|
+
remainingLines[remainingLinesIndex++] : undefined;
|
75
|
+
}
|
76
|
+
};
|
77
|
+
|
78
|
+
// We need to remember the position of "remainingLines"
|
79
|
+
var lastGeneratedLine = 1, lastGeneratedColumn = 0;
|
80
|
+
|
81
|
+
// The generate SourceNodes we need a code range.
|
82
|
+
// To extract it current and last mapping is used.
|
83
|
+
// Here we store the last mapping.
|
84
|
+
var lastMapping = null;
|
85
|
+
|
86
|
+
aSourceMapConsumer.eachMapping(function (mapping) {
|
87
|
+
if (lastMapping !== null) {
|
88
|
+
// We add the code from "lastMapping" to "mapping":
|
89
|
+
// First check if there is a new line in between.
|
90
|
+
if (lastGeneratedLine < mapping.generatedLine) {
|
91
|
+
// Associate first line with "lastMapping"
|
92
|
+
addMappingWithCode(lastMapping, shiftNextLine());
|
93
|
+
lastGeneratedLine++;
|
94
|
+
lastGeneratedColumn = 0;
|
95
|
+
// The remaining code is added without mapping
|
96
|
+
} else {
|
97
|
+
// There is no new line in between.
|
98
|
+
// Associate the code between "lastGeneratedColumn" and
|
99
|
+
// "mapping.generatedColumn" with "lastMapping"
|
100
|
+
var nextLine = remainingLines[remainingLinesIndex] || '';
|
101
|
+
var code = nextLine.substr(0, mapping.generatedColumn -
|
102
|
+
lastGeneratedColumn);
|
103
|
+
remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -
|
104
|
+
lastGeneratedColumn);
|
105
|
+
lastGeneratedColumn = mapping.generatedColumn;
|
106
|
+
addMappingWithCode(lastMapping, code);
|
107
|
+
// No more remaining code, continue
|
108
|
+
lastMapping = mapping;
|
109
|
+
return;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
// We add the generated code until the first mapping
|
113
|
+
// to the SourceNode without any mapping.
|
114
|
+
// Each line is added as separate string.
|
115
|
+
while (lastGeneratedLine < mapping.generatedLine) {
|
116
|
+
node.add(shiftNextLine());
|
117
|
+
lastGeneratedLine++;
|
118
|
+
}
|
119
|
+
if (lastGeneratedColumn < mapping.generatedColumn) {
|
120
|
+
var nextLine = remainingLines[remainingLinesIndex] || '';
|
121
|
+
node.add(nextLine.substr(0, mapping.generatedColumn));
|
122
|
+
remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
|
123
|
+
lastGeneratedColumn = mapping.generatedColumn;
|
124
|
+
}
|
125
|
+
lastMapping = mapping;
|
126
|
+
}, this);
|
127
|
+
// We have processed all mappings.
|
128
|
+
if (remainingLinesIndex < remainingLines.length) {
|
129
|
+
if (lastMapping) {
|
130
|
+
// Associate the remaining code in the current line with "lastMapping"
|
131
|
+
addMappingWithCode(lastMapping, shiftNextLine());
|
132
|
+
}
|
133
|
+
// and add the remaining lines without any mapping
|
134
|
+
node.add(remainingLines.splice(remainingLinesIndex).join(""));
|
135
|
+
}
|
136
|
+
|
137
|
+
// Copy sourcesContent into SourceNode
|
138
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
139
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
140
|
+
if (content != null) {
|
141
|
+
if (aRelativePath != null) {
|
142
|
+
sourceFile = util.join(aRelativePath, sourceFile);
|
143
|
+
}
|
144
|
+
node.setSourceContent(sourceFile, content);
|
145
|
+
}
|
146
|
+
});
|
147
|
+
|
148
|
+
return node;
|
149
|
+
|
150
|
+
function addMappingWithCode(mapping, code) {
|
151
|
+
if (mapping === null || mapping.source === undefined) {
|
152
|
+
node.add(code);
|
153
|
+
} else {
|
154
|
+
var source = aRelativePath
|
155
|
+
? util.join(aRelativePath, mapping.source)
|
156
|
+
: mapping.source;
|
157
|
+
node.add(new SourceNode(mapping.originalLine,
|
158
|
+
mapping.originalColumn,
|
159
|
+
source,
|
160
|
+
code,
|
161
|
+
mapping.name));
|
162
|
+
}
|
163
|
+
}
|
164
|
+
};
|
165
|
+
|
166
|
+
/**
|
167
|
+
* Add a chunk of generated JS to this source node.
|
168
|
+
*
|
169
|
+
* @param aChunk A string snippet of generated JS code, another instance of
|
170
|
+
* SourceNode, or an array where each member is one of those things.
|
171
|
+
*/
|
172
|
+
SourceNode.prototype.add = function SourceNode_add(aChunk) {
|
173
|
+
if (Array.isArray(aChunk)) {
|
174
|
+
aChunk.forEach(function (chunk) {
|
175
|
+
this.add(chunk);
|
176
|
+
}, this);
|
177
|
+
}
|
178
|
+
else if (aChunk[isSourceNode] || typeof aChunk === "string") {
|
179
|
+
if (aChunk) {
|
180
|
+
this.children.push(aChunk);
|
181
|
+
}
|
182
|
+
}
|
183
|
+
else {
|
184
|
+
throw new TypeError(
|
185
|
+
"Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
|
186
|
+
);
|
187
|
+
}
|
188
|
+
return this;
|
189
|
+
};
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Add a chunk of generated JS to the beginning of this source node.
|
193
|
+
*
|
194
|
+
* @param aChunk A string snippet of generated JS code, another instance of
|
195
|
+
* SourceNode, or an array where each member is one of those things.
|
196
|
+
*/
|
197
|
+
SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {
|
198
|
+
if (Array.isArray(aChunk)) {
|
199
|
+
for (var i = aChunk.length-1; i >= 0; i--) {
|
200
|
+
this.prepend(aChunk[i]);
|
201
|
+
}
|
202
|
+
}
|
203
|
+
else if (aChunk[isSourceNode] || typeof aChunk === "string") {
|
204
|
+
this.children.unshift(aChunk);
|
205
|
+
}
|
206
|
+
else {
|
207
|
+
throw new TypeError(
|
208
|
+
"Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
|
209
|
+
);
|
210
|
+
}
|
211
|
+
return this;
|
212
|
+
};
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Walk over the tree of JS snippets in this node and its children. The
|
216
|
+
* walking function is called once for each snippet of JS and is passed that
|
217
|
+
* snippet and the its original associated source's line/column location.
|
218
|
+
*
|
219
|
+
* @param aFn The traversal function.
|
220
|
+
*/
|
221
|
+
SourceNode.prototype.walk = function SourceNode_walk(aFn) {
|
222
|
+
var chunk;
|
223
|
+
for (var i = 0, len = this.children.length; i < len; i++) {
|
224
|
+
chunk = this.children[i];
|
225
|
+
if (chunk[isSourceNode]) {
|
226
|
+
chunk.walk(aFn);
|
227
|
+
}
|
228
|
+
else {
|
229
|
+
if (chunk !== '') {
|
230
|
+
aFn(chunk, { source: this.source,
|
231
|
+
line: this.line,
|
232
|
+
column: this.column,
|
233
|
+
name: this.name });
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
};
|
238
|
+
|
239
|
+
/**
|
240
|
+
* Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
|
241
|
+
* each of `this.children`.
|
242
|
+
*
|
243
|
+
* @param aSep The separator.
|
244
|
+
*/
|
245
|
+
SourceNode.prototype.join = function SourceNode_join(aSep) {
|
246
|
+
var newChildren;
|
247
|
+
var i;
|
248
|
+
var len = this.children.length;
|
249
|
+
if (len > 0) {
|
250
|
+
newChildren = [];
|
251
|
+
for (i = 0; i < len-1; i++) {
|
252
|
+
newChildren.push(this.children[i]);
|
253
|
+
newChildren.push(aSep);
|
254
|
+
}
|
255
|
+
newChildren.push(this.children[i]);
|
256
|
+
this.children = newChildren;
|
257
|
+
}
|
258
|
+
return this;
|
259
|
+
};
|
260
|
+
|
261
|
+
/**
|
262
|
+
* Call String.prototype.replace on the very right-most source snippet. Useful
|
263
|
+
* for trimming whitespace from the end of a source node, etc.
|
264
|
+
*
|
265
|
+
* @param aPattern The pattern to replace.
|
266
|
+
* @param aReplacement The thing to replace the pattern with.
|
267
|
+
*/
|
268
|
+
SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {
|
269
|
+
var lastChild = this.children[this.children.length - 1];
|
270
|
+
if (lastChild[isSourceNode]) {
|
271
|
+
lastChild.replaceRight(aPattern, aReplacement);
|
272
|
+
}
|
273
|
+
else if (typeof lastChild === 'string') {
|
274
|
+
this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
|
275
|
+
}
|
276
|
+
else {
|
277
|
+
this.children.push(''.replace(aPattern, aReplacement));
|
278
|
+
}
|
279
|
+
return this;
|
280
|
+
};
|
281
|
+
|
282
|
+
/**
|
283
|
+
* Set the source content for a source file. This will be added to the SourceMapGenerator
|
284
|
+
* in the sourcesContent field.
|
285
|
+
*
|
286
|
+
* @param aSourceFile The filename of the source file
|
287
|
+
* @param aSourceContent The content of the source file
|
288
|
+
*/
|
289
|
+
SourceNode.prototype.setSourceContent =
|
290
|
+
function SourceNode_setSourceContent(aSourceFile, aSourceContent) {
|
291
|
+
this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;
|
292
|
+
};
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Walk over the tree of SourceNodes. The walking function is called for each
|
296
|
+
* source file content and is passed the filename and source content.
|
297
|
+
*
|
298
|
+
* @param aFn The traversal function.
|
299
|
+
*/
|
300
|
+
SourceNode.prototype.walkSourceContents =
|
301
|
+
function SourceNode_walkSourceContents(aFn) {
|
302
|
+
for (var i = 0, len = this.children.length; i < len; i++) {
|
303
|
+
if (this.children[i][isSourceNode]) {
|
304
|
+
this.children[i].walkSourceContents(aFn);
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
var sources = Object.keys(this.sourceContents);
|
309
|
+
for (var i = 0, len = sources.length; i < len; i++) {
|
310
|
+
aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);
|
311
|
+
}
|
312
|
+
};
|
313
|
+
|
314
|
+
/**
|
315
|
+
* Return the string representation of this source node. Walks over the tree
|
316
|
+
* and concatenates all the various snippets together to one string.
|
317
|
+
*/
|
318
|
+
SourceNode.prototype.toString = function SourceNode_toString() {
|
319
|
+
var str = "";
|
320
|
+
this.walk(function (chunk) {
|
321
|
+
str += chunk;
|
322
|
+
});
|
323
|
+
return str;
|
324
|
+
};
|
325
|
+
|
326
|
+
/**
|
327
|
+
* Returns the string representation of this source node along with a source
|
328
|
+
* map.
|
329
|
+
*/
|
330
|
+
SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
|
331
|
+
var generated = {
|
332
|
+
code: "",
|
333
|
+
line: 1,
|
334
|
+
column: 0
|
335
|
+
};
|
336
|
+
var map = new SourceMapGenerator(aArgs);
|
337
|
+
var sourceMappingActive = false;
|
338
|
+
var lastOriginalSource = null;
|
339
|
+
var lastOriginalLine = null;
|
340
|
+
var lastOriginalColumn = null;
|
341
|
+
var lastOriginalName = null;
|
342
|
+
this.walk(function (chunk, original) {
|
343
|
+
generated.code += chunk;
|
344
|
+
if (original.source !== null
|
345
|
+
&& original.line !== null
|
346
|
+
&& original.column !== null) {
|
347
|
+
if(lastOriginalSource !== original.source
|
348
|
+
|| lastOriginalLine !== original.line
|
349
|
+
|| lastOriginalColumn !== original.column
|
350
|
+
|| lastOriginalName !== original.name) {
|
351
|
+
map.addMapping({
|
352
|
+
source: original.source,
|
353
|
+
original: {
|
354
|
+
line: original.line,
|
355
|
+
column: original.column
|
356
|
+
},
|
357
|
+
generated: {
|
358
|
+
line: generated.line,
|
359
|
+
column: generated.column
|
360
|
+
},
|
361
|
+
name: original.name
|
362
|
+
});
|
363
|
+
}
|
364
|
+
lastOriginalSource = original.source;
|
365
|
+
lastOriginalLine = original.line;
|
366
|
+
lastOriginalColumn = original.column;
|
367
|
+
lastOriginalName = original.name;
|
368
|
+
sourceMappingActive = true;
|
369
|
+
} else if (sourceMappingActive) {
|
370
|
+
map.addMapping({
|
371
|
+
generated: {
|
372
|
+
line: generated.line,
|
373
|
+
column: generated.column
|
374
|
+
}
|
375
|
+
});
|
376
|
+
lastOriginalSource = null;
|
377
|
+
sourceMappingActive = false;
|
378
|
+
}
|
379
|
+
for (var idx = 0, length = chunk.length; idx < length; idx++) {
|
380
|
+
if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
|
381
|
+
generated.line++;
|
382
|
+
generated.column = 0;
|
383
|
+
// Mappings end at eol
|
384
|
+
if (idx + 1 === length) {
|
385
|
+
lastOriginalSource = null;
|
386
|
+
sourceMappingActive = false;
|
387
|
+
} else if (sourceMappingActive) {
|
388
|
+
map.addMapping({
|
389
|
+
source: original.source,
|
390
|
+
original: {
|
391
|
+
line: original.line,
|
392
|
+
column: original.column
|
393
|
+
},
|
394
|
+
generated: {
|
395
|
+
line: generated.line,
|
396
|
+
column: generated.column
|
397
|
+
},
|
398
|
+
name: original.name
|
399
|
+
});
|
400
|
+
}
|
401
|
+
} else {
|
402
|
+
generated.column++;
|
403
|
+
}
|
404
|
+
}
|
405
|
+
});
|
406
|
+
this.walkSourceContents(function (sourceFile, sourceContent) {
|
407
|
+
map.setSourceContent(sourceFile, sourceContent);
|
408
|
+
});
|
409
|
+
|
410
|
+
return { code: generated.code, map: map };
|
411
|
+
};
|
412
|
+
|
413
|
+
exports.SourceNode = SourceNode;
|