1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _exportNames = {\n react: true,\n assertNode: true,\n createTypeAnnotationBasedOnTypeof: true,\n createUnionTypeAnnotation: true,\n cloneNode: true,\n clone: true,\n cloneDeep: true,\n cloneWithoutLoc: true,\n addComment: true,\n addComments: true,\n inheritInnerComments: true,\n inheritLeadingComments: true,\n inheritsComments: true,\n inheritTrailingComments: true,\n removeComments: true,\n ensureBlock: true,\n toBindingIdentifierName: true,\n toBlock: true,\n toComputedKey: true,\n toExpression: true,\n toIdentifier: true,\n toKeyAlias: true,\n toSequenceExpression: true,\n toStatement: true,\n valueToNode: true,\n appendToMemberExpression: true,\n inherits: true,\n prependToMemberExpression: true,\n removeProperties: true,\n removePropertiesDeep: true,\n removeTypeDuplicates: true,\n getBindingIdentifiers: true,\n getOuterBindingIdentifiers: true,\n traverse: true,\n traverseFast: true,\n shallowEqual: true,\n is: true,\n isBinding: true,\n isBlockScoped: true,\n isImmutable: true,\n isLet: true,\n isNode: true,\n isNodesEquivalent: true,\n isPlaceholderType: true,\n isReferenced: true,\n isScope: true,\n isSpecifierDefault: true,\n isType: true,\n isValidES3Identifier: true,\n isValidIdentifier: true,\n isVar: true,\n matchesPattern: true,\n validate: true,\n buildMatchMemberExpression: true\n};\nObject.defineProperty(exports, \"assertNode\", {\n enumerable: true,\n get: function get() {\n return _assertNode.default;\n }\n});\nObject.defineProperty(exports, \"createTypeAnnotationBasedOnTypeof\", {\n enumerable: true,\n get: function get() {\n return _createTypeAnnotationBasedOnTypeof.default;\n }\n});\nObject.defineProperty(exports, \"createUnionTypeAnnotation\", {\n enumerable: true,\n get: function get() {\n return _createUnionTypeAnnotation.default;\n }\n});\nObject.defineProperty(exports, \"cloneNode\", {\n enumerable: true,\n get: function get() {\n return _cloneNode.default;\n }\n});\nObject.defineProperty(exports, \"clone\", {\n enumerable: true,\n get: function get() {\n return _clone.default;\n }\n});\nObject.defineProperty(exports, \"cloneDeep\", {\n enumerable: true,\n get: function get() {\n return _cloneDeep.default;\n }\n});\nObject.defineProperty(exports, \"cloneWithoutLoc\", {\n enumerable: true,\n get: function get() {\n return _cloneWithoutLoc.default;\n }\n});\nObject.defineProperty(exports, \"addComment\", {\n enumerable: true,\n get: function get() {\n return _addComment.default;\n }\n});\nObject.defineProperty(exports, \"addComments\", {\n enumerable: true,\n get: function get() {\n return _addComments.default;\n }\n});\nObject.defineProperty(exports, \"inheritInnerComments\", {\n enumerable: true,\n get: function get() {\n return _inheritInnerComments.default;\n }\n});\nObject.defineProperty(exports, \"inheritLeadingComments\", {\n enumerable: true,\n get: function get() {\n return _inheritLeadingComments.default;\n }\n});\nObject.defineProperty(exports, \"inheritsComments\", {\n enumerable: true,\n get: function get() {\n return _inheritsComments.default;\n }\n});\nObject.defineProperty(exports, \"inheritTrailingComments\", {\n enumerable: true,\n get: function get() {\n return _inheritTrailingComments.default;\n }\n});\nObject.defineProperty(exports, \"removeComments\", {\n enumerable: true,\n get: function get() {\n return _removeComments.default;\n }\n});\nObject.defineProperty(exports, \"ensureBlock\", {\n enumerable: true,\n get: function get() {\n return _ensureBlock.default;\n }\n});\nObject.defineProperty(exports, \"toBindingIdentifierName\", {\n enumerable: true,\n get: function get() {\n return _toBindingIdentifierName.default;\n }\n});\nObject.defineProperty(exports, \"toBlock\", {\n enumerable: true,\n get: function get() {\n return _toBlock.default;\n }\n});\nObject.defineProperty(exports, \"toComputedKey\", {\n enumerable: true,\n get: function get() {\n return _toComputedKey.default;\n }\n});\nObject.defineProperty(exports, \"toExpression\", {\n enumerable: true,\n get: function get() {\n return _toExpression.default;\n }\n});\nObject.defineProperty(exports, \"toIdentifier\", {\n enumerable: true,\n get: function get() {\n return _toIdentifier.default;\n }\n});\nObject.defineProperty(exports, \"toKeyAlias\", {\n enumerable: true,\n get: function get() {\n return _toKeyAlias.default;\n }\n});\nObject.defineProperty(exports, \"toSequenceExpression\", {\n enumerable: true,\n get: function get() {\n return _toSequenceExpression.default;\n }\n});\nObject.defineProperty(exports, \"toStatement\", {\n enumerable: true,\n get: function get() {\n return _toStatement.default;\n }\n});\nObject.defineProperty(exports, \"valueToNode\", {\n enumerable: true,\n get: function get() {\n return _valueToNode.default;\n }\n});\nObject.defineProperty(exports, \"appendToMemberExpression\", {\n enumerable: true,\n get: function get() {\n return _appendToMemberExpression.default;\n }\n});\nObject.defineProperty(exports, \"inherits\", {\n enumerable: true,\n get: function get() {\n return _inherits.default;\n }\n});\nObject.defineProperty(exports, \"prependToMemberExpression\", {\n enumerable: true,\n get: function get() {\n return _prependToMemberExpression.default;\n }\n});\nObject.defineProperty(exports, \"removeProperties\", {\n enumerable: true,\n get: function get() {\n return _removeProperties.default;\n }\n});\nObject.defineProperty(exports, \"removePropertiesDeep\", {\n enumerable: true,\n get: function get() {\n return _removePropertiesDeep.default;\n }\n});\nObject.defineProperty(exports, \"removeTypeDuplicates\", {\n enumerable: true,\n get: function get() {\n return _removeTypeDuplicates.default;\n }\n});\nObject.defineProperty(exports, \"getBindingIdentifiers\", {\n enumerable: true,\n get: function get() {\n return _getBindingIdentifiers.default;\n }\n});\nObject.defineProperty(exports, \"getOuterBindingIdentifiers\", {\n enumerable: true,\n get: function get() {\n return _getOuterBindingIdentifiers.default;\n }\n});\nObject.defineProperty(exports, \"traverse\", {\n enumerable: true,\n get: function get() {\n return _traverse.default;\n }\n});\nObject.defineProperty(exports, \"traverseFast\", {\n enumerable: true,\n get: function get() {\n return _traverseFast.default;\n }\n});\nObject.defineProperty(exports, \"shallowEqual\", {\n enumerable: true,\n get: function get() {\n return _shallowEqual.default;\n }\n});\nObject.defineProperty(exports, \"is\", {\n enumerable: true,\n get: function get() {\n return _is.default;\n }\n});\nObject.defineProperty(exports, \"isBinding\", {\n enumerable: true,\n get: function get() {\n return _isBinding.default;\n }\n});\nObject.defineProperty(exports, \"isBlockScoped\", {\n enumerable: true,\n get: function get() {\n return _isBlockScoped.default;\n }\n});\nObject.defineProperty(exports, \"isImmutable\", {\n enumerable: true,\n get: function get() {\n return _isImmutable.default;\n }\n});\nObject.defineProperty(exports, \"isLet\", {\n enumerable: true,\n get: function get() {\n return _isLet.default;\n }\n});\nObject.defineProperty(exports, \"isNode\", {\n enumerable: true,\n get: function get() {\n return _isNode.default;\n }\n});\nObject.defineProperty(exports, \"isNodesEquivalent\", {\n enumerable: true,\n get: function get() {\n return _isNodesEquivalent.default;\n }\n});\nObject.defineProperty(exports, \"isPlaceholderType\", {\n enumerable: true,\n get: function get() {\n return _isPlaceholderType.default;\n }\n});\nObject.defineProperty(exports, \"isReferenced\", {\n enumerable: true,\n get: function get() {\n return _isReferenced.default;\n }\n});\nObject.defineProperty(exports, \"isScope\", {\n enumerable: true,\n get: function get() {\n return _isScope.default;\n }\n});\nObject.defineProperty(exports, \"isSpecifierDefault\", {\n enumerable: true,\n get: function get() {\n return _isSpecifierDefault.default;\n }\n});\nObject.defineProperty(exports, \"isType\", {\n enumerable: true,\n get: function get() {\n return _isType.default;\n }\n});\nObject.defineProperty(exports, \"isValidES3Identifier\", {\n enumerable: true,\n get: function get() {\n return _isValidES3Identifier.default;\n }\n});\nObject.defineProperty(exports, \"isValidIdentifier\", {\n enumerable: true,\n get: function get() {\n return _isValidIdentifier.default;\n }\n});\nObject.defineProperty(exports, \"isVar\", {\n enumerable: true,\n get: function get() {\n return _isVar.default;\n }\n});\nObject.defineProperty(exports, \"matchesPattern\", {\n enumerable: true,\n get: function get() {\n return _matchesPattern.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function get() {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"buildMatchMemberExpression\", {\n enumerable: true,\n get: function get() {\n return _buildMatchMemberExpression.default;\n }\n});\nexports.react = void 0;\n\nvar _isReactComponent = _interopRequireDefault(require(\"./validators/react/isReactComponent\"));\n\nvar _isCompatTag = _interopRequireDefault(require(\"./validators/react/isCompatTag\"));\n\nvar _buildChildren = _interopRequireDefault(require(\"./builders/react/buildChildren\"));\n\nvar _assertNode = _interopRequireDefault(require(\"./asserts/assertNode\"));\n\nvar _generated = require(\"./asserts/generated\");\n\nObject.keys(_generated).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _generated[key];\n }\n });\n});\n\nvar _createTypeAnnotationBasedOnTypeof = _interopRequireDefault(require(\"./builders/flow/createTypeAnnotationBasedOnTypeof\"));\n\nvar _createUnionTypeAnnotation = _interopRequireDefault(require(\"./builders/flow/createUnionTypeAnnotation\"));\n\nvar _generated2 = require(\"./builders/generated\");\n\nObject.keys(_generated2).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _generated2[key];\n }\n });\n});\n\nvar _cloneNode = _interopRequireDefault(require(\"./clone/cloneNode\"));\n\nvar _clone = _interopRequireDefault(require(\"./clone/clone\"));\n\nvar _cloneDeep = _interopRequireDefault(require(\"./clone/cloneDeep\"));\n\nvar _cloneWithoutLoc = _interopRequireDefault(require(\"./clone/cloneWithoutLoc\"));\n\nvar _addComment = _interopRequireDefault(require(\"./comments/addComment\"));\n\nvar _addComments = _interopRequireDefault(require(\"./comments/addComments\"));\n\nvar _inheritInnerComments = _interopRequireDefault(require(\"./comments/inheritInnerComments\"));\n\nvar _inheritLeadingComments = _interopRequireDefault(require(\"./comments/inheritLeadingComments\"));\n\nvar _inheritsComments = _interopRequireDefault(require(\"./comments/inheritsComments\"));\n\nvar _inheritTrailingComments = _interopRequireDefault(require(\"./comments/inheritTrailingComments\"));\n\nvar _removeComments = _interopRequireDefault(require(\"./comments/removeComments\"));\n\nvar _generated3 = require(\"./constants/generated\");\n\nObject.keys(_generated3).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _generated3[key];\n }\n });\n});\n\nvar _constants = require(\"./constants\");\n\nObject.keys(_constants).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _constants[key];\n }\n });\n});\n\nvar _ensureBlock = _interopRequireDefault(require(\"./converters/ensureBlock\"));\n\nvar _toBindingIdentifierName = _interopRequireDefault(require(\"./converters/toBindingIdentifierName\"));\n\nvar _toBlock = _interopRequireDefault(require(\"./converters/toBlock\"));\n\nvar _toComputedKey = _interopRequireDefault(require(\"./converters/toComputedKey\"));\n\nvar _toExpression = _interopRequireDefault(require(\"./converters/toExpression\"));\n\nvar _toIdentifier = _interopRequireDefault(require(\"./converters/toIdentifier\"));\n\nvar _toKeyAlias = _interopRequireDefault(require(\"./converters/toKeyAlias\"));\n\nvar _toSequenceExpression = _interopRequireDefault(require(\"./converters/toSequenceExpression\"));\n\nvar _toStatement = _interopRequireDefault(require(\"./converters/toStatement\"));\n\nvar _valueToNode = _interopRequireDefault(require(\"./converters/valueToNode\"));\n\nvar _definitions = require(\"./definitions\");\n\nObject.keys(_definitions).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _definitions[key];\n }\n });\n});\n\nvar _appendToMemberExpression = _interopRequireDefault(require(\"./modifications/appendToMemberExpression\"));\n\nvar _inherits = _interopRequireDefault(require(\"./modifications/inherits\"));\n\nvar _prependToMemberExpression = _interopRequireDefault(require(\"./modifications/prependToMemberExpression\"));\n\nvar _removeProperties = _interopRequireDefault(require(\"./modifications/removeProperties\"));\n\nvar _removePropertiesDeep = _interopRequireDefault(require(\"./modifications/removePropertiesDeep\"));\n\nvar _removeTypeDuplicates = _interopRequireDefault(require(\"./modifications/flow/removeTypeDuplicates\"));\n\nvar _getBindingIdentifiers = _interopRequireDefault(require(\"./retrievers/getBindingIdentifiers\"));\n\nvar _getOuterBindingIdentifiers = _interopRequireDefault(require(\"./retrievers/getOuterBindingIdentifiers\"));\n\nvar _traverse = _interopRequireDefault(require(\"./traverse/traverse\"));\n\nvar _traverseFast = _interopRequireDefault(require(\"./traverse/traverseFast\"));\n\nvar _shallowEqual = _interopRequireDefault(require(\"./utils/shallowEqual\"));\n\nvar _is = _interopRequireDefault(require(\"./validators/is\"));\n\nvar _isBinding = _interopRequireDefault(require(\"./validators/isBinding\"));\n\nvar _isBlockScoped = _interopRequireDefault(require(\"./validators/isBlockScoped\"));\n\nvar _isImmutable = _interopRequireDefault(require(\"./validators/isImmutable\"));\n\nvar _isLet = _interopRequireDefault(require(\"./validators/isLet\"));\n\nvar _isNode = _interopRequireDefault(require(\"./validators/isNode\"));\n\nvar _isNodesEquivalent = _interopRequireDefault(require(\"./validators/isNodesEquivalent\"));\n\nvar _isPlaceholderType = _interopRequireDefault(require(\"./validators/isPlaceholderType\"));\n\nvar _isReferenced = _interopRequireDefault(require(\"./validators/isReferenced\"));\n\nvar _isScope = _interopRequireDefault(require(\"./validators/isScope\"));\n\nvar _isSpecifierDefault = _interopRequireDefault(require(\"./validators/isSpecifierDefault\"));\n\nvar _isType = _interopRequireDefault(require(\"./validators/isType\"));\n\nvar _isValidES3Identifier = _interopRequireDefault(require(\"./validators/isValidES3Identifier\"));\n\nvar _isValidIdentifier = _interopRequireDefault(require(\"./validators/isValidIdentifier\"));\n\nvar _isVar = _interopRequireDefault(require(\"./validators/isVar\"));\n\nvar _matchesPattern = _interopRequireDefault(require(\"./validators/matchesPattern\"));\n\nvar _validate = _interopRequireDefault(require(\"./validators/validate\"));\n\nvar _buildMatchMemberExpression = _interopRequireDefault(require(\"./validators/buildMatchMemberExpression\"));\n\nvar _generated4 = require(\"./validators/generated\");\n\nObject.keys(_generated4).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function get() {\n return _generated4[key];\n }\n });\n});\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nvar react = {\n isReactComponent: _isReactComponent.default,\n isCompatTag: _isCompatTag.default,\n buildChildren: _buildChildren.default\n};\nexports.react = react;","map":null,"metadata":{},"sourceType":"script"} |