@vue/compiler-ssr 3.6.0-beta.10 → 3.6.0-beta.11

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compiler-ssr v3.6.0-beta.10
2
+ * @vue/compiler-ssr v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -547,6 +547,8 @@ function subTransform(node, options, parentContext) {
547
547
  childContext.ssr = false;
548
548
  childContext.scopes = { ...parentContext.scopes };
549
549
  childContext.identifiers = { ...parentContext.identifiers };
550
+ childContext.identifierScopes = Object.create(null);
551
+ for (const name in parentContext.identifierScopes) childContext.identifierScopes[name] = parentContext.identifierScopes[name].slice();
550
552
  childContext.imports = parentContext.imports;
551
553
  (0, _vue_compiler_dom.traverseNode)(childRoot, childContext);
552
554
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-ssr",
3
- "version": "3.6.0-beta.10",
3
+ "version": "3.6.0-beta.11",
4
4
  "description": "@vue/compiler-ssr",
5
5
  "main": "dist/compiler-ssr.cjs.js",
6
6
  "types": "dist/compiler-ssr.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
30
30
  "dependencies": {
31
- "@vue/compiler-dom": "3.6.0-beta.10",
32
- "@vue/shared": "3.6.0-beta.10"
31
+ "@vue/shared": "3.6.0-beta.11",
32
+ "@vue/compiler-dom": "3.6.0-beta.11"
33
33
  }
34
34
  }