讨论加特殊图标
This commit is contained in:
1588
.output/server/node_modules/@babel/parser/lib/index.js
generated
vendored
1588
.output/server/node_modules/@babel/parser/lib/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
.output/server/node_modules/@babel/parser/package.json
generated
vendored
2
.output/server/node_modules/@babel/parser/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@babel/parser",
|
||||
"version": "7.23.6",
|
||||
"version": "7.23.9",
|
||||
"description": "A JavaScript parser",
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"homepage": "https://babel.dev/docs/en/next/babel-parser",
|
||||
|
||||
6
.output/server/node_modules/@unhead/dom/package.json
generated
vendored
6
.output/server/node_modules/@unhead/dom/package.json
generated
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@unhead/dom",
|
||||
"type": "module",
|
||||
"version": "1.8.9",
|
||||
"version": "1.8.10",
|
||||
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
||||
"license": "MIT",
|
||||
"funding": "https://github.com/sponsors/harlan-zw",
|
||||
@@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.8.9",
|
||||
"@unhead/shared": "1.8.9"
|
||||
"@unhead/schema": "1.8.10",
|
||||
"@unhead/shared": "1.8.10"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "unbuild .",
|
||||
|
||||
4
.output/server/node_modules/@unhead/shared/package.json
generated
vendored
4
.output/server/node_modules/@unhead/shared/package.json
generated
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@unhead/shared",
|
||||
"type": "module",
|
||||
"version": "1.8.9",
|
||||
"version": "1.8.10",
|
||||
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
||||
"license": "MIT",
|
||||
"funding": "https://github.com/sponsors/harlan-zw",
|
||||
@@ -34,7 +34,7 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.8.9"
|
||||
"@unhead/schema": "1.8.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"packrup": "^0.1.0"
|
||||
|
||||
13
.output/server/node_modules/@unhead/ssr/dist/index.mjs
generated
vendored
13
.output/server/node_modules/@unhead/ssr/dist/index.mjs
generated
vendored
@@ -43,7 +43,7 @@ function tagToString(tag) {
|
||||
return SelfClosingTags.includes(tag.tag) ? openTag : `${openTag}${content}</${tag.tag}>`;
|
||||
}
|
||||
|
||||
function ssrRenderTags(tags) {
|
||||
function ssrRenderTags(tags, options) {
|
||||
const schema = { htmlAttrs: {}, bodyAttrs: {}, tags: { head: [], bodyClose: [], bodyOpen: [] } };
|
||||
for (const tag of tags) {
|
||||
if (tag.tag === "htmlAttrs" || tag.tag === "bodyAttrs") {
|
||||
@@ -52,16 +52,17 @@ function ssrRenderTags(tags) {
|
||||
}
|
||||
schema.tags[tag.tagPosition || "head"].push(tagToString(tag));
|
||||
}
|
||||
const lineBreaks = !options?.omitLineBreaks ? "\n" : "";
|
||||
return {
|
||||
headTags: schema.tags.head.join("\n"),
|
||||
bodyTags: schema.tags.bodyClose.join("\n"),
|
||||
bodyTagsOpen: schema.tags.bodyOpen.join("\n"),
|
||||
headTags: schema.tags.head.join(lineBreaks),
|
||||
bodyTags: schema.tags.bodyClose.join(lineBreaks),
|
||||
bodyTagsOpen: schema.tags.bodyOpen.join(lineBreaks),
|
||||
htmlAttrs: propsToString(schema.htmlAttrs),
|
||||
bodyAttrs: propsToString(schema.bodyAttrs)
|
||||
};
|
||||
}
|
||||
|
||||
async function renderSSRHead(head) {
|
||||
async function renderSSRHead(head, options) {
|
||||
const beforeRenderCtx = { shouldRender: true };
|
||||
await head.hooks.callHook("ssr:beforeRender", beforeRenderCtx);
|
||||
if (!beforeRenderCtx.shouldRender) {
|
||||
@@ -75,7 +76,7 @@ async function renderSSRHead(head) {
|
||||
}
|
||||
const ctx = { tags: await head.resolveTags() };
|
||||
await head.hooks.callHook("ssr:render", ctx);
|
||||
const html = ssrRenderTags(ctx.tags);
|
||||
const html = ssrRenderTags(ctx.tags, options);
|
||||
const renderCtx = { tags: ctx.tags, html };
|
||||
await head.hooks.callHook("ssr:rendered", renderCtx);
|
||||
return renderCtx.html;
|
||||
|
||||
6
.output/server/node_modules/@unhead/ssr/package.json
generated
vendored
6
.output/server/node_modules/@unhead/ssr/package.json
generated
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@unhead/ssr",
|
||||
"type": "module",
|
||||
"version": "1.8.9",
|
||||
"version": "1.8.10",
|
||||
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
||||
"license": "MIT",
|
||||
"funding": "https://github.com/sponsors/harlan-zw",
|
||||
@@ -29,8 +29,8 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.8.9",
|
||||
"@unhead/shared": "1.8.9"
|
||||
"@unhead/schema": "1.8.10",
|
||||
"@unhead/shared": "1.8.10"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "unbuild .",
|
||||
|
||||
12
.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
generated
vendored
12
.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/compiler-core v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -1509,7 +1514,7 @@ function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [
|
||||
if (includeAll || isRefed && !isLocal) {
|
||||
onIdentifier(node, parent, parentStack, isRefed, isLocal);
|
||||
}
|
||||
} else if (node.type === "ObjectProperty" && parent.type === "ObjectPattern") {
|
||||
} else if (node.type === "ObjectProperty" && (parent == null ? void 0 : parent.type) === "ObjectPattern") {
|
||||
node.inPattern = true;
|
||||
} else if (isFunctionType(node)) {
|
||||
if (node.scopeIds) {
|
||||
@@ -2562,7 +2567,7 @@ function onCloseTag(el, end, isImplied = false) {
|
||||
}
|
||||
{
|
||||
const props = el.props;
|
||||
if (isCompatEnabled(
|
||||
if (!tokenizer.inSFCRoot && isCompatEnabled(
|
||||
"COMPILER_NATIVE_TEMPLATE",
|
||||
currentOptions
|
||||
) && el.tag === "template" && !isFragmentTemplate(el)) {
|
||||
@@ -3171,8 +3176,7 @@ function createTransformContext(root, {
|
||||
}
|
||||
context.parent.children.splice(removalIndex, 1);
|
||||
},
|
||||
onNodeRemoved: () => {
|
||||
},
|
||||
onNodeRemoved: shared.NOOP,
|
||||
addIdentifiers(exp) {
|
||||
{
|
||||
if (shared.isString(exp)) {
|
||||
|
||||
5
.output/server/node_modules/@vue/compiler-core/package.json
generated
vendored
5
.output/server/node_modules/@vue/compiler-core/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/compiler-core",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/compiler-core",
|
||||
"main": "index.js",
|
||||
"module": "dist/compiler-core.esm-bundler.js",
|
||||
@@ -17,6 +17,7 @@
|
||||
"development": "./dist/compiler-core.cjs.js",
|
||||
"default": "./dist/compiler-core.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/compiler-core.esm-bundler.js",
|
||||
"import": "./dist/compiler-core.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -49,7 +50,7 @@
|
||||
"entities": "^4.5.0",
|
||||
"estree-walker": "^2.0.2",
|
||||
"source-map-js": "^1.0.2",
|
||||
"@vue/shared": "3.4.5"
|
||||
"@vue/shared": "3.4.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/types": "^7.23.6"
|
||||
|
||||
5
.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
generated
vendored
5
.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/compiler-dom v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
7
.output/server/node_modules/@vue/compiler-dom/package.json
generated
vendored
7
.output/server/node_modules/@vue/compiler-dom/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/compiler-dom",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/compiler-dom",
|
||||
"main": "index.js",
|
||||
"module": "dist/compiler-dom.esm-bundler.js",
|
||||
@@ -19,6 +19,7 @@
|
||||
"development": "./dist/compiler-dom.cjs.js",
|
||||
"default": "./dist/compiler-dom.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/compiler-dom.esm-bundler.js",
|
||||
"import": "./dist/compiler-dom.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -50,7 +51,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/compiler-core": "3.4.5"
|
||||
"@vue/shared": "3.4.15",
|
||||
"@vue/compiler-core": "3.4.15"
|
||||
}
|
||||
}
|
||||
5
.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js
generated
vendored
5
.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/compiler-ssr v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
6
.output/server/node_modules/@vue/compiler-ssr/package.json
generated
vendored
6
.output/server/node_modules/@vue/compiler-ssr/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/compiler-ssr",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/compiler-ssr",
|
||||
"main": "dist/compiler-ssr.cjs.js",
|
||||
"types": "dist/compiler-ssr.d.ts",
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/compiler-dom": "3.4.5"
|
||||
"@vue/shared": "3.4.15",
|
||||
"@vue/compiler-dom": "3.4.15"
|
||||
}
|
||||
}
|
||||
56
.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
generated
vendored
56
.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/reactivity v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -109,7 +114,7 @@ class ReactiveEffect {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
this._dirtyLevel = 3;
|
||||
this._dirtyLevel = 2;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -121,7 +126,7 @@ class ReactiveEffect {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
this._queryings = 0;
|
||||
this._shouldSchedule = false;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -130,10 +135,9 @@ class ReactiveEffect {
|
||||
}
|
||||
get dirty() {
|
||||
if (this._dirtyLevel === 1) {
|
||||
this._dirtyLevel = 0;
|
||||
this._queryings++;
|
||||
pauseTracking();
|
||||
for (const dep of this.deps) {
|
||||
for (let i = 0; i < this._depsLength; i++) {
|
||||
const dep = this.deps[i];
|
||||
if (dep.computed) {
|
||||
triggerComputed(dep.computed);
|
||||
if (this._dirtyLevel >= 2) {
|
||||
@@ -141,13 +145,15 @@ class ReactiveEffect {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this._dirtyLevel < 2) {
|
||||
this._dirtyLevel = 0;
|
||||
}
|
||||
resetTracking();
|
||||
this._queryings--;
|
||||
}
|
||||
return this._dirtyLevel >= 2;
|
||||
}
|
||||
set dirty(v) {
|
||||
this._dirtyLevel = v ? 3 : 0;
|
||||
this._dirtyLevel = v ? 2 : 0;
|
||||
}
|
||||
run() {
|
||||
this._dirtyLevel = 0;
|
||||
@@ -269,22 +275,26 @@ const queueEffectSchedulers = [];
|
||||
function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
|
||||
pauseScheduling();
|
||||
for (const effect2 of dep.keys()) {
|
||||
if (!effect2.allowRecurse && effect2._runnings) {
|
||||
continue;
|
||||
}
|
||||
if (effect2._dirtyLevel < dirtyLevel && (!effect2._runnings || dirtyLevel !== 2)) {
|
||||
if (effect2._dirtyLevel < dirtyLevel && dep.get(effect2) === effect2._trackId) {
|
||||
const lastDirtyLevel = effect2._dirtyLevel;
|
||||
effect2._dirtyLevel = dirtyLevel;
|
||||
if (lastDirtyLevel === 0 && (!effect2._queryings || dirtyLevel !== 2)) {
|
||||
if (lastDirtyLevel === 0) {
|
||||
effect2._shouldSchedule = true;
|
||||
effect2.trigger();
|
||||
if (effect2.scheduler) {
|
||||
queueEffectSchedulers.push(effect2.scheduler);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
scheduleEffects(dep);
|
||||
resetScheduling();
|
||||
}
|
||||
function scheduleEffects(dep) {
|
||||
for (const effect2 of dep.keys()) {
|
||||
if (effect2.scheduler && effect2._shouldSchedule && (!effect2._runnings || effect2.allowRecurse) && dep.get(effect2) === effect2._trackId) {
|
||||
effect2._shouldSchedule = false;
|
||||
queueEffectSchedulers.push(effect2.scheduler);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const createDep = (cleanup, computed) => {
|
||||
const dep = /* @__PURE__ */ new Map();
|
||||
@@ -361,7 +371,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
||||
if (dep) {
|
||||
triggerEffects(
|
||||
dep,
|
||||
3);
|
||||
2);
|
||||
}
|
||||
}
|
||||
resetScheduling();
|
||||
@@ -915,7 +925,8 @@ class ComputedRefImpl {
|
||||
this["__v_isReadonly"] = false;
|
||||
this.effect = new ReactiveEffect(
|
||||
() => getter(this._value),
|
||||
() => triggerRefValue(this, 1)
|
||||
() => triggerRefValue(this, 1),
|
||||
() => this.dep && scheduleEffects(this.dep)
|
||||
);
|
||||
this.effect.computed = this;
|
||||
this.effect.active = this._cacheable = !isSSR;
|
||||
@@ -923,12 +934,15 @@ class ComputedRefImpl {
|
||||
}
|
||||
get value() {
|
||||
const self = toRaw(this);
|
||||
trackRefValue(self);
|
||||
if (!self._cacheable || self.effect.dirty) {
|
||||
if (shared.hasChanged(self._value, self._value = self.effect.run())) {
|
||||
triggerRefValue(self, 2);
|
||||
}
|
||||
}
|
||||
trackRefValue(self);
|
||||
if (self.effect._dirtyLevel >= 1) {
|
||||
triggerRefValue(self, 1);
|
||||
}
|
||||
return self._value;
|
||||
}
|
||||
set value(newValue) {
|
||||
@@ -969,7 +983,7 @@ function trackRefValue(ref2) {
|
||||
)));
|
||||
}
|
||||
}
|
||||
function triggerRefValue(ref2, dirtyLevel = 3, newVal) {
|
||||
function triggerRefValue(ref2, dirtyLevel = 2, newVal) {
|
||||
ref2 = toRaw(ref2);
|
||||
const dep = ref2.dep;
|
||||
if (dep) {
|
||||
@@ -1011,12 +1025,12 @@ class RefImpl {
|
||||
if (shared.hasChanged(newVal, this._rawValue)) {
|
||||
this._rawValue = newVal;
|
||||
this._value = useDirectValue ? newVal : toReactive(newVal);
|
||||
triggerRefValue(this, 3);
|
||||
triggerRefValue(this, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
function triggerRef(ref2) {
|
||||
triggerRefValue(ref2, 3);
|
||||
triggerRefValue(ref2, 2);
|
||||
}
|
||||
function unref(ref2) {
|
||||
return isRef(ref2) ? ref2.value : ref2;
|
||||
|
||||
5
.output/server/node_modules/@vue/reactivity/package.json
generated
vendored
5
.output/server/node_modules/@vue/reactivity/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/reactivity",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/reactivity",
|
||||
"main": "index.js",
|
||||
"module": "dist/reactivity.esm-bundler.js",
|
||||
@@ -19,6 +19,7 @@
|
||||
"development": "./dist/reactivity.cjs.js",
|
||||
"default": "./dist/reactivity.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/reactivity.esm-bundler.js",
|
||||
"import": "./dist/reactivity.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -49,6 +50,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5"
|
||||
"@vue/shared": "3.4.15"
|
||||
}
|
||||
}
|
||||
188
.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
generated
vendored
188
.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/runtime-core v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -102,7 +107,7 @@ function handleError(err, instance, type, throwInDev = true) {
|
||||
if (instance) {
|
||||
let cur = instance.parent;
|
||||
const exposedInstance = instance.proxy;
|
||||
const errorInfo = `https://vuejs.org/errors/#runtime-${type}`;
|
||||
const errorInfo = `https://vuejs.org/error-reference/#runtime-${type}`;
|
||||
while (cur) {
|
||||
const errorCapturedHooks = cur.ec;
|
||||
if (errorCapturedHooks) {
|
||||
@@ -214,14 +219,15 @@ function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {
|
||||
}
|
||||
function flushPostFlushCbs(seen) {
|
||||
if (pendingPostFlushCbs.length) {
|
||||
const deduped = [...new Set(pendingPostFlushCbs)];
|
||||
const deduped = [...new Set(pendingPostFlushCbs)].sort(
|
||||
(a, b) => getId(a) - getId(b)
|
||||
);
|
||||
pendingPostFlushCbs.length = 0;
|
||||
if (activePostFlushCbs) {
|
||||
activePostFlushCbs.push(...deduped);
|
||||
return;
|
||||
}
|
||||
activePostFlushCbs = deduped;
|
||||
activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
|
||||
for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
|
||||
activePostFlushCbs[postFlushIndex]();
|
||||
}
|
||||
@@ -509,7 +515,7 @@ function renderComponentRoot(instance) {
|
||||
setCurrentRenderingInstance(prev);
|
||||
return result;
|
||||
}
|
||||
function filterSingleRoot(children) {
|
||||
function filterSingleRoot(children, recurse = true) {
|
||||
let singleRoot;
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
const child = children[i];
|
||||
@@ -603,8 +609,6 @@ function hasPropsChanged(prevProps, nextProps, emitsOptions) {
|
||||
return false;
|
||||
}
|
||||
function updateHOCHostEl({ vnode, parent }, el) {
|
||||
if (!el)
|
||||
return;
|
||||
while (parent) {
|
||||
const root = parent.subTree;
|
||||
if (root.suspense && root.suspense.activeBranch === vnode) {
|
||||
@@ -687,6 +691,10 @@ const SuspenseImpl = {
|
||||
rendererInternals
|
||||
);
|
||||
} else {
|
||||
if (parentSuspense && parentSuspense.deps > 0) {
|
||||
n2.suspense = n1.suspense;
|
||||
return;
|
||||
}
|
||||
patchSuspense(
|
||||
n1,
|
||||
n2,
|
||||
@@ -935,6 +943,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
}
|
||||
}
|
||||
const timeout = vnode.props ? shared.toNumber(vnode.props.timeout) : void 0;
|
||||
const initialAnchor = anchor;
|
||||
const suspense = {
|
||||
vnode,
|
||||
parent: parentSuspense,
|
||||
@@ -942,7 +951,6 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
namespace,
|
||||
container,
|
||||
hiddenContainer,
|
||||
anchor,
|
||||
deps: 0,
|
||||
pendingId: suspenseId++,
|
||||
timeout: typeof timeout === "number" ? timeout : -1,
|
||||
@@ -973,20 +981,21 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
move(
|
||||
pendingBranch,
|
||||
container2,
|
||||
next(activeBranch),
|
||||
anchor === initialAnchor ? next(activeBranch) : anchor,
|
||||
0
|
||||
);
|
||||
queuePostFlushCb(effects);
|
||||
}
|
||||
};
|
||||
}
|
||||
let { anchor: anchor2 } = suspense;
|
||||
if (activeBranch) {
|
||||
anchor2 = next(activeBranch);
|
||||
if (parentNode(activeBranch.el) !== suspense.hiddenContainer) {
|
||||
anchor = next(activeBranch);
|
||||
}
|
||||
unmount(activeBranch, parentComponent2, suspense, true);
|
||||
}
|
||||
if (!delayEnter) {
|
||||
move(pendingBranch, container2, anchor2, 0);
|
||||
move(pendingBranch, container2, anchor, 0);
|
||||
}
|
||||
}
|
||||
setActiveBranch(suspense, pendingBranch);
|
||||
@@ -1204,7 +1213,12 @@ function queueEffectWithSuspense(fn, suspense) {
|
||||
function setActiveBranch(suspense, branch) {
|
||||
suspense.activeBranch = branch;
|
||||
const { vnode, parentComponent } = suspense;
|
||||
const el = vnode.el = branch.el;
|
||||
let el = branch.el;
|
||||
while (!el && branch.component) {
|
||||
branch = branch.component.subTree;
|
||||
el = branch.el;
|
||||
}
|
||||
vnode.el = el;
|
||||
if (parentComponent && parentComponent.subTree === vnode) {
|
||||
parentComponent.vnode.el = el;
|
||||
updateHOCHostEl(parentComponent, el);
|
||||
@@ -1405,14 +1419,9 @@ function instanceWatch(source, value, options) {
|
||||
cb = value.handler;
|
||||
options = value;
|
||||
}
|
||||
const cur = currentInstance;
|
||||
setCurrentInstance(this);
|
||||
const reset = setCurrentInstance(this);
|
||||
const res = doWatch(getter, cb.bind(publicThis), options);
|
||||
if (cur) {
|
||||
setCurrentInstance(cur);
|
||||
} else {
|
||||
unsetCurrentInstance();
|
||||
}
|
||||
reset();
|
||||
return res;
|
||||
}
|
||||
function createPathGetter(ctx, path) {
|
||||
@@ -1459,11 +1468,10 @@ function traverse(value, depth, currentDepth = 0, seen) {
|
||||
}
|
||||
|
||||
function withDirectives(vnode, directives) {
|
||||
const internalInstance = currentRenderingInstance;
|
||||
if (internalInstance === null) {
|
||||
if (currentRenderingInstance === null) {
|
||||
return vnode;
|
||||
}
|
||||
const instance = getExposeProxy(internalInstance) || internalInstance.proxy;
|
||||
const instance = getExposeProxy(currentRenderingInstance) || currentRenderingInstance.proxy;
|
||||
const bindings = vnode.dirs || (vnode.dirs = []);
|
||||
for (let i = 0; i < directives.length; i++) {
|
||||
let [dir, value, arg, modifiers = shared.EMPTY_OBJ] = directives[i];
|
||||
@@ -2219,9 +2227,9 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
|
||||
return;
|
||||
}
|
||||
reactivity.pauseTracking();
|
||||
setCurrentInstance(target);
|
||||
const reset = setCurrentInstance(target);
|
||||
const res = callWithAsyncErrorHandling(hook, target, type, args);
|
||||
unsetCurrentInstance();
|
||||
reset();
|
||||
reactivity.resetTracking();
|
||||
return res;
|
||||
});
|
||||
@@ -2527,50 +2535,6 @@ function useSlots() {
|
||||
function useAttrs() {
|
||||
return getContext().attrs;
|
||||
}
|
||||
function useModel(props, name, options = shared.EMPTY_OBJ) {
|
||||
const i = getCurrentInstance();
|
||||
const camelizedName = shared.camelize(name);
|
||||
const hyphenatedName = shared.hyphenate(name);
|
||||
const res = reactivity.customRef((track, trigger) => {
|
||||
let localValue;
|
||||
watchSyncEffect(() => {
|
||||
const propValue = props[name];
|
||||
if (shared.hasChanged(localValue, propValue)) {
|
||||
localValue = propValue;
|
||||
trigger();
|
||||
}
|
||||
});
|
||||
return {
|
||||
get() {
|
||||
track();
|
||||
return options.get ? options.get(localValue) : localValue;
|
||||
},
|
||||
set(value) {
|
||||
const rawProps = i.vnode.props;
|
||||
if (!(rawProps && // check if parent has passed v-model
|
||||
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps)) && shared.hasChanged(value, localValue)) {
|
||||
localValue = value;
|
||||
trigger();
|
||||
}
|
||||
i.emit(`update:${name}`, options.set ? options.set(value) : value);
|
||||
}
|
||||
};
|
||||
});
|
||||
const modifierKey = name === "modelValue" ? "modelModifiers" : `${name}Modifiers`;
|
||||
res[Symbol.iterator] = () => {
|
||||
let i2 = 0;
|
||||
return {
|
||||
next() {
|
||||
if (i2 < 2) {
|
||||
return { value: i2++ ? props[modifierKey] || {} : res, done: false };
|
||||
} else {
|
||||
return { done: true };
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
return res;
|
||||
}
|
||||
function getContext() {
|
||||
const i = getCurrentInstance();
|
||||
return i.setupContext || (i.setupContext = createSetupContext(i));
|
||||
@@ -3279,12 +3243,12 @@ function resolvePropValue(options, props, key, value, instance, isAbsent) {
|
||||
if (key in propsDefaults) {
|
||||
value = propsDefaults[key];
|
||||
} else {
|
||||
setCurrentInstance(instance);
|
||||
const reset = setCurrentInstance(instance);
|
||||
value = propsDefaults[key] = defaultValue.call(
|
||||
null,
|
||||
props
|
||||
);
|
||||
unsetCurrentInstance();
|
||||
reset();
|
||||
}
|
||||
} else {
|
||||
value = defaultValue;
|
||||
@@ -3507,9 +3471,10 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
||||
} else {
|
||||
const _isString = shared.isString(ref);
|
||||
const _isRef = reactivity.isRef(ref);
|
||||
const isVFor = rawRef.f;
|
||||
if (_isString || _isRef) {
|
||||
const doSet = () => {
|
||||
if (rawRef.f) {
|
||||
if (isVFor) {
|
||||
const existing = _isString ? shared.hasOwn(setupState, ref) ? setupState[ref] : refs[ref] : ref.value;
|
||||
if (isUnmount) {
|
||||
shared.isArray(existing) && shared.remove(existing, refValue);
|
||||
@@ -3540,11 +3505,11 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
||||
refs[rawRef.k] = value;
|
||||
} else ;
|
||||
};
|
||||
if (value) {
|
||||
if (isUnmount || isVFor) {
|
||||
doSet();
|
||||
} else {
|
||||
doSet.id = -1;
|
||||
queuePostRenderEffect(doSet, parentSuspense);
|
||||
} else {
|
||||
doSet();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4456,7 +4421,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
hostInsert(fragmentStartAnchor, container, anchor);
|
||||
hostInsert(fragmentEndAnchor, container, anchor);
|
||||
mountChildren(
|
||||
n2.children,
|
||||
// #10007
|
||||
// such fragment like `<></>` will be compiled into
|
||||
// a fragment which doesn't have a children.
|
||||
// In this case fallback to an empty array
|
||||
n2.children || [],
|
||||
container,
|
||||
fragmentEndAnchor,
|
||||
parentComponent,
|
||||
@@ -5204,6 +5173,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
}
|
||||
return hostNextSibling(vnode.anchor || vnode.el);
|
||||
};
|
||||
let isFlushing = false;
|
||||
const render = (vnode, container, namespace) => {
|
||||
if (vnode == null) {
|
||||
if (container._vnode) {
|
||||
@@ -5220,8 +5190,12 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
namespace
|
||||
);
|
||||
}
|
||||
flushPreFlushCbs();
|
||||
flushPostFlushCbs();
|
||||
if (!isFlushing) {
|
||||
isFlushing = true;
|
||||
flushPreFlushCbs();
|
||||
flushPostFlushCbs();
|
||||
isFlushing = false;
|
||||
}
|
||||
container._vnode = vnode;
|
||||
};
|
||||
const internals = {
|
||||
@@ -6031,8 +6005,13 @@ let setInSSRSetupState;
|
||||
);
|
||||
}
|
||||
const setCurrentInstance = (instance) => {
|
||||
const prev = currentInstance;
|
||||
internalSetCurrentInstance(instance);
|
||||
instance.scope.on();
|
||||
return () => {
|
||||
instance.scope.off();
|
||||
internalSetCurrentInstance(prev);
|
||||
};
|
||||
};
|
||||
const unsetCurrentInstance = () => {
|
||||
currentInstance && currentInstance.scope.off();
|
||||
@@ -6059,7 +6038,7 @@ function setupStatefulComponent(instance, isSSR) {
|
||||
const { setup } = Component;
|
||||
if (setup) {
|
||||
const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
|
||||
setCurrentInstance(instance);
|
||||
const reset = setCurrentInstance(instance);
|
||||
reactivity.pauseTracking();
|
||||
const setupResult = callWithErrorHandling(
|
||||
setup,
|
||||
@@ -6071,7 +6050,7 @@ function setupStatefulComponent(instance, isSSR) {
|
||||
]
|
||||
);
|
||||
reactivity.resetTracking();
|
||||
unsetCurrentInstance();
|
||||
reset();
|
||||
if (shared.isPromise(setupResult)) {
|
||||
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
||||
if (isSSR) {
|
||||
@@ -6140,13 +6119,13 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
|
||||
}
|
||||
}
|
||||
{
|
||||
setCurrentInstance(instance);
|
||||
const reset = setCurrentInstance(instance);
|
||||
reactivity.pauseTracking();
|
||||
try {
|
||||
applyOptions(instance);
|
||||
} finally {
|
||||
reactivity.resetTracking();
|
||||
unsetCurrentInstance();
|
||||
reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6203,6 +6182,51 @@ const computed = (getterOrOptions, debugOptions) => {
|
||||
return reactivity.computed(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
||||
};
|
||||
|
||||
function useModel(props, name, options = shared.EMPTY_OBJ) {
|
||||
const i = getCurrentInstance();
|
||||
const camelizedName = shared.camelize(name);
|
||||
const hyphenatedName = shared.hyphenate(name);
|
||||
const res = reactivity.customRef((track, trigger) => {
|
||||
let localValue;
|
||||
watchSyncEffect(() => {
|
||||
const propValue = props[name];
|
||||
if (shared.hasChanged(localValue, propValue)) {
|
||||
localValue = propValue;
|
||||
trigger();
|
||||
}
|
||||
});
|
||||
return {
|
||||
get() {
|
||||
track();
|
||||
return options.get ? options.get(localValue) : localValue;
|
||||
},
|
||||
set(value) {
|
||||
const rawProps = i.vnode.props;
|
||||
if (!(rawProps && // check if parent has passed v-model
|
||||
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps)) && shared.hasChanged(value, localValue)) {
|
||||
localValue = value;
|
||||
trigger();
|
||||
}
|
||||
i.emit(`update:${name}`, options.set ? options.set(value) : value);
|
||||
}
|
||||
};
|
||||
});
|
||||
const modifierKey = name === "modelValue" ? "modelModifiers" : `${name}Modifiers`;
|
||||
res[Symbol.iterator] = () => {
|
||||
let i2 = 0;
|
||||
return {
|
||||
next() {
|
||||
if (i2 < 2) {
|
||||
return { value: i2++ ? props[modifierKey] || {} : res, done: false };
|
||||
} else {
|
||||
return { done: true };
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
return res;
|
||||
}
|
||||
|
||||
function h(type, propsOrChildren, children) {
|
||||
const l = arguments.length;
|
||||
if (l === 2) {
|
||||
@@ -6255,7 +6279,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.4.5";
|
||||
const version = "3.4.15";
|
||||
const warn$1 = shared.NOOP;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = void 0;
|
||||
|
||||
7
.output/server/node_modules/@vue/runtime-core/package.json
generated
vendored
7
.output/server/node_modules/@vue/runtime-core/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/runtime-core",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/runtime-core",
|
||||
"main": "index.js",
|
||||
"module": "dist/runtime-core.esm-bundler.js",
|
||||
@@ -17,6 +17,7 @@
|
||||
"development": "./dist/runtime-core.cjs.js",
|
||||
"default": "./dist/runtime-core.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/runtime-core.esm-bundler.js",
|
||||
"import": "./dist/runtime-core.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -45,7 +46,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/reactivity": "3.4.5"
|
||||
"@vue/shared": "3.4.15",
|
||||
"@vue/reactivity": "3.4.15"
|
||||
}
|
||||
}
|
||||
46
.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
generated
vendored
46
.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -407,6 +412,7 @@ function useCssVars(getter) {
|
||||
|
||||
function patchStyle(el, prev, next) {
|
||||
const style = el.style;
|
||||
const currentDisplay = style.display;
|
||||
const isCssString = shared.isString(next);
|
||||
if (next && !isCssString) {
|
||||
if (prev && !shared.isString(prev)) {
|
||||
@@ -420,7 +426,6 @@ function patchStyle(el, prev, next) {
|
||||
setStyle(style, key, next[key]);
|
||||
}
|
||||
} else {
|
||||
const currentDisplay = style.display;
|
||||
if (isCssString) {
|
||||
if (prev !== next) {
|
||||
const cssVarText = style[CSS_VAR_TEXT];
|
||||
@@ -432,9 +437,9 @@ function patchStyle(el, prev, next) {
|
||||
} else if (prev) {
|
||||
el.removeAttribute("style");
|
||||
}
|
||||
if (vShowOldKey in el) {
|
||||
style.display = currentDisplay;
|
||||
}
|
||||
}
|
||||
if (vShowOldKey in el) {
|
||||
style.display = currentDisplay;
|
||||
}
|
||||
}
|
||||
const importantRE = /\s*!important$/;
|
||||
@@ -1163,32 +1168,49 @@ const vModelSelect = {
|
||||
el[assignKey](
|
||||
el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
||||
);
|
||||
el._assigning = true;
|
||||
runtimeCore.nextTick(() => {
|
||||
el._assigning = false;
|
||||
});
|
||||
});
|
||||
el[assignKey] = getModelAssigner(vnode);
|
||||
},
|
||||
// set value in mounted & updated because <select> relies on its children
|
||||
// <option>s.
|
||||
mounted(el, { value }) {
|
||||
setSelected(el, value);
|
||||
mounted(el, { value, oldValue, modifiers: { number } }) {
|
||||
setSelected(el, value, oldValue, number);
|
||||
},
|
||||
beforeUpdate(el, _binding, vnode) {
|
||||
el[assignKey] = getModelAssigner(vnode);
|
||||
},
|
||||
updated(el, { value }) {
|
||||
setSelected(el, value);
|
||||
updated(el, { value, oldValue, modifiers: { number } }) {
|
||||
if (!el._assigning) {
|
||||
setSelected(el, value, oldValue, number);
|
||||
}
|
||||
}
|
||||
};
|
||||
function setSelected(el, value) {
|
||||
function setSelected(el, value, oldValue, number) {
|
||||
const isMultiple = el.multiple;
|
||||
if (isMultiple && !shared.isArray(value) && !shared.isSet(value)) {
|
||||
const isArrayValue = shared.isArray(value);
|
||||
if (isMultiple && !isArrayValue && !shared.isSet(value)) {
|
||||
return;
|
||||
}
|
||||
if (isArrayValue && shared.looseEqual(value, oldValue)) {
|
||||
return;
|
||||
}
|
||||
for (let i = 0, l = el.options.length; i < l; i++) {
|
||||
const option = el.options[i];
|
||||
const optionValue = getValue(option);
|
||||
if (isMultiple) {
|
||||
if (shared.isArray(value)) {
|
||||
option.selected = shared.looseIndexOf(value, optionValue) > -1;
|
||||
if (isArrayValue) {
|
||||
const optionType = typeof optionValue;
|
||||
if (optionType === "string" || optionType === "number") {
|
||||
option.selected = value.includes(
|
||||
number ? shared.looseToNumber(optionValue) : optionValue
|
||||
);
|
||||
} else {
|
||||
option.selected = shared.looseIndexOf(value, optionValue) > -1;
|
||||
}
|
||||
} else {
|
||||
option.selected = value.has(optionValue);
|
||||
}
|
||||
|
||||
7
.output/server/node_modules/@vue/runtime-dom/package.json
generated
vendored
7
.output/server/node_modules/@vue/runtime-dom/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/runtime-dom",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/runtime-dom",
|
||||
"main": "index.js",
|
||||
"module": "dist/runtime-dom.esm-bundler.js",
|
||||
@@ -18,6 +18,7 @@
|
||||
"development": "./dist/runtime-dom.cjs.js",
|
||||
"default": "./dist/runtime-dom.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/runtime-dom.esm-bundler.js",
|
||||
"import": "./dist/runtime-dom.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -49,7 +50,7 @@
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
||||
"dependencies": {
|
||||
"csstype": "^3.1.3",
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/runtime-core": "3.4.5"
|
||||
"@vue/shared": "3.4.15",
|
||||
"@vue/runtime-core": "3.4.15"
|
||||
}
|
||||
}
|
||||
19
.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js
generated
vendored
19
.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/server-renderer v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -40,7 +45,7 @@ function ssrRenderAttrs(props, tag) {
|
||||
return ret;
|
||||
}
|
||||
function ssrRenderDynamicAttr(key, value, tag) {
|
||||
if (!isRenderableValue(value)) {
|
||||
if (!shared.isRenderableAttrValue(value)) {
|
||||
return ``;
|
||||
}
|
||||
const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
|
||||
@@ -56,18 +61,11 @@ function ssrRenderDynamicAttr(key, value, tag) {
|
||||
}
|
||||
}
|
||||
function ssrRenderAttr(key, value) {
|
||||
if (!isRenderableValue(value)) {
|
||||
if (!shared.isRenderableAttrValue(value)) {
|
||||
return ``;
|
||||
}
|
||||
return ` ${key}="${shared.escapeHtml(value)}"`;
|
||||
}
|
||||
function isRenderableValue(value) {
|
||||
if (value == null) {
|
||||
return false;
|
||||
}
|
||||
const type = typeof value;
|
||||
return type === "string" || type === "number" || type === "boolean";
|
||||
}
|
||||
function ssrRenderClass(raw) {
|
||||
return shared.escapeHtml(shared.normalizeClass(raw));
|
||||
}
|
||||
@@ -371,8 +369,7 @@ function renderComponentVNode(vnode, parentComponent = null, slotScopeId) {
|
||||
() => Promise.all(
|
||||
prefetches.map((prefetch) => prefetch.call(instance.proxy))
|
||||
)
|
||||
).catch(() => {
|
||||
});
|
||||
).catch(shared.NOOP);
|
||||
}
|
||||
return p.then(() => renderComponentSubTree(instance, slotScopeId));
|
||||
} else {
|
||||
|
||||
9
.output/server/node_modules/@vue/server-renderer/package.json
generated
vendored
9
.output/server/node_modules/@vue/server-renderer/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/server-renderer",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "@vue/server-renderer",
|
||||
"main": "index.js",
|
||||
"module": "dist/server-renderer.esm-bundler.js",
|
||||
@@ -17,6 +17,7 @@
|
||||
"development": "./dist/server-renderer.cjs.js",
|
||||
"default": "./dist/server-renderer.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/server-renderer.esm-bundler.js",
|
||||
"import": "./dist/server-renderer.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
@@ -45,10 +46,10 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
||||
"peerDependencies": {
|
||||
"vue": "3.4.5"
|
||||
"vue": "3.4.15"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/compiler-ssr": "3.4.5"
|
||||
"@vue/compiler-ssr": "3.4.15",
|
||||
"@vue/shared": "3.4.15"
|
||||
}
|
||||
}
|
||||
13
.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js
generated
vendored
13
.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @vue/shared v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
@@ -350,6 +355,13 @@ const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
|
||||
const isKnownSvgAttr = /* @__PURE__ */ makeMap(
|
||||
`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
|
||||
);
|
||||
function isRenderableAttrValue(value) {
|
||||
if (value == null) {
|
||||
return false;
|
||||
}
|
||||
const type = typeof value;
|
||||
return type === "string" || type === "number" || type === "boolean";
|
||||
}
|
||||
|
||||
const escapeRE = /["'&<>]/;
|
||||
function escapeHtml(string) {
|
||||
@@ -520,6 +532,7 @@ exports.isOn = isOn;
|
||||
exports.isPlainObject = isPlainObject;
|
||||
exports.isPromise = isPromise;
|
||||
exports.isRegExp = isRegExp;
|
||||
exports.isRenderableAttrValue = isRenderableAttrValue;
|
||||
exports.isReservedProp = isReservedProp;
|
||||
exports.isSSRSafeAttrName = isSSRSafeAttrName;
|
||||
exports.isSVGTag = isSVGTag;
|
||||
|
||||
3
.output/server/node_modules/@vue/shared/package.json
generated
vendored
3
.output/server/node_modules/@vue/shared/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/shared",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "internal utils shared across @vue packages",
|
||||
"main": "index.js",
|
||||
"module": "dist/shared.esm-bundler.js",
|
||||
@@ -17,6 +17,7 @@
|
||||
"development": "./dist/shared.cjs.js",
|
||||
"default": "./dist/shared.cjs.prod.js"
|
||||
},
|
||||
"module": "./dist/shared.esm-bundler.js",
|
||||
"import": "./dist/shared.esm-bundler.js",
|
||||
"require": "./index.js"
|
||||
},
|
||||
|
||||
8
.output/server/node_modules/axios/lib/adapters/http.js
generated
vendored
8
.output/server/node_modules/axios/lib/adapters/http.js
generated
vendored
@@ -53,12 +53,12 @@ const supportedProtocols = platform.protocols.map(protocol => {
|
||||
*
|
||||
* @returns {Object<string, any>}
|
||||
*/
|
||||
function dispatchBeforeRedirect(options) {
|
||||
function dispatchBeforeRedirect(options, responseDetails) {
|
||||
if (options.beforeRedirects.proxy) {
|
||||
options.beforeRedirects.proxy(options);
|
||||
}
|
||||
if (options.beforeRedirects.config) {
|
||||
options.beforeRedirects.config(options);
|
||||
options.beforeRedirects.config(options, responseDetails);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,6 +171,10 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
|
||||
// hotfix to support opt.all option which is required for node 20.x
|
||||
lookup = (hostname, opt, cb) => {
|
||||
_lookup(hostname, opt, (err, arg0, arg1) => {
|
||||
if (err) {
|
||||
return cb(err);
|
||||
}
|
||||
|
||||
const addresses = utils.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
|
||||
|
||||
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
||||
|
||||
26
.output/server/node_modules/axios/lib/core/Axios.js
generated
vendored
26
.output/server/node_modules/axios/lib/core/Axios.js
generated
vendored
@@ -35,7 +35,31 @@ class Axios {
|
||||
*
|
||||
* @returns {Promise} The Promise to be fulfilled
|
||||
*/
|
||||
request(configOrUrl, config) {
|
||||
async request(configOrUrl, config) {
|
||||
try {
|
||||
return await this._request(configOrUrl, config);
|
||||
} catch (err) {
|
||||
if (err instanceof Error) {
|
||||
let dummy;
|
||||
|
||||
Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());
|
||||
|
||||
// slice off the Error: ... line
|
||||
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
||||
|
||||
if (!err.stack) {
|
||||
err.stack = stack;
|
||||
// match without the 2 top stack lines
|
||||
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
||||
err.stack += '\n' + stack
|
||||
}
|
||||
}
|
||||
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
_request(configOrUrl, config) {
|
||||
/*eslint no-param-reassign:0*/
|
||||
// Allow for axios('example/url'[, config]) a la fetch API
|
||||
if (typeof configOrUrl === 'string') {
|
||||
|
||||
3
.output/server/node_modules/axios/lib/defaults/index.js
generated
vendored
3
.output/server/node_modules/axios/lib/defaults/index.js
generated
vendored
@@ -51,9 +51,6 @@ const defaults = {
|
||||
const isFormData = utils.isFormData(data);
|
||||
|
||||
if (isFormData) {
|
||||
if (!hasJSONContentType) {
|
||||
return data;
|
||||
}
|
||||
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
||||
}
|
||||
|
||||
|
||||
2
.output/server/node_modules/axios/lib/env/data.js
generated
vendored
2
.output/server/node_modules/axios/lib/env/data.js
generated
vendored
@@ -1 +1 @@
|
||||
export const VERSION = "1.6.4";
|
||||
export const VERSION = "1.6.7";
|
||||
2
.output/server/node_modules/axios/package.json
generated
vendored
2
.output/server/node_modules/axios/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "axios",
|
||||
"version": "1.6.4",
|
||||
"version": "1.6.7",
|
||||
"description": "Promise based HTTP client for the browser and node.js",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
|
||||
2
.output/server/node_modules/call-bind/index.js
generated
vendored
2
.output/server/node_modules/call-bind/index.js
generated
vendored
@@ -4,7 +4,7 @@ var bind = require('function-bind');
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
var setFunctionLength = require('set-function-length');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
||||
var $call = GetIntrinsic('%Function.prototype.call%');
|
||||
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
||||
|
||||
16
.output/server/node_modules/call-bind/package.json
generated
vendored
16
.output/server/node_modules/call-bind/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "call-bind",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "Robustly `.call.bind()` a function",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
@@ -51,7 +51,7 @@
|
||||
"homepage": "https://github.com/ljharb/call-bind#readme",
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"aud": "^2.0.3",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"es-value-fixtures": "^1.4.2",
|
||||
"eslint": "=8.8.0",
|
||||
@@ -60,16 +60,17 @@
|
||||
"gopd": "^1.0.1",
|
||||
"has-strict-mode": "^1.0.1",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.0",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.13.1",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.1"
|
||||
"tape": "^5.7.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"get-intrinsic": "^1.2.1",
|
||||
"set-function-length": "^1.1.1"
|
||||
"get-intrinsic": "^1.2.3",
|
||||
"set-function-length": "^1.2.0"
|
||||
},
|
||||
"testling": {
|
||||
"files": "test/index.js"
|
||||
@@ -86,5 +87,8 @@
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
}
|
||||
4
.output/server/node_modules/define-data-property/index.js
generated
vendored
4
.output/server/node_modules/define-data-property/index.js
generated
vendored
@@ -14,8 +14,8 @@ if ($defineProperty) {
|
||||
}
|
||||
}
|
||||
|
||||
var $SyntaxError = GetIntrinsic('%SyntaxError%');
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $SyntaxError = require('es-errors/syntax');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
var gopd = require('gopd');
|
||||
|
||||
|
||||
37
.output/server/node_modules/define-data-property/package.json
generated
vendored
37
.output/server/node_modules/define-data-property/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "define-data-property",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
@@ -56,37 +56,38 @@
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/define-data-property#readme",
|
||||
"dependencies": {
|
||||
"get-intrinsic": "^1.2.1",
|
||||
"es-errors": "^1.3.0",
|
||||
"get-intrinsic": "^1.2.2",
|
||||
"gopd": "^1.0.1",
|
||||
"has-property-descriptors": "^1.0.0"
|
||||
"has-property-descriptors": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"@types/es-value-fixtures": "^1.4.1",
|
||||
"@types/for-each": "^0.3.1",
|
||||
"@types/get-intrinsic": "^1.2.0",
|
||||
"@types/gopd": "^1.0.1",
|
||||
"@types/has": "^1.0.0",
|
||||
"@types/has-property-descriptors": "^1.0.1",
|
||||
"@types/object-inspect": "^1.8.2",
|
||||
"@types/object.getownpropertydescriptors": "^2.1.2",
|
||||
"@types/tape": "^5.6.1",
|
||||
"aud": "^2.0.3",
|
||||
"@types/es-value-fixtures": "^1.4.4",
|
||||
"@types/for-each": "^0.3.3",
|
||||
"@types/get-intrinsic": "^1.2.2",
|
||||
"@types/gopd": "^1.0.3",
|
||||
"@types/has": "^1.0.1",
|
||||
"@types/has-property-descriptors": "^1.0.3",
|
||||
"@types/object-inspect": "^1.8.4",
|
||||
"@types/object.getownpropertydescriptors": "^2.1.3",
|
||||
"@types/tape": "^5.6.4",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"es-value-fixtures": "^1.4.2",
|
||||
"eslint": "=8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"for-each": "^0.3.3",
|
||||
"has": "^1.0.3",
|
||||
"hasown": "^2.0.0",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.0",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.12.3",
|
||||
"object-inspect": "^1.13.1",
|
||||
"object.getownpropertydescriptors": "^2.1.7",
|
||||
"reflect.ownkeys": "^1.1.4",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.1",
|
||||
"typescript": "^5.3.0-dev.20231012"
|
||||
"tape": "^5.7.4",
|
||||
"typescript": "next"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
|
||||
4
.output/server/node_modules/es-errors/eval.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/eval.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./eval')} */
|
||||
module.exports = EvalError;
|
||||
4
.output/server/node_modules/es-errors/index.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/index.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('.')} */
|
||||
module.exports = Error;
|
||||
80
.output/server/node_modules/es-errors/package.json
generated
vendored
Normal file
80
.output/server/node_modules/es-errors/package.json
generated
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"name": "es-errors",
|
||||
"version": "1.3.0",
|
||||
"description": "A simple cache for a few of the JS Error constructors.",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./eval": "./eval.js",
|
||||
"./range": "./range.js",
|
||||
"./ref": "./ref.js",
|
||||
"./syntax": "./syntax.js",
|
||||
"./type": "./type.js",
|
||||
"./uri": "./uri.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run tests-only",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"posttest": "aud --production",
|
||||
"prelint": "evalmd README.md",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
|
||||
"version": "auto-changelog && git add CHANGELOG.md",
|
||||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ljharb/es-errors.git"
|
||||
},
|
||||
"keywords": [
|
||||
"javascript",
|
||||
"ecmascript",
|
||||
"error",
|
||||
"typeerror",
|
||||
"syntaxerror",
|
||||
"rangeerror"
|
||||
],
|
||||
"author": "Jordan Harband <ljharb@gmail.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ljharb/es-errors/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/es-errors#readme",
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"@types/tape": "^5.6.4",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"eclint": "^2.8.1",
|
||||
"eslint": "^8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.4",
|
||||
"typescript": "next"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
"template": "keepachangelog",
|
||||
"unreleased": false,
|
||||
"commitLimit": false,
|
||||
"backfillLimit": false,
|
||||
"hideCredit": true
|
||||
},
|
||||
"publishConfig": {
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
}
|
||||
4
.output/server/node_modules/es-errors/range.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/range.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./range')} */
|
||||
module.exports = RangeError;
|
||||
4
.output/server/node_modules/es-errors/ref.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/ref.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./ref')} */
|
||||
module.exports = ReferenceError;
|
||||
4
.output/server/node_modules/es-errors/syntax.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/syntax.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./syntax')} */
|
||||
module.exports = SyntaxError;
|
||||
4
.output/server/node_modules/es-errors/type.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/type.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./type')} */
|
||||
module.exports = TypeError;
|
||||
4
.output/server/node_modules/es-errors/uri.js
generated
vendored
Normal file
4
.output/server/node_modules/es-errors/uri.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
/** @type {import('./uri')} */
|
||||
module.exports = URIError;
|
||||
1
.output/server/node_modules/follow-redirects/index.js
generated
vendored
1
.output/server/node_modules/follow-redirects/index.js
generated
vendored
@@ -27,6 +27,7 @@ var preservedUrlFields = [
|
||||
"protocol",
|
||||
"query",
|
||||
"search",
|
||||
"hash",
|
||||
];
|
||||
|
||||
// Create handlers that pass events from native requests
|
||||
|
||||
2
.output/server/node_modules/follow-redirects/package.json
generated
vendored
2
.output/server/node_modules/follow-redirects/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "follow-redirects",
|
||||
"version": "1.15.4",
|
||||
"version": "1.15.5",
|
||||
"description": "HTTP and HTTPS modules that follow redirects.",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
|
||||
22
.output/server/node_modules/get-intrinsic/index.js
generated
vendored
22
.output/server/node_modules/get-intrinsic/index.js
generated
vendored
@@ -2,9 +2,15 @@
|
||||
|
||||
var undefined;
|
||||
|
||||
var $SyntaxError = SyntaxError;
|
||||
var $Error = require('es-errors');
|
||||
var $EvalError = require('es-errors/eval');
|
||||
var $RangeError = require('es-errors/range');
|
||||
var $ReferenceError = require('es-errors/ref');
|
||||
var $SyntaxError = require('es-errors/syntax');
|
||||
var $TypeError = require('es-errors/type');
|
||||
var $URIError = require('es-errors/uri');
|
||||
|
||||
var $Function = Function;
|
||||
var $TypeError = TypeError;
|
||||
|
||||
// eslint-disable-next-line consistent-return
|
||||
var getEvalledConstructor = function (expressionSyntax) {
|
||||
@@ -56,6 +62,7 @@ var needsEval = {};
|
||||
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
||||
|
||||
var INTRINSICS = {
|
||||
__proto__: null,
|
||||
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
||||
'%Array%': Array,
|
||||
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
||||
@@ -76,9 +83,9 @@ var INTRINSICS = {
|
||||
'%decodeURIComponent%': decodeURIComponent,
|
||||
'%encodeURI%': encodeURI,
|
||||
'%encodeURIComponent%': encodeURIComponent,
|
||||
'%Error%': Error,
|
||||
'%Error%': $Error,
|
||||
'%eval%': eval, // eslint-disable-line no-eval
|
||||
'%EvalError%': EvalError,
|
||||
'%EvalError%': $EvalError,
|
||||
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
||||
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
||||
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
||||
@@ -100,8 +107,8 @@ var INTRINSICS = {
|
||||
'%parseInt%': parseInt,
|
||||
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
||||
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
||||
'%RangeError%': RangeError,
|
||||
'%ReferenceError%': ReferenceError,
|
||||
'%RangeError%': $RangeError,
|
||||
'%ReferenceError%': $ReferenceError,
|
||||
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
||||
'%RegExp%': RegExp,
|
||||
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
||||
@@ -118,7 +125,7 @@ var INTRINSICS = {
|
||||
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
||||
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
||||
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
||||
'%URIError%': URIError,
|
||||
'%URIError%': $URIError,
|
||||
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
||||
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
||||
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
||||
@@ -160,6 +167,7 @@ var doEval = function doEval(name) {
|
||||
};
|
||||
|
||||
var LEGACY_ALIASES = {
|
||||
__proto__: null,
|
||||
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
||||
'%ArrayPrototype%': ['Array', 'prototype'],
|
||||
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
||||
|
||||
24
.output/server/node_modules/get-intrinsic/package.json
generated
vendored
24
.output/server/node_modules/get-intrinsic/package.json
generated
vendored
@@ -1,17 +1,13 @@
|
||||
{
|
||||
"name": "get-intrinsic",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.4",
|
||||
"description": "Get and robustly cache all JS language-level intrinsics at first require time",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": [
|
||||
{
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./index.js"
|
||||
],
|
||||
".": "./index.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
@@ -49,10 +45,10 @@
|
||||
"homepage": "https://github.com/ljharb/get-intrinsic#readme",
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"aud": "^2.0.3",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"call-bind": "^1.0.5",
|
||||
"es-abstract": "^1.22.2",
|
||||
"es-abstract": "^1.22.3",
|
||||
"es-value-fixtures": "^1.4.2",
|
||||
"eslint": "=8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
@@ -61,12 +57,12 @@
|
||||
"make-async-function": "^1.0.0",
|
||||
"make-async-generator-function": "^1.0.0",
|
||||
"make-generator-function": "^2.0.0",
|
||||
"mock-property": "^1.0.2",
|
||||
"npmignore": "^0.3.0",
|
||||
"mock-property": "^1.0.3",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.13.1",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.2"
|
||||
"tape": "^5.7.4"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
@@ -77,6 +73,7 @@
|
||||
"hideCredit": true
|
||||
},
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"has-proto": "^1.0.1",
|
||||
"has-symbols": "^1.0.3",
|
||||
@@ -89,5 +86,8 @@
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
}
|
||||
9
.output/server/node_modules/set-function-length/index.js
generated
vendored
9
.output/server/node_modules/set-function-length/index.js
generated
vendored
@@ -5,9 +5,12 @@ var define = require('define-data-property');
|
||||
var hasDescriptors = require('has-property-descriptors')();
|
||||
var gOPD = require('gopd');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
var $floor = GetIntrinsic('%Math.floor%');
|
||||
|
||||
/** @typedef {(...args: unknown[]) => unknown} Func */
|
||||
|
||||
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
||||
module.exports = function setFunctionLength(fn, length) {
|
||||
if (typeof fn !== 'function') {
|
||||
throw new $TypeError('`fn` is not a function');
|
||||
@@ -32,9 +35,9 @@ module.exports = function setFunctionLength(fn, length) {
|
||||
|
||||
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
||||
if (hasDescriptors) {
|
||||
define(fn, 'length', length, true, true);
|
||||
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
||||
} else {
|
||||
define(fn, 'length', length);
|
||||
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
||||
}
|
||||
}
|
||||
return fn;
|
||||
|
||||
46
.output/server/node_modules/set-function-length/package.json
generated
vendored
46
.output/server/node_modules/set-function-length/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "set-function-length",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.1",
|
||||
"description": "Set a function's length property",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
@@ -8,15 +8,21 @@
|
||||
"./env": "./env.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"directories": {
|
||||
"test": "test"
|
||||
},
|
||||
"scripts": {
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated && npm run emit",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"tsc": "tsc -p .",
|
||||
"preemit": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
|
||||
"emit": "npm run tsc -- --noEmit false --emitDeclarationOnly",
|
||||
"postemit": "rm test/*.ts test/*.ts.map",
|
||||
"prelint": "evalmd README.md",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"postlint": "npm run tsc",
|
||||
"pretest": "npm run lint",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"test": "npm run tests-only",
|
||||
@@ -42,27 +48,39 @@
|
||||
"url": "https://github.com/ljharb/set-function-length/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/set-function-length#readme",
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.1.2",
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"get-intrinsic": "^1.2.3",
|
||||
"gopd": "^1.0.1",
|
||||
"has-property-descriptors": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"aud": "^2.0.3",
|
||||
"@types/call-bind": "^1.0.5",
|
||||
"@types/define-properties": "^1.1.5",
|
||||
"@types/es-value-fixtures": "^1.4.4",
|
||||
"@types/for-each": "^0.3.3",
|
||||
"@types/function-bind": "^1.1.10",
|
||||
"@types/gopd": "^1.0.3",
|
||||
"@types/has-property-descriptors": "^1.0.3",
|
||||
"@types/object-inspect": "^1.8.4",
|
||||
"@types/tape": "^5.6.4",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"call-bind": "^1.0.4",
|
||||
"call-bind": "^1.0.6",
|
||||
"es-value-fixtures": "^1.4.2",
|
||||
"eslint": "=8.8.0",
|
||||
"evalmd": "^0.0.19",
|
||||
"for-each": "^0.3.3",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.0",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"object-inspect": "^1.13.1",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"define-data-property": "^1.1.1",
|
||||
"get-intrinsic": "^1.2.1",
|
||||
"gopd": "^1.0.1",
|
||||
"has-property-descriptors": "^1.0.0"
|
||||
"tape": "^5.7.4",
|
||||
"typescript": "next"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
@@ -78,7 +96,9 @@
|
||||
"publishConfig": {
|
||||
"ignore": [
|
||||
".github/workflows",
|
||||
"test"
|
||||
"test",
|
||||
"!*.d.ts",
|
||||
"!*.d.ts.map"
|
||||
]
|
||||
}
|
||||
}
|
||||
19
.output/server/node_modules/side-channel/index.js
generated
vendored
19
.output/server/node_modules/side-channel/index.js
generated
vendored
@@ -4,7 +4,7 @@ var GetIntrinsic = require('get-intrinsic');
|
||||
var callBound = require('call-bind/callBound');
|
||||
var inspect = require('object-inspect');
|
||||
|
||||
var $TypeError = GetIntrinsic('%TypeError%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
||||
var $Map = GetIntrinsic('%Map%', true);
|
||||
|
||||
@@ -16,13 +16,10 @@ var $mapSet = callBound('Map.prototype.set', true);
|
||||
var $mapHas = callBound('Map.prototype.has', true);
|
||||
|
||||
/*
|
||||
* This function traverses the list returning the node corresponding to the
|
||||
* given key.
|
||||
*
|
||||
* That node is also moved to the head of the list, so that if it's accessed
|
||||
* again we don't need to traverse the whole list. By doing so, all the recently
|
||||
* used nodes can be accessed relatively quickly.
|
||||
*/
|
||||
* This function traverses the list returning the node corresponding to the given key.
|
||||
*
|
||||
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
|
||||
*/
|
||||
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
||||
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
||||
if (curr.key === key) {
|
||||
@@ -109,11 +106,7 @@ module.exports = function getSideChannel() {
|
||||
$mapSet($m, key, value);
|
||||
} else {
|
||||
if (!$o) {
|
||||
/*
|
||||
* Initialize the linked list as an empty node, so that we don't have
|
||||
* to special-case handling of the first node: we can always refer to
|
||||
* it as (previous node).next, instead of something like (list).head
|
||||
*/
|
||||
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
||||
$o = { key: {}, next: null };
|
||||
}
|
||||
listSet($o, key, value);
|
||||
|
||||
41
.output/server/node_modules/side-channel/package.json
generated
vendored
41
.output/server/node_modules/side-channel/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "side-channel",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
@@ -13,12 +13,15 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"prepublish": "safe-publish-latest",
|
||||
"lint": "eslint .",
|
||||
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||||
"prepublishOnly": "safe-publish-latest",
|
||||
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||||
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
|
||||
"lint": "eslint --ext=js,mjs .",
|
||||
"pretest": "npm run lint",
|
||||
"tests-only": "nyc tape 'test/**/*.js'",
|
||||
"test": "npm run tests-only",
|
||||
"posttest": "npx aud --production",
|
||||
"posttest": "aud --production",
|
||||
"version": "auto-changelog && git add CHANGELOG.md",
|
||||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
||||
},
|
||||
@@ -43,18 +46,22 @@
|
||||
},
|
||||
"homepage": "https://github.com/ljharb/side-channel#readme",
|
||||
"devDependencies": {
|
||||
"@ljharb/eslint-config": "^17.3.0",
|
||||
"aud": "^1.1.3",
|
||||
"auto-changelog": "^2.2.1",
|
||||
"eslint": "^7.16.0",
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"eclint": "^2.8.1",
|
||||
"eslint": "=8.8.0",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^1.1.4",
|
||||
"tape": "^5.0.1"
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.7.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.0",
|
||||
"get-intrinsic": "^1.0.2",
|
||||
"object-inspect": "^1.9.0"
|
||||
"call-bind": "^1.0.6",
|
||||
"es-errors": "^1.3.0",
|
||||
"get-intrinsic": "^1.2.4",
|
||||
"object-inspect": "^1.13.1"
|
||||
},
|
||||
"auto-changelog": {
|
||||
"output": "CHANGELOG.md",
|
||||
@@ -63,5 +70,13 @@
|
||||
"commitLimit": false,
|
||||
"backfillLimit": false,
|
||||
"hideCredit": true
|
||||
},
|
||||
"publishConfig": {
|
||||
"ignore": [
|
||||
".github/workflows"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
}
|
||||
4
.output/server/node_modules/sortablejs/Sortable.min.js
generated
vendored
4
.output/server/node_modules/sortablejs/Sortable.min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
.output/server/node_modules/sortablejs/package.json
generated
vendored
2
.output/server/node_modules/sortablejs/package.json
generated
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "sortablejs",
|
||||
"exportName": "Sortable",
|
||||
"version": "1.15.1",
|
||||
"version": "1.15.2",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.4.4",
|
||||
"@babel/plugin-transform-object-assign": "^7.2.0",
|
||||
|
||||
530
.output/server/node_modules/ufo/dist/index.mjs
generated
vendored
530
.output/server/node_modules/ufo/dist/index.mjs
generated
vendored
@@ -110,7 +110,7 @@ function encodeHash(text) {
|
||||
return encode(text).replace(ENC_CURLY_OPEN_RE, "{").replace(ENC_CURLY_CLOSE_RE, "}").replace(ENC_CARET_RE, "^");
|
||||
}
|
||||
function encodeQueryValue(input) {
|
||||
return encode(typeof input === "string" ? input : JSON.stringify(input)).replace(PLUS_RE, "%2B").replace(ENC_SPACE_RE, "+").replace(HASH_RE, "%23").replace(AMPERSAND_RE, "%26").replace(ENC_BACKTICK_RE, "`").replace(ENC_CARET_RE, "^");
|
||||
return encode(typeof input === "string" ? input : JSON.stringify(input)).replace(PLUS_RE, "%2B").replace(ENC_SPACE_RE, "+").replace(HASH_RE, "%23").replace(AMPERSAND_RE, "%26").replace(ENC_BACKTICK_RE, "`").replace(ENC_CARET_RE, "^").replace(SLASH_RE, "%2F");
|
||||
}
|
||||
function encodeQueryKey(text) {
|
||||
return encodeQueryValue(text).replace(EQUAL_RE, "%3D");
|
||||
@@ -182,6 +182,291 @@ function stringifyQuery(query) {
|
||||
return Object.keys(query).filter((k) => query[k] !== void 0).map((k) => encodeQueryItem(k, query[k])).filter(Boolean).join("&");
|
||||
}
|
||||
|
||||
const PROTOCOL_STRICT_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/;
|
||||
const PROTOCOL_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{2})?/;
|
||||
const PROTOCOL_RELATIVE_REGEX = /^([/\\]\s*){2,}[^/\\]/;
|
||||
const PROTOCOL_SCRIPT_RE = /^[\s\0]*(blob|data|javascript|vbscript):$/i;
|
||||
const TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
|
||||
const JOIN_LEADING_SLASH_RE = /^\.?\//;
|
||||
function isRelative(inputString) {
|
||||
return ["./", "../"].some((string_) => inputString.startsWith(string_));
|
||||
}
|
||||
function hasProtocol(inputString, opts = {}) {
|
||||
if (typeof opts === "boolean") {
|
||||
opts = { acceptRelative: opts };
|
||||
}
|
||||
if (opts.strict) {
|
||||
return PROTOCOL_STRICT_REGEX.test(inputString);
|
||||
}
|
||||
return PROTOCOL_REGEX.test(inputString) || (opts.acceptRelative ? PROTOCOL_RELATIVE_REGEX.test(inputString) : false);
|
||||
}
|
||||
function isScriptProtocol(protocol) {
|
||||
return !!protocol && PROTOCOL_SCRIPT_RE.test(protocol);
|
||||
}
|
||||
function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return input.endsWith("/");
|
||||
}
|
||||
return TRAILING_SLASH_RE.test(input);
|
||||
}
|
||||
function withoutTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || "/";
|
||||
}
|
||||
if (!hasTrailingSlash(input, true)) {
|
||||
return input || "/";
|
||||
}
|
||||
let path = input;
|
||||
let fragment = "";
|
||||
const fragmentIndex = input.indexOf("#");
|
||||
if (fragmentIndex >= 0) {
|
||||
path = input.slice(0, fragmentIndex);
|
||||
fragment = input.slice(fragmentIndex);
|
||||
}
|
||||
const [s0, ...s] = path.split("?");
|
||||
return (s0.slice(0, -1) || "/") + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
||||
}
|
||||
function withTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return input.endsWith("/") ? input : input + "/";
|
||||
}
|
||||
if (hasTrailingSlash(input, true)) {
|
||||
return input || "/";
|
||||
}
|
||||
let path = input;
|
||||
let fragment = "";
|
||||
const fragmentIndex = input.indexOf("#");
|
||||
if (fragmentIndex >= 0) {
|
||||
path = input.slice(0, fragmentIndex);
|
||||
fragment = input.slice(fragmentIndex);
|
||||
if (!path) {
|
||||
return fragment;
|
||||
}
|
||||
}
|
||||
const [s0, ...s] = path.split("?");
|
||||
return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
||||
}
|
||||
function hasLeadingSlash(input = "") {
|
||||
return input.startsWith("/");
|
||||
}
|
||||
function withoutLeadingSlash(input = "") {
|
||||
return (hasLeadingSlash(input) ? input.slice(1) : input) || "/";
|
||||
}
|
||||
function withLeadingSlash(input = "") {
|
||||
return hasLeadingSlash(input) ? input : "/" + input;
|
||||
}
|
||||
function cleanDoubleSlashes(input = "") {
|
||||
return input.split("://").map((string_) => string_.replace(/\/{2,}/g, "/")).join("://");
|
||||
}
|
||||
function withBase(input, base) {
|
||||
if (isEmptyURL(base) || hasProtocol(input)) {
|
||||
return input;
|
||||
}
|
||||
const _base = withoutTrailingSlash(base);
|
||||
if (input.startsWith(_base)) {
|
||||
return input;
|
||||
}
|
||||
return joinURL(_base, input);
|
||||
}
|
||||
function withoutBase(input, base) {
|
||||
if (isEmptyURL(base)) {
|
||||
return input;
|
||||
}
|
||||
const _base = withoutTrailingSlash(base);
|
||||
if (!input.startsWith(_base)) {
|
||||
return input;
|
||||
}
|
||||
const trimmed = input.slice(_base.length);
|
||||
return trimmed[0] === "/" ? trimmed : "/" + trimmed;
|
||||
}
|
||||
function withQuery(input, query) {
|
||||
const parsed = parseURL(input);
|
||||
const mergedQuery = { ...parseQuery(parsed.search), ...query };
|
||||
parsed.search = stringifyQuery(mergedQuery);
|
||||
return stringifyParsedURL(parsed);
|
||||
}
|
||||
function getQuery(input) {
|
||||
return parseQuery(parseURL(input).search);
|
||||
}
|
||||
function isEmptyURL(url) {
|
||||
return !url || url === "/";
|
||||
}
|
||||
function isNonEmptyURL(url) {
|
||||
return url && url !== "/";
|
||||
}
|
||||
function joinURL(base, ...input) {
|
||||
let url = base || "";
|
||||
for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
|
||||
if (url) {
|
||||
const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
|
||||
url = withTrailingSlash(url) + _segment;
|
||||
} else {
|
||||
url = segment;
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
function withHttp(input) {
|
||||
return withProtocol(input, "http://");
|
||||
}
|
||||
function withHttps(input) {
|
||||
return withProtocol(input, "https://");
|
||||
}
|
||||
function withoutProtocol(input) {
|
||||
return withProtocol(input, "");
|
||||
}
|
||||
function withProtocol(input, protocol) {
|
||||
const match = input.match(PROTOCOL_REGEX);
|
||||
if (!match) {
|
||||
return protocol + input;
|
||||
}
|
||||
return protocol + input.slice(match[0].length);
|
||||
}
|
||||
function normalizeURL(input) {
|
||||
const parsed = parseURL(input);
|
||||
parsed.pathname = encodePath(decodePath(parsed.pathname));
|
||||
parsed.hash = encodeHash(decode(parsed.hash));
|
||||
parsed.host = encodeHost(decode(parsed.host));
|
||||
parsed.search = stringifyQuery(parseQuery(parsed.search));
|
||||
return stringifyParsedURL(parsed);
|
||||
}
|
||||
function resolveURL(base = "", ...inputs) {
|
||||
if (typeof base !== "string") {
|
||||
throw new TypeError(
|
||||
`URL input should be string received ${typeof base} (${base})`
|
||||
);
|
||||
}
|
||||
const filteredInputs = inputs.filter((input) => isNonEmptyURL(input));
|
||||
if (filteredInputs.length === 0) {
|
||||
return base;
|
||||
}
|
||||
const url = parseURL(base);
|
||||
for (const inputSegment of filteredInputs) {
|
||||
const urlSegment = parseURL(inputSegment);
|
||||
if (urlSegment.pathname) {
|
||||
url.pathname = withTrailingSlash(url.pathname) + withoutLeadingSlash(urlSegment.pathname);
|
||||
}
|
||||
if (urlSegment.hash && urlSegment.hash !== "#") {
|
||||
url.hash = urlSegment.hash;
|
||||
}
|
||||
if (urlSegment.search && urlSegment.search !== "?") {
|
||||
if (url.search && url.search !== "?") {
|
||||
const queryString = stringifyQuery({
|
||||
...parseQuery(url.search),
|
||||
...parseQuery(urlSegment.search)
|
||||
});
|
||||
url.search = queryString.length > 0 ? "?" + queryString : "";
|
||||
} else {
|
||||
url.search = urlSegment.search;
|
||||
}
|
||||
}
|
||||
}
|
||||
return stringifyParsedURL(url);
|
||||
}
|
||||
function isSamePath(p1, p2) {
|
||||
return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));
|
||||
}
|
||||
function isEqual(a, b, options = {}) {
|
||||
if (!options.trailingSlash) {
|
||||
a = withTrailingSlash(a);
|
||||
b = withTrailingSlash(b);
|
||||
}
|
||||
if (!options.leadingSlash) {
|
||||
a = withLeadingSlash(a);
|
||||
b = withLeadingSlash(b);
|
||||
}
|
||||
if (!options.encoding) {
|
||||
a = decode(a);
|
||||
b = decode(b);
|
||||
}
|
||||
return a === b;
|
||||
}
|
||||
function withFragment(input, hash) {
|
||||
if (!hash || hash === "#") {
|
||||
return input;
|
||||
}
|
||||
const parsed = parseURL(input);
|
||||
parsed.hash = hash === "" ? "" : "#" + encodeHash(hash);
|
||||
return stringifyParsedURL(parsed);
|
||||
}
|
||||
function withoutFragment(input) {
|
||||
return stringifyParsedURL({ ...parseURL(input), hash: "" });
|
||||
}
|
||||
|
||||
const protocolRelative = Symbol.for("ufo:protocolRelative");
|
||||
function parseURL(input = "", defaultProto) {
|
||||
const _specialProtoMatch = input.match(
|
||||
/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
|
||||
);
|
||||
if (_specialProtoMatch) {
|
||||
const [, _proto, _pathname = ""] = _specialProtoMatch;
|
||||
return {
|
||||
protocol: _proto.toLowerCase(),
|
||||
pathname: _pathname,
|
||||
href: _proto + _pathname,
|
||||
auth: "",
|
||||
host: "",
|
||||
search: "",
|
||||
hash: ""
|
||||
};
|
||||
}
|
||||
if (!hasProtocol(input, { acceptRelative: true })) {
|
||||
return defaultProto ? parseURL(defaultProto + input) : parsePath(input);
|
||||
}
|
||||
const [, protocol = "", auth, hostAndPath = ""] = input.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [];
|
||||
const [, host = "", path = ""] = hostAndPath.match(/([^#/?]*)(.*)?/) || [];
|
||||
const { pathname, search, hash } = parsePath(
|
||||
path.replace(/\/(?=[A-Za-z]:)/, "")
|
||||
);
|
||||
return {
|
||||
protocol: protocol.toLowerCase(),
|
||||
auth: auth ? auth.slice(0, Math.max(0, auth.length - 1)) : "",
|
||||
host,
|
||||
pathname,
|
||||
search,
|
||||
hash,
|
||||
[protocolRelative]: !protocol
|
||||
};
|
||||
}
|
||||
function parsePath(input = "") {
|
||||
const [pathname = "", search = "", hash = ""] = (input.match(/([^#?]*)(\?[^#]*)?(#.*)?/) || []).splice(1);
|
||||
return {
|
||||
pathname,
|
||||
search,
|
||||
hash
|
||||
};
|
||||
}
|
||||
function parseAuth(input = "") {
|
||||
const [username, password] = input.split(":");
|
||||
return {
|
||||
username: decode(username),
|
||||
password: decode(password)
|
||||
};
|
||||
}
|
||||
function parseHost(input = "") {
|
||||
const [hostname, port] = (input.match(/([^/:]*):?(\d+)?/) || []).splice(1);
|
||||
return {
|
||||
hostname: decode(hostname),
|
||||
port
|
||||
};
|
||||
}
|
||||
function stringifyParsedURL(parsed) {
|
||||
const pathname = parsed.pathname || "";
|
||||
const search = parsed.search ? (parsed.search.startsWith("?") ? "" : "?") + parsed.search : "";
|
||||
const hash = parsed.hash || "";
|
||||
const auth = parsed.auth ? parsed.auth + "@" : "";
|
||||
const host = parsed.host || "";
|
||||
const proto = parsed.protocol || parsed[protocolRelative] ? (parsed.protocol || "") + "//" : "";
|
||||
return proto + auth + host + pathname + search + hash;
|
||||
}
|
||||
const FILENAME_STRICT_REGEX = /\/([^/]+\.[^/]+)$/;
|
||||
const FILENAME_REGEX = /\/([^/]+)$/;
|
||||
function parseFilename(input = "", { strict }) {
|
||||
const { pathname } = parseURL(input);
|
||||
const matches = strict ? pathname.match(FILENAME_STRICT_REGEX) : pathname.match(FILENAME_REGEX);
|
||||
return matches ? matches[1] : void 0;
|
||||
}
|
||||
|
||||
var __defProp = Object.defineProperty;
|
||||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||
var __publicField = (obj, key, value) => {
|
||||
@@ -285,249 +570,8 @@ class $URL {
|
||||
return this.href;
|
||||
}
|
||||
}
|
||||
|
||||
function isRelative(inputString) {
|
||||
return ["./", "../"].some((string_) => inputString.startsWith(string_));
|
||||
}
|
||||
const PROTOCOL_STRICT_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/;
|
||||
const PROTOCOL_REGEX = /^[\s\w\0+.-]{2,}:([/\\]{2})?/;
|
||||
const PROTOCOL_RELATIVE_REGEX = /^([/\\]\s*){2,}[^/\\]/;
|
||||
function hasProtocol(inputString, opts = {}) {
|
||||
if (typeof opts === "boolean") {
|
||||
opts = { acceptRelative: opts };
|
||||
}
|
||||
if (opts.strict) {
|
||||
return PROTOCOL_STRICT_REGEX.test(inputString);
|
||||
}
|
||||
return PROTOCOL_REGEX.test(inputString) || (opts.acceptRelative ? PROTOCOL_RELATIVE_REGEX.test(inputString) : false);
|
||||
}
|
||||
const PROTOCOL_SCRIPT_RE = /^[\s\0]*(blob|data|javascript|vbscript):$/i;
|
||||
function isScriptProtocol(protocol) {
|
||||
return !!protocol && PROTOCOL_SCRIPT_RE.test(protocol);
|
||||
}
|
||||
const TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
|
||||
function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return input.endsWith("/");
|
||||
}
|
||||
return TRAILING_SLASH_RE.test(input);
|
||||
}
|
||||
function withoutTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || "/";
|
||||
}
|
||||
if (!hasTrailingSlash(input, true)) {
|
||||
return input || "/";
|
||||
}
|
||||
let path = input;
|
||||
let fragment = "";
|
||||
const fragmentIndex = input.indexOf("#");
|
||||
if (fragmentIndex >= 0) {
|
||||
path = input.slice(0, fragmentIndex);
|
||||
fragment = input.slice(fragmentIndex);
|
||||
}
|
||||
const [s0, ...s] = path.split("?");
|
||||
return (s0.slice(0, -1) || "/") + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
||||
}
|
||||
function withTrailingSlash(input = "", respectQueryAndFragment) {
|
||||
if (!respectQueryAndFragment) {
|
||||
return input.endsWith("/") ? input : input + "/";
|
||||
}
|
||||
if (hasTrailingSlash(input, true)) {
|
||||
return input || "/";
|
||||
}
|
||||
let path = input;
|
||||
let fragment = "";
|
||||
const fragmentIndex = input.indexOf("#");
|
||||
if (fragmentIndex >= 0) {
|
||||
path = input.slice(0, fragmentIndex);
|
||||
fragment = input.slice(fragmentIndex);
|
||||
if (!path) {
|
||||
return fragment;
|
||||
}
|
||||
}
|
||||
const [s0, ...s] = path.split("?");
|
||||
return s0 + "/" + (s.length > 0 ? `?${s.join("?")}` : "") + fragment;
|
||||
}
|
||||
function hasLeadingSlash(input = "") {
|
||||
return input.startsWith("/");
|
||||
}
|
||||
function withoutLeadingSlash(input = "") {
|
||||
return (hasLeadingSlash(input) ? input.slice(1) : input) || "/";
|
||||
}
|
||||
function withLeadingSlash(input = "") {
|
||||
return hasLeadingSlash(input) ? input : "/" + input;
|
||||
}
|
||||
function cleanDoubleSlashes(input = "") {
|
||||
return input.split("://").map((string_) => string_.replace(/\/{2,}/g, "/")).join("://");
|
||||
}
|
||||
function withBase(input, base) {
|
||||
if (isEmptyURL(base) || hasProtocol(input)) {
|
||||
return input;
|
||||
}
|
||||
const _base = withoutTrailingSlash(base);
|
||||
if (input.startsWith(_base)) {
|
||||
return input;
|
||||
}
|
||||
return joinURL(_base, input);
|
||||
}
|
||||
function withoutBase(input, base) {
|
||||
if (isEmptyURL(base)) {
|
||||
return input;
|
||||
}
|
||||
const _base = withoutTrailingSlash(base);
|
||||
if (!input.startsWith(_base)) {
|
||||
return input;
|
||||
}
|
||||
const trimmed = input.slice(_base.length);
|
||||
return trimmed[0] === "/" ? trimmed : "/" + trimmed;
|
||||
}
|
||||
function withQuery(input, query) {
|
||||
const parsed = parseURL(input);
|
||||
const mergedQuery = { ...parseQuery(parsed.search), ...query };
|
||||
parsed.search = stringifyQuery(mergedQuery);
|
||||
return stringifyParsedURL(parsed);
|
||||
}
|
||||
function getQuery(input) {
|
||||
return parseQuery(parseURL(input).search);
|
||||
}
|
||||
function isEmptyURL(url) {
|
||||
return !url || url === "/";
|
||||
}
|
||||
function isNonEmptyURL(url) {
|
||||
return url && url !== "/";
|
||||
}
|
||||
const JOIN_LEADING_SLASH_RE = /^\.?\//;
|
||||
function joinURL(base, ...input) {
|
||||
let url = base || "";
|
||||
for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
|
||||
if (url) {
|
||||
const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
|
||||
url = withTrailingSlash(url) + _segment;
|
||||
} else {
|
||||
url = segment;
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
function withHttp(input) {
|
||||
return withProtocol(input, "http://");
|
||||
}
|
||||
function withHttps(input) {
|
||||
return withProtocol(input, "https://");
|
||||
}
|
||||
function withoutProtocol(input) {
|
||||
return withProtocol(input, "");
|
||||
}
|
||||
function withProtocol(input, protocol) {
|
||||
const match = input.match(PROTOCOL_REGEX);
|
||||
if (!match) {
|
||||
return protocol + input;
|
||||
}
|
||||
return protocol + input.slice(match[0].length);
|
||||
}
|
||||
function createURL(input) {
|
||||
return new $URL(input);
|
||||
}
|
||||
function normalizeURL(input) {
|
||||
return createURL(input).toString();
|
||||
}
|
||||
function resolveURL(base, ...input) {
|
||||
const url = createURL(base);
|
||||
for (const index of input.filter((url2) => isNonEmptyURL(url2))) {
|
||||
url.append(createURL(index));
|
||||
}
|
||||
return url.toString();
|
||||
}
|
||||
function isSamePath(p1, p2) {
|
||||
return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));
|
||||
}
|
||||
function isEqual(a, b, options = {}) {
|
||||
if (!options.trailingSlash) {
|
||||
a = withTrailingSlash(a);
|
||||
b = withTrailingSlash(b);
|
||||
}
|
||||
if (!options.leadingSlash) {
|
||||
a = withLeadingSlash(a);
|
||||
b = withLeadingSlash(b);
|
||||
}
|
||||
if (!options.encoding) {
|
||||
a = decode(a);
|
||||
b = decode(b);
|
||||
}
|
||||
return a === b;
|
||||
}
|
||||
|
||||
function parseURL(input = "", defaultProto) {
|
||||
const _specialProtoMatch = input.match(
|
||||
/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
|
||||
);
|
||||
if (_specialProtoMatch) {
|
||||
const [, _proto, _pathname = ""] = _specialProtoMatch;
|
||||
return {
|
||||
protocol: _proto.toLowerCase(),
|
||||
pathname: _pathname,
|
||||
href: _proto + _pathname,
|
||||
auth: "",
|
||||
host: "",
|
||||
search: "",
|
||||
hash: ""
|
||||
};
|
||||
}
|
||||
if (!hasProtocol(input, { acceptRelative: true })) {
|
||||
return defaultProto ? parseURL(defaultProto + input) : parsePath(input);
|
||||
}
|
||||
const [, protocol = "", auth, hostAndPath = ""] = input.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [];
|
||||
const [, host = "", path = ""] = hostAndPath.match(/([^#/?]*)(.*)?/) || [];
|
||||
const { pathname, search, hash } = parsePath(
|
||||
path.replace(/\/(?=[A-Za-z]:)/, "")
|
||||
);
|
||||
return {
|
||||
protocol: protocol.toLowerCase(),
|
||||
auth: auth ? auth.slice(0, Math.max(0, auth.length - 1)) : "",
|
||||
host,
|
||||
pathname,
|
||||
search,
|
||||
hash
|
||||
};
|
||||
}
|
||||
function parsePath(input = "") {
|
||||
const [pathname = "", search = "", hash = ""] = (input.match(/([^#?]*)(\?[^#]*)?(#.*)?/) || []).splice(1);
|
||||
return {
|
||||
pathname,
|
||||
search,
|
||||
hash
|
||||
};
|
||||
}
|
||||
function parseAuth(input = "") {
|
||||
const [username, password] = input.split(":");
|
||||
return {
|
||||
username: decode(username),
|
||||
password: decode(password)
|
||||
};
|
||||
}
|
||||
function parseHost(input = "") {
|
||||
const [hostname, port] = (input.match(/([^/:]*):?(\d+)?/) || []).splice(1);
|
||||
return {
|
||||
hostname: decode(hostname),
|
||||
port
|
||||
};
|
||||
}
|
||||
function stringifyParsedURL(parsed) {
|
||||
const pathname = parsed.pathname || "";
|
||||
const search = parsed.search ? (parsed.search.startsWith("?") ? "" : "?") + parsed.search : "";
|
||||
const hash = parsed.hash || "";
|
||||
const auth = parsed.auth ? parsed.auth + "@" : "";
|
||||
const host = parsed.host || "";
|
||||
const proto = parsed.protocol ? parsed.protocol + "//" : "";
|
||||
return proto + auth + host + pathname + search + hash;
|
||||
}
|
||||
const FILENAME_STRICT_REGEX = /\/([^/]+\.[^/]+)$/;
|
||||
const FILENAME_REGEX = /\/([^/]+)$/;
|
||||
function parseFilename(input = "", { strict }) {
|
||||
const { pathname } = parseURL(input);
|
||||
const matches = strict ? pathname.match(FILENAME_STRICT_REGEX) : pathname.match(FILENAME_REGEX);
|
||||
return matches ? matches[1] : void 0;
|
||||
}
|
||||
|
||||
export { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryKey, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, isScriptProtocol, joinURL, normalizeURL, parseAuth, parseFilename, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };
|
||||
export { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryKey, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, isScriptProtocol, joinURL, normalizeURL, parseAuth, parseFilename, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withFragment, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutFragment, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };
|
||||
|
||||
24
.output/server/node_modules/ufo/package.json
generated
vendored
24
.output/server/node_modules/ufo/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ufo",
|
||||
"version": "1.3.2",
|
||||
"version": "1.4.0",
|
||||
"description": "URL utils for humans",
|
||||
"repository": "unjs/ufo",
|
||||
"license": "MIT",
|
||||
@@ -20,24 +20,28 @@
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"build": "automd && unbuild",
|
||||
"automd": "automd",
|
||||
"dev": "vitest",
|
||||
"lint": "eslint --ext .ts . && prettier -c src test",
|
||||
"lint:fix": "eslint --fix --ext .ts . && prettier -w src test",
|
||||
"prepack": "pnpm build",
|
||||
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
|
||||
"test": "pnpm lint && vitest --run typecheck && vitest run"
|
||||
"test": "pnpm lint && vitest run --typecheck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.9.0",
|
||||
"@vitest/coverage-v8": "^0.34.6",
|
||||
"@types/node": "^20.11.16",
|
||||
"@vitest/coverage-v8": "^1.2.2",
|
||||
"automd": "^0.1.1",
|
||||
"changelogen": "^0.5.5",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-unjs": "^0.2.1",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.2.2",
|
||||
"jiti": "^1.21.0",
|
||||
"prettier": "^3.2.5",
|
||||
"typescript": "^5.3.3",
|
||||
"unbuild": "^2.0.0",
|
||||
"vitest": "^0.34.6"
|
||||
"untyped": "^1.4.2",
|
||||
"vitest": "^1.2.2"
|
||||
},
|
||||
"packageManager": "pnpm@8.10.5"
|
||||
"packageManager": "pnpm@8.15.1"
|
||||
}
|
||||
3
.output/server/node_modules/unhead/dist/index.mjs
generated
vendored
3
.output/server/node_modules/unhead/dist/index.mjs
generated
vendored
@@ -541,6 +541,7 @@ function useScript(input, _options) {
|
||||
resolve(options.use());
|
||||
function watchForScriptLoaded({ script: script2 }) {
|
||||
if (script2.id === id && script2.status === "loaded") {
|
||||
script2.loaded = true;
|
||||
resolve(options.use?.());
|
||||
head.hooks.removeHook("script:updated", watchForScriptLoaded);
|
||||
}
|
||||
@@ -626,7 +627,7 @@ function useScript(input, _options) {
|
||||
} else {
|
||||
return script.waitForLoad().then(
|
||||
(api) => {
|
||||
api[fn](...args);
|
||||
return api[fn](...args);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
14
.output/server/node_modules/unhead/package.json
generated
vendored
14
.output/server/node_modules/unhead/package.json
generated
vendored
@@ -1,8 +1,12 @@
|
||||
{
|
||||
"name": "unhead",
|
||||
"type": "module",
|
||||
"version": "1.8.9",
|
||||
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
||||
"version": "1.8.10",
|
||||
"author": {
|
||||
"name": "Harlan Wilton",
|
||||
"email": "harlan@harlanzw.com",
|
||||
"url": "https://harlanzw.com/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"funding": "https://github.com/sponsors/harlan-zw",
|
||||
"homepage": "https://unhead.unjs.io",
|
||||
@@ -30,9 +34,9 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"hookable": "^5.5.3",
|
||||
"@unhead/dom": "1.8.9",
|
||||
"@unhead/shared": "1.8.9",
|
||||
"@unhead/schema": "1.8.9"
|
||||
"@unhead/dom": "1.8.10",
|
||||
"@unhead/schema": "1.8.10",
|
||||
"@unhead/shared": "1.8.10"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "unbuild .",
|
||||
|
||||
4
.output/server/node_modules/vue-demi/package.json
generated
vendored
4
.output/server/node_modules/vue-demi/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-demi",
|
||||
"version": "0.14.6",
|
||||
"version": "0.14.7",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
@@ -32,7 +32,7 @@
|
||||
"scripts"
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "node ./scripts/postinstall.js",
|
||||
"postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"",
|
||||
"release": "npx bumpp --tag --commit --push && npm publish"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
5
.output/server/node_modules/vue/dist/vue.cjs.js
generated
vendored
5
.output/server/node_modules/vue/dist/vue.cjs.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
5
.output/server/node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
5
.output/server/node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* vue v3.4.15
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
1
.output/server/node_modules/vue/index.mjs
generated
vendored
Normal file
1
.output/server/node_modules/vue/index.mjs
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './index.js'
|
||||
21
.output/server/node_modules/vue/package.json
generated
vendored
21
.output/server/node_modules/vue/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue",
|
||||
"version": "3.4.5",
|
||||
"version": "3.4.15",
|
||||
"description": "The progressive JavaScript framework for building modern web UI.",
|
||||
"main": "index.js",
|
||||
"module": "dist/vue.runtime.esm-bundler.js",
|
||||
@@ -20,15 +20,16 @@
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/vue.d.mts",
|
||||
"node": "./index.mjs",
|
||||
"default": "./dist/vue.runtime.esm-bundler.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/vue.d.ts",
|
||||
"node": {
|
||||
"production": "./dist/vue.cjs.prod.js",
|
||||
"development": "./dist/vue.cjs.js",
|
||||
"default": "./dist/vue.cjs.prod.js"
|
||||
},
|
||||
"default": "./dist/vue.runtime.esm-bundler.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/vue.d.ts",
|
||||
"default": "./index.js"
|
||||
}
|
||||
},
|
||||
@@ -94,11 +95,11 @@
|
||||
},
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
||||
"dependencies": {
|
||||
"@vue/shared": "3.4.5",
|
||||
"@vue/runtime-dom": "3.4.5",
|
||||
"@vue/server-renderer": "3.4.5",
|
||||
"@vue/compiler-dom": "3.4.5",
|
||||
"@vue/compiler-sfc": "3.4.5"
|
||||
"@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"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "*"
|
||||
|
||||
Reference in New Issue
Block a user