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,121 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*/
|
7
|
-
|
8
|
-
var util = require('./util');
|
9
|
-
var has = Object.prototype.hasOwnProperty;
|
10
|
-
var hasNativeMap = typeof Map !== "undefined";
|
11
|
-
|
12
|
-
/**
|
13
|
-
* A data structure which is a combination of an array and a set. Adding a new
|
14
|
-
* member is O(1), testing for membership is O(1), and finding the index of an
|
15
|
-
* element is O(1). Removing elements from the set is not supported. Only
|
16
|
-
* strings are supported for membership.
|
17
|
-
*/
|
18
|
-
function ArraySet() {
|
19
|
-
this._array = [];
|
20
|
-
this._set = hasNativeMap ? new Map() : Object.create(null);
|
21
|
-
}
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Static method for creating ArraySet instances from an existing array.
|
25
|
-
*/
|
26
|
-
ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
|
27
|
-
var set = new ArraySet();
|
28
|
-
for (var i = 0, len = aArray.length; i < len; i++) {
|
29
|
-
set.add(aArray[i], aAllowDuplicates);
|
30
|
-
}
|
31
|
-
return set;
|
32
|
-
};
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Return how many unique items are in this ArraySet. If duplicates have been
|
36
|
-
* added, than those do not count towards the size.
|
37
|
-
*
|
38
|
-
* @returns Number
|
39
|
-
*/
|
40
|
-
ArraySet.prototype.size = function ArraySet_size() {
|
41
|
-
return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
|
42
|
-
};
|
43
|
-
|
44
|
-
/**
|
45
|
-
* Add the given string to this set.
|
46
|
-
*
|
47
|
-
* @param String aStr
|
48
|
-
*/
|
49
|
-
ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
|
50
|
-
var sStr = hasNativeMap ? aStr : util.toSetString(aStr);
|
51
|
-
var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
|
52
|
-
var idx = this._array.length;
|
53
|
-
if (!isDuplicate || aAllowDuplicates) {
|
54
|
-
this._array.push(aStr);
|
55
|
-
}
|
56
|
-
if (!isDuplicate) {
|
57
|
-
if (hasNativeMap) {
|
58
|
-
this._set.set(aStr, idx);
|
59
|
-
} else {
|
60
|
-
this._set[sStr] = idx;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
};
|
64
|
-
|
65
|
-
/**
|
66
|
-
* Is the given string a member of this set?
|
67
|
-
*
|
68
|
-
* @param String aStr
|
69
|
-
*/
|
70
|
-
ArraySet.prototype.has = function ArraySet_has(aStr) {
|
71
|
-
if (hasNativeMap) {
|
72
|
-
return this._set.has(aStr);
|
73
|
-
} else {
|
74
|
-
var sStr = util.toSetString(aStr);
|
75
|
-
return has.call(this._set, sStr);
|
76
|
-
}
|
77
|
-
};
|
78
|
-
|
79
|
-
/**
|
80
|
-
* What is the index of the given string in the array?
|
81
|
-
*
|
82
|
-
* @param String aStr
|
83
|
-
*/
|
84
|
-
ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
|
85
|
-
if (hasNativeMap) {
|
86
|
-
var idx = this._set.get(aStr);
|
87
|
-
if (idx >= 0) {
|
88
|
-
return idx;
|
89
|
-
}
|
90
|
-
} else {
|
91
|
-
var sStr = util.toSetString(aStr);
|
92
|
-
if (has.call(this._set, sStr)) {
|
93
|
-
return this._set[sStr];
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
throw new Error('"' + aStr + '" is not in the set.');
|
98
|
-
};
|
99
|
-
|
100
|
-
/**
|
101
|
-
* What is the element at the given index?
|
102
|
-
*
|
103
|
-
* @param Number aIdx
|
104
|
-
*/
|
105
|
-
ArraySet.prototype.at = function ArraySet_at(aIdx) {
|
106
|
-
if (aIdx >= 0 && aIdx < this._array.length) {
|
107
|
-
return this._array[aIdx];
|
108
|
-
}
|
109
|
-
throw new Error('No element indexed by ' + aIdx);
|
110
|
-
};
|
111
|
-
|
112
|
-
/**
|
113
|
-
* Returns the array representation of this set (which has the proper indices
|
114
|
-
* indicated by indexOf). Note that this is a copy of the internal array used
|
115
|
-
* for storing the members so that no one can mess with internal state.
|
116
|
-
*/
|
117
|
-
ArraySet.prototype.toArray = function ArraySet_toArray() {
|
118
|
-
return this._array.slice();
|
119
|
-
};
|
120
|
-
|
121
|
-
exports.ArraySet = ArraySet;
|
@@ -1,140 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*
|
7
|
-
* Based on the Base 64 VLQ implementation in Closure Compiler:
|
8
|
-
* https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
|
9
|
-
*
|
10
|
-
* Copyright 2011 The Closure Compiler Authors. All rights reserved.
|
11
|
-
* Redistribution and use in source and binary forms, with or without
|
12
|
-
* modification, are permitted provided that the following conditions are
|
13
|
-
* met:
|
14
|
-
*
|
15
|
-
* * Redistributions of source code must retain the above copyright
|
16
|
-
* notice, this list of conditions and the following disclaimer.
|
17
|
-
* * Redistributions in binary form must reproduce the above
|
18
|
-
* copyright notice, this list of conditions and the following
|
19
|
-
* disclaimer in the documentation and/or other materials provided
|
20
|
-
* with the distribution.
|
21
|
-
* * Neither the name of Google Inc. nor the names of its
|
22
|
-
* contributors may be used to endorse or promote products derived
|
23
|
-
* from this software without specific prior written permission.
|
24
|
-
*
|
25
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
26
|
-
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
27
|
-
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
28
|
-
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
29
|
-
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
30
|
-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
31
|
-
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
32
|
-
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
33
|
-
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
34
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
35
|
-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
36
|
-
*/
|
37
|
-
|
38
|
-
var base64 = require('./base64');
|
39
|
-
|
40
|
-
// A single base 64 digit can contain 6 bits of data. For the base 64 variable
|
41
|
-
// length quantities we use in the source map spec, the first bit is the sign,
|
42
|
-
// the next four bits are the actual value, and the 6th bit is the
|
43
|
-
// continuation bit. The continuation bit tells us whether there are more
|
44
|
-
// digits in this value following this digit.
|
45
|
-
//
|
46
|
-
// Continuation
|
47
|
-
// | Sign
|
48
|
-
// | |
|
49
|
-
// V V
|
50
|
-
// 101011
|
51
|
-
|
52
|
-
var VLQ_BASE_SHIFT = 5;
|
53
|
-
|
54
|
-
// binary: 100000
|
55
|
-
var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
|
56
|
-
|
57
|
-
// binary: 011111
|
58
|
-
var VLQ_BASE_MASK = VLQ_BASE - 1;
|
59
|
-
|
60
|
-
// binary: 100000
|
61
|
-
var VLQ_CONTINUATION_BIT = VLQ_BASE;
|
62
|
-
|
63
|
-
/**
|
64
|
-
* Converts from a two-complement value to a value where the sign bit is
|
65
|
-
* placed in the least significant bit. For example, as decimals:
|
66
|
-
* 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
|
67
|
-
* 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
|
68
|
-
*/
|
69
|
-
function toVLQSigned(aValue) {
|
70
|
-
return aValue < 0
|
71
|
-
? ((-aValue) << 1) + 1
|
72
|
-
: (aValue << 1) + 0;
|
73
|
-
}
|
74
|
-
|
75
|
-
/**
|
76
|
-
* Converts to a two-complement value from a value where the sign bit is
|
77
|
-
* placed in the least significant bit. For example, as decimals:
|
78
|
-
* 2 (10 binary) becomes 1, 3 (11 binary) becomes -1
|
79
|
-
* 4 (100 binary) becomes 2, 5 (101 binary) becomes -2
|
80
|
-
*/
|
81
|
-
function fromVLQSigned(aValue) {
|
82
|
-
var isNegative = (aValue & 1) === 1;
|
83
|
-
var shifted = aValue >> 1;
|
84
|
-
return isNegative
|
85
|
-
? -shifted
|
86
|
-
: shifted;
|
87
|
-
}
|
88
|
-
|
89
|
-
/**
|
90
|
-
* Returns the base 64 VLQ encoded value.
|
91
|
-
*/
|
92
|
-
exports.encode = function base64VLQ_encode(aValue) {
|
93
|
-
var encoded = "";
|
94
|
-
var digit;
|
95
|
-
|
96
|
-
var vlq = toVLQSigned(aValue);
|
97
|
-
|
98
|
-
do {
|
99
|
-
digit = vlq & VLQ_BASE_MASK;
|
100
|
-
vlq >>>= VLQ_BASE_SHIFT;
|
101
|
-
if (vlq > 0) {
|
102
|
-
// There are still more digits in this value, so we must make sure the
|
103
|
-
// continuation bit is marked.
|
104
|
-
digit |= VLQ_CONTINUATION_BIT;
|
105
|
-
}
|
106
|
-
encoded += base64.encode(digit);
|
107
|
-
} while (vlq > 0);
|
108
|
-
|
109
|
-
return encoded;
|
110
|
-
};
|
111
|
-
|
112
|
-
/**
|
113
|
-
* Decodes the next base 64 VLQ value from the given string and returns the
|
114
|
-
* value and the rest of the string via the out parameter.
|
115
|
-
*/
|
116
|
-
exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
|
117
|
-
var strLen = aStr.length;
|
118
|
-
var result = 0;
|
119
|
-
var shift = 0;
|
120
|
-
var continuation, digit;
|
121
|
-
|
122
|
-
do {
|
123
|
-
if (aIndex >= strLen) {
|
124
|
-
throw new Error("Expected more digits in base 64 VLQ value.");
|
125
|
-
}
|
126
|
-
|
127
|
-
digit = base64.decode(aStr.charCodeAt(aIndex++));
|
128
|
-
if (digit === -1) {
|
129
|
-
throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1));
|
130
|
-
}
|
131
|
-
|
132
|
-
continuation = !!(digit & VLQ_CONTINUATION_BIT);
|
133
|
-
digit &= VLQ_BASE_MASK;
|
134
|
-
result = result + (digit << shift);
|
135
|
-
shift += VLQ_BASE_SHIFT;
|
136
|
-
} while (continuation);
|
137
|
-
|
138
|
-
aOutParam.value = fromVLQSigned(result);
|
139
|
-
aOutParam.rest = aIndex;
|
140
|
-
};
|
@@ -1,67 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*/
|
7
|
-
|
8
|
-
var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Encode an integer in the range of 0 to 63 to a single base 64 digit.
|
12
|
-
*/
|
13
|
-
exports.encode = function (number) {
|
14
|
-
if (0 <= number && number < intToCharMap.length) {
|
15
|
-
return intToCharMap[number];
|
16
|
-
}
|
17
|
-
throw new TypeError("Must be between 0 and 63: " + number);
|
18
|
-
};
|
19
|
-
|
20
|
-
/**
|
21
|
-
* Decode a single base 64 character code digit to an integer. Returns -1 on
|
22
|
-
* failure.
|
23
|
-
*/
|
24
|
-
exports.decode = function (charCode) {
|
25
|
-
var bigA = 65; // 'A'
|
26
|
-
var bigZ = 90; // 'Z'
|
27
|
-
|
28
|
-
var littleA = 97; // 'a'
|
29
|
-
var littleZ = 122; // 'z'
|
30
|
-
|
31
|
-
var zero = 48; // '0'
|
32
|
-
var nine = 57; // '9'
|
33
|
-
|
34
|
-
var plus = 43; // '+'
|
35
|
-
var slash = 47; // '/'
|
36
|
-
|
37
|
-
var littleOffset = 26;
|
38
|
-
var numberOffset = 52;
|
39
|
-
|
40
|
-
// 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
41
|
-
if (bigA <= charCode && charCode <= bigZ) {
|
42
|
-
return (charCode - bigA);
|
43
|
-
}
|
44
|
-
|
45
|
-
// 26 - 51: abcdefghijklmnopqrstuvwxyz
|
46
|
-
if (littleA <= charCode && charCode <= littleZ) {
|
47
|
-
return (charCode - littleA + littleOffset);
|
48
|
-
}
|
49
|
-
|
50
|
-
// 52 - 61: 0123456789
|
51
|
-
if (zero <= charCode && charCode <= nine) {
|
52
|
-
return (charCode - zero + numberOffset);
|
53
|
-
}
|
54
|
-
|
55
|
-
// 62: +
|
56
|
-
if (charCode == plus) {
|
57
|
-
return 62;
|
58
|
-
}
|
59
|
-
|
60
|
-
// 63: /
|
61
|
-
if (charCode == slash) {
|
62
|
-
return 63;
|
63
|
-
}
|
64
|
-
|
65
|
-
// Invalid base64 digit.
|
66
|
-
return -1;
|
67
|
-
};
|
@@ -1,111 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*/
|
7
|
-
|
8
|
-
exports.GREATEST_LOWER_BOUND = 1;
|
9
|
-
exports.LEAST_UPPER_BOUND = 2;
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Recursive implementation of binary search.
|
13
|
-
*
|
14
|
-
* @param aLow Indices here and lower do not contain the needle.
|
15
|
-
* @param aHigh Indices here and higher do not contain the needle.
|
16
|
-
* @param aNeedle The element being searched for.
|
17
|
-
* @param aHaystack The non-empty array being searched.
|
18
|
-
* @param aCompare Function which takes two elements and returns -1, 0, or 1.
|
19
|
-
* @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
|
20
|
-
* 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
|
21
|
-
* closest element that is smaller than or greater than the one we are
|
22
|
-
* searching for, respectively, if the exact element cannot be found.
|
23
|
-
*/
|
24
|
-
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
25
|
-
// This function terminates when one of the following is true:
|
26
|
-
//
|
27
|
-
// 1. We find the exact element we are looking for.
|
28
|
-
//
|
29
|
-
// 2. We did not find the exact element, but we can return the index of
|
30
|
-
// the next-closest element.
|
31
|
-
//
|
32
|
-
// 3. We did not find the exact element, and there is no next-closest
|
33
|
-
// element than the one we are searching for, so we return -1.
|
34
|
-
var mid = Math.floor((aHigh - aLow) / 2) + aLow;
|
35
|
-
var cmp = aCompare(aNeedle, aHaystack[mid], true);
|
36
|
-
if (cmp === 0) {
|
37
|
-
// Found the element we are looking for.
|
38
|
-
return mid;
|
39
|
-
}
|
40
|
-
else if (cmp > 0) {
|
41
|
-
// Our needle is greater than aHaystack[mid].
|
42
|
-
if (aHigh - mid > 1) {
|
43
|
-
// The element is in the upper half.
|
44
|
-
return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
45
|
-
}
|
46
|
-
|
47
|
-
// The exact needle element was not found in this haystack. Determine if
|
48
|
-
// we are in termination case (3) or (2) and return the appropriate thing.
|
49
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
50
|
-
return aHigh < aHaystack.length ? aHigh : -1;
|
51
|
-
} else {
|
52
|
-
return mid;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
else {
|
56
|
-
// Our needle is less than aHaystack[mid].
|
57
|
-
if (mid - aLow > 1) {
|
58
|
-
// The element is in the lower half.
|
59
|
-
return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
60
|
-
}
|
61
|
-
|
62
|
-
// we are in termination case (3) or (2) and return the appropriate thing.
|
63
|
-
if (aBias == exports.LEAST_UPPER_BOUND) {
|
64
|
-
return mid;
|
65
|
-
} else {
|
66
|
-
return aLow < 0 ? -1 : aLow;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
/**
|
72
|
-
* This is an implementation of binary search which will always try and return
|
73
|
-
* the index of the closest element if there is no exact hit. This is because
|
74
|
-
* mappings between original and generated line/col pairs are single points,
|
75
|
-
* and there is an implicit region between each of them, so a miss just means
|
76
|
-
* that you aren't on the very start of a region.
|
77
|
-
*
|
78
|
-
* @param aNeedle The element you are looking for.
|
79
|
-
* @param aHaystack The array that is being searched.
|
80
|
-
* @param aCompare A function which takes the needle and an element in the
|
81
|
-
* array and returns -1, 0, or 1 depending on whether the needle is less
|
82
|
-
* than, equal to, or greater than the element, respectively.
|
83
|
-
* @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
|
84
|
-
* 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
|
85
|
-
* closest element that is smaller than or greater than the one we are
|
86
|
-
* searching for, respectively, if the exact element cannot be found.
|
87
|
-
* Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
|
88
|
-
*/
|
89
|
-
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
90
|
-
if (aHaystack.length === 0) {
|
91
|
-
return -1;
|
92
|
-
}
|
93
|
-
|
94
|
-
var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
|
95
|
-
aCompare, aBias || exports.GREATEST_LOWER_BOUND);
|
96
|
-
if (index < 0) {
|
97
|
-
return -1;
|
98
|
-
}
|
99
|
-
|
100
|
-
// We have found either the exact element, or the next-closest element than
|
101
|
-
// the one we are searching for. However, there may be more than one such
|
102
|
-
// element. Make sure we always return the smallest of these.
|
103
|
-
while (index - 1 >= 0) {
|
104
|
-
if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
|
105
|
-
break;
|
106
|
-
}
|
107
|
-
--index;
|
108
|
-
}
|
109
|
-
|
110
|
-
return index;
|
111
|
-
};
|
@@ -1,79 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2014 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*/
|
7
|
-
|
8
|
-
var util = require('./util');
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Determine whether mappingB is after mappingA with respect to generated
|
12
|
-
* position.
|
13
|
-
*/
|
14
|
-
function generatedPositionAfter(mappingA, mappingB) {
|
15
|
-
// Optimized for most common case
|
16
|
-
var lineA = mappingA.generatedLine;
|
17
|
-
var lineB = mappingB.generatedLine;
|
18
|
-
var columnA = mappingA.generatedColumn;
|
19
|
-
var columnB = mappingB.generatedColumn;
|
20
|
-
return lineB > lineA || lineB == lineA && columnB >= columnA ||
|
21
|
-
util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
|
22
|
-
}
|
23
|
-
|
24
|
-
/**
|
25
|
-
* A data structure to provide a sorted view of accumulated mappings in a
|
26
|
-
* performance conscious manner. It trades a neglibable overhead in general
|
27
|
-
* case for a large speedup in case of mappings being added in order.
|
28
|
-
*/
|
29
|
-
function MappingList() {
|
30
|
-
this._array = [];
|
31
|
-
this._sorted = true;
|
32
|
-
// Serves as infimum
|
33
|
-
this._last = {generatedLine: -1, generatedColumn: 0};
|
34
|
-
}
|
35
|
-
|
36
|
-
/**
|
37
|
-
* Iterate through internal items. This method takes the same arguments that
|
38
|
-
* `Array.prototype.forEach` takes.
|
39
|
-
*
|
40
|
-
* NOTE: The order of the mappings is NOT guaranteed.
|
41
|
-
*/
|
42
|
-
MappingList.prototype.unsortedForEach =
|
43
|
-
function MappingList_forEach(aCallback, aThisArg) {
|
44
|
-
this._array.forEach(aCallback, aThisArg);
|
45
|
-
};
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Add the given source mapping.
|
49
|
-
*
|
50
|
-
* @param Object aMapping
|
51
|
-
*/
|
52
|
-
MappingList.prototype.add = function MappingList_add(aMapping) {
|
53
|
-
if (generatedPositionAfter(this._last, aMapping)) {
|
54
|
-
this._last = aMapping;
|
55
|
-
this._array.push(aMapping);
|
56
|
-
} else {
|
57
|
-
this._sorted = false;
|
58
|
-
this._array.push(aMapping);
|
59
|
-
}
|
60
|
-
};
|
61
|
-
|
62
|
-
/**
|
63
|
-
* Returns the flat, sorted array of mappings. The mappings are sorted by
|
64
|
-
* generated position.
|
65
|
-
*
|
66
|
-
* WARNING: This method returns internal data without copying, for
|
67
|
-
* performance. The return value must NOT be mutated, and should be treated as
|
68
|
-
* an immutable borrow. If you want to take ownership, you must make your own
|
69
|
-
* copy.
|
70
|
-
*/
|
71
|
-
MappingList.prototype.toArray = function MappingList_toArray() {
|
72
|
-
if (!this._sorted) {
|
73
|
-
this._array.sort(util.compareByGeneratedPositionsInflated);
|
74
|
-
this._sorted = true;
|
75
|
-
}
|
76
|
-
return this._array;
|
77
|
-
};
|
78
|
-
|
79
|
-
exports.MappingList = MappingList;
|
@@ -1,114 +0,0 @@
|
|
1
|
-
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2
|
-
/*
|
3
|
-
* Copyright 2011 Mozilla Foundation and contributors
|
4
|
-
* Licensed under the New BSD license. See LICENSE or:
|
5
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
6
|
-
*/
|
7
|
-
|
8
|
-
// It turns out that some (most?) JavaScript engines don't self-host
|
9
|
-
// `Array.prototype.sort`. This makes sense because C++ will likely remain
|
10
|
-
// faster than JS when doing raw CPU-intensive sorting. However, when using a
|
11
|
-
// custom comparator function, calling back and forth between the VM's C++ and
|
12
|
-
// JIT'd JS is rather slow *and* loses JIT type information, resulting in
|
13
|
-
// worse generated code for the comparator function than would be optimal. In
|
14
|
-
// fact, when sorting with a comparator, these costs outweigh the benefits of
|
15
|
-
// sorting in C++. By using our own JS-implemented Quick Sort (below), we get
|
16
|
-
// a ~3500ms mean speed-up in `bench/bench.html`.
|
17
|
-
|
18
|
-
/**
|
19
|
-
* Swap the elements indexed by `x` and `y` in the array `ary`.
|
20
|
-
*
|
21
|
-
* @param {Array} ary
|
22
|
-
* The array.
|
23
|
-
* @param {Number} x
|
24
|
-
* The index of the first item.
|
25
|
-
* @param {Number} y
|
26
|
-
* The index of the second item.
|
27
|
-
*/
|
28
|
-
function swap(ary, x, y) {
|
29
|
-
var temp = ary[x];
|
30
|
-
ary[x] = ary[y];
|
31
|
-
ary[y] = temp;
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Returns a random integer within the range `low .. high` inclusive.
|
36
|
-
*
|
37
|
-
* @param {Number} low
|
38
|
-
* The lower bound on the range.
|
39
|
-
* @param {Number} high
|
40
|
-
* The upper bound on the range.
|
41
|
-
*/
|
42
|
-
function randomIntInRange(low, high) {
|
43
|
-
return Math.round(low + (Math.random() * (high - low)));
|
44
|
-
}
|
45
|
-
|
46
|
-
/**
|
47
|
-
* The Quick Sort algorithm.
|
48
|
-
*
|
49
|
-
* @param {Array} ary
|
50
|
-
* An array to sort.
|
51
|
-
* @param {function} comparator
|
52
|
-
* Function to use to compare two items.
|
53
|
-
* @param {Number} p
|
54
|
-
* Start index of the array
|
55
|
-
* @param {Number} r
|
56
|
-
* End index of the array
|
57
|
-
*/
|
58
|
-
function doQuickSort(ary, comparator, p, r) {
|
59
|
-
// If our lower bound is less than our upper bound, we (1) partition the
|
60
|
-
// array into two pieces and (2) recurse on each half. If it is not, this is
|
61
|
-
// the empty array and our base case.
|
62
|
-
|
63
|
-
if (p < r) {
|
64
|
-
// (1) Partitioning.
|
65
|
-
//
|
66
|
-
// The partitioning chooses a pivot between `p` and `r` and moves all
|
67
|
-
// elements that are less than or equal to the pivot to the before it, and
|
68
|
-
// all the elements that are greater than it after it. The effect is that
|
69
|
-
// once partition is done, the pivot is in the exact place it will be when
|
70
|
-
// the array is put in sorted order, and it will not need to be moved
|
71
|
-
// again. This runs in O(n) time.
|
72
|
-
|
73
|
-
// Always choose a random pivot so that an input array which is reverse
|
74
|
-
// sorted does not cause O(n^2) running time.
|
75
|
-
var pivotIndex = randomIntInRange(p, r);
|
76
|
-
var i = p - 1;
|
77
|
-
|
78
|
-
swap(ary, pivotIndex, r);
|
79
|
-
var pivot = ary[r];
|
80
|
-
|
81
|
-
// Immediately after `j` is incremented in this loop, the following hold
|
82
|
-
// true:
|
83
|
-
//
|
84
|
-
// * Every element in `ary[p .. i]` is less than or equal to the pivot.
|
85
|
-
//
|
86
|
-
// * Every element in `ary[i+1 .. j-1]` is greater than the pivot.
|
87
|
-
for (var j = p; j < r; j++) {
|
88
|
-
if (comparator(ary[j], pivot) <= 0) {
|
89
|
-
i += 1;
|
90
|
-
swap(ary, i, j);
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
swap(ary, i + 1, j);
|
95
|
-
var q = i + 1;
|
96
|
-
|
97
|
-
// (2) Recurse on each half.
|
98
|
-
|
99
|
-
doQuickSort(ary, comparator, p, q - 1);
|
100
|
-
doQuickSort(ary, comparator, q + 1, r);
|
101
|
-
}
|
102
|
-
}
|
103
|
-
|
104
|
-
/**
|
105
|
-
* Sort the given array in-place with the given comparator function.
|
106
|
-
*
|
107
|
-
* @param {Array} ary
|
108
|
-
* An array to sort.
|
109
|
-
* @param {function} comparator
|
110
|
-
* Function to use to compare two items.
|
111
|
-
*/
|
112
|
-
exports.quickSort = function (ary, comparator) {
|
113
|
-
doQuickSort(ary, comparator, 0, ary.length - 1);
|
114
|
-
};
|