isomorfeus-preact 10.5.7 → 10.5.11
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/README.md +2 -5
- data/lib/isomorfeus/preact/imports.rb +0 -7
- data/lib/isomorfeus/preact_view_helper.rb +2 -2
- data/lib/isomorfeus-preact.rb +3 -0
- data/lib/lucid_app/context.rb +12 -12
- data/lib/nano_css.rb +464 -0
- data/lib/preact/version.rb +1 -1
- data/node_modules/.package-lock.json +6 -236
- 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 +2 -3
- metadata +24 -885
- 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 -271
- data/node_modules/csstype/index.d.ts +0 -20496
- data/node_modules/csstype/index.js.flow +0 -6313
- data/node_modules/csstype/package.json +0 -64
- 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/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,488 +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
|
-
/**
|
9
|
-
* This is a helper function for getting values from parameter/options
|
10
|
-
* objects.
|
11
|
-
*
|
12
|
-
* @param args The object we are extracting values from
|
13
|
-
* @param name The name of the property we are getting.
|
14
|
-
* @param defaultValue An optional value to return if the property is missing
|
15
|
-
* from the object. If this is not specified and the property is missing, an
|
16
|
-
* error will be thrown.
|
17
|
-
*/
|
18
|
-
function getArg(aArgs, aName, aDefaultValue) {
|
19
|
-
if (aName in aArgs) {
|
20
|
-
return aArgs[aName];
|
21
|
-
} else if (arguments.length === 3) {
|
22
|
-
return aDefaultValue;
|
23
|
-
} else {
|
24
|
-
throw new Error('"' + aName + '" is a required argument.');
|
25
|
-
}
|
26
|
-
}
|
27
|
-
exports.getArg = getArg;
|
28
|
-
|
29
|
-
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
30
|
-
var dataUrlRegexp = /^data:.+\,.+$/;
|
31
|
-
|
32
|
-
function urlParse(aUrl) {
|
33
|
-
var match = aUrl.match(urlRegexp);
|
34
|
-
if (!match) {
|
35
|
-
return null;
|
36
|
-
}
|
37
|
-
return {
|
38
|
-
scheme: match[1],
|
39
|
-
auth: match[2],
|
40
|
-
host: match[3],
|
41
|
-
port: match[4],
|
42
|
-
path: match[5]
|
43
|
-
};
|
44
|
-
}
|
45
|
-
exports.urlParse = urlParse;
|
46
|
-
|
47
|
-
function urlGenerate(aParsedUrl) {
|
48
|
-
var url = '';
|
49
|
-
if (aParsedUrl.scheme) {
|
50
|
-
url += aParsedUrl.scheme + ':';
|
51
|
-
}
|
52
|
-
url += '//';
|
53
|
-
if (aParsedUrl.auth) {
|
54
|
-
url += aParsedUrl.auth + '@';
|
55
|
-
}
|
56
|
-
if (aParsedUrl.host) {
|
57
|
-
url += aParsedUrl.host;
|
58
|
-
}
|
59
|
-
if (aParsedUrl.port) {
|
60
|
-
url += ":" + aParsedUrl.port
|
61
|
-
}
|
62
|
-
if (aParsedUrl.path) {
|
63
|
-
url += aParsedUrl.path;
|
64
|
-
}
|
65
|
-
return url;
|
66
|
-
}
|
67
|
-
exports.urlGenerate = urlGenerate;
|
68
|
-
|
69
|
-
/**
|
70
|
-
* Normalizes a path, or the path portion of a URL:
|
71
|
-
*
|
72
|
-
* - Replaces consecutive slashes with one slash.
|
73
|
-
* - Removes unnecessary '.' parts.
|
74
|
-
* - Removes unnecessary '<dir>/..' parts.
|
75
|
-
*
|
76
|
-
* Based on code in the Node.js 'path' core module.
|
77
|
-
*
|
78
|
-
* @param aPath The path or url to normalize.
|
79
|
-
*/
|
80
|
-
function normalize(aPath) {
|
81
|
-
var path = aPath;
|
82
|
-
var url = urlParse(aPath);
|
83
|
-
if (url) {
|
84
|
-
if (!url.path) {
|
85
|
-
return aPath;
|
86
|
-
}
|
87
|
-
path = url.path;
|
88
|
-
}
|
89
|
-
var isAbsolute = exports.isAbsolute(path);
|
90
|
-
|
91
|
-
var parts = path.split(/\/+/);
|
92
|
-
for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
|
93
|
-
part = parts[i];
|
94
|
-
if (part === '.') {
|
95
|
-
parts.splice(i, 1);
|
96
|
-
} else if (part === '..') {
|
97
|
-
up++;
|
98
|
-
} else if (up > 0) {
|
99
|
-
if (part === '') {
|
100
|
-
// The first part is blank if the path is absolute. Trying to go
|
101
|
-
// above the root is a no-op. Therefore we can remove all '..' parts
|
102
|
-
// directly after the root.
|
103
|
-
parts.splice(i + 1, up);
|
104
|
-
up = 0;
|
105
|
-
} else {
|
106
|
-
parts.splice(i, 2);
|
107
|
-
up--;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
path = parts.join('/');
|
112
|
-
|
113
|
-
if (path === '') {
|
114
|
-
path = isAbsolute ? '/' : '.';
|
115
|
-
}
|
116
|
-
|
117
|
-
if (url) {
|
118
|
-
url.path = path;
|
119
|
-
return urlGenerate(url);
|
120
|
-
}
|
121
|
-
return path;
|
122
|
-
}
|
123
|
-
exports.normalize = normalize;
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Joins two paths/URLs.
|
127
|
-
*
|
128
|
-
* @param aRoot The root path or URL.
|
129
|
-
* @param aPath The path or URL to be joined with the root.
|
130
|
-
*
|
131
|
-
* - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
|
132
|
-
* scheme-relative URL: Then the scheme of aRoot, if any, is prepended
|
133
|
-
* first.
|
134
|
-
* - Otherwise aPath is a path. If aRoot is a URL, then its path portion
|
135
|
-
* is updated with the result and aRoot is returned. Otherwise the result
|
136
|
-
* is returned.
|
137
|
-
* - If aPath is absolute, the result is aPath.
|
138
|
-
* - Otherwise the two paths are joined with a slash.
|
139
|
-
* - Joining for example 'http://' and 'www.example.com' is also supported.
|
140
|
-
*/
|
141
|
-
function join(aRoot, aPath) {
|
142
|
-
if (aRoot === "") {
|
143
|
-
aRoot = ".";
|
144
|
-
}
|
145
|
-
if (aPath === "") {
|
146
|
-
aPath = ".";
|
147
|
-
}
|
148
|
-
var aPathUrl = urlParse(aPath);
|
149
|
-
var aRootUrl = urlParse(aRoot);
|
150
|
-
if (aRootUrl) {
|
151
|
-
aRoot = aRootUrl.path || '/';
|
152
|
-
}
|
153
|
-
|
154
|
-
// `join(foo, '//www.example.org')`
|
155
|
-
if (aPathUrl && !aPathUrl.scheme) {
|
156
|
-
if (aRootUrl) {
|
157
|
-
aPathUrl.scheme = aRootUrl.scheme;
|
158
|
-
}
|
159
|
-
return urlGenerate(aPathUrl);
|
160
|
-
}
|
161
|
-
|
162
|
-
if (aPathUrl || aPath.match(dataUrlRegexp)) {
|
163
|
-
return aPath;
|
164
|
-
}
|
165
|
-
|
166
|
-
// `join('http://', 'www.example.com')`
|
167
|
-
if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
|
168
|
-
aRootUrl.host = aPath;
|
169
|
-
return urlGenerate(aRootUrl);
|
170
|
-
}
|
171
|
-
|
172
|
-
var joined = aPath.charAt(0) === '/'
|
173
|
-
? aPath
|
174
|
-
: normalize(aRoot.replace(/\/+$/, '') + '/' + aPath);
|
175
|
-
|
176
|
-
if (aRootUrl) {
|
177
|
-
aRootUrl.path = joined;
|
178
|
-
return urlGenerate(aRootUrl);
|
179
|
-
}
|
180
|
-
return joined;
|
181
|
-
}
|
182
|
-
exports.join = join;
|
183
|
-
|
184
|
-
exports.isAbsolute = function (aPath) {
|
185
|
-
return aPath.charAt(0) === '/' || urlRegexp.test(aPath);
|
186
|
-
};
|
187
|
-
|
188
|
-
/**
|
189
|
-
* Make a path relative to a URL or another path.
|
190
|
-
*
|
191
|
-
* @param aRoot The root path or URL.
|
192
|
-
* @param aPath The path or URL to be made relative to aRoot.
|
193
|
-
*/
|
194
|
-
function relative(aRoot, aPath) {
|
195
|
-
if (aRoot === "") {
|
196
|
-
aRoot = ".";
|
197
|
-
}
|
198
|
-
|
199
|
-
aRoot = aRoot.replace(/\/$/, '');
|
200
|
-
|
201
|
-
// It is possible for the path to be above the root. In this case, simply
|
202
|
-
// checking whether the root is a prefix of the path won't work. Instead, we
|
203
|
-
// need to remove components from the root one by one, until either we find
|
204
|
-
// a prefix that fits, or we run out of components to remove.
|
205
|
-
var level = 0;
|
206
|
-
while (aPath.indexOf(aRoot + '/') !== 0) {
|
207
|
-
var index = aRoot.lastIndexOf("/");
|
208
|
-
if (index < 0) {
|
209
|
-
return aPath;
|
210
|
-
}
|
211
|
-
|
212
|
-
// If the only part of the root that is left is the scheme (i.e. http://,
|
213
|
-
// file:///, etc.), one or more slashes (/), or simply nothing at all, we
|
214
|
-
// have exhausted all components, so the path is not relative to the root.
|
215
|
-
aRoot = aRoot.slice(0, index);
|
216
|
-
if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
|
217
|
-
return aPath;
|
218
|
-
}
|
219
|
-
|
220
|
-
++level;
|
221
|
-
}
|
222
|
-
|
223
|
-
// Make sure we add a "../" for each component we removed from the root.
|
224
|
-
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
225
|
-
}
|
226
|
-
exports.relative = relative;
|
227
|
-
|
228
|
-
var supportsNullProto = (function () {
|
229
|
-
var obj = Object.create(null);
|
230
|
-
return !('__proto__' in obj);
|
231
|
-
}());
|
232
|
-
|
233
|
-
function identity (s) {
|
234
|
-
return s;
|
235
|
-
}
|
236
|
-
|
237
|
-
/**
|
238
|
-
* Because behavior goes wacky when you set `__proto__` on objects, we
|
239
|
-
* have to prefix all the strings in our set with an arbitrary character.
|
240
|
-
*
|
241
|
-
* See https://github.com/mozilla/source-map/pull/31 and
|
242
|
-
* https://github.com/mozilla/source-map/issues/30
|
243
|
-
*
|
244
|
-
* @param String aStr
|
245
|
-
*/
|
246
|
-
function toSetString(aStr) {
|
247
|
-
if (isProtoString(aStr)) {
|
248
|
-
return '$' + aStr;
|
249
|
-
}
|
250
|
-
|
251
|
-
return aStr;
|
252
|
-
}
|
253
|
-
exports.toSetString = supportsNullProto ? identity : toSetString;
|
254
|
-
|
255
|
-
function fromSetString(aStr) {
|
256
|
-
if (isProtoString(aStr)) {
|
257
|
-
return aStr.slice(1);
|
258
|
-
}
|
259
|
-
|
260
|
-
return aStr;
|
261
|
-
}
|
262
|
-
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
263
|
-
|
264
|
-
function isProtoString(s) {
|
265
|
-
if (!s) {
|
266
|
-
return false;
|
267
|
-
}
|
268
|
-
|
269
|
-
var length = s.length;
|
270
|
-
|
271
|
-
if (length < 9 /* "__proto__".length */) {
|
272
|
-
return false;
|
273
|
-
}
|
274
|
-
|
275
|
-
if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
|
276
|
-
s.charCodeAt(length - 2) !== 95 /* '_' */ ||
|
277
|
-
s.charCodeAt(length - 3) !== 111 /* 'o' */ ||
|
278
|
-
s.charCodeAt(length - 4) !== 116 /* 't' */ ||
|
279
|
-
s.charCodeAt(length - 5) !== 111 /* 'o' */ ||
|
280
|
-
s.charCodeAt(length - 6) !== 114 /* 'r' */ ||
|
281
|
-
s.charCodeAt(length - 7) !== 112 /* 'p' */ ||
|
282
|
-
s.charCodeAt(length - 8) !== 95 /* '_' */ ||
|
283
|
-
s.charCodeAt(length - 9) !== 95 /* '_' */) {
|
284
|
-
return false;
|
285
|
-
}
|
286
|
-
|
287
|
-
for (var i = length - 10; i >= 0; i--) {
|
288
|
-
if (s.charCodeAt(i) !== 36 /* '$' */) {
|
289
|
-
return false;
|
290
|
-
}
|
291
|
-
}
|
292
|
-
|
293
|
-
return true;
|
294
|
-
}
|
295
|
-
|
296
|
-
/**
|
297
|
-
* Comparator between two mappings where the original positions are compared.
|
298
|
-
*
|
299
|
-
* Optionally pass in `true` as `onlyCompareGenerated` to consider two
|
300
|
-
* mappings with the same original source/line/column, but different generated
|
301
|
-
* line and column the same. Useful when searching for a mapping with a
|
302
|
-
* stubbed out mapping.
|
303
|
-
*/
|
304
|
-
function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
|
305
|
-
var cmp = strcmp(mappingA.source, mappingB.source);
|
306
|
-
if (cmp !== 0) {
|
307
|
-
return cmp;
|
308
|
-
}
|
309
|
-
|
310
|
-
cmp = mappingA.originalLine - mappingB.originalLine;
|
311
|
-
if (cmp !== 0) {
|
312
|
-
return cmp;
|
313
|
-
}
|
314
|
-
|
315
|
-
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
316
|
-
if (cmp !== 0 || onlyCompareOriginal) {
|
317
|
-
return cmp;
|
318
|
-
}
|
319
|
-
|
320
|
-
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
321
|
-
if (cmp !== 0) {
|
322
|
-
return cmp;
|
323
|
-
}
|
324
|
-
|
325
|
-
cmp = mappingA.generatedLine - mappingB.generatedLine;
|
326
|
-
if (cmp !== 0) {
|
327
|
-
return cmp;
|
328
|
-
}
|
329
|
-
|
330
|
-
return strcmp(mappingA.name, mappingB.name);
|
331
|
-
}
|
332
|
-
exports.compareByOriginalPositions = compareByOriginalPositions;
|
333
|
-
|
334
|
-
/**
|
335
|
-
* Comparator between two mappings with deflated source and name indices where
|
336
|
-
* the generated positions are compared.
|
337
|
-
*
|
338
|
-
* Optionally pass in `true` as `onlyCompareGenerated` to consider two
|
339
|
-
* mappings with the same generated line and column, but different
|
340
|
-
* source/name/original line and column the same. Useful when searching for a
|
341
|
-
* mapping with a stubbed out mapping.
|
342
|
-
*/
|
343
|
-
function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
|
344
|
-
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
345
|
-
if (cmp !== 0) {
|
346
|
-
return cmp;
|
347
|
-
}
|
348
|
-
|
349
|
-
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
350
|
-
if (cmp !== 0 || onlyCompareGenerated) {
|
351
|
-
return cmp;
|
352
|
-
}
|
353
|
-
|
354
|
-
cmp = strcmp(mappingA.source, mappingB.source);
|
355
|
-
if (cmp !== 0) {
|
356
|
-
return cmp;
|
357
|
-
}
|
358
|
-
|
359
|
-
cmp = mappingA.originalLine - mappingB.originalLine;
|
360
|
-
if (cmp !== 0) {
|
361
|
-
return cmp;
|
362
|
-
}
|
363
|
-
|
364
|
-
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
365
|
-
if (cmp !== 0) {
|
366
|
-
return cmp;
|
367
|
-
}
|
368
|
-
|
369
|
-
return strcmp(mappingA.name, mappingB.name);
|
370
|
-
}
|
371
|
-
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
372
|
-
|
373
|
-
function strcmp(aStr1, aStr2) {
|
374
|
-
if (aStr1 === aStr2) {
|
375
|
-
return 0;
|
376
|
-
}
|
377
|
-
|
378
|
-
if (aStr1 === null) {
|
379
|
-
return 1; // aStr2 !== null
|
380
|
-
}
|
381
|
-
|
382
|
-
if (aStr2 === null) {
|
383
|
-
return -1; // aStr1 !== null
|
384
|
-
}
|
385
|
-
|
386
|
-
if (aStr1 > aStr2) {
|
387
|
-
return 1;
|
388
|
-
}
|
389
|
-
|
390
|
-
return -1;
|
391
|
-
}
|
392
|
-
|
393
|
-
/**
|
394
|
-
* Comparator between two mappings with inflated source and name strings where
|
395
|
-
* the generated positions are compared.
|
396
|
-
*/
|
397
|
-
function compareByGeneratedPositionsInflated(mappingA, mappingB) {
|
398
|
-
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
399
|
-
if (cmp !== 0) {
|
400
|
-
return cmp;
|
401
|
-
}
|
402
|
-
|
403
|
-
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
404
|
-
if (cmp !== 0) {
|
405
|
-
return cmp;
|
406
|
-
}
|
407
|
-
|
408
|
-
cmp = strcmp(mappingA.source, mappingB.source);
|
409
|
-
if (cmp !== 0) {
|
410
|
-
return cmp;
|
411
|
-
}
|
412
|
-
|
413
|
-
cmp = mappingA.originalLine - mappingB.originalLine;
|
414
|
-
if (cmp !== 0) {
|
415
|
-
return cmp;
|
416
|
-
}
|
417
|
-
|
418
|
-
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
419
|
-
if (cmp !== 0) {
|
420
|
-
return cmp;
|
421
|
-
}
|
422
|
-
|
423
|
-
return strcmp(mappingA.name, mappingB.name);
|
424
|
-
}
|
425
|
-
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
426
|
-
|
427
|
-
/**
|
428
|
-
* Strip any JSON XSSI avoidance prefix from the string (as documented
|
429
|
-
* in the source maps specification), and then parse the string as
|
430
|
-
* JSON.
|
431
|
-
*/
|
432
|
-
function parseSourceMapInput(str) {
|
433
|
-
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
|
434
|
-
}
|
435
|
-
exports.parseSourceMapInput = parseSourceMapInput;
|
436
|
-
|
437
|
-
/**
|
438
|
-
* Compute the URL of a source given the the source root, the source's
|
439
|
-
* URL, and the source map's URL.
|
440
|
-
*/
|
441
|
-
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
|
442
|
-
sourceURL = sourceURL || '';
|
443
|
-
|
444
|
-
if (sourceRoot) {
|
445
|
-
// This follows what Chrome does.
|
446
|
-
if (sourceRoot[sourceRoot.length - 1] !== '/' && sourceURL[0] !== '/') {
|
447
|
-
sourceRoot += '/';
|
448
|
-
}
|
449
|
-
// The spec says:
|
450
|
-
// Line 4: An optional source root, useful for relocating source
|
451
|
-
// files on a server or removing repeated values in the
|
452
|
-
// “sources” entry. This value is prepended to the individual
|
453
|
-
// entries in the “source” field.
|
454
|
-
sourceURL = sourceRoot + sourceURL;
|
455
|
-
}
|
456
|
-
|
457
|
-
// Historically, SourceMapConsumer did not take the sourceMapURL as
|
458
|
-
// a parameter. This mode is still somewhat supported, which is why
|
459
|
-
// this code block is conditional. However, it's preferable to pass
|
460
|
-
// the source map URL to SourceMapConsumer, so that this function
|
461
|
-
// can implement the source URL resolution algorithm as outlined in
|
462
|
-
// the spec. This block is basically the equivalent of:
|
463
|
-
// new URL(sourceURL, sourceMapURL).toString()
|
464
|
-
// ... except it avoids using URL, which wasn't available in the
|
465
|
-
// older releases of node still supported by this library.
|
466
|
-
//
|
467
|
-
// The spec says:
|
468
|
-
// If the sources are not absolute URLs after prepending of the
|
469
|
-
// “sourceRoot”, the sources are resolved relative to the
|
470
|
-
// SourceMap (like resolving script src in a html document).
|
471
|
-
if (sourceMapURL) {
|
472
|
-
var parsed = urlParse(sourceMapURL);
|
473
|
-
if (!parsed) {
|
474
|
-
throw new Error("sourceMapURL could not be parsed");
|
475
|
-
}
|
476
|
-
if (parsed.path) {
|
477
|
-
// Strip the last path component, but keep the "/".
|
478
|
-
var index = parsed.path.lastIndexOf('/');
|
479
|
-
if (index >= 0) {
|
480
|
-
parsed.path = parsed.path.substring(0, index + 1);
|
481
|
-
}
|
482
|
-
}
|
483
|
-
sourceURL = join(urlGenerate(parsed), sourceURL);
|
484
|
-
}
|
485
|
-
|
486
|
-
return normalize(sourceURL);
|
487
|
-
}
|
488
|
-
exports.computeSourceURL = computeSourceURL;
|
@@ -1,73 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "source-map",
|
3
|
-
"description": "Generates and consumes source maps",
|
4
|
-
"version": "0.6.1",
|
5
|
-
"homepage": "https://github.com/mozilla/source-map",
|
6
|
-
"author": "Nick Fitzgerald <nfitzgerald@mozilla.com>",
|
7
|
-
"contributors": [
|
8
|
-
"Tobias Koppers <tobias.koppers@googlemail.com>",
|
9
|
-
"Duncan Beevers <duncan@dweebd.com>",
|
10
|
-
"Stephen Crane <scrane@mozilla.com>",
|
11
|
-
"Ryan Seddon <seddon.ryan@gmail.com>",
|
12
|
-
"Miles Elam <miles.elam@deem.com>",
|
13
|
-
"Mihai Bazon <mihai.bazon@gmail.com>",
|
14
|
-
"Michael Ficarra <github.public.email@michael.ficarra.me>",
|
15
|
-
"Todd Wolfson <todd@twolfson.com>",
|
16
|
-
"Alexander Solovyov <alexander@solovyov.net>",
|
17
|
-
"Felix Gnass <fgnass@gmail.com>",
|
18
|
-
"Conrad Irwin <conrad.irwin@gmail.com>",
|
19
|
-
"usrbincc <usrbincc@yahoo.com>",
|
20
|
-
"David Glasser <glasser@davidglasser.net>",
|
21
|
-
"Chase Douglas <chase@newrelic.com>",
|
22
|
-
"Evan Wallace <evan.exe@gmail.com>",
|
23
|
-
"Heather Arthur <fayearthur@gmail.com>",
|
24
|
-
"Hugh Kennedy <hughskennedy@gmail.com>",
|
25
|
-
"David Glasser <glasser@davidglasser.net>",
|
26
|
-
"Simon Lydell <simon.lydell@gmail.com>",
|
27
|
-
"Jmeas Smith <jellyes2@gmail.com>",
|
28
|
-
"Michael Z Goddard <mzgoddard@gmail.com>",
|
29
|
-
"azu <azu@users.noreply.github.com>",
|
30
|
-
"John Gozde <john@gozde.ca>",
|
31
|
-
"Adam Kirkton <akirkton@truefitinnovation.com>",
|
32
|
-
"Chris Montgomery <christopher.montgomery@dowjones.com>",
|
33
|
-
"J. Ryan Stinnett <jryans@gmail.com>",
|
34
|
-
"Jack Herrington <jherrington@walmartlabs.com>",
|
35
|
-
"Chris Truter <jeffpalentine@gmail.com>",
|
36
|
-
"Daniel Espeset <daniel@danielespeset.com>",
|
37
|
-
"Jamie Wong <jamie.lf.wong@gmail.com>",
|
38
|
-
"Eddy Bruël <ejpbruel@mozilla.com>",
|
39
|
-
"Hawken Rives <hawkrives@gmail.com>",
|
40
|
-
"Gilad Peleg <giladp007@gmail.com>",
|
41
|
-
"djchie <djchie.dev@gmail.com>",
|
42
|
-
"Gary Ye <garysye@gmail.com>",
|
43
|
-
"Nicolas Lalevée <nicolas.lalevee@hibnet.org>"
|
44
|
-
],
|
45
|
-
"repository": {
|
46
|
-
"type": "git",
|
47
|
-
"url": "http://github.com/mozilla/source-map.git"
|
48
|
-
},
|
49
|
-
"main": "./source-map.js",
|
50
|
-
"files": [
|
51
|
-
"source-map.js",
|
52
|
-
"source-map.d.ts",
|
53
|
-
"lib/",
|
54
|
-
"dist/source-map.debug.js",
|
55
|
-
"dist/source-map.js",
|
56
|
-
"dist/source-map.min.js",
|
57
|
-
"dist/source-map.min.js.map"
|
58
|
-
],
|
59
|
-
"engines": {
|
60
|
-
"node": ">=0.10.0"
|
61
|
-
},
|
62
|
-
"license": "BSD-3-Clause",
|
63
|
-
"scripts": {
|
64
|
-
"test": "npm run build && node test/run-tests.js",
|
65
|
-
"build": "webpack --color",
|
66
|
-
"toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md"
|
67
|
-
},
|
68
|
-
"devDependencies": {
|
69
|
-
"doctoc": "^0.15.0",
|
70
|
-
"webpack": "^1.12.0"
|
71
|
-
},
|
72
|
-
"typings": "source-map"
|
73
|
-
}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
export interface StartOfSourceMap {
|
2
|
-
file?: string;
|
3
|
-
sourceRoot?: string;
|
4
|
-
}
|
5
|
-
|
6
|
-
export interface RawSourceMap extends StartOfSourceMap {
|
7
|
-
version: string;
|
8
|
-
sources: string[];
|
9
|
-
names: string[];
|
10
|
-
sourcesContent?: string[];
|
11
|
-
mappings: string;
|
12
|
-
}
|
13
|
-
|
14
|
-
export interface Position {
|
15
|
-
line: number;
|
16
|
-
column: number;
|
17
|
-
}
|
18
|
-
|
19
|
-
export interface LineRange extends Position {
|
20
|
-
lastColumn: number;
|
21
|
-
}
|
22
|
-
|
23
|
-
export interface FindPosition extends Position {
|
24
|
-
// SourceMapConsumer.GREATEST_LOWER_BOUND or SourceMapConsumer.LEAST_UPPER_BOUND
|
25
|
-
bias?: number;
|
26
|
-
}
|
27
|
-
|
28
|
-
export interface SourceFindPosition extends FindPosition {
|
29
|
-
source: string;
|
30
|
-
}
|
31
|
-
|
32
|
-
export interface MappedPosition extends Position {
|
33
|
-
source: string;
|
34
|
-
name?: string;
|
35
|
-
}
|
36
|
-
|
37
|
-
export interface MappingItem {
|
38
|
-
source: string;
|
39
|
-
generatedLine: number;
|
40
|
-
generatedColumn: number;
|
41
|
-
originalLine: number;
|
42
|
-
originalColumn: number;
|
43
|
-
name: string;
|
44
|
-
}
|
45
|
-
|
46
|
-
export class SourceMapConsumer {
|
47
|
-
static GENERATED_ORDER: number;
|
48
|
-
static ORIGINAL_ORDER: number;
|
49
|
-
|
50
|
-
static GREATEST_LOWER_BOUND: number;
|
51
|
-
static LEAST_UPPER_BOUND: number;
|
52
|
-
|
53
|
-
constructor(rawSourceMap: RawSourceMap);
|
54
|
-
computeColumnSpans(): void;
|
55
|
-
originalPositionFor(generatedPosition: FindPosition): MappedPosition;
|
56
|
-
generatedPositionFor(originalPosition: SourceFindPosition): LineRange;
|
57
|
-
allGeneratedPositionsFor(originalPosition: MappedPosition): Position[];
|
58
|
-
hasContentsOfAllSources(): boolean;
|
59
|
-
sourceContentFor(source: string, returnNullOnMissing?: boolean): string;
|
60
|
-
eachMapping(callback: (mapping: MappingItem) => void, context?: any, order?: number): void;
|
61
|
-
}
|
62
|
-
|
63
|
-
export interface Mapping {
|
64
|
-
generated: Position;
|
65
|
-
original: Position;
|
66
|
-
source: string;
|
67
|
-
name?: string;
|
68
|
-
}
|
69
|
-
|
70
|
-
export class SourceMapGenerator {
|
71
|
-
constructor(startOfSourceMap?: StartOfSourceMap);
|
72
|
-
static fromSourceMap(sourceMapConsumer: SourceMapConsumer): SourceMapGenerator;
|
73
|
-
addMapping(mapping: Mapping): void;
|
74
|
-
setSourceContent(sourceFile: string, sourceContent: string): void;
|
75
|
-
applySourceMap(sourceMapConsumer: SourceMapConsumer, sourceFile?: string, sourceMapPath?: string): void;
|
76
|
-
toString(): string;
|
77
|
-
}
|
78
|
-
|
79
|
-
export interface CodeWithSourceMap {
|
80
|
-
code: string;
|
81
|
-
map: SourceMapGenerator;
|
82
|
-
}
|
83
|
-
|
84
|
-
export class SourceNode {
|
85
|
-
constructor();
|
86
|
-
constructor(line: number, column: number, source: string);
|
87
|
-
constructor(line: number, column: number, source: string, chunk?: string, name?: string);
|
88
|
-
static fromStringWithSourceMap(code: string, sourceMapConsumer: SourceMapConsumer, relativePath?: string): SourceNode;
|
89
|
-
add(chunk: string): void;
|
90
|
-
prepend(chunk: string): void;
|
91
|
-
setSourceContent(sourceFile: string, sourceContent: string): void;
|
92
|
-
walk(fn: (chunk: string, mapping: MappedPosition) => void): void;
|
93
|
-
walkSourceContents(fn: (file: string, content: string) => void): void;
|
94
|
-
join(sep: string): SourceNode;
|
95
|
-
replaceRight(pattern: string, replacement: string): SourceNode;
|
96
|
-
toString(): string;
|
97
|
-
toStringWithSourceMap(startOfSourceMap?: StartOfSourceMap): CodeWithSourceMap;
|
98
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright 2009-2011 Mozilla Foundation and contributors
|
3
|
-
* Licensed under the New BSD license. See LICENSE.txt or:
|
4
|
-
* http://opensource.org/licenses/BSD-3-Clause
|
5
|
-
*/
|
6
|
-
exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;
|
7
|
-
exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;
|
8
|
-
exports.SourceNode = require('./lib/source-node').SourceNode;
|