Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue-macros/api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-macros/api - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

dist/chunk-GRDMIZTT.mjs

40

./dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkRBVIWBQIjs = require('./chunk-RBVIWBQI.js');
var _chunkUNTQKQCUjs = require('./chunk-UNTQKQCU.js');

@@ -21,3 +21,3 @@

var _chunk5TD4KD7Sjs = require('./chunk-5TD4KD7S.js');
var _chunkJZ2GCWZYjs = require('./chunk-JZ2GCWZY.js');

@@ -56,3 +56,3 @@

async function inferRuntimeType(node) {
if (_chunk5TD4KD7Sjs.isTSExports.call(void 0, node))
if (_chunkJZ2GCWZYjs.isTSExports.call(void 0, node))
return ["Object"];

@@ -122,3 +122,3 @@ switch (node.type.type) {

if (node.type.typeParameters && node.type.typeParameters.params[1]) {
const t = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const t = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,

@@ -133,3 +133,3 @@ type: node.type.typeParameters.params[1]

if (node.type.typeParameters && node.type.typeParameters.params[0]) {
const t = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const t = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,

@@ -148,7 +148,7 @@ type: node.type.typeParameters.params[0]

node.type.types.map(async (subType) => {
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,
type: subType
});
return resolved && !_chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0;
return resolved && !_chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0;
})

@@ -360,4 +360,4 @@ )).flatMap((t) => t ? t : ["null"]);

async function resolveDefinitions(typeDeclRaw2) {
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved))
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved))
throw new SyntaxError(`Cannot resolve TS definition.`);

@@ -460,3 +460,3 @@ const { type: definitionsAst2, scope } = resolved;

);
const properties = await _chunk5TD4KD7Sjs.resolveTSProperties.call(void 0, {
const properties = await _chunkJZ2GCWZYjs.resolveTSProperties.call(void 0, {
scope,

@@ -475,7 +475,7 @@ type: definitionsAst2

for (const [key, value] of Object.entries(properties.properties)) {
const referenced = value.value ? await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, value.value) : void 0;
const referenced = value.value ? await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, value.value) : void 0;
definitions2[key] = {
type: "property",
addByAPI: false,
value: referenced && !_chunk5TD4KD7Sjs.isTSExports.call(void 0, referenced) ? buildDefinition(referenced) : void 0,
value: referenced && !_chunkJZ2GCWZYjs.isTSExports.call(void 0, referenced) ? buildDefinition(referenced) : void 0,
optional: value.optional,

@@ -513,3 +513,3 @@ signature: buildDefinition(value.signature)

return {
code: _chunk5TD4KD7Sjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
code: _chunkJZ2GCWZYjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
ast: type,

@@ -601,4 +601,4 @@ scope

var _a;
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved))
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved))
throw new SyntaxError(`Cannot resolve TS definition.`);

@@ -610,3 +610,3 @@ const { type: definitionsAst2, scope } = resolved;

);
const properties = await _chunk5TD4KD7Sjs.resolveTSProperties.call(void 0, {
const properties = await _chunkJZ2GCWZYjs.resolveTSProperties.call(void 0, {
scope,

@@ -620,7 +620,7 @@ type: definitionsAst2

continue;
const evtType = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const evtType = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
type: evtArg.typeAnnotation.typeAnnotation,
scope: signature.scope
});
if (_chunk5TD4KD7Sjs.isTSExports.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type))
if (_chunkJZ2GCWZYjs.isTSExports.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type))
continue;

@@ -652,3 +652,3 @@ const types = evtType.type.type === "TSUnionType" ? evtType.type.types : [evtType.type];

return {
code: _chunk5TD4KD7Sjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
code: _chunkJZ2GCWZYjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
ast: type,

@@ -824,2 +824,2 @@ scope

exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkRBVIWBQIjs.RollupResolve; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.exportsSymbol = _chunk5TD4KD7Sjs.exportsSymbol; exports.getTSFile = _chunk5TD4KD7Sjs.getTSFile; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isTSDeclaration = _chunk5TD4KD7Sjs.isTSDeclaration; exports.isTSExports = _chunk5TD4KD7Sjs.isTSExports; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunk5TD4KD7Sjs.mergeTSProperties; exports.parseSFC = _common.parseSFC; exports.resolveTSEntityName = _chunk5TD4KD7Sjs.resolveTSEntityName; exports.resolveTSExports = _chunk5TD4KD7Sjs.resolveTSExports; exports.resolveTSFileId = _chunk5TD4KD7Sjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunk5TD4KD7Sjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunk5TD4KD7Sjs.resolveTSProperties; exports.resolveTSReferencedType = _chunk5TD4KD7Sjs.resolveTSReferencedType; exports.resolveTSScope = _chunk5TD4KD7Sjs.resolveTSScope; exports.resolveTypeElements = _chunk5TD4KD7Sjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunk5TD4KD7Sjs.setResolveTSFileIdImpl; exports.toRuntimeTypeString = toRuntimeTypeString; exports.tsFileCache = _chunk5TD4KD7Sjs.tsFileCache; exports.tsFileExportsCache = _chunk5TD4KD7Sjs.tsFileExportsCache;
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkUNTQKQCUjs.RollupResolve; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.exportsSymbol = _chunkJZ2GCWZYjs.exportsSymbol; exports.getTSFile = _chunkJZ2GCWZYjs.getTSFile; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isTSDeclaration = _chunkJZ2GCWZYjs.isTSDeclaration; exports.isTSExports = _chunkJZ2GCWZYjs.isTSExports; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkJZ2GCWZYjs.mergeTSProperties; exports.parseSFC = _common.parseSFC; exports.resolveTSEntityName = _chunkJZ2GCWZYjs.resolveTSEntityName; exports.resolveTSExports = _chunkJZ2GCWZYjs.resolveTSExports; exports.resolveTSFileId = _chunkJZ2GCWZYjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkJZ2GCWZYjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunkJZ2GCWZYjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkJZ2GCWZYjs.resolveTSReferencedType; exports.resolveTSScope = _chunkJZ2GCWZYjs.resolveTSScope; exports.resolveTypeElements = _chunkJZ2GCWZYjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkJZ2GCWZYjs.setResolveTSFileIdImpl; exports.toRuntimeTypeString = toRuntimeTypeString; exports.tsFileCache = _chunkJZ2GCWZYjs.tsFileCache; exports.tsFileExportsCache = _chunkJZ2GCWZYjs.tsFileExportsCache;
import { MagicString, SFC } from '@vue-macros/common';
export { MagicString, SFC, parseSFC } from '@vue-macros/common';
import { Node, TSModuleBlock, CallExpression, TSType, LVal, VariableDeclaration, ExpressionStatement, TSCallSignatureDeclaration, TSFunctionType, TSTypeLiteral, TSIntersectionType, TSInterfaceDeclaration, StringLiteral, TSMethodSignature, TSPropertySignature, TSMappedType, TSUnionType, ObjectMethod, ObjectProperty, Expression } from '@babel/types';
import { Node, TSModuleBlock, CallExpression, TSType, LVal, VariableDeclaration, ExpressionStatement, TSMethodSignature, TSPropertySignature, TSMappedType, TSInterfaceDeclaration, TSTypeLiteral, TSIntersectionType, TSUnionType, ObjectMethod, ObjectProperty, Expression, StringLiteral, TSCallSignatureDeclaration, TSFunctionType } from '@babel/types';
import { TSFile, TSResolvedType, TSExports } from './ts.js';

@@ -37,51 +37,2 @@ export { ResolveTSFileIdImpl, TSDeclaration, TSProperties, TSScope, exportsSymbol, getTSFile, isTSDeclaration, isTSExports, mergeTSProperties, resolveTSEntityName, resolveTSExports, resolveTSFileId, resolveTSFileIdNode, resolveTSProperties, resolveTSReferencedType, resolveTSScope, resolveTypeElements, setResolveTSFileIdImpl, tsFileCache, tsFileExportsCache } from './ts.js';

declare function handleTSEmitsDefinition({ s, file, offset, defineEmitsAst, typeDeclRaw, declId, statement, }: {
s: MagicString;
file: TSFile;
sfc: SFC;
offset: number;
defineEmitsAst: CallExpression;
typeDeclRaw: TSType;
statement: DefineEmitsStatement;
declId?: LVal;
}): Promise<TSEmits>;
type Emits = TSEmits | undefined;
type DefineEmitsStatement = VariableDeclaration | ExpressionStatement;
interface EmitsBase {
declId?: LVal;
statementAst: DefineEmitsStatement;
defineEmitsAst: CallExpression;
}
interface TSEmits extends EmitsBase {
kind: DefinitionKind.TS;
definitions: Record<string, ASTDefinition<TSCallSignatureDeclaration | TSFunctionType>[]>;
definitionsAst: ASTDefinition<TSTypeLiteral | TSIntersectionType | TSInterfaceDeclaration | TSFunctionType>;
/**
* Adds a new emit to the definitions. `definitions` will updated after this call.
*
* Added definition cannot be set and removed again.
*
* @example add('change', '(evt: "change", value: string): void')
*/
addEmit(name: string | StringLiteral, signature: string): void;
/**
* Modify a definition of a emit. `definitions` will updated after this call.
*
* @limitation Cannot set the emit added by `addEmit`.
*
* @example setEmit('foo', 0, '(evt: "change", value: string): void')
*
* @returns false if the definition does not exist.
*/
setEmit(name: string | StringLiteral, index: number, signature: string): boolean;
/**
* Removes specified emit from TS interface. `definitions` will updated after this call.
*
* @limitation Cannot remove emit added by `addEmit`. (it will be removed in definitions though)
*
* @returns `true` if emit was removed, `false` if emit was not found.
*/
removeEmit(name: string | StringLiteral, index: number): boolean;
}
declare function handleTSPropsDefinition({ s, file, offset, definePropsAst, typeDeclRaw, withDefaultsAst, defaultsDeclRaw, statement, declId, }: {

@@ -174,2 +125,51 @@ s: MagicString;

declare function handleTSEmitsDefinition({ s, file, offset, defineEmitsAst, typeDeclRaw, declId, statement, }: {
s: MagicString;
file: TSFile;
sfc: SFC;
offset: number;
defineEmitsAst: CallExpression;
typeDeclRaw: TSType;
statement: DefineEmitsStatement;
declId?: LVal;
}): Promise<TSEmits>;
type Emits = TSEmits | undefined;
type DefineEmitsStatement = VariableDeclaration | ExpressionStatement;
interface EmitsBase {
declId?: LVal;
statementAst: DefineEmitsStatement;
defineEmitsAst: CallExpression;
}
interface TSEmits extends EmitsBase {
kind: DefinitionKind.TS;
definitions: Record<string, ASTDefinition<TSCallSignatureDeclaration | TSFunctionType>[]>;
definitionsAst: ASTDefinition<TSTypeLiteral | TSIntersectionType | TSInterfaceDeclaration | TSFunctionType>;
/**
* Adds a new emit to the definitions. `definitions` will updated after this call.
*
* Added definition cannot be set and removed again.
*
* @example add('change', '(evt: "change", value: string): void')
*/
addEmit(name: string | StringLiteral, signature: string): void;
/**
* Modify a definition of a emit. `definitions` will updated after this call.
*
* @limitation Cannot set the emit added by `addEmit`.
*
* @example setEmit('foo', 0, '(evt: "change", value: string): void')
*
* @returns false if the definition does not exist.
*/
setEmit(name: string | StringLiteral, index: number, signature: string): boolean;
/**
* Removes specified emit from TS interface. `definitions` will updated after this call.
*
* @limitation Cannot remove emit added by `addEmit`. (it will be removed in definitions though)
*
* @returns `true` if emit was removed, `false` if emit was not found.
*/
removeEmit(name: string | StringLiteral, index: number): boolean;
}
interface AnalyzeResult {

@@ -176,0 +176,0 @@ props: Props;

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkRBVIWBQIjs = require('./chunk-RBVIWBQI.js');
var _chunkUNTQKQCUjs = require('./chunk-UNTQKQCU.js');

@@ -21,3 +21,3 @@

var _chunk5TD4KD7Sjs = require('./chunk-5TD4KD7S.js');
var _chunkJZ2GCWZYjs = require('./chunk-JZ2GCWZY.js');

@@ -56,3 +56,3 @@

async function inferRuntimeType(node) {
if (_chunk5TD4KD7Sjs.isTSExports.call(void 0, node))
if (_chunkJZ2GCWZYjs.isTSExports.call(void 0, node))
return ["Object"];

@@ -122,3 +122,3 @@ switch (node.type.type) {

if (node.type.typeParameters && node.type.typeParameters.params[1]) {
const t = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const t = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,

@@ -133,3 +133,3 @@ type: node.type.typeParameters.params[1]

if (node.type.typeParameters && node.type.typeParameters.params[0]) {
const t = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const t = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,

@@ -148,7 +148,7 @@ type: node.type.typeParameters.params[0]

node.type.types.map(async (subType) => {
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
scope: node.scope,
type: subType
});
return resolved && !_chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0;
return resolved && !_chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved) ? inferRuntimeType(resolved) : void 0;
})

@@ -360,4 +360,4 @@ )).flatMap((t) => t ? t : ["null"]);

async function resolveDefinitions(typeDeclRaw2) {
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved))
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved))
throw new SyntaxError(`Cannot resolve TS definition.`);

@@ -460,3 +460,3 @@ const { type: definitionsAst2, scope } = resolved;

);
const properties = await _chunk5TD4KD7Sjs.resolveTSProperties.call(void 0, {
const properties = await _chunkJZ2GCWZYjs.resolveTSProperties.call(void 0, {
scope,

@@ -475,7 +475,7 @@ type: definitionsAst2

for (const [key, value] of Object.entries(properties.properties)) {
const referenced = value.value ? await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, value.value) : void 0;
const referenced = value.value ? await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, value.value) : void 0;
definitions2[key] = {
type: "property",
addByAPI: false,
value: referenced && !_chunk5TD4KD7Sjs.isTSExports.call(void 0, referenced) ? buildDefinition(referenced) : void 0,
value: referenced && !_chunkJZ2GCWZYjs.isTSExports.call(void 0, referenced) ? buildDefinition(referenced) : void 0,
optional: value.optional,

@@ -513,3 +513,3 @@ signature: buildDefinition(value.signature)

return {
code: _chunk5TD4KD7Sjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
code: _chunkJZ2GCWZYjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
ast: type,

@@ -601,4 +601,4 @@ scope

var _a;
const resolved = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunk5TD4KD7Sjs.isTSExports.call(void 0, resolved))
const resolved = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, typeDeclRaw2);
if (!resolved || _chunkJZ2GCWZYjs.isTSExports.call(void 0, resolved))
throw new SyntaxError(`Cannot resolve TS definition.`);

@@ -610,3 +610,3 @@ const { type: definitionsAst2, scope } = resolved;

);
const properties = await _chunk5TD4KD7Sjs.resolveTSProperties.call(void 0, {
const properties = await _chunkJZ2GCWZYjs.resolveTSProperties.call(void 0, {
scope,

@@ -620,7 +620,7 @@ type: definitionsAst2

continue;
const evtType = await _chunk5TD4KD7Sjs.resolveTSReferencedType.call(void 0, {
const evtType = await _chunkJZ2GCWZYjs.resolveTSReferencedType.call(void 0, {
type: evtArg.typeAnnotation.typeAnnotation,
scope: signature.scope
});
if (_chunk5TD4KD7Sjs.isTSExports.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type))
if (_chunkJZ2GCWZYjs.isTSExports.call(void 0, evtType) || !(evtType == null ? void 0 : evtType.type))
continue;

@@ -652,3 +652,3 @@ const types = evtType.type.type === "TSUnionType" ? evtType.type.types : [evtType.type];

return {
code: _chunk5TD4KD7Sjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
code: _chunkJZ2GCWZYjs.resolveTSScope.call(void 0, scope).file.content.slice(type.start, type.end),
ast: type,

@@ -824,2 +824,2 @@ scope

exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkRBVIWBQIjs.RollupResolve; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.exportsSymbol = _chunk5TD4KD7Sjs.exportsSymbol; exports.getTSFile = _chunk5TD4KD7Sjs.getTSFile; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isTSDeclaration = _chunk5TD4KD7Sjs.isTSDeclaration; exports.isTSExports = _chunk5TD4KD7Sjs.isTSExports; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunk5TD4KD7Sjs.mergeTSProperties; exports.parseSFC = _common.parseSFC; exports.resolveTSEntityName = _chunk5TD4KD7Sjs.resolveTSEntityName; exports.resolveTSExports = _chunk5TD4KD7Sjs.resolveTSExports; exports.resolveTSFileId = _chunk5TD4KD7Sjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunk5TD4KD7Sjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunk5TD4KD7Sjs.resolveTSProperties; exports.resolveTSReferencedType = _chunk5TD4KD7Sjs.resolveTSReferencedType; exports.resolveTSScope = _chunk5TD4KD7Sjs.resolveTSScope; exports.resolveTypeElements = _chunk5TD4KD7Sjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunk5TD4KD7Sjs.setResolveTSFileIdImpl; exports.toRuntimeTypeString = toRuntimeTypeString; exports.tsFileCache = _chunk5TD4KD7Sjs.tsFileCache; exports.tsFileExportsCache = _chunk5TD4KD7Sjs.tsFileExportsCache;
exports.DefinitionKind = DefinitionKind; exports.MagicString = _common.MagicString; exports.RollupResolve = _chunkUNTQKQCUjs.RollupResolve; exports.analyzeSFC = analyzeSFC; exports.attachNodeLoc = attachNodeLoc; exports.exportsSymbol = _chunkJZ2GCWZYjs.exportsSymbol; exports.getTSFile = _chunkJZ2GCWZYjs.getTSFile; exports.handleTSEmitsDefinition = handleTSEmitsDefinition; exports.handleTSPropsDefinition = handleTSPropsDefinition; exports.inferRuntimeType = inferRuntimeType; exports.isTSDeclaration = _chunkJZ2GCWZYjs.isTSDeclaration; exports.isTSExports = _chunkJZ2GCWZYjs.isTSExports; exports.keyToString = _chunk5IUQDHHYjs.keyToString; exports.mergeTSProperties = _chunkJZ2GCWZYjs.mergeTSProperties; exports.parseSFC = _common.parseSFC; exports.resolveTSEntityName = _chunkJZ2GCWZYjs.resolveTSEntityName; exports.resolveTSExports = _chunkJZ2GCWZYjs.resolveTSExports; exports.resolveTSFileId = _chunkJZ2GCWZYjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkJZ2GCWZYjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunkJZ2GCWZYjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkJZ2GCWZYjs.resolveTSReferencedType; exports.resolveTSScope = _chunkJZ2GCWZYjs.resolveTSScope; exports.resolveTypeElements = _chunkJZ2GCWZYjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkJZ2GCWZYjs.setResolveTSFileIdImpl; exports.toRuntimeTypeString = toRuntimeTypeString; exports.tsFileCache = _chunkJZ2GCWZYjs.tsFileCache; exports.tsFileExportsCache = _chunkJZ2GCWZYjs.tsFileExportsCache;
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkRBVIWBQIjs = require('./chunk-RBVIWBQI.js');
require('./chunk-5TD4KD7S.js');
var _chunkUNTQKQCUjs = require('./chunk-UNTQKQCU.js');
require('./chunk-JZ2GCWZY.js');
exports.RollupResolve = _chunkRBVIWBQIjs.RollupResolve;
exports.RollupResolve = _chunkUNTQKQCUjs.RollupResolve;
exports.default = module.exports;

@@ -18,3 +18,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunk5TD4KD7Sjs = require('./chunk-5TD4KD7S.js');
var _chunkJZ2GCWZYjs = require('./chunk-JZ2GCWZY.js');

@@ -37,3 +37,3 @@

exports.exportsSymbol = _chunk5TD4KD7Sjs.exportsSymbol; exports.getTSFile = _chunk5TD4KD7Sjs.getTSFile; exports.isTSDeclaration = _chunk5TD4KD7Sjs.isTSDeclaration; exports.isTSExports = _chunk5TD4KD7Sjs.isTSExports; exports.mergeTSProperties = _chunk5TD4KD7Sjs.mergeTSProperties; exports.resolveTSEntityName = _chunk5TD4KD7Sjs.resolveTSEntityName; exports.resolveTSExports = _chunk5TD4KD7Sjs.resolveTSExports; exports.resolveTSFileId = _chunk5TD4KD7Sjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunk5TD4KD7Sjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunk5TD4KD7Sjs.resolveTSProperties; exports.resolveTSReferencedType = _chunk5TD4KD7Sjs.resolveTSReferencedType; exports.resolveTSScope = _chunk5TD4KD7Sjs.resolveTSScope; exports.resolveTypeElements = _chunk5TD4KD7Sjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunk5TD4KD7Sjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunk5TD4KD7Sjs.tsFileCache; exports.tsFileExportsCache = _chunk5TD4KD7Sjs.tsFileExportsCache;
exports.exportsSymbol = _chunkJZ2GCWZYjs.exportsSymbol; exports.getTSFile = _chunkJZ2GCWZYjs.getTSFile; exports.isTSDeclaration = _chunkJZ2GCWZYjs.isTSDeclaration; exports.isTSExports = _chunkJZ2GCWZYjs.isTSExports; exports.mergeTSProperties = _chunkJZ2GCWZYjs.mergeTSProperties; exports.resolveTSEntityName = _chunkJZ2GCWZYjs.resolveTSEntityName; exports.resolveTSExports = _chunkJZ2GCWZYjs.resolveTSExports; exports.resolveTSFileId = _chunkJZ2GCWZYjs.resolveTSFileId; exports.resolveTSFileIdNode = _chunkJZ2GCWZYjs.resolveTSFileIdNode; exports.resolveTSProperties = _chunkJZ2GCWZYjs.resolveTSProperties; exports.resolveTSReferencedType = _chunkJZ2GCWZYjs.resolveTSReferencedType; exports.resolveTSScope = _chunkJZ2GCWZYjs.resolveTSScope; exports.resolveTypeElements = _chunkJZ2GCWZYjs.resolveTypeElements; exports.setResolveTSFileIdImpl = _chunkJZ2GCWZYjs.setResolveTSFileIdImpl; exports.tsFileCache = _chunkJZ2GCWZYjs.tsFileCache; exports.tsFileExportsCache = _chunkJZ2GCWZYjs.tsFileExportsCache;
exports.default = module.exports;
{
"name": "@vue-macros/api",
"version": "0.6.1",
"version": "0.6.2",
"packageManager": "pnpm@8.3.1",

@@ -42,7 +42,7 @@ "description": "General API for Vue Macros.",

"dependencies": {
"@babel/types": "^7.21.4",
"@vue-macros/common": "~1.3.0"
"@babel/types": "^7.21.5",
"@vue-macros/common": "~1.3.1"
},
"devDependencies": {
"rollup": "^3.21.0"
"rollup": "^3.21.5"
},

@@ -49,0 +49,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc