vue 3.2.45 → 3.2.46

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