@vue-macros/api
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -29,3 +29,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDTYZ2A4Tjs = require('./chunk-DTYZ2A4T.js'); | ||
var _chunkLFZJMNMRjs = require('./chunk-LFZJMNMR.js'); | ||
@@ -65,3 +65,3 @@ | ||
async function inferRuntimeType(node) { | ||
if (_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, node)) | ||
if (_chunkLFZJMNMRjs.isTSNamespace.call(void 0, node)) | ||
return ["Object"]; | ||
@@ -130,3 +130,3 @@ switch (node.type.type) { | ||
if (node.type.typeParameters && node.type.typeParameters.params[1]) { | ||
const t = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const t = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
@@ -141,3 +141,3 @@ type: node.type.typeParameters.params[1] | ||
if (node.type.typeParameters && node.type.typeParameters.params[0]) { | ||
const t = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const t = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
@@ -156,7 +156,7 @@ type: node.type.typeParameters.params[0] | ||
node.type.types.map(async (subType) => { | ||
const resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
type: subType | ||
}); | ||
return resolved && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0; | ||
return resolved && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0; | ||
}) | ||
@@ -521,7 +521,7 @@ )).flatMap((t) => t ? t : ["null"]); | ||
for (const [key, value] of Object.entries(properties.properties)) { | ||
const referenced = value.value ? await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, value.value) : void 0; | ||
const referenced = value.value ? await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, value.value) : void 0; | ||
definitions2[key] = { | ||
type: "property", | ||
addByAPI: false, | ||
value: referenced && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, referenced) ? buildDefinition(referenced) : void 0, | ||
value: referenced && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, referenced) ? buildDefinition(referenced) : void 0, | ||
optional: value.optional, | ||
@@ -534,5 +534,5 @@ signature: buildDefinition(value.signature) | ||
async function resolveDefinitions(typeDeclRaw2) { | ||
let resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, typeDeclRaw2) || typeDeclRaw2; | ||
let resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, typeDeclRaw2) || typeDeclRaw2; | ||
let builtInTypesHandler; | ||
if (resolved && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved) && resolved.type.type === "TSTypeReference" && resolved.type.typeName.type === "Identifier") { | ||
if (resolved && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved) && resolved.type.type === "TSTypeReference" && resolved.type.typeName.type === "Identifier") { | ||
const typeName = resolved.type.typeName.name; | ||
@@ -545,3 +545,3 @@ let type; | ||
if (type) | ||
resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
type, | ||
@@ -551,3 +551,3 @@ scope: resolved.scope | ||
} | ||
if (!resolved || _chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved)) { | ||
if (!resolved || _chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved)) { | ||
throw new SyntaxError(`Cannot resolve TS definition.`); | ||
@@ -564,3 +564,3 @@ } | ||
); | ||
let properties = await _chunkDTYZ2A4Tjs.resolveTSProperties.call(void 0, { | ||
let properties = await _chunkLFZJMNMRjs.resolveTSProperties.call(void 0, { | ||
scope, | ||
@@ -599,3 +599,3 @@ type: definitionsAst2 | ||
return { | ||
code: _chunkDTYZ2A4Tjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
code: _chunkLFZJMNMRjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
ast: type, | ||
@@ -687,4 +687,4 @@ scope | ||
var _a; | ||
const resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, typeDeclRaw2); | ||
if (!resolved || _chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved)) | ||
const resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, typeDeclRaw2); | ||
if (!resolved || _chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved)) | ||
throw new SyntaxError(`Cannot resolve TS definition.`); | ||
@@ -696,3 +696,3 @@ const { type: definitionsAst2, scope } = resolved; | ||
); | ||
const properties = await _chunkDTYZ2A4Tjs.resolveTSProperties.call(void 0, { | ||
const properties = await _chunkLFZJMNMRjs.resolveTSProperties.call(void 0, { | ||
scope, | ||
@@ -706,7 +706,7 @@ type: definitionsAst2 | ||
continue; | ||
const evtType = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const evtType = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
type: evtArg.typeAnnotation.typeAnnotation, | ||
scope: signature.scope | ||
}); | ||
if (_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type)) | ||
if (_chunkLFZJMNMRjs.isTSNamespace.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type)) | ||
continue; | ||
@@ -738,3 +738,3 @@ const types = evtType.type.type === "TSUnionType" ? evtType.type.types : [evtType.type]; | ||
return { | ||
code: _chunkDTYZ2A4Tjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
code: _chunkLFZJMNMRjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
ast: type, | ||
@@ -922,2 +922,2 @@ scope | ||
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkDTYZ2A4Tjs.RollupResolve; exports.UNKNOWN_TYPE = UNKNOWN_TYPE; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.checkForTSProperties = _chunkDTYZ2A4Tjs.checkForTSProperties; exports.createStringLiteral = _chunkDTYZ2A4Tjs.createStringLiteral; exports.createTSLiteralType = _chunkDTYZ2A4Tjs.createTSLiteralType; exports.createUnionType = _chunkDTYZ2A4Tjs.createUnionType; exports.genRuntimePropDefinition = genRuntimePropDefinition; exports.getTSFile = _chunkDTYZ2A4Tjs.getTSFile; exports.getTSPropertiesKeys = _chunkDTYZ2A4Tjs.getTSPropertiesKeys; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isSupportedForTSReferencedType = _chunkDTYZ2A4Tjs.isSupportedForTSReferencedType; exports.isTSDeclaration = _chunkDTYZ2A4Tjs.isTSDeclaration; exports.isTSNamespace = _chunkDTYZ2A4Tjs.isTSNamespace; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkDTYZ2A4Tjs.mergeTSProperties; exports.namespaceSymbol = _chunkDTYZ2A4Tjs.namespaceSymbol; exports.parseSFC = _common.parseSFC; exports.resolveMaybeTSUnion = _chunkDTYZ2A4Tjs.resolveMaybeTSUnion; exports.resolveReferenceName = _chunkDTYZ2A4Tjs.resolveReferenceName; exports.resolveTSFileId = _chunkDTYZ2A4Tjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkDTYZ2A4Tjs.resolveTSFileIdNode; exports.resolveTSIndexedAccessType = _chunkDTYZ2A4Tjs.resolveTSIndexedAccessType; exports.resolveTSLiteralType = _chunkDTYZ2A4Tjs.resolveTSLiteralType; exports.resolveTSNamespace = _chunkDTYZ2A4Tjs.resolveTSNamespace; exports.resolveTSProperties = _chunkDTYZ2A4Tjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkDTYZ2A4Tjs.resolveTSReferencedType; exports.resolveTSScope = _chunkDTYZ2A4Tjs.resolveTSScope; exports.resolveTSTemplateLiteral = _chunkDTYZ2A4Tjs.resolveTSTemplateLiteral; exports.resolveTSTypeOperator = _chunkDTYZ2A4Tjs.resolveTSTypeOperator; exports.resolveTypeElements = _chunkDTYZ2A4Tjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkDTYZ2A4Tjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunkDTYZ2A4Tjs.tsFileCache; | ||
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkLFZJMNMRjs.RollupResolve; exports.UNKNOWN_TYPE = UNKNOWN_TYPE; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.checkForTSProperties = _chunkLFZJMNMRjs.checkForTSProperties; exports.createStringLiteral = _chunkLFZJMNMRjs.createStringLiteral; exports.createTSLiteralType = _chunkLFZJMNMRjs.createTSLiteralType; exports.createUnionType = _chunkLFZJMNMRjs.createUnionType; exports.genRuntimePropDefinition = genRuntimePropDefinition; exports.getTSFile = _chunkLFZJMNMRjs.getTSFile; exports.getTSPropertiesKeys = _chunkLFZJMNMRjs.getTSPropertiesKeys; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isSupportedForTSReferencedType = _chunkLFZJMNMRjs.isSupportedForTSReferencedType; exports.isTSDeclaration = _chunkLFZJMNMRjs.isTSDeclaration; exports.isTSNamespace = _chunkLFZJMNMRjs.isTSNamespace; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkLFZJMNMRjs.mergeTSProperties; exports.namespaceSymbol = _chunkLFZJMNMRjs.namespaceSymbol; exports.parseSFC = _common.parseSFC; exports.resolveMaybeTSUnion = _chunkLFZJMNMRjs.resolveMaybeTSUnion; exports.resolveReferenceName = _chunkLFZJMNMRjs.resolveReferenceName; exports.resolveTSFileId = _chunkLFZJMNMRjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkLFZJMNMRjs.resolveTSFileIdNode; exports.resolveTSIndexedAccessType = _chunkLFZJMNMRjs.resolveTSIndexedAccessType; exports.resolveTSLiteralType = _chunkLFZJMNMRjs.resolveTSLiteralType; exports.resolveTSNamespace = _chunkLFZJMNMRjs.resolveTSNamespace; exports.resolveTSProperties = _chunkLFZJMNMRjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkLFZJMNMRjs.resolveTSReferencedType; exports.resolveTSScope = _chunkLFZJMNMRjs.resolveTSScope; exports.resolveTSTemplateLiteral = _chunkLFZJMNMRjs.resolveTSTemplateLiteral; exports.resolveTSTypeOperator = _chunkLFZJMNMRjs.resolveTSTypeOperator; exports.resolveTypeElements = _chunkLFZJMNMRjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkLFZJMNMRjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunkLFZJMNMRjs.tsFileCache; |
@@ -24,3 +24,4 @@ import { MagicString, SFC } from '@vue-macros/common'; | ||
content: string; | ||
ast: Statement[]; | ||
/** could be undefined if it's a JSON file */ | ||
ast: Statement[] | undefined; | ||
} | ||
@@ -38,3 +39,3 @@ interface TSModule extends TSScopeBase { | ||
file: TSFile; | ||
body: Statement[]; | ||
body: Statement[] | undefined; | ||
exports?: TSNamespace; | ||
@@ -41,0 +42,0 @@ declarations?: TSNamespace; |
@@ -29,3 +29,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDTYZ2A4Tjs = require('./chunk-DTYZ2A4T.js'); | ||
var _chunkLFZJMNMRjs = require('./chunk-LFZJMNMR.js'); | ||
@@ -65,3 +65,3 @@ | ||
async function inferRuntimeType(node) { | ||
if (_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, node)) | ||
if (_chunkLFZJMNMRjs.isTSNamespace.call(void 0, node)) | ||
return ["Object"]; | ||
@@ -130,3 +130,3 @@ switch (node.type.type) { | ||
if (node.type.typeParameters && node.type.typeParameters.params[1]) { | ||
const t = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const t = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
@@ -141,3 +141,3 @@ type: node.type.typeParameters.params[1] | ||
if (node.type.typeParameters && node.type.typeParameters.params[0]) { | ||
const t = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const t = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
@@ -156,7 +156,7 @@ type: node.type.typeParameters.params[0] | ||
node.type.types.map(async (subType) => { | ||
const resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
scope: node.scope, | ||
type: subType | ||
}); | ||
return resolved && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0; | ||
return resolved && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0; | ||
}) | ||
@@ -521,7 +521,7 @@ )).flatMap((t) => t ? t : ["null"]); | ||
for (const [key, value] of Object.entries(properties.properties)) { | ||
const referenced = value.value ? await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, value.value) : void 0; | ||
const referenced = value.value ? await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, value.value) : void 0; | ||
definitions2[key] = { | ||
type: "property", | ||
addByAPI: false, | ||
value: referenced && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, referenced) ? buildDefinition(referenced) : void 0, | ||
value: referenced && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, referenced) ? buildDefinition(referenced) : void 0, | ||
optional: value.optional, | ||
@@ -534,5 +534,5 @@ signature: buildDefinition(value.signature) | ||
async function resolveDefinitions(typeDeclRaw2) { | ||
let resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, typeDeclRaw2) || typeDeclRaw2; | ||
let resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, typeDeclRaw2) || typeDeclRaw2; | ||
let builtInTypesHandler; | ||
if (resolved && !_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved) && resolved.type.type === "TSTypeReference" && resolved.type.typeName.type === "Identifier") { | ||
if (resolved && !_chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved) && resolved.type.type === "TSTypeReference" && resolved.type.typeName.type === "Identifier") { | ||
const typeName = resolved.type.typeName.name; | ||
@@ -545,3 +545,3 @@ let type; | ||
if (type) | ||
resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
type, | ||
@@ -551,3 +551,3 @@ scope: resolved.scope | ||
} | ||
if (!resolved || _chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved)) { | ||
if (!resolved || _chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved)) { | ||
throw new SyntaxError(`Cannot resolve TS definition.`); | ||
@@ -564,3 +564,3 @@ } | ||
); | ||
let properties = await _chunkDTYZ2A4Tjs.resolveTSProperties.call(void 0, { | ||
let properties = await _chunkLFZJMNMRjs.resolveTSProperties.call(void 0, { | ||
scope, | ||
@@ -599,3 +599,3 @@ type: definitionsAst2 | ||
return { | ||
code: _chunkDTYZ2A4Tjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
code: _chunkLFZJMNMRjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
ast: type, | ||
@@ -687,4 +687,4 @@ scope | ||
var _a; | ||
const resolved = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, typeDeclRaw2); | ||
if (!resolved || _chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, resolved)) | ||
const resolved = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, typeDeclRaw2); | ||
if (!resolved || _chunkLFZJMNMRjs.isTSNamespace.call(void 0, resolved)) | ||
throw new SyntaxError(`Cannot resolve TS definition.`); | ||
@@ -696,3 +696,3 @@ const { type: definitionsAst2, scope } = resolved; | ||
); | ||
const properties = await _chunkDTYZ2A4Tjs.resolveTSProperties.call(void 0, { | ||
const properties = await _chunkLFZJMNMRjs.resolveTSProperties.call(void 0, { | ||
scope, | ||
@@ -706,7 +706,7 @@ type: definitionsAst2 | ||
continue; | ||
const evtType = await _chunkDTYZ2A4Tjs.resolveTSReferencedType.call(void 0, { | ||
const evtType = await _chunkLFZJMNMRjs.resolveTSReferencedType.call(void 0, { | ||
type: evtArg.typeAnnotation.typeAnnotation, | ||
scope: signature.scope | ||
}); | ||
if (_chunkDTYZ2A4Tjs.isTSNamespace.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type)) | ||
if (_chunkLFZJMNMRjs.isTSNamespace.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type)) | ||
continue; | ||
@@ -738,3 +738,3 @@ const types = evtType.type.type === "TSUnionType" ? evtType.type.types : [evtType.type]; | ||
return { | ||
code: _chunkDTYZ2A4Tjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
code: _chunkLFZJMNMRjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end), | ||
ast: type, | ||
@@ -922,2 +922,2 @@ scope | ||
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkDTYZ2A4Tjs.RollupResolve; exports.UNKNOWN_TYPE = UNKNOWN_TYPE; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.checkForTSProperties = _chunkDTYZ2A4Tjs.checkForTSProperties; exports.createStringLiteral = _chunkDTYZ2A4Tjs.createStringLiteral; exports.createTSLiteralType = _chunkDTYZ2A4Tjs.createTSLiteralType; exports.createUnionType = _chunkDTYZ2A4Tjs.createUnionType; exports.genRuntimePropDefinition = genRuntimePropDefinition; exports.getTSFile = _chunkDTYZ2A4Tjs.getTSFile; exports.getTSPropertiesKeys = _chunkDTYZ2A4Tjs.getTSPropertiesKeys; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isSupportedForTSReferencedType = _chunkDTYZ2A4Tjs.isSupportedForTSReferencedType; exports.isTSDeclaration = _chunkDTYZ2A4Tjs.isTSDeclaration; exports.isTSNamespace = _chunkDTYZ2A4Tjs.isTSNamespace; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkDTYZ2A4Tjs.mergeTSProperties; exports.namespaceSymbol = _chunkDTYZ2A4Tjs.namespaceSymbol; exports.parseSFC = _common.parseSFC; exports.resolveMaybeTSUnion = _chunkDTYZ2A4Tjs.resolveMaybeTSUnion; exports.resolveReferenceName = _chunkDTYZ2A4Tjs.resolveReferenceName; exports.resolveTSFileId = _chunkDTYZ2A4Tjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkDTYZ2A4Tjs.resolveTSFileIdNode; exports.resolveTSIndexedAccessType = _chunkDTYZ2A4Tjs.resolveTSIndexedAccessType; exports.resolveTSLiteralType = _chunkDTYZ2A4Tjs.resolveTSLiteralType; exports.resolveTSNamespace = _chunkDTYZ2A4Tjs.resolveTSNamespace; exports.resolveTSProperties = _chunkDTYZ2A4Tjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkDTYZ2A4Tjs.resolveTSReferencedType; exports.resolveTSScope = _chunkDTYZ2A4Tjs.resolveTSScope; exports.resolveTSTemplateLiteral = _chunkDTYZ2A4Tjs.resolveTSTemplateLiteral; exports.resolveTSTypeOperator = _chunkDTYZ2A4Tjs.resolveTSTypeOperator; exports.resolveTypeElements = _chunkDTYZ2A4Tjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkDTYZ2A4Tjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunkDTYZ2A4Tjs.tsFileCache; | ||
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkLFZJMNMRjs.RollupResolve; exports.UNKNOWN_TYPE = UNKNOWN_TYPE; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.checkForTSProperties = _chunkLFZJMNMRjs.checkForTSProperties; exports.createStringLiteral = _chunkLFZJMNMRjs.createStringLiteral; exports.createTSLiteralType = _chunkLFZJMNMRjs.createTSLiteralType; exports.createUnionType = _chunkLFZJMNMRjs.createUnionType; exports.genRuntimePropDefinition = genRuntimePropDefinition; exports.getTSFile = _chunkLFZJMNMRjs.getTSFile; exports.getTSPropertiesKeys = _chunkLFZJMNMRjs.getTSPropertiesKeys; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isSupportedForTSReferencedType = _chunkLFZJMNMRjs.isSupportedForTSReferencedType; exports.isTSDeclaration = _chunkLFZJMNMRjs.isTSDeclaration; exports.isTSNamespace = _chunkLFZJMNMRjs.isTSNamespace; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkLFZJMNMRjs.mergeTSProperties; exports.namespaceSymbol = _chunkLFZJMNMRjs.namespaceSymbol; exports.parseSFC = _common.parseSFC; exports.resolveMaybeTSUnion = _chunkLFZJMNMRjs.resolveMaybeTSUnion; exports.resolveReferenceName = _chunkLFZJMNMRjs.resolveReferenceName; exports.resolveTSFileId = _chunkLFZJMNMRjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkLFZJMNMRjs.resolveTSFileIdNode; exports.resolveTSIndexedAccessType = _chunkLFZJMNMRjs.resolveTSIndexedAccessType; exports.resolveTSLiteralType = _chunkLFZJMNMRjs.resolveTSLiteralType; exports.resolveTSNamespace = _chunkLFZJMNMRjs.resolveTSNamespace; exports.resolveTSProperties = _chunkLFZJMNMRjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkLFZJMNMRjs.resolveTSReferencedType; exports.resolveTSScope = _chunkLFZJMNMRjs.resolveTSScope; exports.resolveTSTemplateLiteral = _chunkLFZJMNMRjs.resolveTSTemplateLiteral; exports.resolveTSTypeOperator = _chunkLFZJMNMRjs.resolveTSTypeOperator; exports.resolveTypeElements = _chunkLFZJMNMRjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkLFZJMNMRjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunkLFZJMNMRjs.tsFileCache; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDTYZ2A4Tjs = require('./chunk-DTYZ2A4T.js'); | ||
var _chunkLFZJMNMRjs = require('./chunk-LFZJMNMR.js'); | ||
exports.RollupResolve = _chunkDTYZ2A4Tjs.RollupResolve; | ||
exports.RollupResolve = _chunkLFZJMNMRjs.RollupResolve; | ||
exports.default = module.exports; |
{ | ||
"name": "@vue-macros/api", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"packageManager": "pnpm@8.5.1", | ||
@@ -43,3 +43,3 @@ "description": "General API for Vue Macros.", | ||
"@babel/types": "^7.21.5", | ||
"@vue-macros/common": "~1.3.2" | ||
"@vue-macros/common": "~1.3.3" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145001
4302
+ Addedmagic-string@0.30.15(transitive)
- Removedmagic-string@0.30.17(transitive)
Updated@vue-macros/common@~1.3.3