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

@vue-macros/common

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-macros/common - npm Package Compare versions

Comparing version 0.13.3 to 0.13.4

dist/chunk-7EEGI72P.mjs

8

dist/ast.d.ts

@@ -1,2 +0,2 @@

import { Program, Node, CallExpression, Literal, TemplateLiteral, ObjectExpression, ObjectMethod, ObjectProperty } from '@babel/types';
import { Program, Node, CallExpression, Literal, TemplateLiteral, ObjectExpression, ObjectMethod, ObjectProperty, Function } from '@babel/types';
import { ParserOptions } from '@babel/parser';

@@ -7,3 +7,3 @@

declare function checkInvalidScopeReference(node: Node | undefined, method: string, setupBindings: string[]): void;
declare function isStaticExpression(node: Node, options?: Partial<Record<'object' | 'objectMethod' | 'array' | 'unary', boolean> & {
declare function isStaticExpression(node: Node, options?: Partial<Record<'object' | 'fn' | 'objectMethod' | 'array' | 'unary', boolean> & {
magicComment?: string;

@@ -14,2 +14,3 @@ }>): boolean;

declare function resolveLiteral(node: Literal): string | number | boolean | null | RegExp | bigint;
declare function isStaticObjectKey(node: ObjectExpression): boolean;
/**

@@ -33,3 +34,4 @@ * @param node must be a static expression, SpreadElement is not supported

}): T;
declare function isFunctionType(node: Node): node is Function;
export { babelParse, checkInvalidScopeReference, isCallOf, isLiteralType, isStaticExpression, resolveLiteral, resolveObjectExpression, resolveObjectKey, resolveTemplateLiteral, walkAST };
export { babelParse, checkInvalidScopeReference, isCallOf, isFunctionType, isLiteralType, isStaticExpression, isStaticObjectKey, resolveLiteral, resolveObjectExpression, resolveObjectKey, resolveTemplateLiteral, walkAST };

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

var _chunkPIZ7AXSXjs = require('./chunk-PIZ7AXSX.js');
var _chunkPUPMQNL6js = require('./chunk-PUPMQNL6.js');
require('./chunk-EYIGSKY4.js');

@@ -27,3 +29,5 @@ require('./chunk-UDPJYA4D.js');

exports.babelParse = _chunkPIZ7AXSXjs.babelParse; exports.checkInvalidScopeReference = _chunkPIZ7AXSXjs.checkInvalidScopeReference; exports.isCallOf = _chunkPIZ7AXSXjs.isCallOf; exports.isLiteralType = _chunkPIZ7AXSXjs.isLiteralType; exports.isStaticExpression = _chunkPIZ7AXSXjs.isStaticExpression; exports.resolveLiteral = _chunkPIZ7AXSXjs.resolveLiteral; exports.resolveObjectExpression = _chunkPIZ7AXSXjs.resolveObjectExpression; exports.resolveObjectKey = _chunkPIZ7AXSXjs.resolveObjectKey; exports.resolveTemplateLiteral = _chunkPIZ7AXSXjs.resolveTemplateLiteral; exports.walkAST = _chunkPIZ7AXSXjs.walkAST;
exports.babelParse = _chunkPUPMQNL6js.babelParse; exports.checkInvalidScopeReference = _chunkPUPMQNL6js.checkInvalidScopeReference; exports.isCallOf = _chunkPUPMQNL6js.isCallOf; exports.isFunctionType = _chunkPUPMQNL6js.isFunctionType; exports.isLiteralType = _chunkPUPMQNL6js.isLiteralType; exports.isStaticExpression = _chunkPUPMQNL6js.isStaticExpression; exports.isStaticObjectKey = _chunkPUPMQNL6js.isStaticObjectKey; exports.resolveLiteral = _chunkPUPMQNL6js.resolveLiteral; exports.resolveObjectExpression = _chunkPUPMQNL6js.resolveObjectExpression; exports.resolveObjectKey = _chunkPUPMQNL6js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkPUPMQNL6js.resolveTemplateLiteral; exports.walkAST = _chunkPUPMQNL6js.walkAST;
exports.default = module.exports;

@@ -1,2 +0,2 @@

export { babelParse, checkInvalidScopeReference, isCallOf, isLiteralType, isStaticExpression, resolveLiteral, resolveObjectExpression, resolveObjectKey, resolveTemplateLiteral, walkAST } from './ast.js';
export { babelParse, checkInvalidScopeReference, isCallOf, isFunctionType, isLiteralType, isStaticExpression, isStaticObjectKey, resolveLiteral, resolveObjectExpression, resolveObjectKey, resolveTemplateLiteral, walkAST } from './ast.js';
export { DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROPS, DEFINE_PROPS_DOLLAR, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, REGEX_JSX_FILE, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_TS_FILE, REGEX_VUE_SFC, REGEX_VUE_SUB, REPO_ISSUE_URL, WITH_DEFAULTS } from './constants.js';

@@ -3,0 +3,0 @@ export { getLang, isTs } from './lang.js';

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

var _chunkPIZ7AXSXjs = require('./chunk-PIZ7AXSX.js');
var _chunkPUPMQNL6js = require('./chunk-PUPMQNL6.js');
var _chunkEYIGSKY4js = require('./chunk-EYIGSKY4.js');

@@ -81,2 +83,4 @@

exports.DEFINE_EMITS = _chunkUDPJYA4Djs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkUDPJYA4Djs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkUDPJYA4Djs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkUDPJYA4Djs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkUDPJYA4Djs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkUDPJYA4Djs.DEFINE_PROPS_DOLLAR; exports.DEFINE_RENDER = _chunkUDPJYA4Djs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkUDPJYA4Djs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkUDPJYA4Djs.DEFINE_SLOTS; exports.MagicString = _chunkVAIMEA7Yjs.MagicString; exports.REGEX_JSX_FILE = _chunkUDPJYA4Djs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkUDPJYA4Djs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkUDPJYA4Djs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkUDPJYA4Djs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkUDPJYA4Djs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkUDPJYA4Djs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkUDPJYA4Djs.REPO_ISSUE_URL; exports.WITH_DEFAULTS = _chunkUDPJYA4Djs.WITH_DEFAULTS; exports.addNormalScript = _chunkMMMMWBZMjs.addNormalScript; exports.babelParse = _chunkPIZ7AXSXjs.babelParse; exports.checkInvalidScopeReference = _chunkPIZ7AXSXjs.checkInvalidScopeReference; exports.getLang = _chunkEYIGSKY4js.getLang; exports.getTransformResult = _chunk7LA3R3RZjs.getTransformResult; exports.isCallOf = _chunkPIZ7AXSXjs.isCallOf; exports.isLiteralType = _chunkPIZ7AXSXjs.isLiteralType; exports.isStaticExpression = _chunkPIZ7AXSXjs.isStaticExpression; exports.isTs = _chunkEYIGSKY4js.isTs; exports.parseSFC = _chunkMMMMWBZMjs.parseSFC; exports.resolveLiteral = _chunkPIZ7AXSXjs.resolveLiteral; exports.resolveObjectExpression = _chunkPIZ7AXSXjs.resolveObjectExpression; exports.resolveObjectKey = _chunkPIZ7AXSXjs.resolveObjectKey; exports.resolveTemplateLiteral = _chunkPIZ7AXSXjs.resolveTemplateLiteral; exports.walkAST = _chunkPIZ7AXSXjs.walkAST;
exports.DEFINE_EMITS = _chunkUDPJYA4Djs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkUDPJYA4Djs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkUDPJYA4Djs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkUDPJYA4Djs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkUDPJYA4Djs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkUDPJYA4Djs.DEFINE_PROPS_DOLLAR; exports.DEFINE_RENDER = _chunkUDPJYA4Djs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkUDPJYA4Djs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkUDPJYA4Djs.DEFINE_SLOTS; exports.MagicString = _chunkVAIMEA7Yjs.MagicString; exports.REGEX_JSX_FILE = _chunkUDPJYA4Djs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkUDPJYA4Djs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkUDPJYA4Djs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkUDPJYA4Djs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkUDPJYA4Djs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkUDPJYA4Djs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkUDPJYA4Djs.REPO_ISSUE_URL; exports.WITH_DEFAULTS = _chunkUDPJYA4Djs.WITH_DEFAULTS; exports.addNormalScript = _chunkMMMMWBZMjs.addNormalScript; exports.babelParse = _chunkPUPMQNL6js.babelParse; exports.checkInvalidScopeReference = _chunkPUPMQNL6js.checkInvalidScopeReference; exports.getLang = _chunkEYIGSKY4js.getLang; exports.getTransformResult = _chunk7LA3R3RZjs.getTransformResult; exports.isCallOf = _chunkPUPMQNL6js.isCallOf; exports.isFunctionType = _chunkPUPMQNL6js.isFunctionType; exports.isLiteralType = _chunkPUPMQNL6js.isLiteralType; exports.isStaticExpression = _chunkPUPMQNL6js.isStaticExpression; exports.isStaticObjectKey = _chunkPUPMQNL6js.isStaticObjectKey; exports.isTs = _chunkEYIGSKY4js.isTs; exports.parseSFC = _chunkMMMMWBZMjs.parseSFC; exports.resolveLiteral = _chunkPUPMQNL6js.resolveLiteral; exports.resolveObjectExpression = _chunkPUPMQNL6js.resolveObjectExpression; exports.resolveObjectKey = _chunkPUPMQNL6js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkPUPMQNL6js.resolveTemplateLiteral; exports.walkAST = _chunkPUPMQNL6js.walkAST;

@@ -6,4 +6,4 @@ import { Statement } from '@babel/types';

declare type _SFCScriptBlock = Omit<SFCScriptBlock, 'scriptAst' | 'scriptSetupAst'>;
declare type SFC = Omit<SFCDescriptor, 'script' | 'scriptSetup'> & {
type _SFCScriptBlock = Omit<SFCScriptBlock, 'scriptAst' | 'scriptSetupAst'>;
type SFC = Omit<SFCDescriptor, 'script' | 'scriptSetup'> & {
sfc: SFCParseResult;

@@ -10,0 +10,0 @@ script?: _SFCScriptBlock | null;

{
"name": "@vue-macros/common",
"version": "0.13.3",
"packageManager": "pnpm@7.14.1",
"version": "0.13.4",
"packageManager": "pnpm@7.16.1",
"license": "MIT",

@@ -29,10 +29,10 @@ "homepage": "https://github.com/sxzz/unplugin-vue-macros#readme",

"dependencies": {
"@babel/types": "^7.20.0",
"@vue/compiler-sfc": "^3.2.41",
"@babel/types": "^7.20.2",
"@vue/compiler-sfc": "^3.2.45",
"magic-string": "^0.26.7"
},
"devDependencies": {
"@babel/parser": "^7.20.0",
"@babel/parser": "^7.20.3",
"estree-walker": "^3.0.1",
"tsup": "^6.3.0"
"tsup": "^6.5.0"
},

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

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