@vue-macros/common
Advanced tools
Comparing version 0.12.2-beta.0 to 0.12.2-beta.1
@@ -11,4 +11,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVJZE4RD6js = require('./chunk-VJZE4RD6.js'); | ||
require('./chunk-MXIMWYVP.js'); | ||
var _chunkQ3EO6EY5js = require('./chunk-Q3EO6EY5.js'); | ||
require('./chunk-R2KEYI3O.js'); | ||
@@ -24,3 +24,3 @@ | ||
exports.babelParse = _chunkVJZE4RD6js.babelParse; exports.checkInvalidScopeReference = _chunkVJZE4RD6js.checkInvalidScopeReference; exports.getLang = _chunkVJZE4RD6js.getLang; exports.getStaticKey = _chunkVJZE4RD6js.getStaticKey; exports.isCallOf = _chunkVJZE4RD6js.isCallOf; exports.isLiteralType = _chunkVJZE4RD6js.isLiteralType; exports.isStaticExpression = _chunkVJZE4RD6js.isStaticExpression; exports.isTs = _chunkVJZE4RD6js.isTs; exports.walkAST = _chunkVJZE4RD6js.walkAST; | ||
exports.babelParse = _chunkQ3EO6EY5js.babelParse; exports.checkInvalidScopeReference = _chunkQ3EO6EY5js.checkInvalidScopeReference; exports.getLang = _chunkQ3EO6EY5js.getLang; exports.getStaticKey = _chunkQ3EO6EY5js.getStaticKey; exports.isCallOf = _chunkQ3EO6EY5js.isCallOf; exports.isLiteralType = _chunkQ3EO6EY5js.isLiteralType; exports.isStaticExpression = _chunkQ3EO6EY5js.isStaticExpression; exports.isTs = _chunkQ3EO6EY5js.isTs; exports.walkAST = _chunkQ3EO6EY5js.walkAST; | ||
exports.default = module.exports; |
@@ -8,2 +8,3 @@ declare const DEFINE_PROPS = "defineProps"; | ||
declare const DEFINE_RENDER = "defineRender"; | ||
declare const DEFINE_SLOTS = "defineSlots"; | ||
declare const REPO_ISSUE_URL = "https://github.com/sxzz/unplugin-vue-macros/issues"; | ||
@@ -17,2 +18,2 @@ declare const MAGIC_COMMENT_STATIC = "hoist-static"; | ||
export { DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROPS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, MAGIC_COMMENT_STATIC, REGEX_JSX_FILE, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_TS_FILE, REGEX_VUE_SFC, REPO_ISSUE_URL }; | ||
export { DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROPS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, MAGIC_COMMENT_STATIC, REGEX_JSX_FILE, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_TS_FILE, REGEX_VUE_SFC, REPO_ISSUE_URL }; |
@@ -16,4 +16,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkMXIMWYVPjs = require('./chunk-MXIMWYVP.js'); | ||
var _chunkR2KEYI3Ojs = require('./chunk-R2KEYI3O.js'); | ||
@@ -33,3 +33,5 @@ | ||
exports.DEFINE_EMITS = _chunkMXIMWYVPjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkMXIMWYVPjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkMXIMWYVPjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkMXIMWYVPjs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkMXIMWYVPjs.DEFINE_PROPS; exports.DEFINE_RENDER = _chunkMXIMWYVPjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkMXIMWYVPjs.DEFINE_SETUP_COMPONENT; exports.MAGIC_COMMENT_STATIC = _chunkMXIMWYVPjs.MAGIC_COMMENT_STATIC; exports.REGEX_JSX_FILE = _chunkMXIMWYVPjs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkMXIMWYVPjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkMXIMWYVPjs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkMXIMWYVPjs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkMXIMWYVPjs.REGEX_VUE_SFC; exports.REPO_ISSUE_URL = _chunkMXIMWYVPjs.REPO_ISSUE_URL; | ||
exports.DEFINE_EMITS = _chunkR2KEYI3Ojs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkR2KEYI3Ojs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkR2KEYI3Ojs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkR2KEYI3Ojs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkR2KEYI3Ojs.DEFINE_PROPS; exports.DEFINE_RENDER = _chunkR2KEYI3Ojs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkR2KEYI3Ojs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkR2KEYI3Ojs.DEFINE_SLOTS; exports.MAGIC_COMMENT_STATIC = _chunkR2KEYI3Ojs.MAGIC_COMMENT_STATIC; exports.REGEX_JSX_FILE = _chunkR2KEYI3Ojs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkR2KEYI3Ojs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkR2KEYI3Ojs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkR2KEYI3Ojs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkR2KEYI3Ojs.REGEX_VUE_SFC; exports.REPO_ISSUE_URL = _chunkR2KEYI3Ojs.REPO_ISSUE_URL; | ||
exports.default = module.exports; |
export { SFCCompiled, _SFCScriptBlock, addNormalScript, parseSFC } from './vue.js'; | ||
export { babelParse, checkInvalidScopeReference, getLang, getStaticKey, isCallOf, isLiteralType, isStaticExpression, isTs, walkAST } from './ast.js'; | ||
export { DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROPS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, MAGIC_COMMENT_STATIC, REGEX_JSX_FILE, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_TS_FILE, REGEX_VUE_SFC, REPO_ISSUE_URL } from './constants.js'; | ||
export { DEFINE_EMITS, DEFINE_MODEL, DEFINE_MODEL_DOLLAR, DEFINE_OPTIONS, DEFINE_PROPS, DEFINE_RENDER, DEFINE_SETUP_COMPONENT, DEFINE_SLOTS, MAGIC_COMMENT_STATIC, REGEX_JSX_FILE, REGEX_SETUP_SFC, REGEX_SRC_FILE, REGEX_TS_FILE, REGEX_VUE_SFC, REPO_ISSUE_URL } from './constants.js'; | ||
export { MagicString } from './magic-string.js'; | ||
export { getTransformResult } from './unplugin.js'; | ||
import '@babel/types'; | ||
import '@vue/compiler-sfc'; | ||
import '@babel/types'; | ||
import '@babel/parser'; | ||
import 'magic-string'; |
@@ -11,3 +11,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVJZE4RD6js = require('./chunk-VJZE4RD6.js'); | ||
var _chunkQ3EO6EY5js = require('./chunk-Q3EO6EY5.js'); | ||
@@ -28,5 +28,6 @@ | ||
var _chunkMXIMWYVPjs = require('./chunk-MXIMWYVP.js'); | ||
var _chunkR2KEYI3Ojs = require('./chunk-R2KEYI3O.js'); | ||
var _chunkM6KSF6PGjs = require('./chunk-M6KSF6PG.js'); | ||
@@ -68,2 +69,3 @@ | ||
exports.DEFINE_EMITS = _chunkMXIMWYVPjs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkMXIMWYVPjs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkMXIMWYVPjs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkMXIMWYVPjs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkMXIMWYVPjs.DEFINE_PROPS; exports.DEFINE_RENDER = _chunkMXIMWYVPjs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkMXIMWYVPjs.DEFINE_SETUP_COMPONENT; exports.MAGIC_COMMENT_STATIC = _chunkMXIMWYVPjs.MAGIC_COMMENT_STATIC; exports.MagicString = _chunkM6KSF6PGjs.MagicString; exports.REGEX_JSX_FILE = _chunkMXIMWYVPjs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkMXIMWYVPjs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkMXIMWYVPjs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkMXIMWYVPjs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkMXIMWYVPjs.REGEX_VUE_SFC; exports.REPO_ISSUE_URL = _chunkMXIMWYVPjs.REPO_ISSUE_URL; exports.addNormalScript = _chunkREKFGCBZjs.addNormalScript; exports.babelParse = _chunkVJZE4RD6js.babelParse; exports.checkInvalidScopeReference = _chunkVJZE4RD6js.checkInvalidScopeReference; exports.getLang = _chunkVJZE4RD6js.getLang; exports.getStaticKey = _chunkVJZE4RD6js.getStaticKey; exports.getTransformResult = _chunk7LA3R3RZjs.getTransformResult; exports.isCallOf = _chunkVJZE4RD6js.isCallOf; exports.isLiteralType = _chunkVJZE4RD6js.isLiteralType; exports.isStaticExpression = _chunkVJZE4RD6js.isStaticExpression; exports.isTs = _chunkVJZE4RD6js.isTs; exports.parseSFC = _chunkREKFGCBZjs.parseSFC; exports.walkAST = _chunkVJZE4RD6js.walkAST; | ||
exports.DEFINE_EMITS = _chunkR2KEYI3Ojs.DEFINE_EMITS; exports.DEFINE_MODEL = _chunkR2KEYI3Ojs.DEFINE_MODEL; exports.DEFINE_MODEL_DOLLAR = _chunkR2KEYI3Ojs.DEFINE_MODEL_DOLLAR; exports.DEFINE_OPTIONS = _chunkR2KEYI3Ojs.DEFINE_OPTIONS; exports.DEFINE_PROPS = _chunkR2KEYI3Ojs.DEFINE_PROPS; exports.DEFINE_RENDER = _chunkR2KEYI3Ojs.DEFINE_RENDER; exports.DEFINE_SETUP_COMPONENT = _chunkR2KEYI3Ojs.DEFINE_SETUP_COMPONENT; exports.DEFINE_SLOTS = _chunkR2KEYI3Ojs.DEFINE_SLOTS; exports.MAGIC_COMMENT_STATIC = _chunkR2KEYI3Ojs.MAGIC_COMMENT_STATIC; exports.MagicString = _chunkM6KSF6PGjs.MagicString; exports.REGEX_JSX_FILE = _chunkR2KEYI3Ojs.REGEX_JSX_FILE; exports.REGEX_SETUP_SFC = _chunkR2KEYI3Ojs.REGEX_SETUP_SFC; exports.REGEX_SRC_FILE = _chunkR2KEYI3Ojs.REGEX_SRC_FILE; exports.REGEX_TS_FILE = _chunkR2KEYI3Ojs.REGEX_TS_FILE; exports.REGEX_VUE_SFC = _chunkR2KEYI3Ojs.REGEX_VUE_SFC; exports.REPO_ISSUE_URL = _chunkR2KEYI3Ojs.REPO_ISSUE_URL; exports.addNormalScript = _chunkREKFGCBZjs.addNormalScript; exports.babelParse = _chunkQ3EO6EY5js.babelParse; exports.checkInvalidScopeReference = _chunkQ3EO6EY5js.checkInvalidScopeReference; exports.getLang = _chunkQ3EO6EY5js.getLang; exports.getStaticKey = _chunkQ3EO6EY5js.getStaticKey; exports.getTransformResult = _chunk7LA3R3RZjs.getTransformResult; exports.isCallOf = _chunkQ3EO6EY5js.isCallOf; exports.isLiteralType = _chunkQ3EO6EY5js.isLiteralType; exports.isStaticExpression = _chunkQ3EO6EY5js.isStaticExpression; exports.isTs = _chunkQ3EO6EY5js.isTs; exports.parseSFC = _chunkREKFGCBZjs.parseSFC; exports.walkAST = _chunkQ3EO6EY5js.walkAST; |
@@ -0,5 +1,5 @@ | ||
import { Statement } from '@babel/types'; | ||
import { MagicString } from './magic-string.js'; | ||
import { SFCScriptBlock, SFCDescriptor } from '@vue/compiler-sfc'; | ||
import 'magic-string'; | ||
import '@babel/types'; | ||
@@ -10,3 +10,6 @@ declare type _SFCScriptBlock = Omit<SFCScriptBlock, 'scriptAst' | 'scriptSetupAst'>; | ||
scriptSetup?: _SFCScriptBlock | null; | ||
scriptCompiled: SFCScriptBlock; | ||
scriptCompiled: Omit<SFCScriptBlock, 'scriptAst' | 'scriptSetupAst'> & { | ||
scriptAst?: Statement[]; | ||
scriptSetupAst?: Statement[]; | ||
}; | ||
lang: string | undefined; | ||
@@ -13,0 +16,0 @@ }; |
{ | ||
"name": "@vue-macros/common", | ||
"version": "0.12.2-beta.0", | ||
"version": "0.12.2-beta.1", | ||
"packageManager": "pnpm@7.13.5", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
33896
899
1