isomorfeus-preact 10.5.5 → 10.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +28 -1
- data/lib/isomorfeus/preact/config.rb +4 -15
- data/lib/isomorfeus/preact/imports.rb +0 -10
- data/lib/isomorfeus/preact_view_helper.rb +9 -9
- data/lib/isomorfeus/props/validator.rb +1 -1
- data/lib/isomorfeus/top_level.rb +3 -6
- data/lib/isomorfeus-preact.rb +4 -1
- data/lib/lucid_app/context.rb +12 -12
- data/lib/nano_css.rb +464 -0
- data/lib/preact/version.rb +1 -1
- data/lib/preact.rb +17 -7
- data/node_modules/.package-lock.json +6 -244
- data/node_modules/preact/compat/dist/compat.js +1 -1
- data/node_modules/preact/compat/dist/compat.js.map +1 -1
- data/node_modules/preact/compat/dist/compat.mjs +1 -1
- data/node_modules/preact/compat/dist/compat.mjs.map +1 -1
- data/node_modules/preact/compat/dist/compat.module.js +1 -1
- data/node_modules/preact/compat/dist/compat.module.js.map +1 -1
- data/node_modules/preact/compat/dist/compat.umd.js +1 -1
- data/node_modules/preact/compat/dist/compat.umd.js.map +1 -1
- data/node_modules/preact/compat/src/index.d.ts +1 -1
- data/node_modules/preact/compat/src/render.js +10 -3
- data/node_modules/preact/debug/dist/debug.js.map +1 -1
- data/node_modules/preact/debug/dist/debug.mjs.map +1 -1
- data/node_modules/preact/debug/dist/debug.module.js.map +1 -1
- data/node_modules/preact/debug/dist/debug.umd.js.map +1 -1
- data/node_modules/preact/devtools/dist/devtools.js +1 -1
- data/node_modules/preact/devtools/dist/devtools.js.map +1 -1
- data/node_modules/preact/devtools/dist/devtools.mjs +1 -1
- data/node_modules/preact/devtools/dist/devtools.mjs.map +1 -1
- data/node_modules/preact/devtools/dist/devtools.module.js +1 -1
- data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -1
- data/node_modules/preact/devtools/dist/devtools.umd.js +1 -1
- data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -1
- data/node_modules/preact/devtools/src/devtools.js +1 -1
- data/node_modules/preact/dist/index.d.ts +1295 -0
- data/node_modules/preact/dist/preact.js +1 -1
- data/node_modules/preact/dist/preact.js.map +1 -1
- data/node_modules/preact/dist/preact.min.js +1 -1
- data/node_modules/preact/dist/preact.min.js.map +1 -1
- data/node_modules/preact/dist/preact.mjs +1 -1
- data/node_modules/preact/dist/preact.mjs.map +1 -1
- data/node_modules/preact/dist/preact.module.js +1 -1
- data/node_modules/preact/dist/preact.module.js.map +1 -1
- data/node_modules/preact/dist/preact.umd.js +1 -1
- data/node_modules/preact/dist/preact.umd.js.map +1 -1
- data/node_modules/preact/hooks/dist/hooks.js +1 -1
- data/node_modules/preact/hooks/dist/hooks.js.map +1 -1
- data/node_modules/preact/hooks/dist/hooks.mjs +1 -1
- data/node_modules/preact/hooks/dist/hooks.mjs.map +1 -1
- data/node_modules/preact/hooks/dist/hooks.module.js +1 -1
- data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -1
- data/node_modules/preact/hooks/dist/hooks.umd.js +1 -1
- data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -1
- data/node_modules/preact/hooks/src/index.js +1 -8
- data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs.map +1 -0
- data/node_modules/preact/package.json +8 -4
- data/node_modules/preact/src/create-element.js +2 -1
- data/node_modules/preact/src/diff/children.js +7 -19
- data/node_modules/preact/src/jsx.d.ts +45 -2
- data/node_modules/preact/test-utils/dist/testUtils.mjs.map +1 -1
- data/node_modules/wouter-preact/cjs/index.js +1 -1
- data/node_modules/wouter-preact/cjs/use-location.js +6 -6
- data/node_modules/wouter-preact/index.js +1 -1
- data/node_modules/wouter-preact/package.json +1 -1
- data/node_modules/wouter-preact/use-location.js +6 -6
- data/package.json +3 -5
- metadata +17 -893
- data/node_modules/.bin/loose-envify +0 -12
- data/node_modules/.bin/loose-envify.cmd +0 -17
- data/node_modules/.bin/loose-envify.ps1 +0 -28
- data/node_modules/@babel/runtime/LICENSE +0 -22
- data/node_modules/@babel/runtime/README.md +0 -19
- data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -99
- data/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -6
- data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -31
- data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -12
- data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -6
- data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -8
- data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -10
- data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -57
- data/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -16
- data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -38
- data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -8
- data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -8
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -23
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -10
- data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -8
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -8
- data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -8
- data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -10
- data/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -6
- data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -11
- data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -11
- data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -9
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -10
- data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -8
- data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -12
- data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -10
- data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -9
- data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -14
- data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -15
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -9
- data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/construct.js +0 -26
- data/node_modules/@babel/runtime/helpers/createClass.js +0 -18
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -61
- data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -25
- data/node_modules/@babel/runtime/helpers/createSuper.js +0 -25
- data/node_modules/@babel/runtime/helpers/decorate.js +0 -401
- data/node_modules/@babel/runtime/helpers/defaults.js +0 -17
- data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -25
- data/node_modules/@babel/runtime/helpers/defineProperty.js +0 -17
- data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
- data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
- data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
- data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -13
- data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
- data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
- data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
- data/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
- data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
- data/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
- data/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
- data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
- data/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
- data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
- data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
- data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
- data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -46
- data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -39
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
- data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
- data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
- data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
- data/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
- data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
- data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
- data/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
- data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
- data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
- data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
- data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
- data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -65
- data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
- data/node_modules/@babel/runtime/helpers/extends.js +0 -21
- data/node_modules/@babel/runtime/helpers/get.js +0 -27
- data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -10
- data/node_modules/@babel/runtime/helpers/inherits.js +0 -19
- data/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -10
- data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -12
- data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -6
- data/node_modules/@babel/runtime/helpers/instanceof.js +0 -10
- data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -8
- data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -54
- data/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -6
- data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -15
- data/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -6
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -32
- data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -17
- data/node_modules/@babel/runtime/helpers/jsx.js +0 -50
- data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -13
- data/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -8
- data/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -6
- data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -6
- data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -6
- data/node_modules/@babel/runtime/helpers/objectSpread.js +0 -23
- data/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -42
- data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -23
- data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -17
- data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -16
- data/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -6
- data/node_modules/@babel/runtime/helpers/set.js +0 -55
- data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -12
- data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -10
- data/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -14
- data/node_modules/@babel/runtime/helpers/superPropBase.js +0 -13
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -14
- data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -11
- data/node_modules/@babel/runtime/helpers/tdz.js +0 -6
- data/node_modules/@babel/runtime/helpers/temporalRef.js +0 -10
- data/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -4
- data/node_modules/@babel/runtime/helpers/toArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -14
- data/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -17
- data/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -11
- data/node_modules/@babel/runtime/helpers/typeof.js +0 -22
- data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -13
- data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -10
- data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -45
- data/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -72
- data/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -6
- data/node_modules/@babel/runtime/package.json +0 -848
- data/node_modules/@babel/runtime/regenerator/index.js +0 -1
- data/node_modules/css-in-js-utils/Changelog.md +0 -16
- data/node_modules/css-in-js-utils/LICENSE +0 -21
- data/node_modules/css-in-js-utils/README.md +0 -241
- data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +0 -117
- data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +0 -15
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +0 -15
- data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +0 -31
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +0 -19
- data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +0 -19
- data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +0 -43
- data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +0 -21
- data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +0 -17
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +0 -19
- data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +0 -20
- data/node_modules/css-in-js-utils/lib/assignStyle.js +0 -37
- data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +0 -15
- data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +0 -17
- data/node_modules/css-in-js-utils/lib/cssifyObject.js +0 -34
- data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +0 -17
- data/node_modules/css-in-js-utils/lib/index.js +0 -71
- data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +0 -12
- data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +0 -12
- data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +0 -64
- data/node_modules/css-in-js-utils/lib/normalizeProperty.js +0 -21
- data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +0 -19
- data/node_modules/css-in-js-utils/lib/unprefixProperty.js +0 -13
- data/node_modules/css-in-js-utils/lib/unprefixValue.js +0 -16
- data/node_modules/css-in-js-utils/package.json +0 -56
- data/node_modules/css-tree/CHANGELOG.md +0 -590
- data/node_modules/css-tree/LICENSE +0 -19
- data/node_modules/css-tree/README.md +0 -130
- data/node_modules/css-tree/data/index.js +0 -103
- data/node_modules/css-tree/data/patch.json +0 -721
- data/node_modules/css-tree/dist/csstree.js +0 -12606
- data/node_modules/css-tree/dist/csstree.min.js +0 -1
- data/node_modules/css-tree/lib/common/List.js +0 -576
- data/node_modules/css-tree/lib/common/OffsetToLocation.js +0 -91
- data/node_modules/css-tree/lib/common/SyntaxError.js +0 -82
- data/node_modules/css-tree/lib/common/TokenStream.js +0 -219
- data/node_modules/css-tree/lib/common/adopt-buffer.js +0 -10
- data/node_modules/css-tree/lib/convertor/create.js +0 -28
- data/node_modules/css-tree/lib/convertor/index.js +0 -3
- data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +0 -14
- data/node_modules/css-tree/lib/definition-syntax/generate.js +0 -129
- data/node_modules/css-tree/lib/definition-syntax/index.js +0 -6
- data/node_modules/css-tree/lib/definition-syntax/parse.js +0 -568
- data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +0 -55
- data/node_modules/css-tree/lib/definition-syntax/walk.js +0 -52
- data/node_modules/css-tree/lib/generator/create.js +0 -66
- data/node_modules/css-tree/lib/generator/index.js +0 -4
- data/node_modules/css-tree/lib/generator/sourceMap.js +0 -95
- data/node_modules/css-tree/lib/index.js +0 -1
- data/node_modules/css-tree/lib/lexer/Lexer.js +0 -466
- data/node_modules/css-tree/lib/lexer/error.js +0 -127
- data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +0 -236
- data/node_modules/css-tree/lib/lexer/generic-urange.js +0 -159
- data/node_modules/css-tree/lib/lexer/generic.js +0 -585
- data/node_modules/css-tree/lib/lexer/index.js +0 -3
- data/node_modules/css-tree/lib/lexer/match-graph.js +0 -455
- data/node_modules/css-tree/lib/lexer/match.js +0 -639
- data/node_modules/css-tree/lib/lexer/prepare-tokens.js +0 -73
- data/node_modules/css-tree/lib/lexer/search.js +0 -65
- data/node_modules/css-tree/lib/lexer/structure.js +0 -163
- data/node_modules/css-tree/lib/lexer/trace.js +0 -79
- data/node_modules/css-tree/lib/parser/create.js +0 -304
- data/node_modules/css-tree/lib/parser/index.js +0 -4
- data/node_modules/css-tree/lib/parser/sequence.js +0 -54
- data/node_modules/css-tree/lib/syntax/atrule/font-face.js +0 -8
- data/node_modules/css-tree/lib/syntax/atrule/import.js +0 -40
- data/node_modules/css-tree/lib/syntax/atrule/index.js +0 -7
- data/node_modules/css-tree/lib/syntax/atrule/media.js +0 -12
- data/node_modules/css-tree/lib/syntax/atrule/page.js +0 -12
- data/node_modules/css-tree/lib/syntax/atrule/supports.js +0 -89
- data/node_modules/css-tree/lib/syntax/config/lexer.js +0 -9
- data/node_modules/css-tree/lib/syntax/config/mix.js +0 -140
- data/node_modules/css-tree/lib/syntax/config/parser.js +0 -25
- data/node_modules/css-tree/lib/syntax/config/walker.js +0 -3
- data/node_modules/css-tree/lib/syntax/create.js +0 -77
- data/node_modules/css-tree/lib/syntax/function/expression.js +0 -7
- data/node_modules/css-tree/lib/syntax/function/var.js +0 -43
- data/node_modules/css-tree/lib/syntax/index.js +0 -21
- data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +0 -297
- data/node_modules/css-tree/lib/syntax/node/Atrule.js +0 -107
- data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +0 -51
- data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +0 -165
- data/node_modules/css-tree/lib/syntax/node/Block.js +0 -91
- data/node_modules/css-tree/lib/syntax/node/Brackets.js +0 -34
- data/node_modules/css-tree/lib/syntax/node/CDC.js +0 -19
- data/node_modules/css-tree/lib/syntax/node/CDO.js +0 -19
- data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +0 -29
- data/node_modules/css-tree/lib/syntax/node/Combinator.js +0 -55
- data/node_modules/css-tree/lib/syntax/node/Comment.js +0 -36
- data/node_modules/css-tree/lib/syntax/node/Declaration.js +0 -169
- data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +0 -49
- data/node_modules/css-tree/lib/syntax/node/Dimension.js +0 -29
- data/node_modules/css-tree/lib/syntax/node/Function.js +0 -40
- data/node_modules/css-tree/lib/syntax/node/Hash.js +0 -26
- data/node_modules/css-tree/lib/syntax/node/IdSelector.js +0 -27
- data/node_modules/css-tree/lib/syntax/node/Identifier.js +0 -20
- data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +0 -76
- data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +0 -68
- data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +0 -36
- data/node_modules/css-tree/lib/syntax/node/Nth.js +0 -51
- data/node_modules/css-tree/lib/syntax/node/Number.js +0 -18
- data/node_modules/css-tree/lib/syntax/node/Operator.js +0 -21
- data/node_modules/css-tree/lib/syntax/node/Parentheses.js +0 -34
- data/node_modules/css-tree/lib/syntax/node/Percentage.js +0 -27
- data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +0 -61
- data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +0 -62
- data/node_modules/css-tree/lib/syntax/node/Ratio.js +0 -66
- data/node_modules/css-tree/lib/syntax/node/Raw.js +0 -87
- data/node_modules/css-tree/lib/syntax/node/Rule.js +0 -54
- data/node_modules/css-tree/lib/syntax/node/Selector.js +0 -32
- data/node_modules/css-tree/lib/syntax/node/SelectorList.js +0 -39
- data/node_modules/css-tree/lib/syntax/node/String.js +0 -18
- data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +0 -81
- data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +0 -53
- data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +0 -173
- data/node_modules/css-tree/lib/syntax/node/Url.js +0 -69
- data/node_modules/css-tree/lib/syntax/node/Value.js +0 -19
- data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +0 -26
- data/node_modules/css-tree/lib/syntax/node/index.js +0 -42
- data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +0 -9
- data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +0 -9
- data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +0 -7
- data/node_modules/css-tree/lib/syntax/pseudo/dir.js +0 -7
- data/node_modules/css-tree/lib/syntax/pseudo/has.js +0 -7
- data/node_modules/css-tree/lib/syntax/pseudo/index.js +0 -12
- data/node_modules/css-tree/lib/syntax/pseudo/lang.js +0 -7
- data/node_modules/css-tree/lib/syntax/pseudo/matches.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/not.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +0 -1
- data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +0 -7
- data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +0 -3
- data/node_modules/css-tree/lib/syntax/scope/default.js +0 -87
- data/node_modules/css-tree/lib/syntax/scope/index.js +0 -5
- data/node_modules/css-tree/lib/syntax/scope/selector.js +0 -80
- data/node_modules/css-tree/lib/syntax/scope/value.js +0 -5
- data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +0 -249
- data/node_modules/css-tree/lib/tokenizer/const.js +0 -40
- data/node_modules/css-tree/lib/tokenizer/index.js +0 -591
- data/node_modules/css-tree/lib/tokenizer/utils.js +0 -243
- data/node_modules/css-tree/lib/utils/clone.js +0 -21
- data/node_modules/css-tree/lib/utils/createCustomError.js +0 -17
- data/node_modules/css-tree/lib/utils/names.js +0 -104
- data/node_modules/css-tree/lib/walker/create.js +0 -284
- data/node_modules/css-tree/lib/walker/index.js +0 -4
- data/node_modules/css-tree/package.json +0 -60
- data/node_modules/csstype/LICENSE +0 -19
- data/node_modules/csstype/README.md +0 -273
- data/node_modules/csstype/index.d.ts +0 -20553
- data/node_modules/csstype/index.js.flow +0 -6278
- data/node_modules/csstype/package.json +0 -62
- data/node_modules/error-stack-parser/CHANGELOG.md +0 -53
- data/node_modules/error-stack-parser/LICENSE +0 -19
- data/node_modules/error-stack-parser/README.md +0 -44
- data/node_modules/error-stack-parser/dist/error-stack-parser.js +0 -202
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +0 -2
- data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +0 -1
- data/node_modules/error-stack-parser/error-stack-parser.d.ts +0 -66
- data/node_modules/error-stack-parser/error-stack-parser.js +0 -202
- data/node_modules/error-stack-parser/package.json +0 -63
- data/node_modules/fastest-stable-stringify/.eslintrc.yml +0 -26
- data/node_modules/fastest-stable-stringify/.travis.yml +0 -7
- data/node_modules/fastest-stable-stringify/LICENSE +0 -18
- data/node_modules/fastest-stable-stringify/README.md +0 -44
- data/node_modules/fastest-stable-stringify/benchmark/index.js +0 -32
- data/node_modules/fastest-stable-stringify/benchmark/test.json +0 -215
- data/node_modules/fastest-stable-stringify/example/key_cmp.js +0 -7
- data/node_modules/fastest-stable-stringify/example/nested.js +0 -3
- data/node_modules/fastest-stable-stringify/example/str.js +0 -3
- data/node_modules/fastest-stable-stringify/example/value_cmp.js +0 -7
- data/node_modules/fastest-stable-stringify/index.js +0 -60
- data/node_modules/fastest-stable-stringify/package.json +0 -54
- data/node_modules/fastest-stable-stringify/test/bench.js +0 -20
- data/node_modules/fastest-stable-stringify/test/nested.js +0 -24
- data/node_modules/fastest-stable-stringify/test/str.js +0 -52
- data/node_modules/fastest-stable-stringify/test/to-json.js +0 -22
- data/node_modules/hyphenate-style-name/LICENSE +0 -28
- data/node_modules/hyphenate-style-name/README.md +0 -28
- data/node_modules/hyphenate-style-name/index.cjs.js +0 -21
- data/node_modules/hyphenate-style-name/index.js +0 -19
- data/node_modules/hyphenate-style-name/package.json +0 -42
- data/node_modules/inline-style-prefixer/CHANGELOG.md +0 -195
- data/node_modules/inline-style-prefixer/LICENSE +0 -22
- data/node_modules/inline-style-prefixer/README.md +0 -100
- data/node_modules/inline-style-prefixer/es/createPrefixer.js +0 -47
- data/node_modules/inline-style-prefixer/es/data.js +0 -12
- data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +0 -21
- data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +0 -75
- data/node_modules/inline-style-prefixer/es/generator/index.js +0 -69
- data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +0 -108
- data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +0 -38
- data/node_modules/inline-style-prefixer/es/index.js +0 -26
- data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +0 -7
- data/node_modules/inline-style-prefixer/es/plugins/calc.js +0 -11
- data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +0 -12
- data/node_modules/inline-style-prefixer/es/plugins/cursor.js +0 -16
- data/node_modules/inline-style-prefixer/es/plugins/filter.js +0 -12
- data/node_modules/inline-style-prefixer/es/plugins/flex.js +0 -10
- data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +0 -67
- data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +0 -33
- data/node_modules/inline-style-prefixer/es/plugins/gradient.js +0 -14
- data/node_modules/inline-style-prefixer/es/plugins/grid.js +0 -129
- data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +0 -12
- data/node_modules/inline-style-prefixer/es/plugins/index.js +0 -17
- data/node_modules/inline-style-prefixer/es/plugins/logical.js +0 -35
- data/node_modules/inline-style-prefixer/es/plugins/position.js +0 -5
- data/node_modules/inline-style-prefixer/es/plugins/sizing.js +0 -26
- data/node_modules/inline-style-prefixer/es/plugins/transition.js +0 -75
- data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +0 -15
- data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +0 -3
- data/node_modules/inline-style-prefixer/es/utils/isObject.js +0 -3
- data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +0 -22
- data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +0 -11
- data/node_modules/inline-style-prefixer/lib/createPrefixer.js +0 -66
- data/node_modules/inline-style-prefixer/lib/data.js +0 -17
- data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +0 -32
- data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +0 -86
- data/node_modules/inline-style-prefixer/lib/generator/index.js +0 -85
- data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +0 -113
- data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +0 -43
- data/node_modules/inline-style-prefixer/lib/index.js +0 -78
- data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +0 -13
- data/node_modules/inline-style-prefixer/lib/plugins/calc.js +0 -21
- data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +0 -22
- data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +0 -22
- data/node_modules/inline-style-prefixer/lib/plugins/filter.js +0 -22
- data/node_modules/inline-style-prefixer/lib/plugins/flex.js +0 -16
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +0 -73
- data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +0 -39
- data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +0 -26
- data/node_modules/inline-style-prefixer/lib/plugins/grid.js +0 -136
- data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +0 -22
- data/node_modules/inline-style-prefixer/lib/plugins/index.js +0 -69
- data/node_modules/inline-style-prefixer/lib/plugins/logical.js +0 -41
- data/node_modules/inline-style-prefixer/lib/plugins/position.js +0 -11
- data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +0 -32
- data/node_modules/inline-style-prefixer/lib/plugins/transition.js +0 -92
- data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +0 -21
- data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +0 -9
- data/node_modules/inline-style-prefixer/lib/utils/isObject.js +0 -9
- data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +0 -32
- data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +0 -17
- data/node_modules/inline-style-prefixer/package.json +0 -79
- data/node_modules/isobject/LICENSE +0 -21
- data/node_modules/isobject/README.md +0 -122
- data/node_modules/isobject/index.d.ts +0 -5
- data/node_modules/isobject/index.js +0 -12
- data/node_modules/isobject/package.json +0 -74
- data/node_modules/js-tokens/CHANGELOG.md +0 -151
- data/node_modules/js-tokens/LICENSE +0 -21
- data/node_modules/js-tokens/README.md +0 -240
- data/node_modules/js-tokens/index.js +0 -23
- data/node_modules/js-tokens/package.json +0 -30
- data/node_modules/loose-envify/LICENSE +0 -21
- data/node_modules/loose-envify/README.md +0 -45
- data/node_modules/loose-envify/cli.js +0 -16
- data/node_modules/loose-envify/custom.js +0 -4
- data/node_modules/loose-envify/index.js +0 -3
- data/node_modules/loose-envify/loose-envify.js +0 -36
- data/node_modules/loose-envify/package.json +0 -36
- data/node_modules/loose-envify/replace.js +0 -65
- data/node_modules/mdn-data/LICENSE +0 -116
- data/node_modules/mdn-data/README.md +0 -56
- data/node_modules/mdn-data/api/index.js +0 -3
- data/node_modules/mdn-data/api/inheritance.json +0 -2681
- data/node_modules/mdn-data/api/inheritance.schema.json +0 -31
- data/node_modules/mdn-data/css/at-rules.json +0 -560
- data/node_modules/mdn-data/css/at-rules.schema.json +0 -132
- data/node_modules/mdn-data/css/definitions.json +0 -77
- data/node_modules/mdn-data/css/index.js +0 -8
- data/node_modules/mdn-data/css/properties.json +0 -9163
- data/node_modules/mdn-data/css/properties.schema.json +0 -402
- data/node_modules/mdn-data/css/selectors.json +0 -927
- data/node_modules/mdn-data/css/selectors.schema.json +0 -36
- data/node_modules/mdn-data/css/syntaxes.json +0 -761
- data/node_modules/mdn-data/css/syntaxes.schema.json +0 -15
- data/node_modules/mdn-data/css/types.json +0 -265
- data/node_modules/mdn-data/css/types.schema.json +0 -32
- data/node_modules/mdn-data/css/units.json +0 -199
- data/node_modules/mdn-data/css/units.schema.json +0 -28
- data/node_modules/mdn-data/index.js +0 -5
- data/node_modules/mdn-data/l10n/css.json +0 -1567
- data/node_modules/mdn-data/l10n/index.js +0 -3
- data/node_modules/mdn-data/package.json +0 -39
- data/node_modules/nano-css/.circleci/config.yml +0 -85
- data/node_modules/nano-css/.eslintrc.yml +0 -27
- data/node_modules/nano-css/.github/FUNDING.yml +0 -3
- data/node_modules/nano-css/.github/workflows/nodejs.yml +0 -23
- data/node_modules/nano-css/CHANGELOG.md +0 -362
- data/node_modules/nano-css/LICENSE +0 -24
- data/node_modules/nano-css/README.md +0 -70
- data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +0 -25
- data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +0 -407
- data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +0 -43
- data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/amp.server.test.js +0 -223
- data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +0 -8
- data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/atoms.test.js +0 -49
- data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +0 -12
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +0 -8
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +0 -219
- data/node_modules/nano-css/addon/__tests__/env.js +0 -6
- data/node_modules/nano-css/addon/__tests__/extract.server.test.js +0 -159
- data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/index.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/index.test.js +0 -257
- data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/jsx.test.js +0 -33
- data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/keyframes.test.js +0 -131
- data/node_modules/nano-css/addon/__tests__/limit.server.test.js +0 -54
- data/node_modules/nano-css/addon/__tests__/nesting.test.js +0 -85
- data/node_modules/nano-css/addon/__tests__/prefixer.test.js +0 -121
- data/node_modules/nano-css/addon/__tests__/put.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/put.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/put.test.js +0 -75
- data/node_modules/nano-css/addon/__tests__/reset.test.js +0 -38
- data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +0 -7
- data/node_modules/nano-css/addon/__tests__/rule.server.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/rule.test.js +0 -57
- data/node_modules/nano-css/addon/__tests__/setup.js +0 -7
- data/node_modules/nano-css/addon/__tests__/sheet.test.js +0 -74
- data/node_modules/nano-css/addon/__tests__/snake.test.js +0 -124
- data/node_modules/nano-css/addon/__tests__/tachyons.test.js +0 -45
- data/node_modules/nano-css/addon/__tests__/units.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/units.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/units.test.js +0 -41
- data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/validate.test.js +0 -69
- data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +0 -14
- data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +0 -5
- data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +0 -6
- data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +0 -4
- data/node_modules/nano-css/addon/__tests__/virtual.test.js +0 -225
- data/node_modules/nano-css/addon/amp.d.ts +0 -5
- data/node_modules/nano-css/addon/amp.js +0 -156
- data/node_modules/nano-css/addon/animate/fadeIn.js +0 -22
- data/node_modules/nano-css/addon/animate/fadeInDown.js +0 -25
- data/node_modules/nano-css/addon/animate/fadeInScale.js +0 -25
- data/node_modules/nano-css/addon/animate/fadeOut.js +0 -23
- data/node_modules/nano-css/addon/animate/fadeOutScale.js +0 -21
- data/node_modules/nano-css/addon/array.d.ts +0 -5
- data/node_modules/nano-css/addon/array.js +0 -33
- data/node_modules/nano-css/addon/atoms.d.ts +0 -243
- data/node_modules/nano-css/addon/atoms.js +0 -63
- data/node_modules/nano-css/addon/cache.d.ts +0 -8
- data/node_modules/nano-css/addon/cache.js +0 -17
- data/node_modules/nano-css/addon/component.d.ts +0 -7
- data/node_modules/nano-css/addon/component.js +0 -26
- data/node_modules/nano-css/addon/cssom.d.ts +0 -17
- data/node_modules/nano-css/addon/cssom.js +0 -36
- data/node_modules/nano-css/addon/decorator.d.ts +0 -7
- data/node_modules/nano-css/addon/decorator.js +0 -43
- data/node_modules/nano-css/addon/drule.d.ts +0 -8
- data/node_modules/nano-css/addon/drule.js +0 -27
- data/node_modules/nano-css/addon/dsheet.d.ts +0 -8
- data/node_modules/nano-css/addon/dsheet.js +0 -36
- data/node_modules/nano-css/addon/emmet.d.ts +0 -614
- data/node_modules/nano-css/addon/emmet.js +0 -177
- data/node_modules/nano-css/addon/extract.d.ts +0 -5
- data/node_modules/nano-css/addon/extract.js +0 -59
- data/node_modules/nano-css/addon/global.d.ts +0 -8
- data/node_modules/nano-css/addon/global.js +0 -19
- data/node_modules/nano-css/addon/googleFont.d.ts +0 -8
- data/node_modules/nano-css/addon/googleFont.js +0 -43
- data/node_modules/nano-css/addon/hydrate.d.ts +0 -7
- data/node_modules/nano-css/addon/hydrate.js +0 -28
- data/node_modules/nano-css/addon/hyperstyle.js +0 -27
- data/node_modules/nano-css/addon/important.js +0 -38
- data/node_modules/nano-css/addon/jsx.js +0 -60
- data/node_modules/nano-css/addon/keyframes.d.ts +0 -34
- data/node_modules/nano-css/addon/keyframes.js +0 -61
- data/node_modules/nano-css/addon/limit.js +0 -26
- data/node_modules/nano-css/addon/nesting.js +0 -37
- data/node_modules/nano-css/addon/pipe.js +0 -57
- data/node_modules/nano-css/addon/prefixer.js +0 -79
- data/node_modules/nano-css/addon/ref.js +0 -87
- data/node_modules/nano-css/addon/reset/EricMeyer.js +0 -48
- data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +0 -44
- data/node_modules/nano-css/addon/reset/Minimalistic.js +0 -16
- data/node_modules/nano-css/addon/reset/Minimalistic2.js +0 -17
- data/node_modules/nano-css/addon/reset/Minimalistic3.js +0 -18
- data/node_modules/nano-css/addon/reset/Normalize.js +0 -83
- data/node_modules/nano-css/addon/reset/PoorMan.js +0 -25
- data/node_modules/nano-css/addon/reset/ShaunInman.js +0 -42
- data/node_modules/nano-css/addon/reset/Siolon.js +0 -34
- data/node_modules/nano-css/addon/reset/Tantek.js +0 -31
- data/node_modules/nano-css/addon/reset/Tripoli.js +0 -75
- data/node_modules/nano-css/addon/reset/Universal.js +0 -23
- data/node_modules/nano-css/addon/reset/Yahoo.js +0 -43
- data/node_modules/nano-css/addon/reset-font.js +0 -24
- data/node_modules/nano-css/addon/rtl.js +0 -15
- data/node_modules/nano-css/addon/rule.d.ts +0 -26
- data/node_modules/nano-css/addon/rule.js +0 -39
- data/node_modules/nano-css/addon/sheet.d.ts +0 -22
- data/node_modules/nano-css/addon/sheet.js +0 -45
- data/node_modules/nano-css/addon/snake.js +0 -141
- data/node_modules/nano-css/addon/sourcemaps.js +0 -96
- data/node_modules/nano-css/addon/spread.js +0 -23
- data/node_modules/nano-css/addon/stable.js +0 -7
- data/node_modules/nano-css/addon/style.js +0 -33
- data/node_modules/nano-css/addon/styled.js +0 -161
- data/node_modules/nano-css/addon/stylis/plugin-onRule.js +0 -43
- data/node_modules/nano-css/addon/stylis.js +0 -28
- data/node_modules/nano-css/addon/tachyons.js +0 -215
- data/node_modules/nano-css/addon/unitless.js +0 -78
- data/node_modules/nano-css/addon/units.d.ts +0 -89
- data/node_modules/nano-css/addon/units.js +0 -27
- data/node_modules/nano-css/addon/useStyles.js +0 -24
- data/node_modules/nano-css/addon/util/cloneElement.js +0 -11
- data/node_modules/nano-css/addon/util/transformComponentDynamic.js +0 -50
- data/node_modules/nano-css/addon/util/transformComponentStatic.js +0 -26
- data/node_modules/nano-css/addon/validate.js +0 -82
- data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +0 -159
- data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +0 -15
- data/node_modules/nano-css/addon/vcssom/cssToTree.js +0 -42
- data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +0 -3
- data/node_modules/nano-css/addon/vcssom/removeRule.js +0 -15
- data/node_modules/nano-css/addon/vcssom.d.ts +0 -72
- data/node_modules/nano-css/addon/vcssom.js +0 -97
- data/node_modules/nano-css/addon/virtual.js +0 -107
- data/node_modules/nano-css/addon/withStyles.js +0 -32
- data/node_modules/nano-css/index.d.ts +0 -4
- data/node_modules/nano-css/index.js +0 -138
- data/node_modules/nano-css/package.json +0 -145
- data/node_modules/nano-css/preset/react.js +0 -43
- data/node_modules/nano-css/preset/sheet.d.ts +0 -5
- data/node_modules/nano-css/preset/sheet.js +0 -27
- data/node_modules/nano-css/preset/vdom.js +0 -40
- data/node_modules/nano-css/prettier.config.js +0 -13
- data/node_modules/nano-css/renovate.json +0 -3
- data/node_modules/nano-css/types/common.d.ts +0 -14
- data/node_modules/nano-css/types/demo.ts +0 -7
- data/node_modules/nano-css/types/nano.d.ts +0 -171
- data/node_modules/object-assign/index.js +0 -90
- data/node_modules/object-assign/license +0 -21
- data/node_modules/object-assign/package.json +0 -42
- data/node_modules/object-assign/readme.md +0 -61
- data/node_modules/preact/compat/LICENSE +0 -21
- data/node_modules/preact/debug/LICENSE +0 -21
- data/node_modules/preact/devtools/LICENSE +0 -21
- data/node_modules/preact/hooks/LICENSE +0 -21
- data/node_modules/preact/jsx-runtime/LICENSE +0 -21
- data/node_modules/preact-deep-force-update/.babelrc +0 -8
- data/node_modules/preact-deep-force-update/.eslintrc +0 -66
- data/node_modules/preact-deep-force-update/.npmignore +0 -2
- data/node_modules/preact-deep-force-update/.travis.yml +0 -3
- data/node_modules/preact-deep-force-update/LICENSE +0 -21
- data/node_modules/preact-deep-force-update/README.md +0 -53
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js +0 -36
- data/node_modules/preact-deep-force-update/dist/deep-force-update.js.map +0 -1
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js +0 -2
- data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js.map +0 -1
- data/node_modules/preact-deep-force-update/karma.conf.js +0 -32
- data/node_modules/preact-deep-force-update/package.json +0 -80
- data/node_modules/preact-deep-force-update/rollup.config.js +0 -17
- data/node_modules/preact-deep-force-update/src/index.js +0 -27
- data/node_modules/preact-deep-force-update/test/index.js +0 -50
- data/node_modules/react/LICENSE +0 -21
- data/node_modules/react/README.md +0 -13
- data/node_modules/react/build-info.json +0 -8
- data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1203
- data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -9
- data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -9
- data/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1221
- data/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -10
- data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -10
- data/node_modules/react/cjs/react.development.js +0 -2333
- data/node_modules/react/cjs/react.production.min.js +0 -23
- data/node_modules/react/index.js +0 -7
- data/node_modules/react/jsx-dev-runtime.js +0 -7
- data/node_modules/react/jsx-runtime.js +0 -7
- data/node_modules/react/package.json +0 -39
- data/node_modules/react/umd/react.development.js +0 -3357
- data/node_modules/react/umd/react.production.min.js +0 -31
- data/node_modules/react/umd/react.profiling.min.js +0 -36
- data/node_modules/react-dom/LICENSE +0 -21
- data/node_modules/react-dom/README.md +0 -54
- data/node_modules/react-dom/build-info.json +0 -8
- data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -4342
- data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -51
- data/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -4383
- data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -52
- data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -2118
- data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -43
- data/node_modules/react-dom/cjs/react-dom.development.js +0 -26262
- data/node_modules/react-dom/cjs/react-dom.production.min.js +0 -297
- data/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -310
- data/node_modules/react-dom/index.js +0 -38
- data/node_modules/react-dom/package.json +0 -49
- data/node_modules/react-dom/profiling.js +0 -38
- data/node_modules/react-dom/server.browser.js +0 -7
- data/node_modules/react-dom/server.js +0 -3
- data/node_modules/react-dom/server.node.js +0 -7
- data/node_modules/react-dom/test-utils.js +0 -7
- data/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -4341
- data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -46
- data/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -2136
- data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -35
- data/node_modules/react-dom/umd/react-dom.development.js +0 -26292
- data/node_modules/react-dom/umd/react-dom.production.min.js +0 -245
- data/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -252
- data/node_modules/regenerator-runtime/LICENSE +0 -21
- data/node_modules/regenerator-runtime/README.md +0 -31
- data/node_modules/regenerator-runtime/package.json +0 -19
- data/node_modules/regenerator-runtime/path.js +0 -11
- data/node_modules/regenerator-runtime/runtime.js +0 -754
- data/node_modules/rtl-css-js/CHANGELOG.md +0 -5
- data/node_modules/rtl-css-js/LICENSE +0 -20
- data/node_modules/rtl-css-js/README.md +0 -205
- data/node_modules/rtl-css-js/core/package.json +0 -6
- data/node_modules/rtl-css-js/core.d.ts +0 -163
- data/node_modules/rtl-css-js/core.esm.d.ts +0 -1
- data/node_modules/rtl-css-js/core.esm.js +0 -9
- data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +0 -509
- data/node_modules/rtl-css-js/dist/cjs/core.js +0 -30
- data/node_modules/rtl-css-js/dist/cjs/index.js +0 -7
- data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +0 -487
- data/node_modules/rtl-css-js/dist/esm/core.js +0 -1
- data/node_modules/rtl-css-js/dist/esm/index.js +0 -5
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +0 -519
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +0 -1
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +0 -2
- data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +0 -1
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +0 -496
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +0 -1
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +0 -2
- data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +0 -1
- data/node_modules/rtl-css-js/package.json +0 -66
- data/node_modules/rtl-css-js/types.d.ts +0 -8
- data/node_modules/scheduler/LICENSE +0 -21
- data/node_modules/scheduler/README.md +0 -9
- data/node_modules/scheduler/build-info.json +0 -8
- data/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
- data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
- data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
- data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
- data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
- data/node_modules/scheduler/cjs/scheduler.development.js +0 -646
- data/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
- data/node_modules/scheduler/index.js +0 -7
- data/node_modules/scheduler/package.json +0 -40
- data/node_modules/scheduler/tracing-profiling.js +0 -7
- data/node_modules/scheduler/tracing.js +0 -7
- data/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
- data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
- data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
- data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
- data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
- data/node_modules/scheduler/umd/scheduler.development.js +0 -152
- data/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
- data/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
- data/node_modules/scheduler/unstable_mock.js +0 -7
- data/node_modules/scheduler/unstable_post_task.js +0 -7
- data/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/source-map/LICENSE +0 -28
- data/node_modules/source-map/README.md +0 -742
- data/node_modules/source-map/dist/source-map.debug.js +0 -3234
- data/node_modules/source-map/dist/source-map.js +0 -3233
- data/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/source-map/lib/array-set.js +0 -121
- data/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- data/node_modules/source-map/lib/source-map-generator.js +0 -425
- data/node_modules/source-map/lib/source-node.js +0 -413
- data/node_modules/source-map/lib/util.js +0 -488
- data/node_modules/source-map/package.json +0 -73
- data/node_modules/source-map/source-map.d.ts +0 -98
- data/node_modules/source-map/source-map.js +0 -8
- data/node_modules/sourcemap-codec/CHANGELOG.md +0 -64
- data/node_modules/sourcemap-codec/LICENSE +0 -21
- data/node_modules/sourcemap-codec/README.md +0 -63
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +0 -124
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +0 -1
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -135
- data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
- data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -5
- data/node_modules/sourcemap-codec/package.json +0 -53
- data/node_modules/stack-generator/.eslintrc.yml +0 -32
- data/node_modules/stack-generator/CHANGELOG.md +0 -18
- data/node_modules/stack-generator/CONTRIBUTING.md +0 -27
- data/node_modules/stack-generator/LICENSE +0 -19
- data/node_modules/stack-generator/README.md +0 -28
- data/node_modules/stack-generator/bower.json +0 -33
- data/node_modules/stack-generator/component.json +0 -17
- data/node_modules/stack-generator/dist/stack-generator.js +0 -45
- data/node_modules/stack-generator/dist/stack-generator.min.js +0 -2
- data/node_modules/stack-generator/dist/stack-generator.min.js.map +0 -1
- data/node_modules/stack-generator/karma.conf.ci.js +0 -108
- data/node_modules/stack-generator/karma.conf.js +0 -26
- data/node_modules/stack-generator/package.json +0 -53
- data/node_modules/stack-generator/stack-generator.js +0 -45
- data/node_modules/stackframe/.eslintrc.yml +0 -29
- data/node_modules/stackframe/CHANGELOG.md +0 -39
- data/node_modules/stackframe/CONTRIBUTING.md +0 -28
- data/node_modules/stackframe/LICENSE +0 -19
- data/node_modules/stackframe/README.md +0 -78
- data/node_modules/stackframe/bower.json +0 -31
- data/node_modules/stackframe/component.json +0 -16
- data/node_modules/stackframe/dist/stackframe.js +0 -143
- data/node_modules/stackframe/dist/stackframe.min.js +0 -2
- data/node_modules/stackframe/dist/stackframe.min.js.map +0 -1
- data/node_modules/stackframe/karma.conf.ci.js +0 -105
- data/node_modules/stackframe/karma.conf.js +0 -23
- data/node_modules/stackframe/package.json +0 -51
- data/node_modules/stackframe/stackframe-tests.ts +0 -47
- data/node_modules/stackframe/stackframe.d.ts +0 -74
- data/node_modules/stackframe/stackframe.js +0 -143
- data/node_modules/stacktrace-gps/CHANGELOG.md +0 -60
- data/node_modules/stacktrace-gps/LICENSE +0 -19
- data/node_modules/stacktrace-gps/README.md +0 -89
- data/node_modules/stacktrace-gps/dist/polyfills.js +0 -5
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +0 -2
- data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +0 -1
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +0 -342
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +0 -2
- data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +0 -1
- data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +0 -301
- data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +0 -28
- data/node_modules/stacktrace-gps/node_modules/source-map/README.md +0 -729
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +0 -3056
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +0 -3055
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +0 -2
- data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +0 -1
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +0 -104
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +0 -140
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +0 -67
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +0 -111
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +0 -79
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +0 -114
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +0 -1082
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +0 -404
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +0 -407
- data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +0 -417
- data/node_modules/stacktrace-gps/node_modules/source-map/package.json +0 -71
- data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +0 -8
- data/node_modules/stacktrace-gps/package.json +0 -66
- data/node_modules/stacktrace-gps/stacktrace-gps.js +0 -342
- data/node_modules/stacktrace-js/CHANGELOG.md +0 -97
- data/node_modules/stacktrace-js/LICENSE +0 -19
- data/node_modules/stacktrace-js/README.md +0 -186
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +0 -5405
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +0 -3
- data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +0 -1
- data/node_modules/stacktrace-js/dist/stacktrace.js +0 -3025
- data/node_modules/stacktrace-js/dist/stacktrace.min.js +0 -2
- data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +0 -1
- data/node_modules/stacktrace-js/package.json +0 -82
- data/node_modules/stacktrace-js/stacktrace-js.d.ts +0 -134
- data/node_modules/stacktrace-js/stacktrace.js +0 -227
- data/node_modules/stylis/LICENSE +0 -21
- data/node_modules/stylis/README.md +0 -152
- data/node_modules/stylis/dist/stylis.mjs +0 -2
- data/node_modules/stylis/dist/stylis.mjs.map +0 -1
- data/node_modules/stylis/dist/umd/package.json +0 -1
- data/node_modules/stylis/dist/umd/stylis.js +0 -2
- data/node_modules/stylis/dist/umd/stylis.js.map +0 -1
- data/node_modules/stylis/index.js +0 -7
- data/node_modules/stylis/package.json +0 -164
- data/node_modules/stylis/src/Enum.js +0 -20
- data/node_modules/stylis/src/Middleware.js +0 -107
- data/node_modules/stylis/src/Parser.js +0 -184
- data/node_modules/stylis/src/Prefixer.js +0 -119
- data/node_modules/stylis/src/Serializer.js +0 -34
- data/node_modules/stylis/src/Tokenizer.js +0 -244
- data/node_modules/stylis/src/Utility.js +0 -109
@@ -1,342 +0,0 @@
|
|
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('stacktrace-gps', ['source-map', 'stackframe'], factory);
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('source-map/lib/source-map-consumer'), require('stackframe'));
|
10
|
-
} else {
|
11
|
-
root.StackTraceGPS = factory(root.SourceMap || root.sourceMap, root.StackFrame);
|
12
|
-
}
|
13
|
-
}(this, function(SourceMap, StackFrame) {
|
14
|
-
'use strict';
|
15
|
-
|
16
|
-
/**
|
17
|
-
* Make a X-Domain request to url and callback.
|
18
|
-
*
|
19
|
-
* @param {String} url
|
20
|
-
* @returns {Promise} with response text if fulfilled
|
21
|
-
*/
|
22
|
-
function _xdr(url) {
|
23
|
-
return new Promise(function(resolve, reject) {
|
24
|
-
var req = new XMLHttpRequest();
|
25
|
-
req.open('get', url);
|
26
|
-
req.onerror = reject;
|
27
|
-
req.onreadystatechange = function onreadystatechange() {
|
28
|
-
if (req.readyState === 4) {
|
29
|
-
if ((req.status >= 200 && req.status < 300) ||
|
30
|
-
(url.substr(0, 7) === 'file://' && req.responseText)) {
|
31
|
-
resolve(req.responseText);
|
32
|
-
} else {
|
33
|
-
reject(new Error('HTTP status: ' + req.status + ' retrieving ' + url));
|
34
|
-
}
|
35
|
-
}
|
36
|
-
};
|
37
|
-
req.send();
|
38
|
-
});
|
39
|
-
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Convert a Base64-encoded string into its original representation.
|
44
|
-
* Used for inline sourcemaps.
|
45
|
-
*
|
46
|
-
* @param {String} b64str Base-64 encoded string
|
47
|
-
* @returns {String} original representation of the base64-encoded string.
|
48
|
-
*/
|
49
|
-
function _atob(b64str) {
|
50
|
-
if (typeof window !== 'undefined' && window.atob) {
|
51
|
-
return window.atob(b64str);
|
52
|
-
} else {
|
53
|
-
throw new Error('You must supply a polyfill for window.atob in this environment');
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
function _parseJson(string) {
|
58
|
-
if (typeof JSON !== 'undefined' && JSON.parse) {
|
59
|
-
return JSON.parse(string);
|
60
|
-
} else {
|
61
|
-
throw new Error('You must supply a polyfill for JSON.parse in this environment');
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
function _findFunctionName(source, lineNumber/*, columnNumber*/) {
|
66
|
-
var syntaxes = [
|
67
|
-
// {name} = function ({args}) TODO args capture
|
68
|
-
/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,
|
69
|
-
// function {name}({args}) m[1]=name m[2]=args
|
70
|
-
/function\s+([^('"`]*?)\s*\(([^)]*)\)/,
|
71
|
-
// {name} = eval()
|
72
|
-
/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,
|
73
|
-
// fn_name() {
|
74
|
-
/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,
|
75
|
-
// {name} = () => {
|
76
|
-
/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/
|
77
|
-
];
|
78
|
-
var lines = source.split('\n');
|
79
|
-
|
80
|
-
// Walk backwards in the source lines until we find the line which matches one of the patterns above
|
81
|
-
var code = '';
|
82
|
-
var maxLines = Math.min(lineNumber, 20);
|
83
|
-
for (var i = 0; i < maxLines; ++i) {
|
84
|
-
// lineNo is 1-based, source[] is 0-based
|
85
|
-
var line = lines[lineNumber - i - 1];
|
86
|
-
var commentPos = line.indexOf('//');
|
87
|
-
if (commentPos >= 0) {
|
88
|
-
line = line.substr(0, commentPos);
|
89
|
-
}
|
90
|
-
|
91
|
-
if (line) {
|
92
|
-
code = line + code;
|
93
|
-
var len = syntaxes.length;
|
94
|
-
for (var index = 0; index < len; index++) {
|
95
|
-
var m = syntaxes[index].exec(code);
|
96
|
-
if (m && m[1]) {
|
97
|
-
return m[1];
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
return undefined;
|
103
|
-
}
|
104
|
-
|
105
|
-
function _ensureSupportedEnvironment() {
|
106
|
-
if (typeof Object.defineProperty !== 'function' || typeof Object.create !== 'function') {
|
107
|
-
throw new Error('Unable to consume source maps in older browsers');
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
function _ensureStackFrameIsLegit(stackframe) {
|
112
|
-
if (typeof stackframe !== 'object') {
|
113
|
-
throw new TypeError('Given StackFrame is not an object');
|
114
|
-
} else if (typeof stackframe.fileName !== 'string') {
|
115
|
-
throw new TypeError('Given file name is not a String');
|
116
|
-
} else if (typeof stackframe.lineNumber !== 'number' ||
|
117
|
-
stackframe.lineNumber % 1 !== 0 ||
|
118
|
-
stackframe.lineNumber < 1) {
|
119
|
-
throw new TypeError('Given line number must be a positive integer');
|
120
|
-
} else if (typeof stackframe.columnNumber !== 'number' ||
|
121
|
-
stackframe.columnNumber % 1 !== 0 ||
|
122
|
-
stackframe.columnNumber < 0) {
|
123
|
-
throw new TypeError('Given column number must be a non-negative integer');
|
124
|
-
}
|
125
|
-
return true;
|
126
|
-
}
|
127
|
-
|
128
|
-
function _findSourceMappingURL(source) {
|
129
|
-
var sourceMappingUrlRegExp = /\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg;
|
130
|
-
var lastSourceMappingUrl;
|
131
|
-
var matchSourceMappingUrl;
|
132
|
-
// eslint-disable-next-line no-cond-assign
|
133
|
-
while (matchSourceMappingUrl = sourceMappingUrlRegExp.exec(source)) {
|
134
|
-
lastSourceMappingUrl = matchSourceMappingUrl[1];
|
135
|
-
}
|
136
|
-
if (lastSourceMappingUrl) {
|
137
|
-
return lastSourceMappingUrl;
|
138
|
-
} else {
|
139
|
-
throw new Error('sourceMappingURL not found');
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
function _extractLocationInfoFromSourceMapSource(stackframe, sourceMapConsumer, sourceCache) {
|
144
|
-
return new Promise(function(resolve, reject) {
|
145
|
-
var loc = sourceMapConsumer.originalPositionFor({
|
146
|
-
line: stackframe.lineNumber,
|
147
|
-
column: stackframe.columnNumber
|
148
|
-
});
|
149
|
-
|
150
|
-
if (loc.source) {
|
151
|
-
// cache mapped sources
|
152
|
-
var mappedSource = sourceMapConsumer.sourceContentFor(loc.source);
|
153
|
-
if (mappedSource) {
|
154
|
-
sourceCache[loc.source] = mappedSource;
|
155
|
-
}
|
156
|
-
|
157
|
-
resolve(
|
158
|
-
// given stackframe and source location, update stackframe
|
159
|
-
new StackFrame({
|
160
|
-
functionName: loc.name || stackframe.functionName,
|
161
|
-
args: stackframe.args,
|
162
|
-
fileName: loc.source,
|
163
|
-
lineNumber: loc.line,
|
164
|
-
columnNumber: loc.column
|
165
|
-
}));
|
166
|
-
} else {
|
167
|
-
reject(new Error('Could not get original source for given stackframe and source map'));
|
168
|
-
}
|
169
|
-
});
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* @constructor
|
174
|
-
* @param {Object} opts
|
175
|
-
* opts.sourceCache = {url: "Source String"} => preload source cache
|
176
|
-
* opts.sourceMapConsumerCache = {/path/file.js.map: SourceMapConsumer}
|
177
|
-
* opts.offline = True to prevent network requests.
|
178
|
-
* Best effort without sources or source maps.
|
179
|
-
* opts.ajax = Promise returning function to make X-Domain requests
|
180
|
-
*/
|
181
|
-
return function StackTraceGPS(opts) {
|
182
|
-
if (!(this instanceof StackTraceGPS)) {
|
183
|
-
return new StackTraceGPS(opts);
|
184
|
-
}
|
185
|
-
opts = opts || {};
|
186
|
-
|
187
|
-
this.sourceCache = opts.sourceCache || {};
|
188
|
-
this.sourceMapConsumerCache = opts.sourceMapConsumerCache || {};
|
189
|
-
|
190
|
-
this.ajax = opts.ajax || _xdr;
|
191
|
-
|
192
|
-
this._atob = opts.atob || _atob;
|
193
|
-
|
194
|
-
this._get = function _get(location) {
|
195
|
-
return new Promise(function(resolve, reject) {
|
196
|
-
var isDataUrl = location.substr(0, 5) === 'data:';
|
197
|
-
if (this.sourceCache[location]) {
|
198
|
-
resolve(this.sourceCache[location]);
|
199
|
-
} else if (opts.offline && !isDataUrl) {
|
200
|
-
reject(new Error('Cannot make network requests in offline mode'));
|
201
|
-
} else {
|
202
|
-
if (isDataUrl) {
|
203
|
-
// data URLs can have parameters.
|
204
|
-
// see http://tools.ietf.org/html/rfc2397
|
205
|
-
var supportedEncodingRegexp =
|
206
|
-
/^data:application\/json;([\w=:"-]+;)*base64,/;
|
207
|
-
var match = location.match(supportedEncodingRegexp);
|
208
|
-
if (match) {
|
209
|
-
var sourceMapStart = match[0].length;
|
210
|
-
var encodedSource = location.substr(sourceMapStart);
|
211
|
-
var source = this._atob(encodedSource);
|
212
|
-
this.sourceCache[location] = source;
|
213
|
-
resolve(source);
|
214
|
-
} else {
|
215
|
-
reject(new Error('The encoding of the inline sourcemap is not supported'));
|
216
|
-
}
|
217
|
-
} else {
|
218
|
-
var xhrPromise = this.ajax(location, {method: 'get'});
|
219
|
-
// Cache the Promise to prevent duplicate in-flight requests
|
220
|
-
this.sourceCache[location] = xhrPromise;
|
221
|
-
xhrPromise.then(resolve, reject);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}.bind(this));
|
225
|
-
};
|
226
|
-
|
227
|
-
/**
|
228
|
-
* Creating SourceMapConsumers is expensive, so this wraps the creation of a
|
229
|
-
* SourceMapConsumer in a per-instance cache.
|
230
|
-
*
|
231
|
-
* @param {String} sourceMappingURL = URL to fetch source map from
|
232
|
-
* @param {String} defaultSourceRoot = Default source root for source map if undefined
|
233
|
-
* @returns {Promise} that resolves a SourceMapConsumer
|
234
|
-
*/
|
235
|
-
this._getSourceMapConsumer = function _getSourceMapConsumer(sourceMappingURL, defaultSourceRoot) {
|
236
|
-
return new Promise(function(resolve) {
|
237
|
-
if (this.sourceMapConsumerCache[sourceMappingURL]) {
|
238
|
-
resolve(this.sourceMapConsumerCache[sourceMappingURL]);
|
239
|
-
} else {
|
240
|
-
var sourceMapConsumerPromise = new Promise(function(resolve, reject) {
|
241
|
-
return this._get(sourceMappingURL).then(function(sourceMapSource) {
|
242
|
-
if (typeof sourceMapSource === 'string') {
|
243
|
-
sourceMapSource = _parseJson(sourceMapSource.replace(/^\)\]\}'/, ''));
|
244
|
-
}
|
245
|
-
if (typeof sourceMapSource.sourceRoot === 'undefined') {
|
246
|
-
sourceMapSource.sourceRoot = defaultSourceRoot;
|
247
|
-
}
|
248
|
-
|
249
|
-
resolve(new SourceMap.SourceMapConsumer(sourceMapSource));
|
250
|
-
}, reject);
|
251
|
-
}.bind(this));
|
252
|
-
this.sourceMapConsumerCache[sourceMappingURL] = sourceMapConsumerPromise;
|
253
|
-
resolve(sourceMapConsumerPromise);
|
254
|
-
}
|
255
|
-
}.bind(this));
|
256
|
-
};
|
257
|
-
|
258
|
-
/**
|
259
|
-
* Given a StackFrame, enhance function name and use source maps for a
|
260
|
-
* better StackFrame.
|
261
|
-
*
|
262
|
-
* @param {StackFrame} stackframe object
|
263
|
-
* @returns {Promise} that resolves with with source-mapped StackFrame
|
264
|
-
*/
|
265
|
-
this.pinpoint = function StackTraceGPS$$pinpoint(stackframe) {
|
266
|
-
return new Promise(function(resolve, reject) {
|
267
|
-
this.getMappedLocation(stackframe).then(function(mappedStackFrame) {
|
268
|
-
function resolveMappedStackFrame() {
|
269
|
-
resolve(mappedStackFrame);
|
270
|
-
}
|
271
|
-
|
272
|
-
this.findFunctionName(mappedStackFrame)
|
273
|
-
.then(resolve, resolveMappedStackFrame)
|
274
|
-
// eslint-disable-next-line no-unexpected-multiline
|
275
|
-
['catch'](resolveMappedStackFrame);
|
276
|
-
}.bind(this), reject);
|
277
|
-
}.bind(this));
|
278
|
-
};
|
279
|
-
|
280
|
-
/**
|
281
|
-
* Given a StackFrame, guess function name from location information.
|
282
|
-
*
|
283
|
-
* @param {StackFrame} stackframe
|
284
|
-
* @returns {Promise} that resolves with enhanced StackFrame.
|
285
|
-
*/
|
286
|
-
this.findFunctionName = function StackTraceGPS$$findFunctionName(stackframe) {
|
287
|
-
return new Promise(function(resolve, reject) {
|
288
|
-
_ensureStackFrameIsLegit(stackframe);
|
289
|
-
this._get(stackframe.fileName).then(function getSourceCallback(source) {
|
290
|
-
var lineNumber = stackframe.lineNumber;
|
291
|
-
var columnNumber = stackframe.columnNumber;
|
292
|
-
var guessedFunctionName = _findFunctionName(source, lineNumber, columnNumber);
|
293
|
-
// Only replace functionName if we found something
|
294
|
-
if (guessedFunctionName) {
|
295
|
-
resolve(new StackFrame({
|
296
|
-
functionName: guessedFunctionName,
|
297
|
-
args: stackframe.args,
|
298
|
-
fileName: stackframe.fileName,
|
299
|
-
lineNumber: lineNumber,
|
300
|
-
columnNumber: columnNumber
|
301
|
-
}));
|
302
|
-
} else {
|
303
|
-
resolve(stackframe);
|
304
|
-
}
|
305
|
-
}, reject)['catch'](reject);
|
306
|
-
}.bind(this));
|
307
|
-
};
|
308
|
-
|
309
|
-
/**
|
310
|
-
* Given a StackFrame, seek source-mapped location and return new enhanced StackFrame.
|
311
|
-
*
|
312
|
-
* @param {StackFrame} stackframe
|
313
|
-
* @returns {Promise} that resolves with enhanced StackFrame.
|
314
|
-
*/
|
315
|
-
this.getMappedLocation = function StackTraceGPS$$getMappedLocation(stackframe) {
|
316
|
-
return new Promise(function(resolve, reject) {
|
317
|
-
_ensureSupportedEnvironment();
|
318
|
-
_ensureStackFrameIsLegit(stackframe);
|
319
|
-
|
320
|
-
var sourceCache = this.sourceCache;
|
321
|
-
var fileName = stackframe.fileName;
|
322
|
-
this._get(fileName).then(function(source) {
|
323
|
-
var sourceMappingURL = _findSourceMappingURL(source);
|
324
|
-
var isDataUrl = sourceMappingURL.substr(0, 5) === 'data:';
|
325
|
-
var defaultSourceRoot = fileName.substring(0, fileName.lastIndexOf('/') + 1);
|
326
|
-
|
327
|
-
if (sourceMappingURL[0] !== '/' && !isDataUrl && !(/^https?:\/\/|^\/\//i).test(sourceMappingURL)) {
|
328
|
-
sourceMappingURL = defaultSourceRoot + sourceMappingURL;
|
329
|
-
}
|
330
|
-
|
331
|
-
return this._getSourceMapConsumer(sourceMappingURL, defaultSourceRoot)
|
332
|
-
.then(function(sourceMapConsumer) {
|
333
|
-
return _extractLocationInfoFromSourceMapSource(stackframe, sourceMapConsumer, sourceCache)
|
334
|
-
.then(resolve)['catch'](function() {
|
335
|
-
resolve(stackframe);
|
336
|
-
});
|
337
|
-
});
|
338
|
-
}.bind(this), reject)['catch'](reject);
|
339
|
-
}.bind(this));
|
340
|
-
};
|
341
|
-
};
|
342
|
-
}));
|
@@ -1,97 +0,0 @@
|
|
1
|
-
## v2.0.0
|
2
|
-
|
3
|
-
### ES6 Support
|
4
|
-
|
5
|
-
ES6 code is now parsed and enhanced!
|
6
|
-
|
7
|
-
### Extensible StackFrames
|
8
|
-
|
9
|
-
StackFrames returned are now able to report on whether a function call was a `Constructor`, `native` code, or `eval` code.
|
10
|
-
|
11
|
-
### MIT License
|
12
|
-
|
13
|
-
The community [has voted](https://github.com/stacktracejs/stacktrace.js/issues/187) to change the license of the project to the [MIT License](https://opensource.org/licenses/MIT)
|
14
|
-
|
15
|
-
## v1.3.0
|
16
|
-
* `Stacktrace.getSync()` gets a stack trace, synchronously. It does not attempt to map sources or guess function names, because those typically require network requests.
|
17
|
-
|
18
|
-
## v1.2.0
|
19
|
-
|
20
|
-
* `StackTrace.report` now accepts an error message argument, and will add a `message: "given thing"` to the JSON payload if it is provided.
|
21
|
-
* Various bug fixes from v1.1.0
|
22
|
-
|
23
|
-
## v1.1.0
|
24
|
-
|
25
|
-
### Better parsing
|
26
|
-
Updated [error-stack-parser](https://github.com/stacktracejs/error-stack-parser) to v1.3 which parses eval stack entries in a better way and fixes a bunch of bugs.
|
27
|
-
|
28
|
-
### Better resource handling
|
29
|
-
Updated [stacktrace-gps](https://github.com/stacktracejs/stacktrace-gps). Now reuses the same instance to avoid duplicate requests for the same resource by default.
|
30
|
-
|
31
|
-
### Better dev experience
|
32
|
-
JSCS and automated PR testing have been implemented to ensure consistent styles and quick feedback.
|
33
|
-
|
34
|
-
> Possibly breaking changes: ErrorStackParser now provides it's own polyfill for `Array.map` and `Array.filter`. `eval` information is will display differently in stack traces.
|
35
|
-
|
36
|
-
## v1.0.0
|
37
|
-
|
38
|
-
### stacktrace.js is reborn
|
39
|
-
|
40
|
-
stacktrace.js is now modularized into 5 projects:
|
41
|
-
|
42
|
-
* [stacktrace-gps](https://github.com/stacktracejs/stacktrace-gps) - turn partial code location into precise code location
|
43
|
-
* [error-stack-parser](https://github.com/stacktracejs/error-stack-parser) - extract meaning from JS Errors
|
44
|
-
* [stack-generator](https://github.com/stacktracejs/stack-generator) - generate artificial backtrace in old browsers
|
45
|
-
* [stackframe](https://github.com/stacktracejs/stackframe) - JS Object representation of a stack frame
|
46
|
-
|
47
|
-
... and putting it all together: [stacktrace.js](stacktracejs/stacktrace.js) for instrumenting your code and generating stack traces!
|
48
|
-
|
49
|
-
### Key Features
|
50
|
-
|
51
|
-
* Fully asynchronous API, using [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Use your own polyfill or use [our distribution with polyfills included](https://github.com/stacktracejs/stacktrace.js/blob/master/dist/stacktrace-with-polyfills.min.js). See the [Migration Guide](http://www.stacktracejs.com/docs/v0-migration-guide)
|
52
|
-
* [Source Maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) support
|
53
|
-
* Forward-compatible: stacktrace.js no longer assumes a given browser formats Error stacks in a given way. This prevents new browser versions from breaking error parsing
|
54
|
-
* Stack entries are now fully parsed and returned as [StackFrame objects](https://github.com/stacktracejs/stackframe). Prefer the old format? - just call `.toString()`!
|
55
|
-
* Use only what you need. All 5 projects work independently as well as together!
|
56
|
-
* iOS 8+ Safari support
|
57
|
-
|
58
|
-
### Available everywhere
|
59
|
-
|
60
|
-
```
|
61
|
-
npm install stacktrace-js
|
62
|
-
bower install stacktrace-js
|
63
|
-
component install stacktracejs/stacktrace.js
|
64
|
-
https://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.0.0/stacktrace.min.js
|
65
|
-
```
|
66
|
-
|
67
|
-
### Better for contributors
|
68
|
-
|
69
|
-
* gulp build
|
70
|
-
* TravisCI + Sauce for testing a bunch of browsers
|
71
|
-
* EditorConfig for style adherence
|
72
|
-
|
73
|
-
## v0.6.2
|
74
|
-
|
75
|
-
* Ignore test/ dir in bower
|
76
|
-
* Migrate references eriwen/javascript-stacktrace -> stacktracejs/stacktrace.js
|
77
|
-
|
78
|
-
## v0.6.1
|
79
|
-
|
80
|
-
* Fix printStackTrace throws exception with "use strict" code and PhantomJS
|
81
|
-
|
82
|
-
## v0.6.0
|
83
|
-
|
84
|
-
* Added AMD support using a UMD pattern (thanks @jeffrose)
|
85
|
-
|
86
|
-
## v0.5.3
|
87
|
-
|
88
|
-
* Fix Chrome 27 detection; Chrome no longer has Error#arguments
|
89
|
-
|
90
|
-
## v0.5.1
|
91
|
-
|
92
|
-
* Fix Bower integration; Added proper bower.json file
|
93
|
-
|
94
|
-
## v0.5.0
|
95
|
-
|
96
|
-
* Lots and lots of stuff
|
97
|
-
|
@@ -1,19 +0,0 @@
|
|
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.
|
@@ -1,186 +0,0 @@
|
|
1
|
-
# stacktrace.js
|
2
|
-
Generate, parse and enhance JavaScript stack traces in all browsers
|
3
|
-
|
4
|
-
[![Build Status](https://img.shields.io/travis/stacktracejs/stacktrace.js/master.svg?style=flat-square)](https://travis-ci.org/stacktracejs/stacktrace.js)
|
5
|
-
[![Coverage Status](https://img.shields.io/coveralls/stacktracejs/stacktrace.js.svg?style=flat-square)](https://coveralls.io/r/stacktracejs/stacktrace.js?branch=master)
|
6
|
-
[![GitHub license](https://img.shields.io/github/license/stacktracejs/stacktrace.js.svg?style=flat-square)](https://opensource.org/licenses/MIT)
|
7
|
-
[![CDNJS](https://img.shields.io/cdnjs/v/stacktrace.js.svg?style=flat-square)](https://cdnjs.com/libraries/stacktrace.js)
|
8
|
-
[![size with dependencies](https://img.shields.io/badge/size-29.9k-green.svg?style=flat-square)](https://github.com/stacktracejs/stacktrace.js/releases)
|
9
|
-
[![gzip size](https://img.shields.io/badge/gzipped-9.1k-green.svg?style=flat-square)](https://github.com/stacktracejs/stacktrace.js/releases)
|
10
|
-
[![module format](https://img.shields.io/badge/module%20format-umd-lightgrey.svg?style=flat-square&colorB=ff69b4)](https://github.com/stacktracejs/stacktrace.js/releases)
|
11
|
-
|
12
|
-
Debug and profile your JavaScript with a [stack trace](http://en.wikipedia.org/wiki/Stack_trace) of function calls leading to an error (or any condition you specify).
|
13
|
-
|
14
|
-
stacktrace.js uses browsers' `Error.stack` mechanism to generate stack traces, parses them, enhances them with
|
15
|
-
[source maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) and uses
|
16
|
-
[Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
17
|
-
to return an Array of [StackFrames](https://github.com/stacktracejs/stackframe).
|
18
|
-
|
19
|
-
#### Upgrading? Check the [0.x -> 1.x Migration Guide](https://www.stacktracejs.com/#!/docs/v0-migration-guide)
|
20
|
-
|
21
|
-
## Usage
|
22
|
-
#### Get a stack trace from current location
|
23
|
-
```js
|
24
|
-
var callback = function(stackframes) {
|
25
|
-
var stringifiedStack = stackframes.map(function(sf) {
|
26
|
-
return sf.toString();
|
27
|
-
}).join('\n');
|
28
|
-
console.log(stringifiedStack);
|
29
|
-
};
|
30
|
-
|
31
|
-
var errback = function(err) { console.log(err.message); };
|
32
|
-
|
33
|
-
StackTrace.get().then(callback).catch(errback);
|
34
|
-
//===> Promise(Array[StackFrame], Error)
|
35
|
-
//===> callback([
|
36
|
-
// StackFrame({functionName: 'func1', args: [], fileName: 'file.js', lineNumber: 203, columnNumber: 9}),
|
37
|
-
// StackFrame({functionName: 'func2', args: [], fileName: 'http://localhost:3000/file.min.js', lineNumber: 1, columnNumber: 3284})
|
38
|
-
//])
|
39
|
-
```
|
40
|
-
|
41
|
-
#### You can also get a stack trace synchronously
|
42
|
-
**HEADS UP:** This method does not resolve source maps or guess anonymous function names.
|
43
|
-
|
44
|
-
```js
|
45
|
-
StackTrace.getSync();
|
46
|
-
//==> [
|
47
|
-
// StackFrame({functionName: 'func1', args: [], fileName: 'file.js', lineNumber: 203, columnNumber: 9}),
|
48
|
-
// StackFrame({functionName: 'func2', args: [], fileName: 'http://localhost:3000/file.min.js', lineNumber: 1, columnNumber: 3284})
|
49
|
-
//]
|
50
|
-
```
|
51
|
-
|
52
|
-
#### window.onerror integration
|
53
|
-
Automatically handle errors
|
54
|
-
```js
|
55
|
-
window.onerror = function(msg, file, line, col, error) {
|
56
|
-
// callback is called with an Array[StackFrame]
|
57
|
-
StackTrace.fromError(error).then(callback).catch(errback);
|
58
|
-
};
|
59
|
-
```
|
60
|
-
|
61
|
-
#### Get stack trace from an Error
|
62
|
-
```js
|
63
|
-
var error = new Error('BOOM!');
|
64
|
-
|
65
|
-
StackTrace.fromError(error).then(callback).catch(errback);
|
66
|
-
//===> Promise(Array[StackFrame], Error)
|
67
|
-
```
|
68
|
-
|
69
|
-
#### Generate a stacktrace from walking arguments.callee
|
70
|
-
This might capture arguments information, but isn't supported in ES5 strict-mode
|
71
|
-
```js
|
72
|
-
StackTrace.generateArtificially().then(callback).catch(errback);
|
73
|
-
//===> Promise(Array[StackFrame], Error)
|
74
|
-
```
|
75
|
-
|
76
|
-
#### Trace every time a given function is invoked
|
77
|
-
```js
|
78
|
-
// callback is called with an Array[StackFrame] every time wrapped function is called
|
79
|
-
var myFunc = function(arg) { return 'Hello ' + arg; };
|
80
|
-
var myWrappedFunc = StackTrace.instrument(myFunc, callback, errback);
|
81
|
-
//===> Instrumented Function
|
82
|
-
myWrappedFunc('world');
|
83
|
-
//===> 'Hello world'
|
84
|
-
|
85
|
-
// Use this if you overwrote you original function
|
86
|
-
myFunc = StackTrace.deinstrument(myFunc);
|
87
|
-
//===> De-instrumented Function
|
88
|
-
```
|
89
|
-
|
90
|
-
## Get stacktrace.js
|
91
|
-
```
|
92
|
-
npm install stacktrace-js
|
93
|
-
bower install stacktrace-js
|
94
|
-
component install stacktracejs/stacktrace.js
|
95
|
-
http://cdnjs.com/libraries/stacktrace.js
|
96
|
-
```
|
97
|
-
|
98
|
-
## API
|
99
|
-
|
100
|
-
#### `StackTrace.get(/*optional*/ options)` => [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)(Array[[StackFrame](https://github.com/stacktracejs/stackframe)])
|
101
|
-
Generate a backtrace from invocation point, then parse and enhance it.
|
102
|
-
|
103
|
-
**(Optional) options: Object**
|
104
|
-
* *filter: Function([StackFrame](https://github.com/stacktracejs/stackframe) => Boolean)* - Only include stack entries matching for which `filter` returns `true`
|
105
|
-
* *sourceCache: Object (String URL => String Source)* - Pre-populate source cache to avoid network requests
|
106
|
-
* *offline: Boolean (default: false)* - Set to `true` to prevent all network requests
|
107
|
-
|
108
|
-
#### `StackTrace.getSync(/*optional*/ options)` => Array[[StackFrame](https://github.com/stacktracejs/stackframe)]
|
109
|
-
Generate a backtrace from invocation point, then parse it. This method does not use source maps or guess anonymous functions.
|
110
|
-
|
111
|
-
**(Optional) options: Object**
|
112
|
-
* *filter: Function([StackFrame](https://github.com/stacktracejs/stackframe) => Boolean)* - Only include stack entries matching for which `filter` returns `true`
|
113
|
-
|
114
|
-
#### `StackTrace.fromError(error, /*optional*/ options)` => [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)(Array[[StackFrame](https://github.com/stacktracejs/stackframe)])
|
115
|
-
Given an Error object, use [error-stack-parser](https://github.com/stacktracejs/error-stack-parser)
|
116
|
-
to parse it and enhance location information with [stacktrace-gps](https://github.com/stacktracejs/stacktrace-gps).
|
117
|
-
|
118
|
-
**error: Error**
|
119
|
-
|
120
|
-
**(Optional) options: Object**
|
121
|
-
* *filter: Function([StackFrame](https://github.com/stacktracejs/stackframe) => Boolean)* - Only include stack entries matching for which `filter` returns `true`
|
122
|
-
* *sourceCache: Object (String URL => String Source)* - Pre-populate source cache to avoid network requests
|
123
|
-
* *offline: Boolean (default: false)* - Set to `true` to prevent all network requests
|
124
|
-
|
125
|
-
#### `StackTrace.generateArtificially(/*optional*/ options)` => [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)(Array[[StackFrame](https://github.com/stacktracejs/stackframe)])
|
126
|
-
Use [stack-generator](https://github.com/stacktracejs/stack-generator) to generate a backtrace by walking the `arguments.callee.caller` chain.
|
127
|
-
|
128
|
-
**(Optional) options: Object**
|
129
|
-
* *filter: Function([StackFrame](https://github.com/stacktracejs/stackframe) => Boolean)* - Only include stack entries matching for which `filter` returns `true`
|
130
|
-
* *sourceCache: Object (String URL => String Source)* - Pre-populate source cache to avoid network requests
|
131
|
-
* *offline: Boolean (default: false)* - Set to `true` to prevent all network requests
|
132
|
-
|
133
|
-
#### `StackTrace.instrument(fn, callback, /*optional*/ errback)` => Function
|
134
|
-
* Given a function, wrap it such that invocations trigger a callback that is called with a stack trace.
|
135
|
-
|
136
|
-
* **fn: Function** - to wrap, call callback on invocation and call-through
|
137
|
-
* **callback: Function** - to call with stack trace (generated by `StackTrace.get()`) when fn is called
|
138
|
-
* **(Optional) errback: Function** - to call with Error object if there was a problem getting a stack trace.
|
139
|
-
Fails silently (though `fn` is still called) if a stack trace couldn't be generated.
|
140
|
-
|
141
|
-
#### `StackTrace.deinstrument(fn)` => Function
|
142
|
-
Given a function that has been instrumented, revert the function to it's original (non-instrumented) state.
|
143
|
-
|
144
|
-
* **fn: Function** - Instrumented Function
|
145
|
-
|
146
|
-
#### `StackTrace.report(stackframes, url, message, requestOptions)` => [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)(String)
|
147
|
-
Given an an error message and Array of StackFrames, serialize and POST to given URL. Promise is resolved with response text from POST request.
|
148
|
-
|
149
|
-
Example JSON POST data:
|
150
|
-
```
|
151
|
-
{
|
152
|
-
message: 'BOOM',
|
153
|
-
stack: [
|
154
|
-
{functionName: 'fn', fileName: 'file.js', lineNumber: 32, columnNumber: 1},
|
155
|
-
{functionName: 'fn2', fileName: 'file.js', lineNumber: 543, columnNumber: 32},
|
156
|
-
{functionName: 'fn3', fileName: 'file.js', lineNumber: 8, columnNumber: 1}
|
157
|
-
]
|
158
|
-
}
|
159
|
-
```
|
160
|
-
|
161
|
-
* **stackframes: Array([StackFrame](https://github.com/stacktracejs/stackframe))** - Previously wrapped Function
|
162
|
-
* **url: String** - URL to POST stack JSON to
|
163
|
-
* **message: String** - The error message
|
164
|
-
* **requestOptions: Object** - HTTP request options object. Only `headers: {key: val}` is supported.
|
165
|
-
|
166
|
-
## Browser Support
|
167
|
-
[![Sauce Test Status](https://saucelabs.com/browser-matrix/stacktracejs.svg)](https://saucelabs.com/u/stacktracejs)
|
168
|
-
|
169
|
-
> **HEADS UP**: You won't get the benefit of [source maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/)
|
170
|
-
in IE9- or other very old browsers.
|
171
|
-
|
172
|
-
## Using node.js/io.js only?
|
173
|
-
I recommend the [stack-trace node package](https://www.npmjs.com/package/stack-trace) specifically built for node.
|
174
|
-
It has a very similar API and also supports source maps.
|
175
|
-
|
176
|
-
## Contributing
|
177
|
-
This project adheres to the [Open Code of Conduct](http://todogroup.org/opencodeofconduct/#stacktrace.js/me@eriwen.com). By participating, you are expected to honor this code.
|
178
|
-
|
179
|
-
Want to be listed as a *Contributor*? Start with the [Contributing Guide](https://github.com/stacktracejs/stacktrace.js/blob/master/.github/CONTRIBUTING.md)!
|
180
|
-
|
181
|
-
This project is made possible due to the efforts of these fine people:
|
182
|
-
|
183
|
-
* [Eric Wendelin](https://www.eriwen.com)
|
184
|
-
* [Victor Homyakov](https://github.com/victor-homyakov)
|
185
|
-
* [Oliver Salzburg](https://github.com/oliversalzburg)
|
186
|
-
* [Many others](https://github.com/stacktracejs/stacktrace.js/graphs/contributors)
|