@vue-macros/common
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -1,3 +0,5 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); } | ||
var _chunkZEG3A4GYjs = require('./chunk-ZEG3A4GY.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -7,4 +9,4 @@ | ||
var _chunkZVDOWNALjs = require('./chunk-ZVDOWNAL.js'); | ||
var _chunkYPO3KYGNjs = require('./chunk-YPO3KYGN.js'); | ||
@@ -16,2 +18,3 @@ | ||
var _chunkZVDOWNALjs = require('./chunk-ZVDOWNAL.js'); | ||
@@ -25,6 +28,4 @@ | ||
var _chunkIWTTFLP7js = require('./chunk-IWTTFLP7.js'); | ||
var _chunkZEG3A4GYjs = require('./chunk-ZEG3A4GY.js'); | ||
@@ -34,4 +35,4 @@ | ||
var _chunkYNXVNEEBjs = require('./chunk-YNXVNEEB.js'); | ||
var _chunkIWTTFLP7js = require('./chunk-IWTTFLP7.js'); | ||
@@ -41,2 +42,3 @@ | ||
var _chunkYNXVNEEBjs = require('./chunk-YNXVNEEB.js'); | ||
@@ -60,13 +62,12 @@ | ||
var _chunkCDFZGZHMjs = require('./chunk-CDFZGZHM.js'); | ||
var _chunkVAIMEA7Yjs = require('./chunk-VAIMEA7Y.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
var _chunkCDFZGZHMjs = require('./chunk-CDFZGZHM.js'); | ||
// src/index.ts | ||
var _magicstringast = require('magic-string-ast'); _createStarExport(_magicstringast); | ||
var _chunkYPO3KYGNjs = require('./chunk-YPO3KYGN.js'); | ||
@@ -121,4 +122,2 @@ | ||
exports.DEFINE_EMIT = _chunkCDFZGZHMjs.DEFINE_EMIT; exports.DEFINE_EMITS = _chunkCDFZGZHMjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkCDFZGZHMjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkCDFZGZHMjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkCDFZGZHMjs.DEFINE_OPTIONS; exports.DEFINE_PROP = _chunkCDFZGZHMjs.DEFINE_PROP; exports.DEFINE_PROPS = _chunkCDFZGZHMjs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkCDFZGZHMjs.DEFINE_PROPS_DOLLAR; exports.DEFINE_PROPS_REFS = _chunkCDFZGZHMjs.DEFINE_PROPS_REFS; exports.DEFINE_RENDER = _chunkCDFZGZHMjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkCDFZGZHMjs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkCDFZGZHMjs.DEFINE_SLOTS; exports.HELPER_PREFIX = _chunkZVDOWNALjs.HELPER_PREFIX; exports.MagicString = _chunkVAIMEA7Yjs.MagicString; exports.REGEX_DTS = _chunkCDFZGZHMjs.REGEX_DTS; exports.REGEX_LANG_JSX = _chunkCDFZGZHMjs.REGEX_LANG_JSX; exports.REGEX_LANG_TS = _chunkCDFZGZHMjs.REGEX_LANG_TS; exports.REGEX_NODE_MODULES = _chunkCDFZGZHMjs.REGEX_NODE_MODULES; exports.REGEX_SETUP_SFC = _chunkCDFZGZHMjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkCDFZGZHMjs.REGEX_SRC_FILE; exports.REGEX_VUE_SFC = _chunkCDFZGZHMjs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkCDFZGZHMjs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkCDFZGZHMjs.REPO_ISSUE_URL; exports.TS_NODE_TYPES = _chunkIWTTFLP7js.TS_NODE_TYPES; exports.WITH_DEFAULTS = _chunkCDFZGZHMjs.WITH_DEFAULTS; exports.addNormalScript = _chunkZVDOWNALjs.addNormalScript; exports.attachScopes = _chunkYPO3KYGNjs.attachScopes; exports.babelParse = _chunkIWTTFLP7js.babelParse; exports.checkInvalidScopeReference = _chunkIWTTFLP7js.checkInvalidScopeReference; exports.createFilter = _chunkYPO3KYGNjs.createFilter; exports.detectVueVersion = _chunkZEG3A4GYjs.detectVueVersion; exports.getFileCodeAndLang = _chunkZVDOWNALjs.getFileCodeAndLang; exports.getLang = _chunkYNXVNEEBjs.getLang; exports.getTransformResult = _chunkYPO3KYGNjs.getTransformResult; exports.importHelperFn = _chunkZVDOWNALjs.importHelperFn; exports.isCallOf = _chunkIWTTFLP7js.isCallOf; exports.isDts = _chunkYNXVNEEBjs.isDts; exports.isFunctionType = _chunkIWTTFLP7js.isFunctionType; exports.isLiteralType = _chunkIWTTFLP7js.isLiteralType; exports.isStaticExpression = _chunkIWTTFLP7js.isStaticExpression; exports.isStaticObjectKey = _chunkIWTTFLP7js.isStaticObjectKey; exports.isTs = _chunkYNXVNEEBjs.isTs; exports.normalizePath = _chunkYPO3KYGNjs.normalizePath; exports.parseSFC = _chunkZVDOWNALjs.parseSFC; exports.resolveLiteral = _chunkIWTTFLP7js.resolveLiteral; exports.resolveObjectExpression = _chunkIWTTFLP7js.resolveObjectExpression; exports.resolveObjectKey = _chunkIWTTFLP7js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkIWTTFLP7js.resolveTemplateLiteral; exports.unwrapTSNode = _chunkIWTTFLP7js.unwrapTSNode; exports.walkAST = _chunkIWTTFLP7js.walkAST; | ||
exports.DEFINE_EMIT = _chunkCDFZGZHMjs.DEFINE_EMIT; exports.DEFINE_EMITS = _chunkCDFZGZHMjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkCDFZGZHMjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkCDFZGZHMjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkCDFZGZHMjs.DEFINE_OPTIONS; exports.DEFINE_PROP = _chunkCDFZGZHMjs.DEFINE_PROP; exports.DEFINE_PROPS = _chunkCDFZGZHMjs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkCDFZGZHMjs.DEFINE_PROPS_DOLLAR; exports.DEFINE_PROPS_REFS = _chunkCDFZGZHMjs.DEFINE_PROPS_REFS; exports.DEFINE_RENDER = _chunkCDFZGZHMjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkCDFZGZHMjs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkCDFZGZHMjs.DEFINE_SLOTS; exports.HELPER_PREFIX = _chunkZVDOWNALjs.HELPER_PREFIX; exports.REGEX_DTS = _chunkCDFZGZHMjs.REGEX_DTS; exports.REGEX_LANG_JSX = _chunkCDFZGZHMjs.REGEX_LANG_JSX; exports.REGEX_LANG_TS = _chunkCDFZGZHMjs.REGEX_LANG_TS; exports.REGEX_NODE_MODULES = _chunkCDFZGZHMjs.REGEX_NODE_MODULES; exports.REGEX_SETUP_SFC = _chunkCDFZGZHMjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkCDFZGZHMjs.REGEX_SRC_FILE; exports.REGEX_VUE_SFC = _chunkCDFZGZHMjs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkCDFZGZHMjs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkCDFZGZHMjs.REPO_ISSUE_URL; exports.TS_NODE_TYPES = _chunkIWTTFLP7js.TS_NODE_TYPES; exports.WITH_DEFAULTS = _chunkCDFZGZHMjs.WITH_DEFAULTS; exports.addNormalScript = _chunkZVDOWNALjs.addNormalScript; exports.attachScopes = _chunkYPO3KYGNjs.attachScopes; exports.babelParse = _chunkIWTTFLP7js.babelParse; exports.checkInvalidScopeReference = _chunkIWTTFLP7js.checkInvalidScopeReference; exports.createFilter = _chunkYPO3KYGNjs.createFilter; exports.detectVueVersion = _chunkZEG3A4GYjs.detectVueVersion; exports.getFileCodeAndLang = _chunkZVDOWNALjs.getFileCodeAndLang; exports.getLang = _chunkYNXVNEEBjs.getLang; exports.getTransformResult = _chunkYPO3KYGNjs.getTransformResult; exports.importHelperFn = _chunkZVDOWNALjs.importHelperFn; exports.isCallOf = _chunkIWTTFLP7js.isCallOf; exports.isDts = _chunkYNXVNEEBjs.isDts; exports.isFunctionType = _chunkIWTTFLP7js.isFunctionType; exports.isLiteralType = _chunkIWTTFLP7js.isLiteralType; exports.isStaticExpression = _chunkIWTTFLP7js.isStaticExpression; exports.isStaticObjectKey = _chunkIWTTFLP7js.isStaticObjectKey; exports.isTs = _chunkYNXVNEEBjs.isTs; exports.normalizePath = _chunkYPO3KYGNjs.normalizePath; exports.parseSFC = _chunkZVDOWNALjs.parseSFC; exports.resolveLiteral = _chunkIWTTFLP7js.resolveLiteral; exports.resolveObjectExpression = _chunkIWTTFLP7js.resolveObjectExpression; exports.resolveObjectKey = _chunkIWTTFLP7js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkIWTTFLP7js.resolveTemplateLiteral; exports.unwrapTSNode = _chunkIWTTFLP7js.unwrapTSNode; exports.walkAST = _chunkIWTTFLP7js.walkAST; |
@@ -0,1 +1,2 @@ | ||
export * from 'magic-string-ast'; | ||
export { TS_NODE_TYPES, babelParse, checkInvalidScopeReference, isCallOf, isFunctionType, isLiteralType, isStaticExpression, isStaticObjectKey, resolveLiteral, resolveObjectExpression, resolveObjectKey, resolveTemplateLiteral, unwrapTSNode, walkAST } from './ast.js'; | ||
@@ -5,3 +6,2 @@ export { DEFINE_EMIT, DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROP, DEFINE_PROPS, DEFINE_PROPS_DOLLAR, DEFINE_PROPS_REFS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, REGEX_DTS, REGEX_LANG_JSX, REGEX_LANG_TS, REGEX_NODE_MODULES, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_VUE_SFC, REGEX_VUE_SUB, REPO_ISSUE_URL, WITH_DEFAULTS } from './constants.js'; | ||
export { getLang, isDts, isTs } from './lang.js'; | ||
export { MagicString } from './magic-string.js'; | ||
export { MarkRequired, Overwrite } from './types.js'; | ||
@@ -13,3 +13,2 @@ export { BaseOptions, createFilter, getTransformResult } from './unplugin.js'; | ||
import '@babel/parser'; | ||
import 'magic-string'; | ||
import '@vue/compiler-sfc'; |
@@ -1,3 +0,5 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); } | ||
var _chunkZEG3A4GYjs = require('./chunk-ZEG3A4GY.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -7,4 +9,4 @@ | ||
var _chunkZVDOWNALjs = require('./chunk-ZVDOWNAL.js'); | ||
var _chunkYPO3KYGNjs = require('./chunk-YPO3KYGN.js'); | ||
@@ -16,2 +18,3 @@ | ||
var _chunkZVDOWNALjs = require('./chunk-ZVDOWNAL.js'); | ||
@@ -25,6 +28,4 @@ | ||
var _chunkIWTTFLP7js = require('./chunk-IWTTFLP7.js'); | ||
var _chunkZEG3A4GYjs = require('./chunk-ZEG3A4GY.js'); | ||
@@ -34,4 +35,4 @@ | ||
var _chunkYNXVNEEBjs = require('./chunk-YNXVNEEB.js'); | ||
var _chunkIWTTFLP7js = require('./chunk-IWTTFLP7.js'); | ||
@@ -41,2 +42,3 @@ | ||
var _chunkYNXVNEEBjs = require('./chunk-YNXVNEEB.js'); | ||
@@ -60,13 +62,12 @@ | ||
var _chunkCDFZGZHMjs = require('./chunk-CDFZGZHM.js'); | ||
var _chunkVAIMEA7Yjs = require('./chunk-VAIMEA7Y.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
var _chunkCDFZGZHMjs = require('./chunk-CDFZGZHM.js'); | ||
// src/index.ts | ||
var _magicstringast = require('magic-string-ast'); _createStarExport(_magicstringast); | ||
var _chunkYPO3KYGNjs = require('./chunk-YPO3KYGN.js'); | ||
@@ -121,4 +122,2 @@ | ||
exports.DEFINE_EMIT = _chunkCDFZGZHMjs.DEFINE_EMIT; exports.DEFINE_EMITS = _chunkCDFZGZHMjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkCDFZGZHMjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkCDFZGZHMjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkCDFZGZHMjs.DEFINE_OPTIONS; exports.DEFINE_PROP = _chunkCDFZGZHMjs.DEFINE_PROP; exports.DEFINE_PROPS = _chunkCDFZGZHMjs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkCDFZGZHMjs.DEFINE_PROPS_DOLLAR; exports.DEFINE_PROPS_REFS = _chunkCDFZGZHMjs.DEFINE_PROPS_REFS; exports.DEFINE_RENDER = _chunkCDFZGZHMjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkCDFZGZHMjs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkCDFZGZHMjs.DEFINE_SLOTS; exports.HELPER_PREFIX = _chunkZVDOWNALjs.HELPER_PREFIX; exports.MagicString = _chunkVAIMEA7Yjs.MagicString; exports.REGEX_DTS = _chunkCDFZGZHMjs.REGEX_DTS; exports.REGEX_LANG_JSX = _chunkCDFZGZHMjs.REGEX_LANG_JSX; exports.REGEX_LANG_TS = _chunkCDFZGZHMjs.REGEX_LANG_TS; exports.REGEX_NODE_MODULES = _chunkCDFZGZHMjs.REGEX_NODE_MODULES; exports.REGEX_SETUP_SFC = _chunkCDFZGZHMjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkCDFZGZHMjs.REGEX_SRC_FILE; exports.REGEX_VUE_SFC = _chunkCDFZGZHMjs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkCDFZGZHMjs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkCDFZGZHMjs.REPO_ISSUE_URL; exports.TS_NODE_TYPES = _chunkIWTTFLP7js.TS_NODE_TYPES; exports.WITH_DEFAULTS = _chunkCDFZGZHMjs.WITH_DEFAULTS; exports.addNormalScript = _chunkZVDOWNALjs.addNormalScript; exports.attachScopes = _chunkYPO3KYGNjs.attachScopes; exports.babelParse = _chunkIWTTFLP7js.babelParse; exports.checkInvalidScopeReference = _chunkIWTTFLP7js.checkInvalidScopeReference; exports.createFilter = _chunkYPO3KYGNjs.createFilter; exports.detectVueVersion = _chunkZEG3A4GYjs.detectVueVersion; exports.getFileCodeAndLang = _chunkZVDOWNALjs.getFileCodeAndLang; exports.getLang = _chunkYNXVNEEBjs.getLang; exports.getTransformResult = _chunkYPO3KYGNjs.getTransformResult; exports.importHelperFn = _chunkZVDOWNALjs.importHelperFn; exports.isCallOf = _chunkIWTTFLP7js.isCallOf; exports.isDts = _chunkYNXVNEEBjs.isDts; exports.isFunctionType = _chunkIWTTFLP7js.isFunctionType; exports.isLiteralType = _chunkIWTTFLP7js.isLiteralType; exports.isStaticExpression = _chunkIWTTFLP7js.isStaticExpression; exports.isStaticObjectKey = _chunkIWTTFLP7js.isStaticObjectKey; exports.isTs = _chunkYNXVNEEBjs.isTs; exports.normalizePath = _chunkYPO3KYGNjs.normalizePath; exports.parseSFC = _chunkZVDOWNALjs.parseSFC; exports.resolveLiteral = _chunkIWTTFLP7js.resolveLiteral; exports.resolveObjectExpression = _chunkIWTTFLP7js.resolveObjectExpression; exports.resolveObjectKey = _chunkIWTTFLP7js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkIWTTFLP7js.resolveTemplateLiteral; exports.unwrapTSNode = _chunkIWTTFLP7js.unwrapTSNode; exports.walkAST = _chunkIWTTFLP7js.walkAST; | ||
exports.DEFINE_EMIT = _chunkCDFZGZHMjs.DEFINE_EMIT; exports.DEFINE_EMITS = _chunkCDFZGZHMjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkCDFZGZHMjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkCDFZGZHMjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkCDFZGZHMjs.DEFINE_OPTIONS; exports.DEFINE_PROP = _chunkCDFZGZHMjs.DEFINE_PROP; exports.DEFINE_PROPS = _chunkCDFZGZHMjs.DEFINE_PROPS; exports.DEFINE_PROPS_DOLLAR = _chunkCDFZGZHMjs.DEFINE_PROPS_DOLLAR; exports.DEFINE_PROPS_REFS = _chunkCDFZGZHMjs.DEFINE_PROPS_REFS; exports.DEFINE_RENDER = _chunkCDFZGZHMjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkCDFZGZHMjs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkCDFZGZHMjs.DEFINE_SLOTS; exports.HELPER_PREFIX = _chunkZVDOWNALjs.HELPER_PREFIX; exports.REGEX_DTS = _chunkCDFZGZHMjs.REGEX_DTS; exports.REGEX_LANG_JSX = _chunkCDFZGZHMjs.REGEX_LANG_JSX; exports.REGEX_LANG_TS = _chunkCDFZGZHMjs.REGEX_LANG_TS; exports.REGEX_NODE_MODULES = _chunkCDFZGZHMjs.REGEX_NODE_MODULES; exports.REGEX_SETUP_SFC = _chunkCDFZGZHMjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkCDFZGZHMjs.REGEX_SRC_FILE; exports.REGEX_VUE_SFC = _chunkCDFZGZHMjs.REGEX_VUE_SFC; exports.REGEX_VUE_SUB = _chunkCDFZGZHMjs.REGEX_VUE_SUB; exports.REPO_ISSUE_URL = _chunkCDFZGZHMjs.REPO_ISSUE_URL; exports.TS_NODE_TYPES = _chunkIWTTFLP7js.TS_NODE_TYPES; exports.WITH_DEFAULTS = _chunkCDFZGZHMjs.WITH_DEFAULTS; exports.addNormalScript = _chunkZVDOWNALjs.addNormalScript; exports.attachScopes = _chunkYPO3KYGNjs.attachScopes; exports.babelParse = _chunkIWTTFLP7js.babelParse; exports.checkInvalidScopeReference = _chunkIWTTFLP7js.checkInvalidScopeReference; exports.createFilter = _chunkYPO3KYGNjs.createFilter; exports.detectVueVersion = _chunkZEG3A4GYjs.detectVueVersion; exports.getFileCodeAndLang = _chunkZVDOWNALjs.getFileCodeAndLang; exports.getLang = _chunkYNXVNEEBjs.getLang; exports.getTransformResult = _chunkYPO3KYGNjs.getTransformResult; exports.importHelperFn = _chunkZVDOWNALjs.importHelperFn; exports.isCallOf = _chunkIWTTFLP7js.isCallOf; exports.isDts = _chunkYNXVNEEBjs.isDts; exports.isFunctionType = _chunkIWTTFLP7js.isFunctionType; exports.isLiteralType = _chunkIWTTFLP7js.isLiteralType; exports.isStaticExpression = _chunkIWTTFLP7js.isStaticExpression; exports.isStaticObjectKey = _chunkIWTTFLP7js.isStaticObjectKey; exports.isTs = _chunkYNXVNEEBjs.isTs; exports.normalizePath = _chunkYPO3KYGNjs.normalizePath; exports.parseSFC = _chunkZVDOWNALjs.parseSFC; exports.resolveLiteral = _chunkIWTTFLP7js.resolveLiteral; exports.resolveObjectExpression = _chunkIWTTFLP7js.resolveObjectExpression; exports.resolveObjectKey = _chunkIWTTFLP7js.resolveObjectKey; exports.resolveTemplateLiteral = _chunkIWTTFLP7js.resolveTemplateLiteral; exports.unwrapTSNode = _chunkIWTTFLP7js.unwrapTSNode; exports.walkAST = _chunkIWTTFLP7js.walkAST; |
@@ -1,2 +0,2 @@ | ||
import MagicStringBase from 'magic-string'; | ||
import { MagicStringBase } from 'magic-string-ast'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
@@ -3,0 +3,0 @@ export { AttachedScope, attachScopes, normalizePath } from '@rollup/pluginutils'; |
import { Program } from '@babel/types'; | ||
import { MagicString } from './magic-string.js'; | ||
import { MagicStringBase } from 'magic-string-ast'; | ||
import { SFCScriptBlock as SFCScriptBlock$1, SFCDescriptor, SFCParseResult } from '@vue/compiler-sfc'; | ||
import 'magic-string'; | ||
@@ -20,3 +19,3 @@ type SFCScriptBlock = Omit<SFCScriptBlock$1, 'scriptAst' | 'scriptSetupAst'>; | ||
}; | ||
declare function addNormalScript({ script, lang }: SFC, s: MagicString): { | ||
declare function addNormalScript({ script, lang }: SFC, s: MagicStringBase): { | ||
start(): number; | ||
@@ -26,4 +25,4 @@ end(): void; | ||
declare const HELPER_PREFIX = "__MACROS_"; | ||
declare function importHelperFn(s: MagicString, offset: number, name: string, from: string): void; | ||
declare function importHelperFn(s: MagicStringBase, offset: number, name: string, from: string): void; | ||
export { HELPER_PREFIX, SFC, SFCScriptBlock, addNormalScript, getFileCodeAndLang, importHelperFn, parseSFC }; |
{ | ||
"name": "@vue-macros/common", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"packageManager": "pnpm@7.30.0", | ||
@@ -54,3 +54,3 @@ "description": "common feature from Vue Macros.", | ||
"local-pkg": "^0.4.3", | ||
"magic-string": "^0.30.0" | ||
"magic-string-ast": "^0.1.2" | ||
}, | ||
@@ -57,0 +57,0 @@ "devDependencies": { |
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
58072
41
1463
+ Addedmagic-string-ast@^0.1.2
+ Addedmagic-string-ast@0.1.3(transitive)
- Removedmagic-string@^0.30.0