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,1203 +0,0 @@
|
|
1
|
-
/** @license React v17.0.2
|
2
|
-
* react-jsx-dev-runtime.development.js
|
3
|
-
*
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
5
|
-
*
|
6
|
-
* This source code is licensed under the MIT license found in the
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
8
|
-
*/
|
9
|
-
|
10
|
-
'use strict';
|
11
|
-
|
12
|
-
if (process.env.NODE_ENV !== "production") {
|
13
|
-
(function() {
|
14
|
-
'use strict';
|
15
|
-
|
16
|
-
var React = require('react');
|
17
|
-
var _assign = require('object-assign');
|
18
|
-
|
19
|
-
// ATTENTION
|
20
|
-
// When adding new symbols to this file,
|
21
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
22
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
23
|
-
// nor polyfill, then a plain number is used for performance.
|
24
|
-
var REACT_ELEMENT_TYPE = 0xeac7;
|
25
|
-
var REACT_PORTAL_TYPE = 0xeaca;
|
26
|
-
exports.Fragment = 0xeacb;
|
27
|
-
var REACT_STRICT_MODE_TYPE = 0xeacc;
|
28
|
-
var REACT_PROFILER_TYPE = 0xead2;
|
29
|
-
var REACT_PROVIDER_TYPE = 0xeacd;
|
30
|
-
var REACT_CONTEXT_TYPE = 0xeace;
|
31
|
-
var REACT_FORWARD_REF_TYPE = 0xead0;
|
32
|
-
var REACT_SUSPENSE_TYPE = 0xead1;
|
33
|
-
var REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
34
|
-
var REACT_MEMO_TYPE = 0xead3;
|
35
|
-
var REACT_LAZY_TYPE = 0xead4;
|
36
|
-
var REACT_BLOCK_TYPE = 0xead9;
|
37
|
-
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
38
|
-
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
39
|
-
var REACT_SCOPE_TYPE = 0xead7;
|
40
|
-
var REACT_OPAQUE_ID_TYPE = 0xeae0;
|
41
|
-
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
42
|
-
var REACT_OFFSCREEN_TYPE = 0xeae2;
|
43
|
-
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
44
|
-
|
45
|
-
if (typeof Symbol === 'function' && Symbol.for) {
|
46
|
-
var symbolFor = Symbol.for;
|
47
|
-
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
48
|
-
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
49
|
-
exports.Fragment = symbolFor('react.fragment');
|
50
|
-
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
51
|
-
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
52
|
-
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
53
|
-
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
54
|
-
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
55
|
-
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
56
|
-
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
57
|
-
REACT_MEMO_TYPE = symbolFor('react.memo');
|
58
|
-
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
59
|
-
REACT_BLOCK_TYPE = symbolFor('react.block');
|
60
|
-
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
61
|
-
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
62
|
-
REACT_SCOPE_TYPE = symbolFor('react.scope');
|
63
|
-
REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
|
64
|
-
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
65
|
-
REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
|
66
|
-
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
67
|
-
}
|
68
|
-
|
69
|
-
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
70
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
71
|
-
function getIteratorFn(maybeIterable) {
|
72
|
-
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
73
|
-
return null;
|
74
|
-
}
|
75
|
-
|
76
|
-
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
77
|
-
|
78
|
-
if (typeof maybeIterator === 'function') {
|
79
|
-
return maybeIterator;
|
80
|
-
}
|
81
|
-
|
82
|
-
return null;
|
83
|
-
}
|
84
|
-
|
85
|
-
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
86
|
-
|
87
|
-
function error(format) {
|
88
|
-
{
|
89
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
90
|
-
args[_key2 - 1] = arguments[_key2];
|
91
|
-
}
|
92
|
-
|
93
|
-
printWarning('error', format, args);
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
function printWarning(level, format, args) {
|
98
|
-
// When changing this logic, you might want to also
|
99
|
-
// update consoleWithStackDev.www.js as well.
|
100
|
-
{
|
101
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
102
|
-
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
103
|
-
|
104
|
-
if (stack !== '') {
|
105
|
-
format += '%s';
|
106
|
-
args = args.concat([stack]);
|
107
|
-
}
|
108
|
-
|
109
|
-
var argsWithFormat = args.map(function (item) {
|
110
|
-
return '' + item;
|
111
|
-
}); // Careful: RN currently depends on this prefix
|
112
|
-
|
113
|
-
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
114
|
-
// breaks IE9: https://github.com/facebook/react/issues/13610
|
115
|
-
// eslint-disable-next-line react-internal/no-production-logging
|
116
|
-
|
117
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
|
122
|
-
|
123
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
124
|
-
|
125
|
-
function isValidElementType(type) {
|
126
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
127
|
-
return true;
|
128
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
129
|
-
|
130
|
-
|
131
|
-
if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
|
132
|
-
return true;
|
133
|
-
}
|
134
|
-
|
135
|
-
if (typeof type === 'object' && type !== null) {
|
136
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
137
|
-
return true;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
return false;
|
142
|
-
}
|
143
|
-
|
144
|
-
function getWrappedName(outerType, innerType, wrapperName) {
|
145
|
-
var functionName = innerType.displayName || innerType.name || '';
|
146
|
-
return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName);
|
147
|
-
}
|
148
|
-
|
149
|
-
function getContextName(type) {
|
150
|
-
return type.displayName || 'Context';
|
151
|
-
}
|
152
|
-
|
153
|
-
function getComponentName(type) {
|
154
|
-
if (type == null) {
|
155
|
-
// Host root, text node or just invalid type.
|
156
|
-
return null;
|
157
|
-
}
|
158
|
-
|
159
|
-
{
|
160
|
-
if (typeof type.tag === 'number') {
|
161
|
-
error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
if (typeof type === 'function') {
|
166
|
-
return type.displayName || type.name || null;
|
167
|
-
}
|
168
|
-
|
169
|
-
if (typeof type === 'string') {
|
170
|
-
return type;
|
171
|
-
}
|
172
|
-
|
173
|
-
switch (type) {
|
174
|
-
case exports.Fragment:
|
175
|
-
return 'Fragment';
|
176
|
-
|
177
|
-
case REACT_PORTAL_TYPE:
|
178
|
-
return 'Portal';
|
179
|
-
|
180
|
-
case REACT_PROFILER_TYPE:
|
181
|
-
return 'Profiler';
|
182
|
-
|
183
|
-
case REACT_STRICT_MODE_TYPE:
|
184
|
-
return 'StrictMode';
|
185
|
-
|
186
|
-
case REACT_SUSPENSE_TYPE:
|
187
|
-
return 'Suspense';
|
188
|
-
|
189
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
190
|
-
return 'SuspenseList';
|
191
|
-
}
|
192
|
-
|
193
|
-
if (typeof type === 'object') {
|
194
|
-
switch (type.$$typeof) {
|
195
|
-
case REACT_CONTEXT_TYPE:
|
196
|
-
var context = type;
|
197
|
-
return getContextName(context) + '.Consumer';
|
198
|
-
|
199
|
-
case REACT_PROVIDER_TYPE:
|
200
|
-
var provider = type;
|
201
|
-
return getContextName(provider._context) + '.Provider';
|
202
|
-
|
203
|
-
case REACT_FORWARD_REF_TYPE:
|
204
|
-
return getWrappedName(type, type.render, 'ForwardRef');
|
205
|
-
|
206
|
-
case REACT_MEMO_TYPE:
|
207
|
-
return getComponentName(type.type);
|
208
|
-
|
209
|
-
case REACT_BLOCK_TYPE:
|
210
|
-
return getComponentName(type._render);
|
211
|
-
|
212
|
-
case REACT_LAZY_TYPE:
|
213
|
-
{
|
214
|
-
var lazyComponent = type;
|
215
|
-
var payload = lazyComponent._payload;
|
216
|
-
var init = lazyComponent._init;
|
217
|
-
|
218
|
-
try {
|
219
|
-
return getComponentName(init(payload));
|
220
|
-
} catch (x) {
|
221
|
-
return null;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}
|
225
|
-
}
|
226
|
-
|
227
|
-
return null;
|
228
|
-
}
|
229
|
-
|
230
|
-
// Helpers to patch console.logs to avoid logging during side-effect free
|
231
|
-
// replaying on render function. This currently only patches the object
|
232
|
-
// lazily which won't cover if the log function was extracted eagerly.
|
233
|
-
// We could also eagerly patch the method.
|
234
|
-
var disabledDepth = 0;
|
235
|
-
var prevLog;
|
236
|
-
var prevInfo;
|
237
|
-
var prevWarn;
|
238
|
-
var prevError;
|
239
|
-
var prevGroup;
|
240
|
-
var prevGroupCollapsed;
|
241
|
-
var prevGroupEnd;
|
242
|
-
|
243
|
-
function disabledLog() {}
|
244
|
-
|
245
|
-
disabledLog.__reactDisabledLog = true;
|
246
|
-
function disableLogs() {
|
247
|
-
{
|
248
|
-
if (disabledDepth === 0) {
|
249
|
-
/* eslint-disable react-internal/no-production-logging */
|
250
|
-
prevLog = console.log;
|
251
|
-
prevInfo = console.info;
|
252
|
-
prevWarn = console.warn;
|
253
|
-
prevError = console.error;
|
254
|
-
prevGroup = console.group;
|
255
|
-
prevGroupCollapsed = console.groupCollapsed;
|
256
|
-
prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
|
257
|
-
|
258
|
-
var props = {
|
259
|
-
configurable: true,
|
260
|
-
enumerable: true,
|
261
|
-
value: disabledLog,
|
262
|
-
writable: true
|
263
|
-
}; // $FlowFixMe Flow thinks console is immutable.
|
264
|
-
|
265
|
-
Object.defineProperties(console, {
|
266
|
-
info: props,
|
267
|
-
log: props,
|
268
|
-
warn: props,
|
269
|
-
error: props,
|
270
|
-
group: props,
|
271
|
-
groupCollapsed: props,
|
272
|
-
groupEnd: props
|
273
|
-
});
|
274
|
-
/* eslint-enable react-internal/no-production-logging */
|
275
|
-
}
|
276
|
-
|
277
|
-
disabledDepth++;
|
278
|
-
}
|
279
|
-
}
|
280
|
-
function reenableLogs() {
|
281
|
-
{
|
282
|
-
disabledDepth--;
|
283
|
-
|
284
|
-
if (disabledDepth === 0) {
|
285
|
-
/* eslint-disable react-internal/no-production-logging */
|
286
|
-
var props = {
|
287
|
-
configurable: true,
|
288
|
-
enumerable: true,
|
289
|
-
writable: true
|
290
|
-
}; // $FlowFixMe Flow thinks console is immutable.
|
291
|
-
|
292
|
-
Object.defineProperties(console, {
|
293
|
-
log: _assign({}, props, {
|
294
|
-
value: prevLog
|
295
|
-
}),
|
296
|
-
info: _assign({}, props, {
|
297
|
-
value: prevInfo
|
298
|
-
}),
|
299
|
-
warn: _assign({}, props, {
|
300
|
-
value: prevWarn
|
301
|
-
}),
|
302
|
-
error: _assign({}, props, {
|
303
|
-
value: prevError
|
304
|
-
}),
|
305
|
-
group: _assign({}, props, {
|
306
|
-
value: prevGroup
|
307
|
-
}),
|
308
|
-
groupCollapsed: _assign({}, props, {
|
309
|
-
value: prevGroupCollapsed
|
310
|
-
}),
|
311
|
-
groupEnd: _assign({}, props, {
|
312
|
-
value: prevGroupEnd
|
313
|
-
})
|
314
|
-
});
|
315
|
-
/* eslint-enable react-internal/no-production-logging */
|
316
|
-
}
|
317
|
-
|
318
|
-
if (disabledDepth < 0) {
|
319
|
-
error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
|
320
|
-
}
|
321
|
-
}
|
322
|
-
}
|
323
|
-
|
324
|
-
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
325
|
-
var prefix;
|
326
|
-
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
327
|
-
{
|
328
|
-
if (prefix === undefined) {
|
329
|
-
// Extract the VM specific prefix used by each line.
|
330
|
-
try {
|
331
|
-
throw Error();
|
332
|
-
} catch (x) {
|
333
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
334
|
-
prefix = match && match[1] || '';
|
335
|
-
}
|
336
|
-
} // We use the prefix to ensure our stacks line up with native stack frames.
|
337
|
-
|
338
|
-
|
339
|
-
return '\n' + prefix + name;
|
340
|
-
}
|
341
|
-
}
|
342
|
-
var reentry = false;
|
343
|
-
var componentFrameCache;
|
344
|
-
|
345
|
-
{
|
346
|
-
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
|
347
|
-
componentFrameCache = new PossiblyWeakMap();
|
348
|
-
}
|
349
|
-
|
350
|
-
function describeNativeComponentFrame(fn, construct) {
|
351
|
-
// If something asked for a stack inside a fake render, it should get ignored.
|
352
|
-
if (!fn || reentry) {
|
353
|
-
return '';
|
354
|
-
}
|
355
|
-
|
356
|
-
{
|
357
|
-
var frame = componentFrameCache.get(fn);
|
358
|
-
|
359
|
-
if (frame !== undefined) {
|
360
|
-
return frame;
|
361
|
-
}
|
362
|
-
}
|
363
|
-
|
364
|
-
var control;
|
365
|
-
reentry = true;
|
366
|
-
var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.
|
367
|
-
|
368
|
-
Error.prepareStackTrace = undefined;
|
369
|
-
var previousDispatcher;
|
370
|
-
|
371
|
-
{
|
372
|
-
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
|
373
|
-
// for warnings.
|
374
|
-
|
375
|
-
ReactCurrentDispatcher.current = null;
|
376
|
-
disableLogs();
|
377
|
-
}
|
378
|
-
|
379
|
-
try {
|
380
|
-
// This should throw.
|
381
|
-
if (construct) {
|
382
|
-
// Something should be setting the props in the constructor.
|
383
|
-
var Fake = function () {
|
384
|
-
throw Error();
|
385
|
-
}; // $FlowFixMe
|
386
|
-
|
387
|
-
|
388
|
-
Object.defineProperty(Fake.prototype, 'props', {
|
389
|
-
set: function () {
|
390
|
-
// We use a throwing setter instead of frozen or non-writable props
|
391
|
-
// because that won't throw in a non-strict mode function.
|
392
|
-
throw Error();
|
393
|
-
}
|
394
|
-
});
|
395
|
-
|
396
|
-
if (typeof Reflect === 'object' && Reflect.construct) {
|
397
|
-
// We construct a different control for this case to include any extra
|
398
|
-
// frames added by the construct call.
|
399
|
-
try {
|
400
|
-
Reflect.construct(Fake, []);
|
401
|
-
} catch (x) {
|
402
|
-
control = x;
|
403
|
-
}
|
404
|
-
|
405
|
-
Reflect.construct(fn, [], Fake);
|
406
|
-
} else {
|
407
|
-
try {
|
408
|
-
Fake.call();
|
409
|
-
} catch (x) {
|
410
|
-
control = x;
|
411
|
-
}
|
412
|
-
|
413
|
-
fn.call(Fake.prototype);
|
414
|
-
}
|
415
|
-
} else {
|
416
|
-
try {
|
417
|
-
throw Error();
|
418
|
-
} catch (x) {
|
419
|
-
control = x;
|
420
|
-
}
|
421
|
-
|
422
|
-
fn();
|
423
|
-
}
|
424
|
-
} catch (sample) {
|
425
|
-
// This is inlined manually because closure doesn't do it for us.
|
426
|
-
if (sample && control && typeof sample.stack === 'string') {
|
427
|
-
// This extracts the first frame from the sample that isn't also in the control.
|
428
|
-
// Skipping one frame that we assume is the frame that calls the two.
|
429
|
-
var sampleLines = sample.stack.split('\n');
|
430
|
-
var controlLines = control.stack.split('\n');
|
431
|
-
var s = sampleLines.length - 1;
|
432
|
-
var c = controlLines.length - 1;
|
433
|
-
|
434
|
-
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
435
|
-
// We expect at least one stack frame to be shared.
|
436
|
-
// Typically this will be the root most one. However, stack frames may be
|
437
|
-
// cut off due to maximum stack limits. In this case, one maybe cut off
|
438
|
-
// earlier than the other. We assume that the sample is longer or the same
|
439
|
-
// and there for cut off earlier. So we should find the root most frame in
|
440
|
-
// the sample somewhere in the control.
|
441
|
-
c--;
|
442
|
-
}
|
443
|
-
|
444
|
-
for (; s >= 1 && c >= 0; s--, c--) {
|
445
|
-
// Next we find the first one that isn't the same which should be the
|
446
|
-
// frame that called our sample function and the control.
|
447
|
-
if (sampleLines[s] !== controlLines[c]) {
|
448
|
-
// In V8, the first line is describing the message but other VMs don't.
|
449
|
-
// If we're about to return the first line, and the control is also on the same
|
450
|
-
// line, that's a pretty good indicator that our sample threw at same line as
|
451
|
-
// the control. I.e. before we entered the sample frame. So we ignore this result.
|
452
|
-
// This can happen if you passed a class to function component, or non-function.
|
453
|
-
if (s !== 1 || c !== 1) {
|
454
|
-
do {
|
455
|
-
s--;
|
456
|
-
c--; // We may still have similar intermediate frames from the construct call.
|
457
|
-
// The next one that isn't the same should be our match though.
|
458
|
-
|
459
|
-
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
460
|
-
// V8 adds a "new" prefix for native classes. Let's remove it to make it prettier.
|
461
|
-
var _frame = '\n' + sampleLines[s].replace(' at new ', ' at ');
|
462
|
-
|
463
|
-
{
|
464
|
-
if (typeof fn === 'function') {
|
465
|
-
componentFrameCache.set(fn, _frame);
|
466
|
-
}
|
467
|
-
} // Return the line we found.
|
468
|
-
|
469
|
-
|
470
|
-
return _frame;
|
471
|
-
}
|
472
|
-
} while (s >= 1 && c >= 0);
|
473
|
-
}
|
474
|
-
|
475
|
-
break;
|
476
|
-
}
|
477
|
-
}
|
478
|
-
}
|
479
|
-
} finally {
|
480
|
-
reentry = false;
|
481
|
-
|
482
|
-
{
|
483
|
-
ReactCurrentDispatcher.current = previousDispatcher;
|
484
|
-
reenableLogs();
|
485
|
-
}
|
486
|
-
|
487
|
-
Error.prepareStackTrace = previousPrepareStackTrace;
|
488
|
-
} // Fallback to just using the name if we couldn't make it throw.
|
489
|
-
|
490
|
-
|
491
|
-
var name = fn ? fn.displayName || fn.name : '';
|
492
|
-
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';
|
493
|
-
|
494
|
-
{
|
495
|
-
if (typeof fn === 'function') {
|
496
|
-
componentFrameCache.set(fn, syntheticFrame);
|
497
|
-
}
|
498
|
-
}
|
499
|
-
|
500
|
-
return syntheticFrame;
|
501
|
-
}
|
502
|
-
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
503
|
-
{
|
504
|
-
return describeNativeComponentFrame(fn, false);
|
505
|
-
}
|
506
|
-
}
|
507
|
-
|
508
|
-
function shouldConstruct(Component) {
|
509
|
-
var prototype = Component.prototype;
|
510
|
-
return !!(prototype && prototype.isReactComponent);
|
511
|
-
}
|
512
|
-
|
513
|
-
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
514
|
-
|
515
|
-
if (type == null) {
|
516
|
-
return '';
|
517
|
-
}
|
518
|
-
|
519
|
-
if (typeof type === 'function') {
|
520
|
-
{
|
521
|
-
return describeNativeComponentFrame(type, shouldConstruct(type));
|
522
|
-
}
|
523
|
-
}
|
524
|
-
|
525
|
-
if (typeof type === 'string') {
|
526
|
-
return describeBuiltInComponentFrame(type);
|
527
|
-
}
|
528
|
-
|
529
|
-
switch (type) {
|
530
|
-
case REACT_SUSPENSE_TYPE:
|
531
|
-
return describeBuiltInComponentFrame('Suspense');
|
532
|
-
|
533
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
534
|
-
return describeBuiltInComponentFrame('SuspenseList');
|
535
|
-
}
|
536
|
-
|
537
|
-
if (typeof type === 'object') {
|
538
|
-
switch (type.$$typeof) {
|
539
|
-
case REACT_FORWARD_REF_TYPE:
|
540
|
-
return describeFunctionComponentFrame(type.render);
|
541
|
-
|
542
|
-
case REACT_MEMO_TYPE:
|
543
|
-
// Memo may contain any component type so we recursively resolve it.
|
544
|
-
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
545
|
-
|
546
|
-
case REACT_BLOCK_TYPE:
|
547
|
-
return describeFunctionComponentFrame(type._render);
|
548
|
-
|
549
|
-
case REACT_LAZY_TYPE:
|
550
|
-
{
|
551
|
-
var lazyComponent = type;
|
552
|
-
var payload = lazyComponent._payload;
|
553
|
-
var init = lazyComponent._init;
|
554
|
-
|
555
|
-
try {
|
556
|
-
// Lazy may contain any component type so we recursively resolve it.
|
557
|
-
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
558
|
-
} catch (x) {}
|
559
|
-
}
|
560
|
-
}
|
561
|
-
}
|
562
|
-
|
563
|
-
return '';
|
564
|
-
}
|
565
|
-
|
566
|
-
var loggedTypeFailures = {};
|
567
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
568
|
-
|
569
|
-
function setCurrentlyValidatingElement(element) {
|
570
|
-
{
|
571
|
-
if (element) {
|
572
|
-
var owner = element._owner;
|
573
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
574
|
-
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
575
|
-
} else {
|
576
|
-
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
577
|
-
}
|
578
|
-
}
|
579
|
-
}
|
580
|
-
|
581
|
-
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
582
|
-
{
|
583
|
-
// $FlowFixMe This is okay but Flow doesn't know it.
|
584
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
585
|
-
|
586
|
-
for (var typeSpecName in typeSpecs) {
|
587
|
-
if (has(typeSpecs, typeSpecName)) {
|
588
|
-
var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to
|
589
|
-
// fail the render phase where it didn't fail before. So we log it.
|
590
|
-
// After these have been cleaned up, we'll let them throw.
|
591
|
-
|
592
|
-
try {
|
593
|
-
// This is intentionally an invariant that gets caught. It's the same
|
594
|
-
// behavior as without this statement except with a better message.
|
595
|
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
596
|
-
var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
|
597
|
-
err.name = 'Invariant Violation';
|
598
|
-
throw err;
|
599
|
-
}
|
600
|
-
|
601
|
-
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');
|
602
|
-
} catch (ex) {
|
603
|
-
error$1 = ex;
|
604
|
-
}
|
605
|
-
|
606
|
-
if (error$1 && !(error$1 instanceof Error)) {
|
607
|
-
setCurrentlyValidatingElement(element);
|
608
|
-
|
609
|
-
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
|
610
|
-
|
611
|
-
setCurrentlyValidatingElement(null);
|
612
|
-
}
|
613
|
-
|
614
|
-
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
615
|
-
// Only monitor this failure once because there tends to be a lot of the
|
616
|
-
// same error.
|
617
|
-
loggedTypeFailures[error$1.message] = true;
|
618
|
-
setCurrentlyValidatingElement(element);
|
619
|
-
|
620
|
-
error('Failed %s type: %s', location, error$1.message);
|
621
|
-
|
622
|
-
setCurrentlyValidatingElement(null);
|
623
|
-
}
|
624
|
-
}
|
625
|
-
}
|
626
|
-
}
|
627
|
-
}
|
628
|
-
|
629
|
-
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
630
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
631
|
-
var RESERVED_PROPS = {
|
632
|
-
key: true,
|
633
|
-
ref: true,
|
634
|
-
__self: true,
|
635
|
-
__source: true
|
636
|
-
};
|
637
|
-
var specialPropKeyWarningShown;
|
638
|
-
var specialPropRefWarningShown;
|
639
|
-
var didWarnAboutStringRefs;
|
640
|
-
|
641
|
-
{
|
642
|
-
didWarnAboutStringRefs = {};
|
643
|
-
}
|
644
|
-
|
645
|
-
function hasValidRef(config) {
|
646
|
-
{
|
647
|
-
if (hasOwnProperty.call(config, 'ref')) {
|
648
|
-
var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
|
649
|
-
|
650
|
-
if (getter && getter.isReactWarning) {
|
651
|
-
return false;
|
652
|
-
}
|
653
|
-
}
|
654
|
-
}
|
655
|
-
|
656
|
-
return config.ref !== undefined;
|
657
|
-
}
|
658
|
-
|
659
|
-
function hasValidKey(config) {
|
660
|
-
{
|
661
|
-
if (hasOwnProperty.call(config, 'key')) {
|
662
|
-
var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
|
663
|
-
|
664
|
-
if (getter && getter.isReactWarning) {
|
665
|
-
return false;
|
666
|
-
}
|
667
|
-
}
|
668
|
-
}
|
669
|
-
|
670
|
-
return config.key !== undefined;
|
671
|
-
}
|
672
|
-
|
673
|
-
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
674
|
-
{
|
675
|
-
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
676
|
-
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
677
|
-
|
678
|
-
if (!didWarnAboutStringRefs[componentName]) {
|
679
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
680
|
-
|
681
|
-
didWarnAboutStringRefs[componentName] = true;
|
682
|
-
}
|
683
|
-
}
|
684
|
-
}
|
685
|
-
}
|
686
|
-
|
687
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
688
|
-
{
|
689
|
-
var warnAboutAccessingKey = function () {
|
690
|
-
if (!specialPropKeyWarningShown) {
|
691
|
-
specialPropKeyWarningShown = true;
|
692
|
-
|
693
|
-
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
694
|
-
}
|
695
|
-
};
|
696
|
-
|
697
|
-
warnAboutAccessingKey.isReactWarning = true;
|
698
|
-
Object.defineProperty(props, 'key', {
|
699
|
-
get: warnAboutAccessingKey,
|
700
|
-
configurable: true
|
701
|
-
});
|
702
|
-
}
|
703
|
-
}
|
704
|
-
|
705
|
-
function defineRefPropWarningGetter(props, displayName) {
|
706
|
-
{
|
707
|
-
var warnAboutAccessingRef = function () {
|
708
|
-
if (!specialPropRefWarningShown) {
|
709
|
-
specialPropRefWarningShown = true;
|
710
|
-
|
711
|
-
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
712
|
-
}
|
713
|
-
};
|
714
|
-
|
715
|
-
warnAboutAccessingRef.isReactWarning = true;
|
716
|
-
Object.defineProperty(props, 'ref', {
|
717
|
-
get: warnAboutAccessingRef,
|
718
|
-
configurable: true
|
719
|
-
});
|
720
|
-
}
|
721
|
-
}
|
722
|
-
/**
|
723
|
-
* Factory method to create a new React element. This no longer adheres to
|
724
|
-
* the class pattern, so do not use new to call it. Also, instanceof check
|
725
|
-
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
726
|
-
* if something is a React Element.
|
727
|
-
*
|
728
|
-
* @param {*} type
|
729
|
-
* @param {*} props
|
730
|
-
* @param {*} key
|
731
|
-
* @param {string|object} ref
|
732
|
-
* @param {*} owner
|
733
|
-
* @param {*} self A *temporary* helper to detect places where `this` is
|
734
|
-
* different from the `owner` when React.createElement is called, so that we
|
735
|
-
* can warn. We want to get rid of owner and replace string `ref`s with arrow
|
736
|
-
* functions, and as long as `this` and owner are the same, there will be no
|
737
|
-
* change in behavior.
|
738
|
-
* @param {*} source An annotation object (added by a transpiler or otherwise)
|
739
|
-
* indicating filename, line number, and/or other information.
|
740
|
-
* @internal
|
741
|
-
*/
|
742
|
-
|
743
|
-
|
744
|
-
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
745
|
-
var element = {
|
746
|
-
// This tag allows us to uniquely identify this as a React Element
|
747
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
748
|
-
// Built-in properties that belong on the element
|
749
|
-
type: type,
|
750
|
-
key: key,
|
751
|
-
ref: ref,
|
752
|
-
props: props,
|
753
|
-
// Record the component responsible for creating this element.
|
754
|
-
_owner: owner
|
755
|
-
};
|
756
|
-
|
757
|
-
{
|
758
|
-
// The validation flag is currently mutative. We put it on
|
759
|
-
// an external backing store so that we can freeze the whole object.
|
760
|
-
// This can be replaced with a WeakMap once they are implemented in
|
761
|
-
// commonly used development environments.
|
762
|
-
element._store = {}; // To make comparing ReactElements easier for testing purposes, we make
|
763
|
-
// the validation flag non-enumerable (where possible, which should
|
764
|
-
// include every environment we run tests in), so the test framework
|
765
|
-
// ignores it.
|
766
|
-
|
767
|
-
Object.defineProperty(element._store, 'validated', {
|
768
|
-
configurable: false,
|
769
|
-
enumerable: false,
|
770
|
-
writable: true,
|
771
|
-
value: false
|
772
|
-
}); // self and source are DEV only properties.
|
773
|
-
|
774
|
-
Object.defineProperty(element, '_self', {
|
775
|
-
configurable: false,
|
776
|
-
enumerable: false,
|
777
|
-
writable: false,
|
778
|
-
value: self
|
779
|
-
}); // Two elements created in two different places should be considered
|
780
|
-
// equal for testing purposes and therefore we hide it from enumeration.
|
781
|
-
|
782
|
-
Object.defineProperty(element, '_source', {
|
783
|
-
configurable: false,
|
784
|
-
enumerable: false,
|
785
|
-
writable: false,
|
786
|
-
value: source
|
787
|
-
});
|
788
|
-
|
789
|
-
if (Object.freeze) {
|
790
|
-
Object.freeze(element.props);
|
791
|
-
Object.freeze(element);
|
792
|
-
}
|
793
|
-
}
|
794
|
-
|
795
|
-
return element;
|
796
|
-
};
|
797
|
-
/**
|
798
|
-
* https://github.com/reactjs/rfcs/pull/107
|
799
|
-
* @param {*} type
|
800
|
-
* @param {object} props
|
801
|
-
* @param {string} key
|
802
|
-
*/
|
803
|
-
|
804
|
-
function jsxDEV(type, config, maybeKey, source, self) {
|
805
|
-
{
|
806
|
-
var propName; // Reserved names are extracted
|
807
|
-
|
808
|
-
var props = {};
|
809
|
-
var key = null;
|
810
|
-
var ref = null; // Currently, key can be spread in as a prop. This causes a potential
|
811
|
-
// issue if key is also explicitly declared (ie. <div {...props} key="Hi" />
|
812
|
-
// or <div key="Hi" {...props} /> ). We want to deprecate key spread,
|
813
|
-
// but as an intermediary step, we will use jsxDEV for everything except
|
814
|
-
// <div {...props} key="Hi" />, because we aren't currently able to tell if
|
815
|
-
// key is explicitly declared to be undefined or not.
|
816
|
-
|
817
|
-
if (maybeKey !== undefined) {
|
818
|
-
key = '' + maybeKey;
|
819
|
-
}
|
820
|
-
|
821
|
-
if (hasValidKey(config)) {
|
822
|
-
key = '' + config.key;
|
823
|
-
}
|
824
|
-
|
825
|
-
if (hasValidRef(config)) {
|
826
|
-
ref = config.ref;
|
827
|
-
warnIfStringRefCannotBeAutoConverted(config, self);
|
828
|
-
} // Remaining properties are added to a new props object
|
829
|
-
|
830
|
-
|
831
|
-
for (propName in config) {
|
832
|
-
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
833
|
-
props[propName] = config[propName];
|
834
|
-
}
|
835
|
-
} // Resolve default props
|
836
|
-
|
837
|
-
|
838
|
-
if (type && type.defaultProps) {
|
839
|
-
var defaultProps = type.defaultProps;
|
840
|
-
|
841
|
-
for (propName in defaultProps) {
|
842
|
-
if (props[propName] === undefined) {
|
843
|
-
props[propName] = defaultProps[propName];
|
844
|
-
}
|
845
|
-
}
|
846
|
-
}
|
847
|
-
|
848
|
-
if (key || ref) {
|
849
|
-
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
850
|
-
|
851
|
-
if (key) {
|
852
|
-
defineKeyPropWarningGetter(props, displayName);
|
853
|
-
}
|
854
|
-
|
855
|
-
if (ref) {
|
856
|
-
defineRefPropWarningGetter(props, displayName);
|
857
|
-
}
|
858
|
-
}
|
859
|
-
|
860
|
-
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
861
|
-
}
|
862
|
-
}
|
863
|
-
|
864
|
-
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
865
|
-
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
866
|
-
|
867
|
-
function setCurrentlyValidatingElement$1(element) {
|
868
|
-
{
|
869
|
-
if (element) {
|
870
|
-
var owner = element._owner;
|
871
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
872
|
-
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
873
|
-
} else {
|
874
|
-
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
875
|
-
}
|
876
|
-
}
|
877
|
-
}
|
878
|
-
|
879
|
-
var propTypesMisspellWarningShown;
|
880
|
-
|
881
|
-
{
|
882
|
-
propTypesMisspellWarningShown = false;
|
883
|
-
}
|
884
|
-
/**
|
885
|
-
* Verifies the object is a ReactElement.
|
886
|
-
* See https://reactjs.org/docs/react-api.html#isvalidelement
|
887
|
-
* @param {?object} object
|
888
|
-
* @return {boolean} True if `object` is a ReactElement.
|
889
|
-
* @final
|
890
|
-
*/
|
891
|
-
|
892
|
-
function isValidElement(object) {
|
893
|
-
{
|
894
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
895
|
-
}
|
896
|
-
}
|
897
|
-
|
898
|
-
function getDeclarationErrorAddendum() {
|
899
|
-
{
|
900
|
-
if (ReactCurrentOwner$1.current) {
|
901
|
-
var name = getComponentName(ReactCurrentOwner$1.current.type);
|
902
|
-
|
903
|
-
if (name) {
|
904
|
-
return '\n\nCheck the render method of `' + name + '`.';
|
905
|
-
}
|
906
|
-
}
|
907
|
-
|
908
|
-
return '';
|
909
|
-
}
|
910
|
-
}
|
911
|
-
|
912
|
-
function getSourceInfoErrorAddendum(source) {
|
913
|
-
{
|
914
|
-
if (source !== undefined) {
|
915
|
-
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
916
|
-
var lineNumber = source.lineNumber;
|
917
|
-
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
918
|
-
}
|
919
|
-
|
920
|
-
return '';
|
921
|
-
}
|
922
|
-
}
|
923
|
-
/**
|
924
|
-
* Warn if there's no key explicitly set on dynamic arrays of children or
|
925
|
-
* object keys are not valid. This allows us to keep track of children between
|
926
|
-
* updates.
|
927
|
-
*/
|
928
|
-
|
929
|
-
|
930
|
-
var ownerHasKeyUseWarning = {};
|
931
|
-
|
932
|
-
function getCurrentComponentErrorInfo(parentType) {
|
933
|
-
{
|
934
|
-
var info = getDeclarationErrorAddendum();
|
935
|
-
|
936
|
-
if (!info) {
|
937
|
-
var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
|
938
|
-
|
939
|
-
if (parentName) {
|
940
|
-
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
941
|
-
}
|
942
|
-
}
|
943
|
-
|
944
|
-
return info;
|
945
|
-
}
|
946
|
-
}
|
947
|
-
/**
|
948
|
-
* Warn if the element doesn't have an explicit key assigned to it.
|
949
|
-
* This element is in an array. The array could grow and shrink or be
|
950
|
-
* reordered. All children that haven't already been validated are required to
|
951
|
-
* have a "key" property assigned to it. Error statuses are cached so a warning
|
952
|
-
* will only be shown once.
|
953
|
-
*
|
954
|
-
* @internal
|
955
|
-
* @param {ReactElement} element Element that requires a key.
|
956
|
-
* @param {*} parentType element's parent's type.
|
957
|
-
*/
|
958
|
-
|
959
|
-
|
960
|
-
function validateExplicitKey(element, parentType) {
|
961
|
-
{
|
962
|
-
if (!element._store || element._store.validated || element.key != null) {
|
963
|
-
return;
|
964
|
-
}
|
965
|
-
|
966
|
-
element._store.validated = true;
|
967
|
-
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
968
|
-
|
969
|
-
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
970
|
-
return;
|
971
|
-
}
|
972
|
-
|
973
|
-
ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a
|
974
|
-
// property, it may be the creator of the child that's responsible for
|
975
|
-
// assigning it a key.
|
976
|
-
|
977
|
-
var childOwner = '';
|
978
|
-
|
979
|
-
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
980
|
-
// Give the component that originally created this child.
|
981
|
-
childOwner = " It was passed a child from " + getComponentName(element._owner.type) + ".";
|
982
|
-
}
|
983
|
-
|
984
|
-
setCurrentlyValidatingElement$1(element);
|
985
|
-
|
986
|
-
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
987
|
-
|
988
|
-
setCurrentlyValidatingElement$1(null);
|
989
|
-
}
|
990
|
-
}
|
991
|
-
/**
|
992
|
-
* Ensure that every element either is passed in a static location, in an
|
993
|
-
* array with an explicit keys property defined, or in an object literal
|
994
|
-
* with valid key property.
|
995
|
-
*
|
996
|
-
* @internal
|
997
|
-
* @param {ReactNode} node Statically passed child of any type.
|
998
|
-
* @param {*} parentType node's parent's type.
|
999
|
-
*/
|
1000
|
-
|
1001
|
-
|
1002
|
-
function validateChildKeys(node, parentType) {
|
1003
|
-
{
|
1004
|
-
if (typeof node !== 'object') {
|
1005
|
-
return;
|
1006
|
-
}
|
1007
|
-
|
1008
|
-
if (Array.isArray(node)) {
|
1009
|
-
for (var i = 0; i < node.length; i++) {
|
1010
|
-
var child = node[i];
|
1011
|
-
|
1012
|
-
if (isValidElement(child)) {
|
1013
|
-
validateExplicitKey(child, parentType);
|
1014
|
-
}
|
1015
|
-
}
|
1016
|
-
} else if (isValidElement(node)) {
|
1017
|
-
// This element was passed in a valid location.
|
1018
|
-
if (node._store) {
|
1019
|
-
node._store.validated = true;
|
1020
|
-
}
|
1021
|
-
} else if (node) {
|
1022
|
-
var iteratorFn = getIteratorFn(node);
|
1023
|
-
|
1024
|
-
if (typeof iteratorFn === 'function') {
|
1025
|
-
// Entry iterators used to provide implicit keys,
|
1026
|
-
// but now we print a separate warning for them later.
|
1027
|
-
if (iteratorFn !== node.entries) {
|
1028
|
-
var iterator = iteratorFn.call(node);
|
1029
|
-
var step;
|
1030
|
-
|
1031
|
-
while (!(step = iterator.next()).done) {
|
1032
|
-
if (isValidElement(step.value)) {
|
1033
|
-
validateExplicitKey(step.value, parentType);
|
1034
|
-
}
|
1035
|
-
}
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
}
|
1039
|
-
}
|
1040
|
-
}
|
1041
|
-
/**
|
1042
|
-
* Given an element, validate that its props follow the propTypes definition,
|
1043
|
-
* provided by the type.
|
1044
|
-
*
|
1045
|
-
* @param {ReactElement} element
|
1046
|
-
*/
|
1047
|
-
|
1048
|
-
|
1049
|
-
function validatePropTypes(element) {
|
1050
|
-
{
|
1051
|
-
var type = element.type;
|
1052
|
-
|
1053
|
-
if (type === null || type === undefined || typeof type === 'string') {
|
1054
|
-
return;
|
1055
|
-
}
|
1056
|
-
|
1057
|
-
var propTypes;
|
1058
|
-
|
1059
|
-
if (typeof type === 'function') {
|
1060
|
-
propTypes = type.propTypes;
|
1061
|
-
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
1062
|
-
// Inner props are checked in the reconciler.
|
1063
|
-
type.$$typeof === REACT_MEMO_TYPE)) {
|
1064
|
-
propTypes = type.propTypes;
|
1065
|
-
} else {
|
1066
|
-
return;
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
if (propTypes) {
|
1070
|
-
// Intentionally inside to avoid triggering lazy initializers:
|
1071
|
-
var name = getComponentName(type);
|
1072
|
-
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
1073
|
-
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
1074
|
-
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
1075
|
-
|
1076
|
-
var _name = getComponentName(type);
|
1077
|
-
|
1078
|
-
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
1079
|
-
}
|
1080
|
-
|
1081
|
-
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
1082
|
-
error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
1083
|
-
}
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
/**
|
1087
|
-
* Given a fragment, validate that it can only be provided with fragment props
|
1088
|
-
* @param {ReactElement} fragment
|
1089
|
-
*/
|
1090
|
-
|
1091
|
-
|
1092
|
-
function validateFragmentProps(fragment) {
|
1093
|
-
{
|
1094
|
-
var keys = Object.keys(fragment.props);
|
1095
|
-
|
1096
|
-
for (var i = 0; i < keys.length; i++) {
|
1097
|
-
var key = keys[i];
|
1098
|
-
|
1099
|
-
if (key !== 'children' && key !== 'key') {
|
1100
|
-
setCurrentlyValidatingElement$1(fragment);
|
1101
|
-
|
1102
|
-
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
1103
|
-
|
1104
|
-
setCurrentlyValidatingElement$1(null);
|
1105
|
-
break;
|
1106
|
-
}
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
if (fragment.ref !== null) {
|
1110
|
-
setCurrentlyValidatingElement$1(fragment);
|
1111
|
-
|
1112
|
-
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
1113
|
-
|
1114
|
-
setCurrentlyValidatingElement$1(null);
|
1115
|
-
}
|
1116
|
-
}
|
1117
|
-
}
|
1118
|
-
|
1119
|
-
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
1120
|
-
{
|
1121
|
-
var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to
|
1122
|
-
// succeed and there will likely be errors in render.
|
1123
|
-
|
1124
|
-
if (!validType) {
|
1125
|
-
var info = '';
|
1126
|
-
|
1127
|
-
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
1128
|
-
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
var sourceInfo = getSourceInfoErrorAddendum(source);
|
1132
|
-
|
1133
|
-
if (sourceInfo) {
|
1134
|
-
info += sourceInfo;
|
1135
|
-
} else {
|
1136
|
-
info += getDeclarationErrorAddendum();
|
1137
|
-
}
|
1138
|
-
|
1139
|
-
var typeString;
|
1140
|
-
|
1141
|
-
if (type === null) {
|
1142
|
-
typeString = 'null';
|
1143
|
-
} else if (Array.isArray(type)) {
|
1144
|
-
typeString = 'array';
|
1145
|
-
} else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
|
1146
|
-
typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />";
|
1147
|
-
info = ' Did you accidentally export a JSX literal instead of a component?';
|
1148
|
-
} else {
|
1149
|
-
typeString = typeof type;
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.
|
1156
|
-
// TODO: Drop this when these are no longer allowed as the type argument.
|
1157
|
-
|
1158
|
-
if (element == null) {
|
1159
|
-
return element;
|
1160
|
-
} // Skip key warning if the type isn't valid since our key validation logic
|
1161
|
-
// doesn't expect a non-string/function type and can throw confusing errors.
|
1162
|
-
// We don't want exception behavior to differ between dev and prod.
|
1163
|
-
// (Rendering will throw with a helpful message and as soon as the type is
|
1164
|
-
// fixed, the key warnings will appear.)
|
1165
|
-
|
1166
|
-
|
1167
|
-
if (validType) {
|
1168
|
-
var children = props.children;
|
1169
|
-
|
1170
|
-
if (children !== undefined) {
|
1171
|
-
if (isStaticChildren) {
|
1172
|
-
if (Array.isArray(children)) {
|
1173
|
-
for (var i = 0; i < children.length; i++) {
|
1174
|
-
validateChildKeys(children[i], type);
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
if (Object.freeze) {
|
1178
|
-
Object.freeze(children);
|
1179
|
-
}
|
1180
|
-
} else {
|
1181
|
-
error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');
|
1182
|
-
}
|
1183
|
-
} else {
|
1184
|
-
validateChildKeys(children, type);
|
1185
|
-
}
|
1186
|
-
}
|
1187
|
-
}
|
1188
|
-
|
1189
|
-
if (type === exports.Fragment) {
|
1190
|
-
validateFragmentProps(element);
|
1191
|
-
} else {
|
1192
|
-
validatePropTypes(element);
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
return element;
|
1196
|
-
}
|
1197
|
-
} // These two functions exist to still get child warnings in dev
|
1198
|
-
|
1199
|
-
var jsxDEV$1 = jsxWithValidation ;
|
1200
|
-
|
1201
|
-
exports.jsxDEV = jsxDEV$1;
|
1202
|
-
})();
|
1203
|
-
}
|