@vue-macros/common
Advanced tools
Comparing version 1.10.2 to 1.10.3
@@ -1,2 +0,2 @@ | ||
import { MagicStringBase, generateTransform, MagicString } from 'magic-string-ast'; | ||
import { MagicString, generateTransform, MagicStringAST } from 'magic-string-ast'; | ||
export * from 'magic-string-ast'; | ||
@@ -23,3 +23,3 @@ export * from 'ast-kit'; | ||
declare const HELPER_PREFIX = "__MACROS_"; | ||
declare function importHelperFn(s: MagicStringBase, offset: number, local: string, from?: string, isDefault?: boolean): string; | ||
declare function importHelperFn(s: MagicString, offset: number, local: string, from?: string, isDefault?: boolean): string; | ||
@@ -100,8 +100,8 @@ declare const DEFINE_PROPS = "defineProps"; | ||
}; | ||
declare function addNormalScript({ script, lang }: SFC, s: MagicStringBase): { | ||
declare function addNormalScript({ script, lang }: SFC, s: MagicString): { | ||
start(): number; | ||
end(): void; | ||
}; | ||
declare function removeMacroImport(node: Node, s: MagicString, offset: number): true | undefined; | ||
declare function removeMacroImport(node: Node, s: MagicStringAST, offset: number): true | undefined; | ||
export { type BaseOptions, DEFINE_EMIT, DEFINE_EMITS, DEFINE_MODELS, DEFINE_MODELS_DOLLAR, DEFINE_OPTIONS, DEFINE_PROP, DEFINE_PROPS, DEFINE_PROPS_DOLLAR, DEFINE_PROPS_REFS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, FilterFileType, HELPER_PREFIX, type MarkRequired, type Overwrite, REGEX_NODE_MODULES, REGEX_SETUP_SFC, REGEX_SETUP_SFC_SUB, REGEX_SRC_FILE, REGEX_SUPPORTED_EXT, REGEX_VUE_SFC, REGEX_VUE_SUB, REGEX_VUE_SUB_SETUP, REPO_ISSUE_URL, type RecordToUnion, type SFC, type SFCScriptBlock, type UnionToIntersection, VIRTUAL_ID_PREFIX, type VuePluginApi, WITH_DEFAULTS, addNormalScript, checkInvalidScopeReference, createFilter, detectVueVersion, getFileCodeAndLang, getFilterPattern, getTransformResult, getVuePluginApi, importHelperFn, isStaticExpression, isStaticObjectKey, parseSFC, removeMacroImport, resolveObjectExpression }; |
{ | ||
"name": "@vue-macros/common", | ||
"version": "1.10.2", | ||
"packageManager": "pnpm@8.15.5", | ||
"version": "1.10.3", | ||
"description": "common feature from Vue Macros.", | ||
@@ -54,9 +53,9 @@ "keywords": [ | ||
"@rollup/pluginutils": "^5.1.0", | ||
"@vue/compiler-sfc": "^3.4.21", | ||
"@vue/compiler-sfc": "^3.4.25", | ||
"ast-kit": "^0.12.1", | ||
"local-pkg": "^0.5.0", | ||
"magic-string-ast": "^0.3.0" | ||
"magic-string-ast": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/parser": "^7.24.1", | ||
"@babel/parser": "^7.24.4", | ||
"@vitejs/plugin-vue": "^5.0.4" | ||
@@ -63,0 +62,0 @@ }, |
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
38313
+ Added@rollup/pluginutils@5.1.4(transitive)
+ Addedmagic-string-ast@0.5.0(transitive)
- Removed@rollup/pluginutils@5.1.3(transitive)
- Removedmagic-string-ast@0.3.0(transitive)
Updated@vue/compiler-sfc@^3.4.25
Updatedmagic-string-ast@^0.5.0