vue 3.2.45 → 3.2.47

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/vue.cjs.js CHANGED
@@ -6,19 +6,18 @@ var compilerDom = require('@vue/compiler-dom');
6
6
  var runtimeDom = require('@vue/runtime-dom');
7
7
  var shared = require('@vue/shared');
8
8
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
9
+ function _interopNamespaceDefault(e) {
11
10
  var n = Object.create(null);
12
11
  if (e) {
13
- Object.keys(e).forEach(function (k) {
12
+ for (var k in e) {
14
13
  n[k] = e[k];
15
- });
14
+ }
16
15
  }
17
- n['default'] = e;
16
+ n.default = e;
18
17
  return Object.freeze(n);
19
18
  }
20
19
 
21
- var runtimeDom__namespace = /*#__PURE__*/_interopNamespace(runtimeDom);
20
+ var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
22
21
 
23
22
  // This entry is the "full-build" that includes both the runtime
24
23
  const compileCache = Object.create(null);
@@ -75,7 +74,7 @@ function compileToFunction(template, options) {
75
74
  }
76
75
  runtimeDom.registerRuntimeCompiler(compileToFunction);
77
76
 
78
- Object.keys(runtimeDom).forEach(function (k) {
77
+ exports.compile = compileToFunction;
78
+ Object.keys(runtimeDom).forEach(function(k) {
79
79
  if (k !== 'default') exports[k] = runtimeDom[k];
80
80
  });
81
- exports.compile = compileToFunction;
@@ -6,19 +6,18 @@ var compilerDom = require('@vue/compiler-dom');
6
6
  var runtimeDom = require('@vue/runtime-dom');
7
7
  var shared = require('@vue/shared');
8
8
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
9
+ function _interopNamespaceDefault(e) {
11
10
  var n = Object.create(null);
12
11
  if (e) {
13
- Object.keys(e).forEach(function (k) {
12
+ for (var k in e) {
14
13
  n[k] = e[k];
15
- });
14
+ }
16
15
  }
17
- n['default'] = e;
16
+ n.default = e;
18
17
  return Object.freeze(n);
19
18
  }
20
19
 
21
- var runtimeDom__namespace = /*#__PURE__*/_interopNamespace(runtimeDom);
20
+ var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
22
21
 
23
22
  // This entry is the "full-build" that includes both the runtime
24
23
  const compileCache = Object.create(null);
@@ -63,7 +62,7 @@ function compileToFunction(template, options) {
63
62
  }
64
63
  runtimeDom.registerRuntimeCompiler(compileToFunction);
65
64
 
66
- Object.keys(runtimeDom).forEach(function (k) {
65
+ exports.compile = compileToFunction;
66
+ Object.keys(runtimeDom).forEach(function(k) {
67
67
  if (k !== 'default') exports[k] = runtimeDom[k];
68
68
  });
69
- exports.compile = compileToFunction;