🔧 npm update
This commit is contained in:
9
node_modules/vue/README.md
generated
vendored
9
node_modules/vue/README.md
generated
vendored
@@ -5,8 +5,9 @@
|
||||
### From CDN or without a Bundler
|
||||
|
||||
- **`vue(.runtime).global(.prod).js`**:
|
||||
|
||||
- For direct use via `<script src="...">` in the browser. Exposes the `Vue` global.
|
||||
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src="...">`.
|
||||
- Note that global builds are not [UMD](https://github.com/umdjs/umd) builds. They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src="...">`.
|
||||
- In-browser template compilation:
|
||||
- **`vue.global.js`** is the "full" build that includes both the compiler and the runtime so it supports compiling templates on the fly.
|
||||
- **`vue.runtime.global.js`** contains only the runtime and requires templates to be pre-compiled during a build step.
|
||||
@@ -14,7 +15,7 @@
|
||||
- Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the `*.prod.js` files for production.
|
||||
|
||||
- **`vue(.runtime).esm-browser(.prod).js`**:
|
||||
- For usage via native ES modules imports (in browser via `<script type="module">`.
|
||||
- For usage via native ES modules imports (in browser via `<script type="module">`).
|
||||
- Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build.
|
||||
|
||||
### With a Bundler
|
||||
@@ -24,7 +25,7 @@
|
||||
- For use with bundlers like `webpack`, `rollup` and `parcel`.
|
||||
- Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler)
|
||||
- Does not ship minified builds (to be done together with the rest of the code after bundling)
|
||||
- Imports dependencies (e.g. `@vue/runtime-core`, `@vue/runtime-compiler`)
|
||||
- Imports dependencies (e.g. `@vue/runtime-core`, `@vue/compiler-core`)
|
||||
- Imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@vue/runtime-core` imports `@vue/reactivity`)
|
||||
- This means you **can** install/import these deps individually without ending up with different instances of these dependencies, but you must make sure they all resolve to the same version.
|
||||
- In-browser template compilation:
|
||||
@@ -38,10 +39,12 @@
|
||||
`esm-bundler` builds of Vue expose global feature flags that can be overwritten at compile time:
|
||||
|
||||
- `__VUE_OPTIONS_API__`
|
||||
|
||||
- Default: `true`
|
||||
- Enable / disable Options API support
|
||||
|
||||
- `__VUE_PROD_DEVTOOLS__`
|
||||
|
||||
- Default: `false`
|
||||
- Enable / disable devtools support in production
|
||||
|
||||
|
||||
19
node_modules/vue/dist/vue.cjs.js
generated
vendored
19
node_modules/vue/dist/vue.cjs.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* vue v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -24,15 +24,7 @@ function _interopNamespaceDefault(e) {
|
||||
|
||||
var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
|
||||
|
||||
const compileCache = /* @__PURE__ */ new WeakMap();
|
||||
function getCache(options) {
|
||||
let c = compileCache.get(options != null ? options : shared.EMPTY_OBJ);
|
||||
if (!c) {
|
||||
c = /* @__PURE__ */ Object.create(null);
|
||||
compileCache.set(options != null ? options : shared.EMPTY_OBJ, c);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
const compileCache = /* @__PURE__ */ Object.create(null);
|
||||
function compileToFunction(template, options) {
|
||||
if (!shared.isString(template)) {
|
||||
if (template.nodeType) {
|
||||
@@ -42,9 +34,8 @@ function compileToFunction(template, options) {
|
||||
return shared.NOOP;
|
||||
}
|
||||
}
|
||||
const key = template;
|
||||
const cache = getCache(options);
|
||||
const cached = cache[key];
|
||||
const key = shared.genCacheKey(template, options);
|
||||
const cached = compileCache[key];
|
||||
if (cached) {
|
||||
return cached;
|
||||
}
|
||||
@@ -79,7 +70,7 @@ ${codeFrame}` : message);
|
||||
}
|
||||
const render = new Function("Vue", code)(runtimeDom__namespace);
|
||||
render._rc = true;
|
||||
return cache[key] = render;
|
||||
return compileCache[key] = render;
|
||||
}
|
||||
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
||||
|
||||
|
||||
19
node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
19
node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* vue v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -24,15 +24,7 @@ function _interopNamespaceDefault(e) {
|
||||
|
||||
var runtimeDom__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeDom);
|
||||
|
||||
const compileCache = /* @__PURE__ */ new WeakMap();
|
||||
function getCache(options) {
|
||||
let c = compileCache.get(options != null ? options : shared.EMPTY_OBJ);
|
||||
if (!c) {
|
||||
c = /* @__PURE__ */ Object.create(null);
|
||||
compileCache.set(options != null ? options : shared.EMPTY_OBJ, c);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
const compileCache = /* @__PURE__ */ Object.create(null);
|
||||
function compileToFunction(template, options) {
|
||||
if (!shared.isString(template)) {
|
||||
if (template.nodeType) {
|
||||
@@ -41,9 +33,8 @@ function compileToFunction(template, options) {
|
||||
return shared.NOOP;
|
||||
}
|
||||
}
|
||||
const key = template;
|
||||
const cache = getCache(options);
|
||||
const cached = cache[key];
|
||||
const key = shared.genCacheKey(template, options);
|
||||
const cached = compileCache[key];
|
||||
if (cached) {
|
||||
return cached;
|
||||
}
|
||||
@@ -65,7 +56,7 @@ function compileToFunction(template, options) {
|
||||
const { code } = compilerDom.compile(template, opts);
|
||||
const render = new Function("Vue", code)(runtimeDom__namespace);
|
||||
render._rc = true;
|
||||
return cache[key] = render;
|
||||
return compileCache[key] = render;
|
||||
}
|
||||
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
||||
|
||||
|
||||
9237
node_modules/vue/dist/vue.esm-browser.js
generated
vendored
9237
node_modules/vue/dist/vue.esm-browser.js
generated
vendored
File diff suppressed because it is too large
Load Diff
14
node_modules/vue/dist/vue.esm-browser.prod.js
generated
vendored
14
node_modules/vue/dist/vue.esm-browser.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
21
node_modules/vue/dist/vue.esm-bundler.js
generated
vendored
21
node_modules/vue/dist/vue.esm-bundler.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* vue v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -7,7 +7,7 @@ import * as runtimeDom from '@vue/runtime-dom';
|
||||
import { initCustomFormatter, registerRuntimeCompiler, warn } from '@vue/runtime-dom';
|
||||
export * from '@vue/runtime-dom';
|
||||
import { compile } from '@vue/compiler-dom';
|
||||
import { isString, NOOP, extend, generateCodeFrame, EMPTY_OBJ } from '@vue/shared';
|
||||
import { isString, NOOP, genCacheKey, extend, generateCodeFrame } from '@vue/shared';
|
||||
|
||||
function initDev() {
|
||||
{
|
||||
@@ -18,15 +18,7 @@ function initDev() {
|
||||
if (!!(process.env.NODE_ENV !== "production")) {
|
||||
initDev();
|
||||
}
|
||||
const compileCache = /* @__PURE__ */ new WeakMap();
|
||||
function getCache(options) {
|
||||
let c = compileCache.get(options != null ? options : EMPTY_OBJ);
|
||||
if (!c) {
|
||||
c = /* @__PURE__ */ Object.create(null);
|
||||
compileCache.set(options != null ? options : EMPTY_OBJ, c);
|
||||
}
|
||||
return c;
|
||||
}
|
||||
const compileCache = /* @__PURE__ */ Object.create(null);
|
||||
function compileToFunction(template, options) {
|
||||
if (!isString(template)) {
|
||||
if (template.nodeType) {
|
||||
@@ -36,9 +28,8 @@ function compileToFunction(template, options) {
|
||||
return NOOP;
|
||||
}
|
||||
}
|
||||
const key = template;
|
||||
const cache = getCache(options);
|
||||
const cached = cache[key];
|
||||
const key = genCacheKey(template, options);
|
||||
const cached = compileCache[key];
|
||||
if (cached) {
|
||||
return cached;
|
||||
}
|
||||
@@ -73,7 +64,7 @@ ${codeFrame}` : message);
|
||||
}
|
||||
const render = new Function("Vue", code)(runtimeDom);
|
||||
render._rc = true;
|
||||
return cache[key] = render;
|
||||
return compileCache[key] = render;
|
||||
}
|
||||
registerRuntimeCompiler(compileToFunction);
|
||||
|
||||
|
||||
9106
node_modules/vue/dist/vue.global.js
generated
vendored
9106
node_modules/vue/dist/vue.global.js
generated
vendored
File diff suppressed because it is too large
Load Diff
14
node_modules/vue/dist/vue.global.prod.js
generated
vendored
14
node_modules/vue/dist/vue.global.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
8336
node_modules/vue/dist/vue.runtime.esm-browser.js
generated
vendored
8336
node_modules/vue/dist/vue.runtime.esm-browser.js
generated
vendored
File diff suppressed because it is too large
Load Diff
10
node_modules/vue/dist/vue.runtime.esm-browser.prod.js
generated
vendored
10
node_modules/vue/dist/vue.runtime.esm-browser.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/vue/dist/vue.runtime.esm-bundler.js
generated
vendored
2
node_modules/vue/dist/vue.runtime.esm-bundler.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* vue v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
|
||||
8215
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
8215
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
File diff suppressed because it is too large
Load Diff
10
node_modules/vue/dist/vue.runtime.global.prod.js
generated
vendored
10
node_modules/vue/dist/vue.runtime.global.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
12
node_modules/vue/package.json
generated
vendored
12
node_modules/vue/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue",
|
||||
"version": "3.4.15",
|
||||
"version": "3.5.13",
|
||||
"description": "The progressive JavaScript framework for building modern web UI.",
|
||||
"main": "index.js",
|
||||
"module": "dist/vue.runtime.esm-bundler.js",
|
||||
@@ -95,11 +95,11 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
||||
"dependencies": {
|
||||
"@vue/compiler-dom": "3.4.15",
|
||||
"@vue/server-renderer": "3.4.15",
|
||||
"@vue/runtime-dom": "3.4.15",
|
||||
"@vue/compiler-sfc": "3.4.15",
|
||||
"@vue/shared": "3.4.15"
|
||||
"@vue/shared": "3.5.13",
|
||||
"@vue/compiler-dom": "3.5.13",
|
||||
"@vue/runtime-dom": "3.5.13",
|
||||
"@vue/server-renderer": "3.5.13",
|
||||
"@vue/compiler-sfc": "3.5.13"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "*"
|
||||
|
||||
Reference in New Issue
Block a user