@weapp-vite/ast 6.14.2 → 6.15.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.
@@ -17,7 +17,7 @@ declare function isOnPageScrollCallee(callee: t.Expression | t.V8IntrinsicIdenti
17
17
  declare function getCallExpressionCalleeName(callee: t.Expression | t.V8IntrinsicIdentifier): string | undefined;
18
18
  declare function getOnPageScrollCallbackArgument(node: {
19
19
  arguments?: Array<t.Expression | t.SpreadElement | t.ArgumentPlaceholder | null>;
20
- }): t.ArrowFunctionExpression | t.FunctionExpression | undefined;
20
+ }): t.FunctionExpression | t.ArrowFunctionExpression | undefined;
21
21
  declare function collectPageScrollInspection(functionPath: any, node: t.ArrowFunctionExpression | t.FunctionExpression | t.ObjectMethod): PageScrollInspection;
22
22
  declare function createWarningPrefix(filename: string, line?: number, column?: number): string;
23
23
  declare function getOxcStaticPropertyName(node: any): string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-vite/ast",
3
3
  "type": "module",
4
- "version": "6.14.2",
4
+ "version": "6.15.0",
5
5
  "description": "weapp-vite 共享 AST 分析工具包,统一 Babel/Oxc 解析与常用分析操作",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",