@vue/compiler-core 3.3.5 → 3.3.6
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.
|
@@ -1812,7 +1812,7 @@ function createTransformContext(root, {
|
|
|
1812
1812
|
directives: /* @__PURE__ */ new Set(),
|
|
1813
1813
|
hoists: [],
|
|
1814
1814
|
imports: [],
|
|
1815
|
-
constantCache: /* @__PURE__ */ new
|
|
1815
|
+
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
1816
1816
|
temps: 0,
|
|
1817
1817
|
cached: 0,
|
|
1818
1818
|
identifiers: /* @__PURE__ */ Object.create(null),
|
|
@@ -1771,7 +1771,7 @@ function createTransformContext(root, {
|
|
|
1771
1771
|
directives: /* @__PURE__ */ new Set(),
|
|
1772
1772
|
hoists: [],
|
|
1773
1773
|
imports: [],
|
|
1774
|
-
constantCache: /* @__PURE__ */ new
|
|
1774
|
+
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
1775
1775
|
temps: 0,
|
|
1776
1776
|
cached: 0,
|
|
1777
1777
|
identifiers: /* @__PURE__ */ Object.create(null),
|
package/dist/compiler-core.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface TransformContext extends Required<Omit<TransformOptions, 'filen
|
|
|
90
90
|
removeIdentifiers(exp: ExpressionNode | string): void;
|
|
91
91
|
hoist(exp: string | JSChildNode | ArrayExpression): SimpleExpressionNode;
|
|
92
92
|
cache<T extends JSChildNode>(exp: T, isVNode?: boolean): CacheExpression | T;
|
|
93
|
-
constantCache:
|
|
93
|
+
constantCache: WeakMap<TemplateChildNode, ConstantTypes>;
|
|
94
94
|
filters?: Set<string>;
|
|
95
95
|
}
|
|
96
96
|
export declare function createTransformContext(root: RootNode, { filename, prefixIdentifiers, hoistStatic, cacheHandlers, nodeTransforms, directiveTransforms, transformHoist, isBuiltInComponent, isCustomElement, expressionPlugins, scopeId, slotted, ssr, inSSR, ssrCssVars, bindingMetadata, inline, isTS, onError, onWarn, compatConfig }: TransformOptions): TransformContext;
|
|
@@ -1796,7 +1796,7 @@ function createTransformContext(root, {
|
|
|
1796
1796
|
directives: /* @__PURE__ */ new Set(),
|
|
1797
1797
|
hoists: [],
|
|
1798
1798
|
imports: [],
|
|
1799
|
-
constantCache: /* @__PURE__ */ new
|
|
1799
|
+
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
1800
1800
|
temps: 0,
|
|
1801
1801
|
cached: 0,
|
|
1802
1802
|
identifiers: /* @__PURE__ */ Object.create(null),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/parser": "^7.23.0",
|
|
36
|
-
"@vue/shared": "3.3.
|
|
36
|
+
"@vue/shared": "3.3.6",
|
|
37
37
|
"estree-walker": "^2.0.2",
|
|
38
38
|
"source-map-js": "^1.0.2"
|
|
39
39
|
},
|