@weapp-vite/ast 7.4.0 → 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/babelTraverse.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { traverse_default as default };
|
|
1
|
+
export { default } from "@babel/traverse";
|
package/dist/engine.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { parseJsLikeWithEngine };
|
|
1
|
+
export { t as parseJsLikeWithEngine } from "./engine-CBE2OpFp.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { collectOnPageScrollPerformanceWarnings, collectOnPageScrollWarningsWithBabel, collectOnPageScrollWarningsWithNative, collectOnPageScrollWarningsWithOxc, collectPageScrollInspection, collectPageScrollInspectionWithOxc, createLineStartOffsets, createWarningPrefix, getCallExpressionCalleeName, getLocationFromOffset, getMemberExpressionPropertyName, getOnPageScrollCallbackArgument, getOxcCallExpressionCalleeName, getOxcMemberExpressionPropertyName, getOxcStaticPropertyName, isOnPageScrollCallee, isOxcFunctionLike, isOxcOnPageScrollCallee, isStaticPropertyName };
|
|
1
|
+
export { t as collectOnPageScrollPerformanceWarnings, a as collectOnPageScrollWarningsWithBabel, n as collectOnPageScrollWarningsWithNative, r as collectOnPageScrollWarningsWithOxc, o as collectPageScrollInspection, i as collectPageScrollInspectionWithOxc, s as createLineStartOffsets, c as createWarningPrefix, l as getCallExpressionCalleeName, u as getLocationFromOffset, d as getMemberExpressionPropertyName, f as getOnPageScrollCallbackArgument, p as getOxcCallExpressionCalleeName, m as getOxcMemberExpressionPropertyName, h as getOxcStaticPropertyName, g as isOnPageScrollCallee, _ as isOxcFunctionLike, v as isOxcOnPageScrollCallee, y as isStaticPropertyName } from "../onPageScroll-tuvgNooK.mjs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-vite/ast",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.5.0",
|
|
5
5
|
"description": "weapp-vite 共享 AST 分析工具包,统一 Babel/Oxc 解析与常用分析操作",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -103,17 +103,17 @@
|
|
|
103
103
|
"dist"
|
|
104
104
|
],
|
|
105
105
|
"engines": {
|
|
106
|
-
"node": ">=
|
|
106
|
+
"node": "^22.18.0 || ^24.11.0 || >=26.0.0"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@babel/core": "^8.0.
|
|
109
|
+
"@babel/core": "^8.0.7",
|
|
110
110
|
"@babel/generator": "^8.0.6",
|
|
111
|
-
"@babel/parser": "^8.0.
|
|
112
|
-
"@babel/traverse": "^8.0.
|
|
111
|
+
"@babel/parser": "^8.0.7",
|
|
112
|
+
"@babel/traverse": "^8.0.7",
|
|
113
113
|
"@babel/types": "^8.0.6",
|
|
114
|
-
"@oxc-project/types": "^0.
|
|
115
|
-
"@weapp-core/shared": "3.2.
|
|
116
|
-
"oxc-parser": "^0.
|
|
114
|
+
"@oxc-project/types": "^0.153.0",
|
|
115
|
+
"@weapp-core/shared": "3.2.8",
|
|
116
|
+
"oxc-parser": "^0.153.0",
|
|
117
117
|
"oxc-walker": "^1.1.1"
|
|
118
118
|
},
|
|
119
119
|
"publishConfig": {
|
|
@@ -126,7 +126,8 @@
|
|
|
126
126
|
"check:release": "pnpm build && pnpm typecheck && pnpm test && npm pack --dry-run . --cache ../../.cache/npm",
|
|
127
127
|
"test": "vitest run --config ./vitest.config.ts",
|
|
128
128
|
"test:dev": "vitest --config ./vitest.config.ts",
|
|
129
|
-
"test:types": "pnpm build &&
|
|
129
|
+
"test:types": "pnpm build && pnpm run test:types:check",
|
|
130
|
+
"test:types:check": "tsd --files \"test-d/**/*.test-d.ts\"",
|
|
130
131
|
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
131
132
|
"release": "pnpm publish",
|
|
132
133
|
"lint": "eslint .",
|