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 @@
|
|
1
|
+
{"version":3,"file":"sourcemap-codec.es.js","sources":["../src/sourcemap-codec.ts"],"sourcesContent":["export type SourceMapSegment =\n\t| [number]\n\t| [number, number, number, number]\n\t| [number, number, number, number, number];\nexport type SourceMapLine = SourceMapSegment[];\nexport type SourceMapMappings = SourceMapLine[];\n\nconst charToInteger: { [charCode: number]: number } = {};\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfor (let i = 0; i < chars.length; i++) {\n\tcharToInteger[chars.charCodeAt(i)] = i;\n}\n\nexport function decode(mappings: string): SourceMapMappings {\n\tconst decoded: SourceMapMappings = [];\n\tlet line: SourceMapLine = [];\n\tconst segment: SourceMapSegment = [\n\t\t0, // generated code column\n\t\t0, // source file index\n\t\t0, // source code line\n\t\t0, // source code column\n\t\t0, // name index\n\t];\n\n\tlet j = 0;\n\tfor (let i = 0, shift = 0, value = 0; i < mappings.length; i++) {\n\t\tconst c = mappings.charCodeAt(i);\n\n\t\tif (c === 44) { // \",\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\n\t\t} else if (c === 59) { // \";\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\t\t\tdecoded.push(line);\n\t\t\tline = [];\n\t\t\tsegment[0] = 0;\n\n\t\t} else {\n\t\t\tlet integer = charToInteger[c];\n\t\t\tif (integer === undefined) {\n\t\t\t\tthrow new Error('Invalid character (' + String.fromCharCode(c) + ')');\n\t\t\t}\n\n\t\t\tconst hasContinuationBit = integer & 32;\n\n\t\t\tinteger &= 31;\n\t\t\tvalue += integer << shift;\n\n\t\t\tif (hasContinuationBit) {\n\t\t\t\tshift += 5;\n\t\t\t} else {\n\t\t\t\tconst shouldNegate = value & 1;\n\t\t\t\tvalue >>>= 1;\n\n\t\t\t\tif (shouldNegate) {\n\t\t\t\t\tvalue = value === 0 ? -0x80000000 : -value;\n\t\t\t\t}\n\n\t\t\t\tsegment[j] += value;\n\t\t\t\tj++;\n\t\t\t\tvalue = shift = 0; // reset\n\t\t\t}\n\t\t}\n\t}\n\n\tsegmentify(line, segment, j);\n\tdecoded.push(line);\n\n\treturn decoded;\n}\n\nfunction segmentify(line: SourceMapSegment[], segment: SourceMapSegment, j: number) {\n\t// This looks ugly, but we're creating specialized arrays with a specific\n\t// length. This is much faster than creating a new array (which v8 expands to\n\t// a capacity of 17 after pushing the first item), or slicing out a subarray\n\t// (which is slow). Length 4 is assumed to be the most frequent, followed by\n\t// length 5 (since not everything will have an associated name), followed by\n\t// length 1 (it's probably rare for a source substring to not have an\n\t// associated segment data).\n\tif (j === 4) line.push([segment[0], segment[1], segment[2], segment[3]]);\n\telse if (j === 5) line.push([segment[0], segment[1], segment[2], segment[3], segment[4]]);\n\telse if (j === 1) line.push([segment[0]]);\n}\n\nexport function encode(decoded: SourceMapMappings): string {\n\tlet sourceFileIndex = 0; // second field\n\tlet sourceCodeLine = 0; // third field\n\tlet sourceCodeColumn = 0; // fourth field\n\tlet nameIndex = 0; // fifth field\n\tlet mappings = '';\n\n\tfor (let i = 0; i < decoded.length; i++) {\n\t\tconst line = decoded[i];\n\t\tif (i > 0) mappings += ';';\n\t\tif (line.length === 0) continue;\n\n\t\tlet generatedCodeColumn = 0; // first field\n\n\t\tconst lineMappings: string[] = [];\n\n\t\tfor (const segment of line) {\n\t\t\tlet segmentMappings = encodeInteger(segment[0] - generatedCodeColumn);\n\t\t\tgeneratedCodeColumn = segment[0];\n\n\t\t\tif (segment.length > 1) {\n\t\t\t\tsegmentMappings +=\n\t\t\t\t\tencodeInteger(segment[1] - sourceFileIndex) +\n\t\t\t\t\tencodeInteger(segment[2] - sourceCodeLine) +\n\t\t\t\t\tencodeInteger(segment[3] - sourceCodeColumn);\n\n\t\t\t\tsourceFileIndex = segment[1];\n\t\t\t\tsourceCodeLine = segment[2];\n\t\t\t\tsourceCodeColumn = segment[3];\n\t\t\t}\n\n\t\t\tif (segment.length === 5) {\n\t\t\t\tsegmentMappings += encodeInteger(segment[4] - nameIndex);\n\t\t\t\tnameIndex = segment[4];\n\t\t\t}\n\n\t\t\tlineMappings.push(segmentMappings);\n\t\t}\n\n\t\tmappings += lineMappings.join(',');\n\t}\n\n\treturn mappings;\n}\n\nfunction encodeInteger(num: number): string {\n\tvar result = '';\n\tnum = num < 0 ? (-num << 1) | 1 : num << 1;\n\tdo {\n\t\tvar clamped = num & 31;\n\t\tnum >>>= 5;\n\t\tif (num > 0) {\n\t\t\tclamped |= 32;\n\t\t}\n\t\tresult += chars[clamped];\n\t} while (num > 0);\n\n\treturn result;\n}\n"],"names":[],"mappings":"AAOA,IAAM,aAAa,GAAmC,EAAE,CAAC;AACzD,IAAM,KAAK,GAAG,mEAAmE,CAAC;AAElF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;IACtC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACvC;AAED,SAAgB,MAAM,CAAC,QAAgB;IACtC,IAAM,OAAO,GAAsB,EAAE,CAAC;IACtC,IAAI,IAAI,GAAkB,EAAE,CAAC;IAC7B,IAAM,OAAO,GAAqB;QACjC,CAAC;QACD,CAAC;QACD,CAAC;QACD,CAAC;QACD,CAAC;KACD,CAAC;IAEF,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC/D,IAAM,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAEjC,IAAI,CAAC,KAAK,EAAE,EAAE;YACb,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;YAC7B,CAAC,GAAG,CAAC,CAAC;SAEN;aAAM,IAAI,CAAC,KAAK,EAAE,EAAE;YACpB,UAAU,CAAC,I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
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.sourcemapCodec = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
6
|
+
|
7
|
+
var charToInteger = {};
|
8
|
+
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
9
|
+
for (var i = 0; i < chars.length; i++) {
|
10
|
+
charToInteger[chars.charCodeAt(i)] = i;
|
11
|
+
}
|
12
|
+
function decode(mappings) {
|
13
|
+
var decoded = [];
|
14
|
+
var line = [];
|
15
|
+
var segment = [
|
16
|
+
0,
|
17
|
+
0,
|
18
|
+
0,
|
19
|
+
0,
|
20
|
+
0,
|
21
|
+
];
|
22
|
+
var j = 0;
|
23
|
+
for (var i = 0, shift = 0, value = 0; i < mappings.length; i++) {
|
24
|
+
var c = mappings.charCodeAt(i);
|
25
|
+
if (c === 44) { // ","
|
26
|
+
segmentify(line, segment, j);
|
27
|
+
j = 0;
|
28
|
+
}
|
29
|
+
else if (c === 59) { // ";"
|
30
|
+
segmentify(line, segment, j);
|
31
|
+
j = 0;
|
32
|
+
decoded.push(line);
|
33
|
+
line = [];
|
34
|
+
segment[0] = 0;
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
var integer = charToInteger[c];
|
38
|
+
if (integer === undefined) {
|
39
|
+
throw new Error('Invalid character (' + String.fromCharCode(c) + ')');
|
40
|
+
}
|
41
|
+
var hasContinuationBit = integer & 32;
|
42
|
+
integer &= 31;
|
43
|
+
value += integer << shift;
|
44
|
+
if (hasContinuationBit) {
|
45
|
+
shift += 5;
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
var shouldNegate = value & 1;
|
49
|
+
value >>>= 1;
|
50
|
+
if (shouldNegate) {
|
51
|
+
value = value === 0 ? -0x80000000 : -value;
|
52
|
+
}
|
53
|
+
segment[j] += value;
|
54
|
+
j++;
|
55
|
+
value = shift = 0; // reset
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
segmentify(line, segment, j);
|
60
|
+
decoded.push(line);
|
61
|
+
return decoded;
|
62
|
+
}
|
63
|
+
function segmentify(line, segment, j) {
|
64
|
+
// This looks ugly, but we're creating specialized arrays with a specific
|
65
|
+
// length. This is much faster than creating a new array (which v8 expands to
|
66
|
+
// a capacity of 17 after pushing the first item), or slicing out a subarray
|
67
|
+
// (which is slow). Length 4 is assumed to be the most frequent, followed by
|
68
|
+
// length 5 (since not everything will have an associated name), followed by
|
69
|
+
// length 1 (it's probably rare for a source substring to not have an
|
70
|
+
// associated segment data).
|
71
|
+
if (j === 4)
|
72
|
+
line.push([segment[0], segment[1], segment[2], segment[3]]);
|
73
|
+
else if (j === 5)
|
74
|
+
line.push([segment[0], segment[1], segment[2], segment[3], segment[4]]);
|
75
|
+
else if (j === 1)
|
76
|
+
line.push([segment[0]]);
|
77
|
+
}
|
78
|
+
function encode(decoded) {
|
79
|
+
var sourceFileIndex = 0; // second field
|
80
|
+
var sourceCodeLine = 0; // third field
|
81
|
+
var sourceCodeColumn = 0; // fourth field
|
82
|
+
var nameIndex = 0; // fifth field
|
83
|
+
var mappings = '';
|
84
|
+
for (var i = 0; i < decoded.length; i++) {
|
85
|
+
var line = decoded[i];
|
86
|
+
if (i > 0)
|
87
|
+
mappings += ';';
|
88
|
+
if (line.length === 0)
|
89
|
+
continue;
|
90
|
+
var generatedCodeColumn = 0; // first field
|
91
|
+
var lineMappings = [];
|
92
|
+
for (var _i = 0, line_1 = line; _i < line_1.length; _i++) {
|
93
|
+
var segment = line_1[_i];
|
94
|
+
var segmentMappings = encodeInteger(segment[0] - generatedCodeColumn);
|
95
|
+
generatedCodeColumn = segment[0];
|
96
|
+
if (segment.length > 1) {
|
97
|
+
segmentMappings +=
|
98
|
+
encodeInteger(segment[1] - sourceFileIndex) +
|
99
|
+
encodeInteger(segment[2] - sourceCodeLine) +
|
100
|
+
encodeInteger(segment[3] - sourceCodeColumn);
|
101
|
+
sourceFileIndex = segment[1];
|
102
|
+
sourceCodeLine = segment[2];
|
103
|
+
sourceCodeColumn = segment[3];
|
104
|
+
}
|
105
|
+
if (segment.length === 5) {
|
106
|
+
segmentMappings += encodeInteger(segment[4] - nameIndex);
|
107
|
+
nameIndex = segment[4];
|
108
|
+
}
|
109
|
+
lineMappings.push(segmentMappings);
|
110
|
+
}
|
111
|
+
mappings += lineMappings.join(',');
|
112
|
+
}
|
113
|
+
return mappings;
|
114
|
+
}
|
115
|
+
function encodeInteger(num) {
|
116
|
+
var result = '';
|
117
|
+
num = num < 0 ? (-num << 1) | 1 : num << 1;
|
118
|
+
do {
|
119
|
+
var clamped = num & 31;
|
120
|
+
num >>>= 5;
|
121
|
+
if (num > 0) {
|
122
|
+
clamped |= 32;
|
123
|
+
}
|
124
|
+
result += chars[clamped];
|
125
|
+
} while (num > 0);
|
126
|
+
return result;
|
127
|
+
}
|
128
|
+
|
129
|
+
exports.decode = decode;
|
130
|
+
exports.encode = encode;
|
131
|
+
|
132
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
133
|
+
|
134
|
+
}));
|
135
|
+
//# sourceMappingURL=sourcemap-codec.umd.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sourcemap-codec.umd.js","sources":["../src/sourcemap-codec.ts"],"sourcesContent":["export type SourceMapSegment =\n\t| [number]\n\t| [number, number, number, number]\n\t| [number, number, number, number, number];\nexport type SourceMapLine = SourceMapSegment[];\nexport type SourceMapMappings = SourceMapLine[];\n\nconst charToInteger: { [charCode: number]: number } = {};\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfor (let i = 0; i < chars.length; i++) {\n\tcharToInteger[chars.charCodeAt(i)] = i;\n}\n\nexport function decode(mappings: string): SourceMapMappings {\n\tconst decoded: SourceMapMappings = [];\n\tlet line: SourceMapLine = [];\n\tconst segment: SourceMapSegment = [\n\t\t0, // generated code column\n\t\t0, // source file index\n\t\t0, // source code line\n\t\t0, // source code column\n\t\t0, // name index\n\t];\n\n\tlet j = 0;\n\tfor (let i = 0, shift = 0, value = 0; i < mappings.length; i++) {\n\t\tconst c = mappings.charCodeAt(i);\n\n\t\tif (c === 44) { // \",\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\n\t\t} else if (c === 59) { // \";\"\n\t\t\tsegmentify(line, segment, j);\n\t\t\tj = 0;\n\t\t\tdecoded.push(line);\n\t\t\tline = [];\n\t\t\tsegment[0] = 0;\n\n\t\t} else {\n\t\t\tlet integer = charToInteger[c];\n\t\t\tif (integer === undefined) {\n\t\t\t\tthrow new Error('Invalid character (' + String.fromCharCode(c) + ')');\n\t\t\t}\n\n\t\t\tconst hasContinuationBit = integer & 32;\n\n\t\t\tinteger &= 31;\n\t\t\tvalue += integer << shift;\n\n\t\t\tif (hasContinuationBit) {\n\t\t\t\tshift += 5;\n\t\t\t} else {\n\t\t\t\tconst shouldNegate = value & 1;\n\t\t\t\tvalue >>>= 1;\n\n\t\t\t\tif (shouldNegate) {\n\t\t\t\t\tvalue = value === 0 ? -0x80000000 : -value;\n\t\t\t\t}\n\n\t\t\t\tsegment[j] += value;\n\t\t\t\tj++;\n\t\t\t\tvalue = shift = 0; // reset\n\t\t\t}\n\t\t}\n\t}\n\n\tsegmentify(line, segment, j);\n\tdecoded.push(line);\n\n\treturn decoded;\n}\n\nfunction segmentify(line: SourceMapSegment[], segment: SourceMapSegment, j: number) {\n\t// This looks ugly, but we're creating specialized arrays with a specific\n\t// length. This is much faster than creating a new array (which v8 expands to\n\t// a capacity of 17 after pushing the first item), or slicing out a subarray\n\t// (which is slow). Length 4 is assumed to be the most frequent, followed by\n\t// length 5 (since not everything will have an associated name), followed by\n\t// length 1 (it's probably rare for a source substring to not have an\n\t// associated segment data).\n\tif (j === 4) line.push([segment[0], segment[1], segment[2], segment[3]]);\n\telse if (j === 5) line.push([segment[0], segment[1], segment[2], segment[3], segment[4]]);\n\telse if (j === 1) line.push([segment[0]]);\n}\n\nexport function encode(decoded: SourceMapMappings): string {\n\tlet sourceFileIndex = 0; // second field\n\tlet sourceCodeLine = 0; // third field\n\tlet sourceCodeColumn = 0; // fourth field\n\tlet nameIndex = 0; // fifth field\n\tlet mappings = '';\n\n\tfor (let i = 0; i < decoded.length; i++) {\n\t\tconst line = decoded[i];\n\t\tif (i > 0) mappings += ';';\n\t\tif (line.length === 0) continue;\n\n\t\tlet generatedCodeColumn = 0; // first field\n\n\t\tconst lineMappings: string[] = [];\n\n\t\tfor (const segment of line) {\n\t\t\tlet segmentMappings = encodeInteger(segment[0] - generatedCodeColumn);\n\t\t\tgeneratedCodeColumn = segment[0];\n\n\t\t\tif (segment.length > 1) {\n\t\t\t\tsegmentMappings +=\n\t\t\t\t\tencodeInteger(segment[1] - sourceFileIndex) +\n\t\t\t\t\tencodeInteger(segment[2] - sourceCodeLine) +\n\t\t\t\t\tencodeInteger(segment[3] - sourceCodeColumn);\n\n\t\t\t\tsourceFileIndex = segment[1];\n\t\t\t\tsourceCodeLine = segment[2];\n\t\t\t\tsourceCodeColumn = segment[3];\n\t\t\t}\n\n\t\t\tif (segment.length === 5) {\n\t\t\t\tsegmentMappings += encodeInteger(segment[4] - nameIndex);\n\t\t\t\tnameIndex = segment[4];\n\t\t\t}\n\n\t\t\tlineMappings.push(segmentMappings);\n\t\t}\n\n\t\tmappings += lineMappings.join(',');\n\t}\n\n\treturn mappings;\n}\n\nfunction encodeInteger(num: number): string {\n\tvar result = '';\n\tnum = num < 0 ? (-num << 1) | 1 : num << 1;\n\tdo {\n\t\tvar clamped = num & 31;\n\t\tnum >>>= 5;\n\t\tif (num > 0) {\n\t\t\tclamped |= 32;\n\t\t}\n\t\tresult += chars[clamped];\n\t} while (num > 0);\n\n\treturn result;\n}\n"],"names":[],"mappings":";;;;;;CAOA,IAAM,aAAa,GAAmC,EAAE,CAAC;CACzD,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gB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;cAC9B;aAED,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;iBACzB,eAAe,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;iBACzD,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;cACvB;aAED,YAAY,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;UACnC;SAED,QAAQ,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;MACnC;KAED,OAAO,QAAQ,CAAC;CACjB,CAAC;CAED,SAAS,aAAa,CAAC,GAAW;KACjC,IAAI,MAAM,GAAG,EAAE,CAAC;KAChB,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;KAC3C,GAAG;SACF,IAAI,OAAO,GAAG,GAAG,GAAG,EAAE,CAAC;SACvB,GAAG,MAAM,CAAC,CAAC;SACX,IAAI,GAAG,GAAG,CAAC,EAAE;aACZ,OAAO,IAAI,EAAE,CAAC;UACd;SACD,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;MACzB,QAAQ,GAAG,GAAG,CAAC,EAAE;KAElB,OAAO,MAAM,CAAC;CACf,CAAC;;;;;;;;;;;;;"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
|
2
|
+
export declare type SourceMapLine = SourceMapSegment[];
|
3
|
+
export declare type SourceMapMappings = SourceMapLine[];
|
4
|
+
export declare function decode(mappings: string): SourceMapMappings;
|
5
|
+
export declare function encode(decoded: SourceMapMappings): string;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"name": "sourcemap-codec",
|
3
|
+
"version": "1.4.8",
|
4
|
+
"description": "Encode/decode sourcemap mappings",
|
5
|
+
"main": "dist/sourcemap-codec.umd.js",
|
6
|
+
"module": "dist/sourcemap-codec.es.js",
|
7
|
+
"types": "dist/types/sourcemap-codec.d.ts",
|
8
|
+
"scripts": {
|
9
|
+
"test": "mocha",
|
10
|
+
"build": "rm -rf dist && rollup -c && tsc",
|
11
|
+
"pretest": "npm run build",
|
12
|
+
"prepublish": "npm test",
|
13
|
+
"lint": "eslint src",
|
14
|
+
"pretest-coverage": "npm run build",
|
15
|
+
"test-coverage": "rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
|
16
|
+
"posttest-coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist",
|
17
|
+
"ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov"
|
18
|
+
},
|
19
|
+
"repository": {
|
20
|
+
"type": "git",
|
21
|
+
"url": "https://github.com/Rich-Harris/sourcemap-codec"
|
22
|
+
},
|
23
|
+
"keywords": [
|
24
|
+
"sourcemap",
|
25
|
+
"vlq"
|
26
|
+
],
|
27
|
+
"author": "Rich Harris",
|
28
|
+
"license": "MIT",
|
29
|
+
"bugs": {
|
30
|
+
"url": "https://github.com/Rich-Harris/sourcemap-codec/issues"
|
31
|
+
},
|
32
|
+
"homepage": "https://github.com/Rich-Harris/sourcemap-codec",
|
33
|
+
"dependencies": {},
|
34
|
+
"devDependencies": {
|
35
|
+
"codecov.io": "^0.1.6",
|
36
|
+
"console-group": "^0.3.3",
|
37
|
+
"eslint": "^6.0.1",
|
38
|
+
"eslint-plugin-import": "^2.18.0",
|
39
|
+
"istanbul": "^0.4.5",
|
40
|
+
"mocha": "^6.1.4",
|
41
|
+
"remap-istanbul": "^0.13.0",
|
42
|
+
"rollup": "^1.16.4",
|
43
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
44
|
+
"rollup-plugin-typescript": "^1.0.1",
|
45
|
+
"typescript": "^3.5.2"
|
46
|
+
},
|
47
|
+
"files": [
|
48
|
+
"dist/*.js",
|
49
|
+
"dist/*.js.map",
|
50
|
+
"dist/**/*.d.ts",
|
51
|
+
"README.md"
|
52
|
+
]
|
53
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
env:
|
2
|
+
browser: true
|
3
|
+
commonjs: true
|
4
|
+
node: true
|
5
|
+
extends: 'eslint:recommended'
|
6
|
+
globals:
|
7
|
+
afterEach: false
|
8
|
+
define: false
|
9
|
+
describe: false
|
10
|
+
expect: false
|
11
|
+
it: false
|
12
|
+
something_bad: false
|
13
|
+
StackGenerator: false
|
14
|
+
parserOptions:
|
15
|
+
ecmaVersion: 5
|
16
|
+
rules:
|
17
|
+
indent:
|
18
|
+
- error
|
19
|
+
- 4
|
20
|
+
linebreak-style:
|
21
|
+
- error
|
22
|
+
- unix
|
23
|
+
quotes:
|
24
|
+
- error
|
25
|
+
- single
|
26
|
+
semi:
|
27
|
+
- error
|
28
|
+
- always
|
29
|
+
no-console:
|
30
|
+
- error
|
31
|
+
- allow:
|
32
|
+
- error
|
@@ -0,0 +1,18 @@
|
|
1
|
+
## v2.0.0
|
2
|
+
* Upgrade `stackframe` dependency to 1.x. Stackframes are constructed and accessed differently. See the [stackframe CHANGELOG](https://github.com/stacktracejs/stackframe/blob/master/CHANGELOG.md#v10x) for details.
|
3
|
+
|
4
|
+
## v1.0.3
|
5
|
+
* Fix edge case when parsing arguments with Firefox
|
6
|
+
|
7
|
+
## v1.0.2
|
8
|
+
* Name functions such that they can can be filtered out by stacktrace.js
|
9
|
+
|
10
|
+
## v1.0.1
|
11
|
+
* Provide standard distribution (minified and unminified).
|
12
|
+
|
13
|
+
## v1.0.0
|
14
|
+
* Add `getArgs()` and `setArgs(args)` methods
|
15
|
+
|
16
|
+
## v0.1.0
|
17
|
+
* Initial port from stacktrace.js
|
18
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
## Submitting bugs
|
2
|
+
Please include the following information to help us reproduce and fix:
|
3
|
+
|
4
|
+
* What you did
|
5
|
+
* What you expected to happen
|
6
|
+
* What actually happened
|
7
|
+
* Browser and version
|
8
|
+
* Example code that reproduces the problem (if possible)
|
9
|
+
* *(l33t mode)* A failing test
|
10
|
+
|
11
|
+
## Making contributions
|
12
|
+
Want to be listed as a *Contributor*? Make a pull request with:
|
13
|
+
|
14
|
+
* Unit and/or functional tests that validate changes you're making.
|
15
|
+
* Run unit tests in the latest IE, Firefox, Chrome, Safari and Opera and make sure they pass.
|
16
|
+
* Rebase your changes onto origin/HEAD if you can do so cleanly.
|
17
|
+
* If submitting additional functionality, provide an example of how to use it.
|
18
|
+
* Please keep code style consistent with surrounding code.
|
19
|
+
|
20
|
+
## Dev Setup
|
21
|
+
* Make sure you have [NodeJS v0.10](http://nodejs.org/) installed
|
22
|
+
* Run `npm install` from the project directory
|
23
|
+
|
24
|
+
## Testing
|
25
|
+
* (Local) Run `npm test`. Make sure [Karma Local Config](karma.conf.js) has the browsers you want
|
26
|
+
* (Any browser, remotely) Run `make test-ci` to run tests on [Sauce Labs](https://saucelabs.com).
|
27
|
+
Make sure the target browser is enabled in [Karma CI Config](karma.conf.ci.js)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2017 Eric Wendelin and other contributors
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
5
|
+
the Software without restriction, including without limitation the rights to
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
8
|
+
so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
SOFTWARE.
|
@@ -0,0 +1,28 @@
|
|
1
|
+
stack-generator
|
2
|
+
===============
|
3
|
+
[![Build Status](https://travis-ci.org/stacktracejs/stack-generator.svg?branch=master)](https://travis-ci.org/stacktracejs/stack-generator) [![Coverage Status](https://img.shields.io/coveralls/stacktracejs/stack-generator.svg)](https://coveralls.io/r/stacktracejs/stack-generator) [![GitHub license](https://img.shields.io/github/license/stacktracejs/stack-generator.svg)](https://opensource.org/licenses/MIT)
|
4
|
+
|
5
|
+
Generate artificial backtrace by walking arguments.callee.caller chain. **Works everywhere except strict-mode**.
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
```
|
9
|
+
StackGenerator.backtrace()
|
10
|
+
|
11
|
+
=> [StackFrame({functionName: 'foo', args: []}), StackFrame(..), StackFrame(..)]
|
12
|
+
```
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
```
|
16
|
+
npm install stack-generator
|
17
|
+
bower install stack-generator
|
18
|
+
https://raw.githubusercontent.com/stacktracejs/stack-generator/master/dist/stack-generator.min.js
|
19
|
+
```
|
20
|
+
|
21
|
+
## Browser Support
|
22
|
+
[![Sauce Test Status](https://saucelabs.com/browser-matrix/stacktracejs.svg)](https://saucelabs.com/u/stacktracejs)
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
Want to be listed as a *Contributor*? Start with the [Contributing Guide](CONTRIBUTING.md)!
|
26
|
+
|
27
|
+
## License
|
28
|
+
This project is licensed to the [Public Domain](http://unlicense.org)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"name": "stack-generator",
|
3
|
+
"main": "./dist/stack-generator.js",
|
4
|
+
"homepage": "https://github.com/stacktracejs/stack-generator.js",
|
5
|
+
"authors": [
|
6
|
+
"Eric Wendelin <me@eriwen.com> (http://www.eriwen.com)",
|
7
|
+
"Victor Homyakov <vkhomyackov@gmail.com> (https://github.com/victor-homyakov)"
|
8
|
+
],
|
9
|
+
"description": "Generate artificial backtrace by walking arguments.callee.caller chain",
|
10
|
+
"dependencies": {
|
11
|
+
"stackframe": "~1.0.3"
|
12
|
+
},
|
13
|
+
"moduleType": [
|
14
|
+
"amd",
|
15
|
+
"globals",
|
16
|
+
"node"
|
17
|
+
],
|
18
|
+
"keywords": [
|
19
|
+
"stacktrace",
|
20
|
+
"stack-trace",
|
21
|
+
"backtrace",
|
22
|
+
"cross-browser",
|
23
|
+
"framework-agnostic",
|
24
|
+
"error",
|
25
|
+
"debugger"
|
26
|
+
],
|
27
|
+
"license": "MIT",
|
28
|
+
"ignore": [
|
29
|
+
"**/.*",
|
30
|
+
"node_modules",
|
31
|
+
"spec"
|
32
|
+
]
|
33
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "stack-generator",
|
3
|
+
"repository": "stacktracejs/stack-generator",
|
4
|
+
"description": "Generate artificial backtrace by walking arguments.callee.caller chain",
|
5
|
+
"version": "2.0.0",
|
6
|
+
"keywords": [
|
7
|
+
"stacktrace",
|
8
|
+
"error"
|
9
|
+
],
|
10
|
+
"main": "stack-generator.js",
|
11
|
+
"scripts": [
|
12
|
+
"stack-generator.js"
|
13
|
+
],
|
14
|
+
"dependencies": {
|
15
|
+
"stacktracejs/stackframe": "1.0.2"
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
(function(root, factory) {
|
2
|
+
'use strict';
|
3
|
+
// Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.
|
4
|
+
|
5
|
+
/* istanbul ignore next */
|
6
|
+
if (typeof define === 'function' && define.amd) {
|
7
|
+
define('stack-generator', ['stackframe'], factory);
|
8
|
+
} else if (typeof exports === 'object') {
|
9
|
+
module.exports = factory(require('stackframe'));
|
10
|
+
} else {
|
11
|
+
root.StackGenerator = factory(root.StackFrame);
|
12
|
+
}
|
13
|
+
}(this, function(StackFrame) {
|
14
|
+
return {
|
15
|
+
backtrace: function StackGenerator$$backtrace(opts) {
|
16
|
+
var stack = [];
|
17
|
+
var maxStackSize = 10;
|
18
|
+
|
19
|
+
if (typeof opts === 'object' && typeof opts.maxStackSize === 'number') {
|
20
|
+
maxStackSize = opts.maxStackSize;
|
21
|
+
}
|
22
|
+
|
23
|
+
var curr = arguments.callee;
|
24
|
+
while (curr && stack.length < maxStackSize && curr['arguments']) {
|
25
|
+
// Allow V8 optimizations
|
26
|
+
var args = new Array(curr['arguments'].length);
|
27
|
+
for (var i = 0; i < args.length; ++i) {
|
28
|
+
args[i] = curr['arguments'][i];
|
29
|
+
}
|
30
|
+
if (/function(?:\s+([\w$]+))+\s*\(/.test(curr.toString())) {
|
31
|
+
stack.push(new StackFrame({functionName: RegExp.$1 || undefined, args: args}));
|
32
|
+
} else {
|
33
|
+
stack.push(new StackFrame({args: args}));
|
34
|
+
}
|
35
|
+
|
36
|
+
try {
|
37
|
+
curr = curr.caller;
|
38
|
+
} catch (e) {
|
39
|
+
break;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
return stack;
|
43
|
+
}
|
44
|
+
};
|
45
|
+
}));
|
@@ -0,0 +1,2 @@
|
|
1
|
+
!function(t,e){"use strict";"function"==typeof define&&define.amd?define("stackframe",[],e):"object"==typeof exports?module.exports=e():t.StackFrame=e()}(this,function(){"use strict";function t(t){return t.charAt(0).toUpperCase()+t.substring(1)}function e(t){return function(){return this[t]}}var r=["isConstructor","isEval","isNative","isToplevel"],n=["columnNumber","lineNumber"],i=["fileName","functionName","source"],o=r.concat(n,i,["args"]);function a(e){if(e)for(var r=0;r<o.length;r++)void 0!==e[o[r]]&&this["set"+t(o[r])](e[o[r]])}a.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof a)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new a(t)}},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",r=this.getColumnNumber()||"",n=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+r+")":"[eval]:"+e+":"+r:n?n+" ("+t+":"+e+":"+r+")":t+":"+e+":"+r}},a.fromString=function(t){var e=t.indexOf("("),r=t.lastIndexOf(")"),n=t.substring(0,e),i=t.substring(e+1,r).split(","),o=t.substring(r+1);if(0===o.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(o,""),u=s[1],c=s[2],f=s[3];return new a({functionName:n,args:i||void 0,fileName:u,lineNumber:c||void 0,columnNumber:f||void 0})};for(var s=0;s<r.length;s++)a.prototype["get"+t(r[s])]=e(r[s]),a.prototype["set"+t(r[s])]=function(t){return function(e){this[t]=Boolean(e)}}(r[s]);for(var u=0;u<n.length;u++)a.prototype["get"+t(n[u])]=e(n[u]),a.prototype["set"+t(n[u])]=function(t){return function(e){if(r=e,isNaN(parseFloat(r))||!isFinite(r))throw new TypeError(t+" must be a Number");var r;this[t]=Number(e)}}(n[u]);for(var c=0;c<i.length;c++)a.prototype["get"+t(i[c])]=e(i[c]),a.prototype["set"+t(i[c])]=function(t){return function(e){this[t]=String(e)}}(i[c]);return a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("stack-generator",["stackframe"],e):"object"==typeof exports?module.exports=e(require("stackframe")):t.StackGenerator=e(t.StackFrame)}(this,function(t){return{backtrace:function(e){var r=[],n=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(n=e.maxStackSize);for(var i=arguments.callee;i&&r.length<n&&i.arguments;){for(var o=new Array(i.arguments.length),a=0;a<o.length;++a)o[a]=i.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?r.push(new t({functionName:RegExp.$1||void 0,args:o})):r.push(new t({args:o}));try{i=i.caller}catch(t){break}}return r}}});
|
2
|
+
//# sourceMappingURL=stack-generator.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["node_modules/stackframe/stackframe.js","stack-generator.js"],"names":["root","factory","define","amd","exports","module","StackFrame","this","_capitalize","str","charAt","toUpperCase","substring","_getter","p","booleanProps","numericProps","stringProps","props","concat","obj","i","length","undefined","prototype","getArgs","args","setArgs","v","Object","toString","call","TypeError","getEvalOrigin","evalOrigin","setEvalOrigin","fileName","getFileName","lineNumber","getLineNumber","columnNumber","getColumnNumber","functionName","getFunctionName","getIsEval","fromString","argsStartIndex","indexOf","argsEndIndex","lastIndexOf","split","locationString","parts","exec","Boolean","j","n","isNaN","parseFloat","isFinite","Number","k","String","require","StackGenerator","backtrace","opts","stack","maxStackSize","curr","arguments","callee","Array","test","push","RegExp","$1","caller","e"],"mappings":"CAAC,SAASA,EAAMC,GACZ,aAIsB,mBAAXC,QAAyBA,OAAOC,IACvCD,OAAO,gBAAkBD,GACC,iBAAZG,QACdC,OAAOD,QAAUH,IAEjBD,EAAKM,WAAaL,IAV1B,CAYEM,KAAM,WACJ,aAKA,SAASC,EAAYC,GACjB,OAAOA,EAAIC,OAAO,GAAGC,cAAgBF,EAAIG,UAAU,GAGvD,SAASC,EAAQC,GACb,OAAO,WACH,OAAOP,KAAKO,IAIpB,IAAIC,GAAgB,gBAAiB,SAAU,WAAY,cACvDC,GAAgB,eAAgB,cAChCC,GAAe,WAAY,eAAgB,UAG3CC,EAAQH,EAAaI,OAAOH,EAAcC,GAF5B,SAIlB,SAASX,EAAWc,GAChB,GAAKA,EACL,IAAK,IAAIC,EA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C,GAC1C,IAAIC,KACAC,EAAe,GAEC,iBAATF,GAAkD,iBAAtBA,EAAKE,eACxCA,EAAeF,EAAKE,cAIxB,IADA,IAAIC,EAAOC,UAAUC,OACdF,GAAQF,EAAM7C,OAAS8C,GAAgBC,EAAgB,WAAG,CAG7D,IADA,IAAI3C,EAAO,IAAI8C,MAAMH,EAAgB,UAAE/C,QAC9BD,EAAI,EAAGA,EAAIK,EAAKJ,SAAUD,EAC/BK,EAAKL,GAAKgD,EAAgB,UAAEhD,GAE5B,gCAAgCoD,KAAKJ,EAAKvC,YAC1CqC,EAAMO,KAAK,IAAIpE,GAAYoC,aAAciC,OAAOC,SAAMrD,EAAWG,KAAMA,KAEvEyC,EAAMO,KAAK,IAAIpE,GAAYoB,KAAMA,KAGrC,IACI2C,EAAOA,EAAKQ,OACd,MAAOC,GACL,OAGR,OAAOX"}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
module.exports = function(config) {
|
2
|
+
if (!process.env.SAUCE_USERNAME || !process.env.SAUCE_ACCESS_KEY) {
|
3
|
+
console.error('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.');
|
4
|
+
process.exit(1);
|
5
|
+
}
|
6
|
+
|
7
|
+
// Check out https://saucelabs.com/platforms for all browser/platform combos
|
8
|
+
var customLaunchers = {
|
9
|
+
slChrome: {
|
10
|
+
base: 'SauceLabs',
|
11
|
+
browserName: 'chrome',
|
12
|
+
version: 'latest'
|
13
|
+
},
|
14
|
+
slChromeBeta: {
|
15
|
+
base: 'SauceLabs',
|
16
|
+
browserName: 'chrome',
|
17
|
+
version: 'beta'
|
18
|
+
},
|
19
|
+
slFirefox: {
|
20
|
+
base: 'SauceLabs',
|
21
|
+
browserName: 'firefox',
|
22
|
+
version: 'latest'
|
23
|
+
},
|
24
|
+
slFirefoxBeta: {
|
25
|
+
base: 'SauceLabs',
|
26
|
+
browserName: 'firefox',
|
27
|
+
version: 'beta'
|
28
|
+
},
|
29
|
+
slSafari: {
|
30
|
+
base: 'SauceLabs',
|
31
|
+
browserName: 'safari',
|
32
|
+
platform: 'OS X 10.14',
|
33
|
+
version: 'latest'
|
34
|
+
},
|
35
|
+
slEdge: {
|
36
|
+
base: 'SauceLabs',
|
37
|
+
browserName: 'microsoftedge',
|
38
|
+
platform: 'Windows 10',
|
39
|
+
version: 'latest'
|
40
|
+
},
|
41
|
+
slIE11: {
|
42
|
+
base: 'SauceLabs',
|
43
|
+
browserName: 'internet explorer',
|
44
|
+
platform: 'Windows 8.1',
|
45
|
+
version: '11'
|
46
|
+
},
|
47
|
+
slIE10: {
|
48
|
+
base: 'SauceLabs',
|
49
|
+
browserName: 'internet explorer',
|
50
|
+
platform: 'Windows 7',
|
51
|
+
version: '10'
|
52
|
+
},
|
53
|
+
slIE9: {
|
54
|
+
base: 'SauceLabs',
|
55
|
+
browserName: 'internet explorer',
|
56
|
+
platform: 'Windows 7',
|
57
|
+
version: '10',
|
58
|
+
'x-ua-compatible': 'IE=EmulateIE9'
|
59
|
+
},
|
60
|
+
slIE8: {
|
61
|
+
base: 'SauceLabs',
|
62
|
+
browserName: 'internet explorer',
|
63
|
+
platform: 'Windows 7',
|
64
|
+
version: '10',
|
65
|
+
'x-ua-compatible': 'IE=EmulateIE8'
|
66
|
+
}
|
67
|
+
};
|
68
|
+
|
69
|
+
config.set({
|
70
|
+
basePath: '',
|
71
|
+
frameworks: ['jasmine'],
|
72
|
+
files: [
|
73
|
+
'node_modules/stackframe/dist/stackframe.js',
|
74
|
+
'stack-generator.js',
|
75
|
+
'spec/spec-helper.js',
|
76
|
+
'spec/*-spec.js',
|
77
|
+
{ pattern: 'spec/fixtures/**', included: false }
|
78
|
+
],
|
79
|
+
exclude: [],
|
80
|
+
port: 9876,
|
81
|
+
colors: true,
|
82
|
+
logLevel: config.LOG_INFO,
|
83
|
+
autoWatch: true,
|
84
|
+
browserDisconnectTimeout: 10000,
|
85
|
+
browserDisconnectTolerance: 1,
|
86
|
+
browserNoActivityTimeout: 240000,
|
87
|
+
captureTimeout: 240000,
|
88
|
+
sauceLabs: {
|
89
|
+
testName: 'stack-generator unit tests',
|
90
|
+
recordScreenshots: false,
|
91
|
+
connectOptions: {
|
92
|
+
port: 5757,
|
93
|
+
logfile: 'sauce_connect.log'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
customLaunchers: customLaunchers,
|
97
|
+
browsers: Object.keys(customLaunchers),
|
98
|
+
reporters: ['dots', 'saucelabs', 'coverage', 'coveralls'],
|
99
|
+
preprocessors: {
|
100
|
+
'stack-generator.js': 'coverage'
|
101
|
+
},
|
102
|
+
coverageReporter: {
|
103
|
+
type: 'lcov',
|
104
|
+
dir: 'coverage'
|
105
|
+
},
|
106
|
+
singleRun: true
|
107
|
+
});
|
108
|
+
};
|