@netlify/plugin-nextjs 5.12.1 → 5.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/content/prerendered.js +41 -13
- package/dist/build/content/server.js +32 -7
- package/dist/build/content/static.js +1 -1
- package/dist/build/functions/edge.js +105 -12
- package/dist/build/functions/server.js +1 -1
- package/dist/build/plugin-context.js +33 -2
- package/dist/esm-chunks/{chunk-FKDTZJRV.js → chunk-5V5HA6YA.js} +24 -24
- package/dist/index.js +1 -1
- package/dist/run/config.js +1 -0
- package/dist/run/handlers/cache.cjs +15 -3
- package/dist/run/handlers/server.js +92 -92
- package/dist/run/handlers/tags-handler.cjs +1 -1
- package/dist/run/handlers/tracer.cjs +24 -24
- package/dist/run/next.cjs +2 -2
- package/edge-runtime/lib/cjs.ts +330 -0
- package/edge-runtime/shim/node.js +16 -0
- package/package.json +3 -1
- package/edge-runtime/lib/middleware.test.ts +0 -92
- package/edge-runtime/lib/util.test.ts +0 -39
- /package/edge-runtime/shim/{index.js → edge.js} +0 -0
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
// node_modules/node-inspect-extracted/dist/inspect.js
|
|
13
13
|
var require_inspect = __commonJS({
|
|
14
14
|
"node_modules/node-inspect-extracted/dist/inspect.js"(exports, module) {
|
|
15
|
-
!function(t, e) {
|
|
15
|
+
!(function(t, e) {
|
|
16
16
|
"object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.util = e() : t.util = e();
|
|
17
|
-
}(exports, function() {
|
|
17
|
+
})(exports, (function() {
|
|
18
18
|
return (() => {
|
|
19
19
|
"use strict";
|
|
20
20
|
var t = { 794: (t2, e2) => {
|
|
@@ -24,30 +24,30 @@ var require_inspect = __commonJS({
|
|
|
24
24
|
n2.enumerable = n2.enumerable || false, n2.configurable = true, "value" in n2 && (n2.writable = true), Object.defineProperty(t3, n2.key, n2);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var n = function() {
|
|
27
|
+
var n = (function() {
|
|
28
28
|
function t3() {
|
|
29
|
-
!function(t4, e4) {
|
|
29
|
+
!(function(t4, e4) {
|
|
30
30
|
if (!(t4 instanceof e4)) throw new TypeError("Cannot call a class as a function");
|
|
31
|
-
}(this, t3);
|
|
31
|
+
})(this, t3);
|
|
32
32
|
}
|
|
33
33
|
var e3, n2;
|
|
34
34
|
return e3 = t3, n2 = [{ key: "hexSlice", value: function() {
|
|
35
35
|
var t4 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, e4 = arguments.length > 1 ? arguments[1] : void 0;
|
|
36
|
-
return Array.prototype.map.call(this.slice(t4, e4), function(t5) {
|
|
36
|
+
return Array.prototype.map.call(this.slice(t4, e4), (function(t5) {
|
|
37
37
|
return ("00" + t5.toString(16)).slice(-2);
|
|
38
|
-
}).join("");
|
|
38
|
+
})).join("");
|
|
39
39
|
} }], n2 && r2(e3.prototype, n2), Object.defineProperty(e3, "prototype", { writable: false }), t3;
|
|
40
|
-
}();
|
|
40
|
+
})();
|
|
41
41
|
e2.l = n;
|
|
42
42
|
}, 618: (t2, e2, r2) => {
|
|
43
43
|
function n(t3) {
|
|
44
|
-
return function(t4) {
|
|
44
|
+
return (function(t4) {
|
|
45
45
|
if (Array.isArray(t4)) return c(t4);
|
|
46
|
-
}(t3) || function(t4) {
|
|
46
|
+
})(t3) || (function(t4) {
|
|
47
47
|
if ("undefined" != typeof Symbol && null != t4[Symbol.iterator] || null != t4["@@iterator"]) return Array.from(t4);
|
|
48
|
-
}(t3) || a(t3) || function() {
|
|
48
|
+
})(t3) || a(t3) || (function() {
|
|
49
49
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
50
|
-
}();
|
|
50
|
+
})();
|
|
51
51
|
}
|
|
52
52
|
function o(t3) {
|
|
53
53
|
return o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t4) {
|
|
@@ -103,29 +103,29 @@ var require_inspect = __commonJS({
|
|
|
103
103
|
var r3 = Object.keys(t3);
|
|
104
104
|
if (Object.getOwnPropertySymbols) {
|
|
105
105
|
var n2 = Object.getOwnPropertySymbols(t3);
|
|
106
|
-
e3 && (n2 = n2.filter(function(e4) {
|
|
106
|
+
e3 && (n2 = n2.filter((function(e4) {
|
|
107
107
|
return Object.getOwnPropertyDescriptor(t3, e4).enumerable;
|
|
108
|
-
})), r3.push.apply(r3, n2);
|
|
108
|
+
}))), r3.push.apply(r3, n2);
|
|
109
109
|
}
|
|
110
110
|
return r3;
|
|
111
111
|
}
|
|
112
112
|
function u(t3) {
|
|
113
113
|
for (var e3 = 1; e3 < arguments.length; e3++) {
|
|
114
114
|
var r3 = null != arguments[e3] ? arguments[e3] : {};
|
|
115
|
-
e3 % 2 ? l(Object(r3), true).forEach(function(e4) {
|
|
115
|
+
e3 % 2 ? l(Object(r3), true).forEach((function(e4) {
|
|
116
116
|
f(t3, e4, r3[e4]);
|
|
117
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t3, Object.getOwnPropertyDescriptors(r3)) : l(Object(r3)).forEach(function(e4) {
|
|
117
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t3, Object.getOwnPropertyDescriptors(r3)) : l(Object(r3)).forEach((function(e4) {
|
|
118
118
|
Object.defineProperty(t3, e4, Object.getOwnPropertyDescriptor(r3, e4));
|
|
119
|
-
});
|
|
119
|
+
}));
|
|
120
120
|
}
|
|
121
121
|
return t3;
|
|
122
122
|
}
|
|
123
123
|
function f(t3, e3, r3) {
|
|
124
124
|
return e3 in t3 ? Object.defineProperty(t3, e3, { value: r3, enumerable: true, configurable: true, writable: true }) : t3[e3] = r3, t3;
|
|
125
125
|
}
|
|
126
|
-
var p, s, y = r2(459), g = y.internalBinding, d = y.Array, b = y.ArrayIsArray, h = y.ArrayPrototypeFilter, v = y.ArrayPrototypeForEach, m = y.ArrayPrototypePop, S = y.ArrayPrototypePush, P = y.ArrayPrototypePushApply, O = y.ArrayPrototypeSort, x = y.ArrayPrototypeUnshift, w = y.BigIntPrototypeValueOf, A = y.BooleanPrototypeValueOf, j = y.DatePrototypeGetTime, E = y.DatePrototypeToISOString, L = y.DatePrototypeToString, F = y.ErrorPrototypeToString, I = y.FunctionPrototypeCall, T = y.FunctionPrototypeToString, k = y.JSONStringify, R = y.MapPrototypeGetSize, _ = y.MapPrototypeEntries, z = y.MathFloor, M = y.MathMax, N = y.MathMin, B = y.MathRound, D = y.MathSqrt, C = y.MathTrunc, G = y.Number, W = y.NumberIsFinite, H = y.NumberIsNaN, V = y.NumberParseFloat, U = y.NumberParseInt, $ = y.NumberPrototypeValueOf, Z = y.Object, Y = y.ObjectAssign, K = y.ObjectCreate, q = y.ObjectDefineProperty, J = y.ObjectGetOwnPropertyDescriptor, Q = y.ObjectGetOwnPropertyNames, X = y.ObjectGetOwnPropertySymbols, tt = y.ObjectGetPrototypeOf, et = y.ObjectIs, rt = y.ObjectKeys, nt = y.ObjectPrototypeHasOwnProperty, ot = y.ObjectPrototypePropertyIsEnumerable, it = y.ObjectSeal, at = y.ObjectSetPrototypeOf, ct = y.ReflectOwnKeys, lt = y.RegExp, ut = y.RegExpPrototypeTest, ft = y.RegExpPrototypeToString, pt = y.SafeStringIterator, st = y.SafeMap, yt = y.SafeSet, gt = y.SetPrototypeGetSize, dt = y.SetPrototypeValues, bt = y.String, ht = y.StringPrototypeCharCodeAt, vt = y.StringPrototypeCodePointAt, mt = y.StringPrototypeIncludes, St = y.StringPrototypeNormalize, Pt = y.StringPrototypePadEnd, Ot = y.StringPrototypePadStart, xt = y.StringPrototypeRepeat, wt = y.StringPrototypeReplace, At = y.StringPrototypeSlice, jt = y.StringPrototypeSplit, Et = y.StringPrototypeToLowerCase, Lt = y.StringPrototypeTrim, Ft = y.StringPrototypeValueOf, It = y.SymbolPrototypeToString, Tt = y.SymbolPrototypeValueOf, kt = y.SymbolIterator, Rt = y.SymbolToStringTag, _t = y.TypedArrayPrototypeGetLength, zt = y.TypedArrayPrototypeGetSymbolToStringTag, Mt = y.Uint8Array, Nt = y.globalThis, Bt = y.uncurryThis, Dt = r2(493), Ct = Dt.getOwnNonIndexProperties, Gt = Dt.getPromiseDetails, Wt = Dt.getProxyDetails, Ht = Dt.kPending, Vt = Dt.kRejected, Ut = Dt.previewEntries, $t = Dt.getConstructorName, Zt = Dt.getExternalValue, Yt = Dt.propertyFilter, Kt = Yt.ALL_PROPERTIES, qt = Yt.ONLY_ENUMERABLE, Jt = Dt.Proxy, Qt = r2(719), Xt = Qt.customInspectSymbol, te = Qt.isError, ee = Qt.join, re = Qt.removeColors, ne = r2(962), oe = ne.codes.ERR_INVALID_ARG_TYPE, ie = ne.isStackOverflowError, ae = r2(715), ce = ae.isAsyncFunction, le = ae.isGeneratorFunction, ue = ae.isAnyArrayBuffer, fe = ae.isArrayBuffer, pe = ae.isArgumentsObject, se = ae.isBoxedPrimitive, ye = ae.isDataView, ge = ae.isExternal, de = ae.isMap, be = ae.isMapIterator, he = ae.isModuleNamespaceObject, ve = ae.isNativeError, me = ae.isPromise, Se = ae.isSet, Pe = ae.isSetIterator, Oe = ae.isWeakMap, xe = ae.isWeakSet, we = ae.isRegExp, Ae = ae.isDate, je = ae.isTypedArray, Ee = ae.isStringObject, Le = ae.isNumberObject, Fe = ae.isBooleanObject, Ie = ae.isBigIntObject, Te = r2(915), ke = r2(875).NativeModule, Re = r2(753), _e2 = Re.validateObject, ze = Re.validateString, Me = new yt(h(Q(Nt), function(t3) {
|
|
126
|
+
var p, s, y = r2(459), g = y.internalBinding, d = y.Array, b = y.ArrayIsArray, h = y.ArrayPrototypeFilter, v = y.ArrayPrototypeForEach, m = y.ArrayPrototypePop, S = y.ArrayPrototypePush, P = y.ArrayPrototypePushApply, O = y.ArrayPrototypeSort, x = y.ArrayPrototypeUnshift, w = y.BigIntPrototypeValueOf, A = y.BooleanPrototypeValueOf, j = y.DatePrototypeGetTime, E = y.DatePrototypeToISOString, L = y.DatePrototypeToString, F = y.ErrorPrototypeToString, I = y.FunctionPrototypeCall, T = y.FunctionPrototypeToString, k = y.JSONStringify, R = y.MapPrototypeGetSize, _ = y.MapPrototypeEntries, z = y.MathFloor, M = y.MathMax, N = y.MathMin, B = y.MathRound, D = y.MathSqrt, C = y.MathTrunc, G = y.Number, W = y.NumberIsFinite, H = y.NumberIsNaN, V = y.NumberParseFloat, U = y.NumberParseInt, $ = y.NumberPrototypeValueOf, Z = y.Object, Y = y.ObjectAssign, K = y.ObjectCreate, q = y.ObjectDefineProperty, J = y.ObjectGetOwnPropertyDescriptor, Q = y.ObjectGetOwnPropertyNames, X = y.ObjectGetOwnPropertySymbols, tt = y.ObjectGetPrototypeOf, et = y.ObjectIs, rt = y.ObjectKeys, nt = y.ObjectPrototypeHasOwnProperty, ot = y.ObjectPrototypePropertyIsEnumerable, it = y.ObjectSeal, at = y.ObjectSetPrototypeOf, ct = y.ReflectOwnKeys, lt = y.RegExp, ut = y.RegExpPrototypeTest, ft = y.RegExpPrototypeToString, pt = y.SafeStringIterator, st = y.SafeMap, yt = y.SafeSet, gt = y.SetPrototypeGetSize, dt = y.SetPrototypeValues, bt = y.String, ht = y.StringPrototypeCharCodeAt, vt = y.StringPrototypeCodePointAt, mt = y.StringPrototypeIncludes, St = y.StringPrototypeNormalize, Pt = y.StringPrototypePadEnd, Ot = y.StringPrototypePadStart, xt = y.StringPrototypeRepeat, wt = y.StringPrototypeReplace, At = y.StringPrototypeSlice, jt = y.StringPrototypeSplit, Et = y.StringPrototypeToLowerCase, Lt = y.StringPrototypeTrim, Ft = y.StringPrototypeValueOf, It = y.SymbolPrototypeToString, Tt = y.SymbolPrototypeValueOf, kt = y.SymbolIterator, Rt = y.SymbolToStringTag, _t = y.TypedArrayPrototypeGetLength, zt = y.TypedArrayPrototypeGetSymbolToStringTag, Mt = y.Uint8Array, Nt = y.globalThis, Bt = y.uncurryThis, Dt = r2(493), Ct = Dt.getOwnNonIndexProperties, Gt = Dt.getPromiseDetails, Wt = Dt.getProxyDetails, Ht = Dt.kPending, Vt = Dt.kRejected, Ut = Dt.previewEntries, $t = Dt.getConstructorName, Zt = Dt.getExternalValue, Yt = Dt.propertyFilter, Kt = Yt.ALL_PROPERTIES, qt = Yt.ONLY_ENUMERABLE, Jt = Dt.Proxy, Qt = r2(719), Xt = Qt.customInspectSymbol, te = Qt.isError, ee = Qt.join, re = Qt.removeColors, ne = r2(962), oe = ne.codes.ERR_INVALID_ARG_TYPE, ie = ne.isStackOverflowError, ae = r2(715), ce = ae.isAsyncFunction, le = ae.isGeneratorFunction, ue = ae.isAnyArrayBuffer, fe = ae.isArrayBuffer, pe = ae.isArgumentsObject, se = ae.isBoxedPrimitive, ye = ae.isDataView, ge = ae.isExternal, de = ae.isMap, be = ae.isMapIterator, he = ae.isModuleNamespaceObject, ve = ae.isNativeError, me = ae.isPromise, Se = ae.isSet, Pe = ae.isSetIterator, Oe = ae.isWeakMap, xe = ae.isWeakSet, we = ae.isRegExp, Ae = ae.isDate, je = ae.isTypedArray, Ee = ae.isStringObject, Le = ae.isNumberObject, Fe = ae.isBooleanObject, Ie = ae.isBigIntObject, Te = r2(915), ke = r2(875).NativeModule, Re = r2(753), _e2 = Re.validateObject, ze = Re.validateString, Me = new yt(h(Q(Nt), (function(t3) {
|
|
127
127
|
return ut(/^[A-Z][a-zA-Z0-9]+$/, t3);
|
|
128
|
-
})), Ne = function(t3) {
|
|
128
|
+
}))), Ne = function(t3) {
|
|
129
129
|
return void 0 === t3 && void 0 !== t3;
|
|
130
130
|
}, Be = it({ showHidden: false, depth: 2, colors: false, customInspect: true, showProxy: false, maxArrayLength: 100, maxStringLength: 1e4, breakLength: 80, compact: 3, sorted: false, getters: false, numericSeparator: false }), De = /[\x00-\x1f\x27\x5c\x7f-\x9f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/, Ce = /[\x00-\x1f\x27\x5c\x7f-\x9f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/g, Ge = /[\x00-\x1f\x5c\x7f-\x9f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/, We = /[\x00-\x1f\x5c\x7f-\x9f]|[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]/g, He = /^[a-zA-Z_][a-zA-Z_0-9]*$/, Ve = /^(0|[1-9][0-9]*)$/, Ue = /^ {4}at (?:[^/\\(]+ \(|)node:(.+):\d+:\d+\)?$/, $e = /[/\\]node_modules[/\\](.+?)(?=[/\\])/g, Ze = /^(\s+[^(]*?)\s*{/, Ye = /(\/\/.*?\n)|(\/\*(.|\n)*?\*\/)/g, Ke = ["\\x00", "\\x01", "\\x02", "\\x03", "\\x04", "\\x05", "\\x06", "\\x07", "\\b", "\\t", "\\n", "\\x0B", "\\f", "\\r", "\\x0E", "\\x0F", "\\x10", "\\x11", "\\x12", "\\x13", "\\x14", "\\x15", "\\x16", "\\x17", "\\x18", "\\x19", "\\x1A", "\\x1B", "\\x1C", "\\x1D", "\\x1E", "\\x1F", "", "", "", "", "", "", "", "\\'", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "\\\\", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "\\x7F", "\\x80", "\\x81", "\\x82", "\\x83", "\\x84", "\\x85", "\\x86", "\\x87", "\\x88", "\\x89", "\\x8A", "\\x8B", "\\x8C", "\\x8D", "\\x8E", "\\x8F", "\\x90", "\\x91", "\\x92", "\\x93", "\\x94", "\\x95", "\\x96", "\\x97", "\\x98", "\\x99", "\\x9A", "\\x9B", "\\x9C", "\\x9D", "\\x9E", "\\x9F"], qe = new lt("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))", "g");
|
|
131
131
|
function Je(t3, e3) {
|
|
@@ -220,9 +220,9 @@ var require_inspect = __commonJS({
|
|
|
220
220
|
var u2 = J(r3, "constructor");
|
|
221
221
|
if (void 0 !== u2 && "function" == typeof u2.value && Me.has(u2.value.name)) return;
|
|
222
222
|
}
|
|
223
|
-
0 === l2 ? c2 = new yt() : v(a2, function(t4) {
|
|
223
|
+
0 === l2 ? c2 = new yt() : v(a2, (function(t4) {
|
|
224
224
|
return c2.add(t4);
|
|
225
|
-
}), a2 = ct(r3), S(t3.seen, e3);
|
|
225
|
+
})), a2 = ct(r3), S(t3.seen, e3);
|
|
226
226
|
var f2, p2 = i(a2);
|
|
227
227
|
try {
|
|
228
228
|
for (p2.s(); !(f2 = p2.n()).done; ) {
|
|
@@ -256,9 +256,9 @@ var require_inspect = __commonJS({
|
|
|
256
256
|
} catch (e4) {
|
|
257
257
|
Te(ve(e4) && "ReferenceError" === e4.name && he(t3)), r3 = Q(t3);
|
|
258
258
|
}
|
|
259
|
-
0 !== n2.length && P(r3, h(n2, function(e4) {
|
|
259
|
+
0 !== n2.length && P(r3, h(n2, (function(e4) {
|
|
260
260
|
return ot(t3, e4);
|
|
261
|
-
}));
|
|
261
|
+
})));
|
|
262
262
|
}
|
|
263
263
|
return r3;
|
|
264
264
|
}
|
|
@@ -271,18 +271,18 @@ var require_inspect = __commonJS({
|
|
|
271
271
|
if (null === e3) return t3.stylize("null", "null");
|
|
272
272
|
var c2 = e3, l2 = Wt(e3, !!t3.showProxy);
|
|
273
273
|
if (void 0 !== l2) {
|
|
274
|
-
if (t3.showProxy) return function(t4, e4, r4) {
|
|
274
|
+
if (t3.showProxy) return (function(t4, e4, r4) {
|
|
275
275
|
if (r4 > t4.depth && null !== t4.depth) return t4.stylize("Proxy [Array]", "special");
|
|
276
276
|
r4 += 1, t4.indentationLvl += 2;
|
|
277
277
|
var n2 = [yr(t4, e4[0], r4), yr(t4, e4[1], r4)];
|
|
278
278
|
return t4.indentationLvl -= 2, Mr(t4, n2, "", ["Proxy [", "]"], 2, r4);
|
|
279
|
-
}(t3, l2, r3);
|
|
279
|
+
})(t3, l2, r3);
|
|
280
280
|
e3 = l2;
|
|
281
281
|
}
|
|
282
282
|
if (t3.customInspect) {
|
|
283
283
|
var f2 = e3[Xt];
|
|
284
284
|
if ("function" == typeof f2 && f2 !== Je && (!e3.constructor || e3.constructor.prototype !== e3)) {
|
|
285
|
-
var p2 = null === t3.depth ? null : t3.depth - r3, s2 = I(f2, c2, p2, function(t4, e4) {
|
|
285
|
+
var p2 = null === t3.depth ? null : t3.depth - r3, s2 = I(f2, c2, p2, (function(t4, e4) {
|
|
286
286
|
var r4 = u({ stylize: t4.stylize, showHidden: t4.showHidden, depth: t4.depth, colors: t4.colors, customInspect: t4.customInspect, showProxy: t4.showProxy, maxArrayLength: t4.maxArrayLength, maxStringLength: t4.maxStringLength, breakLength: t4.breakLength, compact: t4.compact, sorted: t4.sorted, getters: t4.getters, numericSeparator: t4.numericSeparator }, t4.userOptions);
|
|
287
287
|
if (e4) {
|
|
288
288
|
at(r4, null);
|
|
@@ -297,17 +297,17 @@ var require_inspect = __commonJS({
|
|
|
297
297
|
} finally {
|
|
298
298
|
a3.f();
|
|
299
299
|
}
|
|
300
|
-
r4.stylize = at(function(e5, r5) {
|
|
300
|
+
r4.stylize = at((function(e5, r5) {
|
|
301
301
|
var n3;
|
|
302
302
|
try {
|
|
303
303
|
n3 = "".concat(t4.stylize(e5, r5));
|
|
304
304
|
} catch (t5) {
|
|
305
305
|
}
|
|
306
306
|
return "string" != typeof n3 ? e5 : n3;
|
|
307
|
-
}, null);
|
|
307
|
+
}), null);
|
|
308
308
|
}
|
|
309
309
|
return r4;
|
|
310
|
-
}(t3, void 0 !== l2 || !(c2 instanceof Z)), Je);
|
|
310
|
+
})(t3, void 0 !== l2 || !(c2 instanceof Z)), Je);
|
|
311
311
|
if (s2 !== c2) return "string" != typeof s2 ? yr(t3, s2, r3) : s2.replace(/\n/g, "\n".concat(" ".repeat(t3.indentationLvl)));
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -315,7 +315,7 @@ var require_inspect = __commonJS({
|
|
|
315
315
|
var g2 = 1;
|
|
316
316
|
return void 0 === t3.circular ? (t3.circular = new st(), t3.circular.set(e3, g2)) : void 0 === (g2 = t3.circular.get(e3)) && (g2 = t3.circular.size + 1, t3.circular.set(e3, g2)), t3.stylize("[Circular *".concat(g2, "]"), "special");
|
|
317
317
|
}
|
|
318
|
-
return function(t4, e4, r4, o2) {
|
|
318
|
+
return (function(t4, e4, r4, o2) {
|
|
319
319
|
var a3, c3;
|
|
320
320
|
t4.showHidden && (r4 <= t4.depth || null === t4.depth) && (c3 = []);
|
|
321
321
|
var l3 = lr(e4, t4, r4, c3);
|
|
@@ -346,24 +346,24 @@ var require_inspect = __commonJS({
|
|
|
346
346
|
if (d2) if (a3 = pr(e4, t4.showHidden), f3 = ["{", "}"], "Object" === l3) {
|
|
347
347
|
if (pe(e4) ? f3[0] = "[Arguments] {" : "" !== u2 && (f3[0] = "".concat(fr(l3, u2, "Object"), "{")), 0 === a3.length && void 0 === c3) return "".concat(f3[0], "}");
|
|
348
348
|
} else if ("function" == typeof e4) {
|
|
349
|
-
if (s3 = function(t5, e5, r5) {
|
|
349
|
+
if (s3 = (function(t5, e5, r5) {
|
|
350
350
|
var n2 = T(t5);
|
|
351
351
|
if (n2.startsWith("class") && n2.endsWith("}")) {
|
|
352
352
|
var o3 = n2.slice(5, -1), i2 = o3.indexOf("{");
|
|
353
|
-
if (-1 !== i2 && (!o3.slice(0, i2).includes("(") || Ze.test(o3.replace(Ye)))) return function(t6, e6, r6) {
|
|
353
|
+
if (-1 !== i2 && (!o3.slice(0, i2).includes("(") || Ze.test(o3.replace(Ye)))) return (function(t6, e6, r6) {
|
|
354
354
|
var n3 = nt(t6, "name") && t6.name || "(anonymous)", o4 = "class ".concat(n3);
|
|
355
355
|
if ("Function" !== e6 && null !== e6 && (o4 += " [".concat(e6, "]")), "" !== r6 && e6 !== r6 && (o4 += " [".concat(r6, "]")), null !== e6) {
|
|
356
356
|
var i3 = tt(t6).name;
|
|
357
357
|
i3 && (o4 += " extends ".concat(i3));
|
|
358
358
|
} else o4 += " extends [null prototype]";
|
|
359
359
|
return "[".concat(o4, "]");
|
|
360
|
-
}(t5, e5, r5);
|
|
360
|
+
})(t5, e5, r5);
|
|
361
361
|
}
|
|
362
362
|
var a4 = "Function";
|
|
363
363
|
le(t5) && (a4 = "Generator".concat(a4)), ce(t5) && (a4 = "Async".concat(a4));
|
|
364
364
|
var c4 = "[".concat(a4);
|
|
365
365
|
return null === e5 && (c4 += " (null prototype)"), "" === t5.name ? c4 += " (anonymous)" : c4 += ": ".concat(t5.name), c4 += "]", e5 !== a4 && null !== e5 && (c4 += " ".concat(e5)), "" !== r5 && e5 !== r5 && (c4 += " [".concat(r5, "]")), c4;
|
|
366
|
-
}(e4, l3, u2), 0 === a3.length && void 0 === c3) return t4.stylize(s3, "special");
|
|
366
|
+
})(e4, l3, u2), 0 === a3.length && void 0 === c3) return t4.stylize(s3, "special");
|
|
367
367
|
} else if (we(e4)) {
|
|
368
368
|
s3 = ft(null !== l3 ? e4 : new lt(e4));
|
|
369
369
|
var D2 = fr(l3, u2, "RegExp");
|
|
@@ -373,14 +373,14 @@ var require_inspect = __commonJS({
|
|
|
373
373
|
var C2 = fr(l3, u2, "Date");
|
|
374
374
|
if ("Date " !== C2 && (s3 = "".concat(C2).concat(s3)), 0 === a3.length && void 0 === c3) return t4.stylize(s3, "date");
|
|
375
375
|
} else if (te(e4)) {
|
|
376
|
-
if (s3 = function(t5, e5, r5, n2, o3) {
|
|
376
|
+
if (s3 = (function(t5, e5, r5, n2, o3) {
|
|
377
377
|
var a4 = null != t5.name ? bt(t5.name) : "Error", c4 = dr(t5);
|
|
378
378
|
(function(t6, e6, r6, n3) {
|
|
379
379
|
if (!t6.showHidden && 0 !== e6.length) for (var o4 = 0, i2 = ["name", "message", "stack"]; o4 < i2.length; o4++) {
|
|
380
380
|
var a5 = i2[o4], c5 = e6.indexOf(a5);
|
|
381
381
|
-1 !== c5 && n3.includes(r6[a5]) && e6.splice(c5, 1);
|
|
382
382
|
}
|
|
383
|
-
})(n2, o3, t5, c4), !("cause" in t5) || 0 !== o3.length && o3.includes("cause") || o3.push("cause"), c4 = function(t6, e6, r6, n3) {
|
|
383
|
+
})(n2, o3, t5, c4), !("cause" in t5) || 0 !== o3.length && o3.includes("cause") || o3.push("cause"), c4 = (function(t6, e6, r6, n3) {
|
|
384
384
|
var o4 = r6.length;
|
|
385
385
|
if (null === e6 || r6.endsWith("Error") && t6.startsWith(r6) && (t6.length === o4 || ":" === t6[o4] || "\n" === t6[o4])) {
|
|
386
386
|
var i2 = "Error";
|
|
@@ -392,18 +392,18 @@ var require_inspect = __commonJS({
|
|
|
392
392
|
r6 !== c5 && (t6 = c5.includes(r6) ? 0 === o4 ? "".concat(c5, ": ").concat(t6) : "".concat(c5).concat(t6.slice(o4)) : "".concat(c5, " [").concat(r6, "]").concat(t6.slice(o4)));
|
|
393
393
|
}
|
|
394
394
|
return t6;
|
|
395
|
-
}(c4, e5, a4, r5);
|
|
395
|
+
})(c4, e5, a4, r5);
|
|
396
396
|
var l4 = t5.message && c4.indexOf(t5.message) || -1;
|
|
397
397
|
-1 !== l4 && (l4 += t5.message.length);
|
|
398
398
|
var u3 = c4.indexOf("\n at", l4);
|
|
399
399
|
if (-1 === u3) c4 = "[".concat(c4, "]");
|
|
400
400
|
else {
|
|
401
|
-
var f4 = c4.slice(0, u3), p4 = function(t6, e6, r6) {
|
|
401
|
+
var f4 = c4.slice(0, u3), p4 = (function(t6, e6, r6) {
|
|
402
402
|
var n3 = r6.split("\n");
|
|
403
403
|
if (e6.cause && te(e6.cause)) {
|
|
404
404
|
var o4 = dr(e6.cause), i2 = o4.indexOf("\n at");
|
|
405
405
|
if (-1 !== i2) {
|
|
406
|
-
var a5 = function(t7, e7) {
|
|
406
|
+
var a5 = (function(t7, e7) {
|
|
407
407
|
for (var r7 = 0; r7 < t7.length - 3; r7++) {
|
|
408
408
|
var n4 = e7.indexOf(t7[r7]);
|
|
409
409
|
if (-1 !== n4) {
|
|
@@ -415,7 +415,7 @@ var require_inspect = __commonJS({
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
return { len: 0, offset: 0 };
|
|
418
|
-
}(n3, o4.slice(i2 + 1).split("\n")), c5 = a5.len, l5 = a5.offset;
|
|
418
|
+
})(n3, o4.slice(i2 + 1).split("\n")), c5 = a5.len, l5 = a5.offset;
|
|
419
419
|
if (c5 > 0) {
|
|
420
420
|
var u4 = c5 - 2, f5 = " ... ".concat(u4, " lines matching cause stack trace ...");
|
|
421
421
|
n3.splice(l5 + 1, u4, t6.stylize(f5, "undefined"));
|
|
@@ -423,7 +423,7 @@ var require_inspect = __commonJS({
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
return n3;
|
|
426
|
-
}(n2, t5, c4.slice(u3 + 1));
|
|
426
|
+
})(n2, t5, c4.slice(u3 + 1));
|
|
427
427
|
if (n2.colors) {
|
|
428
428
|
var s4, y2 = i(p4);
|
|
429
429
|
try {
|
|
@@ -450,7 +450,7 @@ var require_inspect = __commonJS({
|
|
|
450
450
|
c4 = c4.replace(/\n/g, "\n".concat(v3));
|
|
451
451
|
}
|
|
452
452
|
return c4;
|
|
453
|
-
}(e4, l3, u2, t4, a3), 0 === a3.length && void 0 === c3) return s3;
|
|
453
|
+
})(e4, l3, u2, t4, a3), 0 === a3.length && void 0 === c3) return s3;
|
|
454
454
|
} else if (ue(e4)) {
|
|
455
455
|
var G2 = fr(l3, u2, fe(e4) ? "ArrayBuffer" : "SharedArrayBuffer");
|
|
456
456
|
if (void 0 === o2) g3 = Or;
|
|
@@ -462,12 +462,12 @@ var require_inspect = __commonJS({
|
|
|
462
462
|
else if (Oe(e4)) f3[0] = "".concat(fr(l3, u2, "WeakMap"), "{"), g3 = t4.showHidden ? Tr : Fr;
|
|
463
463
|
else if (he(e4)) f3[0] = "".concat(fr(l3, u2, "Module"), "{"), g3 = Sr.bind(null, a3);
|
|
464
464
|
else if (se(e4)) {
|
|
465
|
-
if (s3 = function(t5, e5, r5, n2, o3) {
|
|
465
|
+
if (s3 = (function(t5, e5, r5, n2, o3) {
|
|
466
466
|
var i2, a4;
|
|
467
467
|
Le(t5) ? (i2 = $, a4 = "Number") : Ee(t5) ? (i2 = Ft, a4 = "String", r5.splice(0, t5.length)) : Fe(t5) ? (i2 = A, a4 = "Boolean") : Ie(t5) ? (i2 = w, a4 = "BigInt") : (i2 = Tt, a4 = "Symbol");
|
|
468
468
|
var c4 = "[".concat(a4);
|
|
469
469
|
return a4 !== n2 && (c4 += null === n2 ? " (null prototype)" : " (".concat(n2, ")")), c4 += ": ".concat(mr(ir, i2(t5), e5), "]"), "" !== o3 && o3 !== n2 && (c4 += " [".concat(o3, "]")), 0 !== r5.length || e5.stylize === ir ? c4 : e5.stylize(c4, Et(a4));
|
|
470
|
-
}(e4, t4, a3, l3, u2), 0 === a3.length && void 0 === c3) return s3;
|
|
470
|
+
})(e4, t4, a3, l3, u2), 0 === a3.length && void 0 === c3) return s3;
|
|
471
471
|
} else {
|
|
472
472
|
if (0 === a3.length && void 0 === c3) {
|
|
473
473
|
if (ge(e4)) {
|
|
@@ -489,10 +489,10 @@ var require_inspect = __commonJS({
|
|
|
489
489
|
var Z2;
|
|
490
490
|
void 0 !== c3 && (Z2 = p3).push.apply(Z2, n(c3));
|
|
491
491
|
} catch (r5) {
|
|
492
|
-
return function(t5, e5, r6, n2) {
|
|
492
|
+
return (function(t5, e5, r6, n2) {
|
|
493
493
|
if (ie(e5)) return t5.seen.pop(), t5.indentationLvl = n2, t5.stylize("[".concat(r6, ": Inspection interrupted ") + "prematurely. Maximum call stack size exceeded.]", "special");
|
|
494
494
|
Te.fail(e5.stack);
|
|
495
|
-
}(t4, r5, sr(e4, l3, u2).slice(0, -1), U2);
|
|
495
|
+
})(t4, r5, sr(e4, l3, u2).slice(0, -1), U2);
|
|
496
496
|
}
|
|
497
497
|
if (void 0 !== t4.circular) {
|
|
498
498
|
var Y2 = t4.circular.get(e4);
|
|
@@ -511,7 +511,7 @@ var require_inspect = __commonJS({
|
|
|
511
511
|
}
|
|
512
512
|
var X2 = Mr(t4, p3, s3, f3, m2, r4, e4), et2 = (t4.budget[t4.indentationLvl] || 0) + X2.length;
|
|
513
513
|
return t4.budget[t4.indentationLvl] = et2, et2 > Math.pow(2, 27) && (t4.depth = -1), X2;
|
|
514
|
-
}(t3, e3, r3, a2);
|
|
514
|
+
})(t3, e3, r3, a2);
|
|
515
515
|
}
|
|
516
516
|
function gr(t3, e3) {
|
|
517
517
|
return e3 !== "".concat(t3, " Iterator") && ("" !== e3 && (e3 += "] ["), e3 += "".concat(t3, " Iterator")), ["[".concat(e3, "] {"), "}"];
|
|
@@ -526,10 +526,10 @@ var require_inspect = __commonJS({
|
|
|
526
526
|
function hr(t3, e3, r3) {
|
|
527
527
|
if (!r3) return et(e3, -0) ? t3("-0", "number") : t3("".concat(e3), "number");
|
|
528
528
|
var n2 = C(e3), o2 = bt(n2);
|
|
529
|
-
return n2 === e3 ? !W(e3) || o2.includes("e") ? t3(o2, "number") : t3("".concat(br(o2)), "number") : H(e3) ? t3(o2, "number") : t3("".concat(br(o2), ".").concat(function(t4) {
|
|
529
|
+
return n2 === e3 ? !W(e3) || o2.includes("e") ? t3(o2, "number") : t3("".concat(br(o2)), "number") : H(e3) ? t3(o2, "number") : t3("".concat(br(o2), ".").concat((function(t4) {
|
|
530
530
|
for (var e4 = "", r4 = 0; r4 < t4.length - 3; r4 += 3) e4 += "".concat(t4.slice(r4, r4 + 3), "_");
|
|
531
531
|
return 0 === r4 ? t4 : "".concat(e4).concat(t4.slice(r4));
|
|
532
|
-
}(bt(e3).slice(o2.length + 1))), "number");
|
|
532
|
+
})(bt(e3).slice(o2.length + 1))), "number");
|
|
533
533
|
}
|
|
534
534
|
function vr(t3, e3, r3) {
|
|
535
535
|
var n2 = bt(e3);
|
|
@@ -542,9 +542,9 @@ var require_inspect = __commonJS({
|
|
|
542
542
|
var o2 = e3.length - r3.maxStringLength;
|
|
543
543
|
e3 = e3.slice(0, r3.maxStringLength), n2 = "... ".concat(o2, " more character").concat(o2 > 1 ? "s" : "");
|
|
544
544
|
}
|
|
545
|
-
return true !== r3.compact && e3.length > 16 && e3.length > r3.breakLength - r3.indentationLvl - 4 ? e3.split(/\n/).map(function(e4, r4, n3) {
|
|
545
|
+
return true !== r3.compact && e3.length > 16 && e3.length > r3.breakLength - r3.indentationLvl - 4 ? e3.split(/\n/).map((function(e4, r4, n3) {
|
|
546
546
|
return t3(nr(e4 + (r4 === n3.length - 1 ? "" : "\n")), "string");
|
|
547
|
-
}).join(" +\n".concat(" ".repeat(r3.indentationLvl + 2))) + n2 : t3(nr(e3), "string") + n2;
|
|
547
|
+
})).join(" +\n".concat(" ".repeat(r3.indentationLvl + 2))) + n2 : t3(nr(e3), "string") + n2;
|
|
548
548
|
}
|
|
549
549
|
return "number" == typeof e3 ? hr(t3, e3, r3.numericSeparator) : "bigint" == typeof e3 ? vr(t3, e3, r3.numericSeparator) : "boolean" == typeof e3 ? t3("".concat(e3), "boolean") : void 0 === e3 ? t3("undefined", "undefined") : t3(It(e3), "symbol");
|
|
550
550
|
}
|
|
@@ -730,7 +730,7 @@ var require_inspect = __commonJS({
|
|
|
730
730
|
if (true !== t3.compact) {
|
|
731
731
|
if ("number" == typeof t3.compact && t3.compact >= 1) {
|
|
732
732
|
var c2 = e3.length;
|
|
733
|
-
if (2 === o2 && c2 > 6 && (e3 = function(t4, e4, r4) {
|
|
733
|
+
if (2 === o2 && c2 > 6 && (e3 = (function(t4, e4, r4) {
|
|
734
734
|
var n3 = 0, o3 = 0, i3 = 0, a3 = e4.length;
|
|
735
735
|
t4.maxArrayLength < e4.length && a3--;
|
|
736
736
|
for (var c3 = new d(a3); i3 < a3; i3++) {
|
|
@@ -766,7 +766,7 @@ var require_inspect = __commonJS({
|
|
|
766
766
|
t4.maxArrayLength < e4.length && S(g2, e4[a3]), e4 = g2;
|
|
767
767
|
}
|
|
768
768
|
return e4;
|
|
769
|
-
}(t3, e3, a2)), t3.currentDepth - i2 < t3.compact && c2 === e3.length && zr(t3, e3, e3.length + t3.indentationLvl + n2[0].length + r3.length + 10, r3)) {
|
|
769
|
+
})(t3, e3, a2)), t3.currentDepth - i2 < t3.compact && c2 === e3.length && zr(t3, e3, e3.length + t3.indentationLvl + n2[0].length + r3.length + 10, r3)) {
|
|
770
770
|
var l2 = ee(e3, ", ");
|
|
771
771
|
if (!l2.includes("\n")) return "".concat(r3 ? "".concat(r3, " ") : "").concat(n2[0], " ").concat(l2) + " ".concat(n2[1]);
|
|
772
772
|
}
|
|
@@ -943,9 +943,9 @@ var require_inspect = __commonJS({
|
|
|
943
943
|
function F() {
|
|
944
944
|
return L || (L = r2(618)), L;
|
|
945
945
|
}
|
|
946
|
-
var I = T(function(t3, e3, r3) {
|
|
946
|
+
var I = T((function(t3, e3, r3) {
|
|
947
947
|
(t3 = C(t3)).name = "".concat(e3, " [").concat(r3, "]"), t3.stack, delete t3.name;
|
|
948
|
-
});
|
|
948
|
+
}));
|
|
949
949
|
function T(t3) {
|
|
950
950
|
var e3 = "__node_internal_" + t3.name;
|
|
951
951
|
return b(t3, "name", { value: e3 }), t3;
|
|
@@ -954,14 +954,14 @@ var require_inspect = __commonJS({
|
|
|
954
954
|
var o2 = w.get(t3);
|
|
955
955
|
return void 0 === a && (a = r2(915)), a("function" == typeof o2), a(o2.length <= e3.length, "Code: ".concat(t3, "; The provided arguments length (").concat(e3.length, ") does not ") + "match the required ones (".concat(o2.length, ").")), h(o2, n2, e3);
|
|
956
956
|
}
|
|
957
|
-
var R, _, z, M, N, B, D, C = T(function(t3) {
|
|
957
|
+
var R, _, z, M, N, B, D, C = T((function(t3) {
|
|
958
958
|
return i = Error.stackTraceLimit, Error.stackTraceLimit = 1 / 0, d(t3), Error.stackTraceLimit = i, t3;
|
|
959
|
-
});
|
|
959
|
+
}));
|
|
960
960
|
t2.exports = { codes: A, hideStackFrames: T, isStackOverflowError: function(t3) {
|
|
961
961
|
if (void 0 === _) try {
|
|
962
|
-
!function t4() {
|
|
962
|
+
!(function t4() {
|
|
963
963
|
t4();
|
|
964
|
-
}();
|
|
964
|
+
})();
|
|
965
965
|
} catch (t4) {
|
|
966
966
|
_ = t4.message, R = t4.name;
|
|
967
967
|
}
|
|
@@ -975,16 +975,16 @@ var require_inspect = __commonJS({
|
|
|
975
975
|
i2 += '"'.concat(t3, '" ').concat(c2, " ");
|
|
976
976
|
}
|
|
977
977
|
i2 += "must be ";
|
|
978
|
-
var d2, b2 = [], h2 = [], m2 = [], w2 = function(t4, e4) {
|
|
978
|
+
var d2, b2 = [], h2 = [], m2 = [], w2 = (function(t4, e4) {
|
|
979
979
|
var r4 = "undefined" != typeof Symbol && t4[Symbol.iterator] || t4["@@iterator"];
|
|
980
980
|
if (!r4) {
|
|
981
|
-
if (Array.isArray(t4) || (r4 = function(t5, e5) {
|
|
981
|
+
if (Array.isArray(t4) || (r4 = (function(t5, e5) {
|
|
982
982
|
if (t5) {
|
|
983
983
|
if ("string" == typeof t5) return o(t5, e5);
|
|
984
984
|
var r5 = Object.prototype.toString.call(t5).slice(8, -1);
|
|
985
985
|
return "Object" === r5 && t5.constructor && (r5 = t5.constructor.name), "Map" === r5 || "Set" === r5 ? Array.from(t5) : "Arguments" === r5 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r5) ? o(t5, e5) : void 0;
|
|
986
986
|
}
|
|
987
|
-
}(t4)) || e4 && t4 && "number" == typeof t4.length) {
|
|
987
|
+
})(t4)) || e4 && t4 && "number" == typeof t4.length) {
|
|
988
988
|
r4 && (t4 = r4);
|
|
989
989
|
var n2 = 0, i3 = function() {
|
|
990
990
|
};
|
|
@@ -1011,7 +1011,7 @@ var require_inspect = __commonJS({
|
|
|
1011
1011
|
if (l2) throw a2;
|
|
1012
1012
|
}
|
|
1013
1013
|
} };
|
|
1014
|
-
}(e3);
|
|
1014
|
+
})(e3);
|
|
1015
1015
|
try {
|
|
1016
1016
|
for (w2.s(); !(d2 = w2.n()).done; ) {
|
|
1017
1017
|
var A2 = d2.value;
|
|
@@ -1180,10 +1180,10 @@ var require_inspect = __commonJS({
|
|
|
1180
1180
|
return t4 && "function" == typeof Symbol && t4.constructor === Symbol && t4 !== Symbol.prototype ? "symbol" : typeof t4;
|
|
1181
1181
|
}, n(t3);
|
|
1182
1182
|
}
|
|
1183
|
-
var o = r2(459).ArrayIsArray, i = r2(962), a = i.hideStackFrames, c = i.codes.ERR_INVALID_ARG_TYPE, l = a(function(t3, e3, r3) {
|
|
1183
|
+
var o = r2(459).ArrayIsArray, i = r2(962), a = i.hideStackFrames, c = i.codes.ERR_INVALID_ARG_TYPE, l = a((function(t3, e3, r3) {
|
|
1184
1184
|
var i2 = null == r3, a2 = !i2 && r3.allowArray, l2 = !i2 && r3.allowFunction;
|
|
1185
1185
|
if ((i2 || !r3.nullable) && null === t3 || !a2 && o(t3) || "object" !== n(t3) && (!l2 || "function" != typeof t3)) throw new c(e3, "Object", t3);
|
|
1186
|
-
});
|
|
1186
|
+
}));
|
|
1187
1187
|
t2.exports = { validateObject: l, validateString: function(t3, e3) {
|
|
1188
1188
|
if ("string" != typeof t3) throw new c(e3, "string", t3);
|
|
1189
1189
|
} };
|
|
@@ -1213,10 +1213,10 @@ var require_inspect = __commonJS({
|
|
|
1213
1213
|
function a(t3, e3) {
|
|
1214
1214
|
if (e3 && ("object" === n(e3) || "function" == typeof e3)) return e3;
|
|
1215
1215
|
if (void 0 !== e3) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1216
|
-
return function(t4) {
|
|
1216
|
+
return (function(t4) {
|
|
1217
1217
|
if (void 0 === t4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1218
1218
|
return t4;
|
|
1219
|
-
}(t3);
|
|
1219
|
+
})(t3);
|
|
1220
1220
|
}
|
|
1221
1221
|
function c(t3) {
|
|
1222
1222
|
var e3 = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
|
|
@@ -1247,8 +1247,8 @@ var require_inspect = __commonJS({
|
|
|
1247
1247
|
if (Reflect.construct.sham) return false;
|
|
1248
1248
|
if ("function" == typeof Proxy) return true;
|
|
1249
1249
|
try {
|
|
1250
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1251
|
-
})), true;
|
|
1250
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {
|
|
1251
|
+
}))), true;
|
|
1252
1252
|
} catch (t3) {
|
|
1253
1253
|
return false;
|
|
1254
1254
|
}
|
|
@@ -1276,7 +1276,7 @@ var require_inspect = __commonJS({
|
|
|
1276
1276
|
return e3 && y(t3.prototype, e3), r3 && y(t3, r3), Object.defineProperty(t3, "prototype", { writable: false }), t3;
|
|
1277
1277
|
}
|
|
1278
1278
|
var d = function(t3, e3) {
|
|
1279
|
-
var r3 = function(r4) {
|
|
1279
|
+
var r3 = (function(r4) {
|
|
1280
1280
|
function n2(e4) {
|
|
1281
1281
|
s(this, n2), this._iterator = t3(e4);
|
|
1282
1282
|
}
|
|
@@ -1285,7 +1285,7 @@ var require_inspect = __commonJS({
|
|
|
1285
1285
|
} }, { key: Symbol.iterator, value: function() {
|
|
1286
1286
|
return this;
|
|
1287
1287
|
} }]), n2;
|
|
1288
|
-
}();
|
|
1288
|
+
})();
|
|
1289
1289
|
return Object.setPrototypeOf(r3.prototype, null), Object.freeze(r3.prototype), Object.freeze(r3), r3;
|
|
1290
1290
|
};
|
|
1291
1291
|
function b(t3, e3) {
|
|
@@ -1295,13 +1295,13 @@ var require_inspect = __commonJS({
|
|
|
1295
1295
|
return Function.prototype.call.bind(t3);
|
|
1296
1296
|
}
|
|
1297
1297
|
var v = function(t3, e3) {
|
|
1298
|
-
Array.prototype.forEach.call(Reflect.ownKeys(t3), function(r3) {
|
|
1298
|
+
Array.prototype.forEach.call(Reflect.ownKeys(t3), (function(r3) {
|
|
1299
1299
|
Reflect.getOwnPropertyDescriptor(e3, r3) || Reflect.defineProperty(e3, r3, Reflect.getOwnPropertyDescriptor(t3, r3));
|
|
1300
|
-
});
|
|
1300
|
+
}));
|
|
1301
1301
|
}, m = function(t3, e3) {
|
|
1302
1302
|
if (Symbol.iterator in t3.prototype) {
|
|
1303
1303
|
var r3, n2 = new t3();
|
|
1304
|
-
Array.prototype.forEach.call(Reflect.ownKeys(t3.prototype), function(o2) {
|
|
1304
|
+
Array.prototype.forEach.call(Reflect.ownKeys(t3.prototype), (function(o2) {
|
|
1305
1305
|
if (!Reflect.getOwnPropertyDescriptor(e3.prototype, o2)) {
|
|
1306
1306
|
var i2 = Reflect.getOwnPropertyDescriptor(t3.prototype, o2);
|
|
1307
1307
|
if ("function" == typeof i2.value && 0 === i2.value.length && Symbol.iterator in (Function.prototype.call.call(i2.value, n2) || {})) {
|
|
@@ -1314,7 +1314,7 @@ var require_inspect = __commonJS({
|
|
|
1314
1314
|
}
|
|
1315
1315
|
Reflect.defineProperty(e3.prototype, o2, i2);
|
|
1316
1316
|
}
|
|
1317
|
-
});
|
|
1317
|
+
}));
|
|
1318
1318
|
} else v(t3.prototype, e3.prototype);
|
|
1319
1319
|
return v(t3, e3), Object.setPrototypeOf(e3.prototype, null), Object.freeze(e3.prototype), Object.freeze(e3), e3;
|
|
1320
1320
|
}, S = Function.prototype.call.bind(String.prototype[Symbol.iterator]), P = Reflect.getPrototypeOf(S(""));
|
|
@@ -1324,21 +1324,21 @@ var require_inspect = __commonJS({
|
|
|
1324
1324
|
}, Array, ArrayIsArray: Array.isArray, ArrayPrototypeFilter: Function.prototype.call.bind(Array.prototype.filter), ArrayPrototypeForEach: Function.prototype.call.bind(Array.prototype.forEach), ArrayPrototypeIncludes: Function.prototype.call.bind(Array.prototype.includes), ArrayPrototypeIndexOf: Function.prototype.call.bind(Array.prototype.indexOf), ArrayPrototypeJoin: Function.prototype.call.bind(Array.prototype.join), ArrayPrototypePop: Function.prototype.call.bind(Array.prototype.pop), ArrayPrototypePush: Function.prototype.call.bind(Array.prototype.push), ArrayPrototypePushApply: Function.apply.bind(Array.prototype.push), ArrayPrototypeSort: Function.prototype.call.bind(Array.prototype.sort), ArrayPrototypeSplice: Function.prototype.call.bind(Array.prototype.slice), ArrayPrototypeUnshift: Function.prototype.call.bind(Array.prototype.unshift), BigIntPrototypeValueOf: Function.prototype.call.bind(BigInt.prototype.valueOf), BooleanPrototypeValueOf: Function.prototype.call.bind(Boolean.prototype.valueOf), DatePrototypeGetTime: Function.prototype.call.bind(Date.prototype.getTime), DatePrototypeToISOString: Function.prototype.call.bind(Date.prototype.toISOString), DatePrototypeToString: Function.prototype.call.bind(Date.prototype.toString), ErrorCaptureStackTrace: function(t3) {
|
|
1325
1325
|
var e3 = new Error().stack;
|
|
1326
1326
|
t3.stack = e3.replace(/.*\n.*/, "$1");
|
|
1327
|
-
}, ErrorPrototypeToString: Function.prototype.call.bind(Error.prototype.toString), FunctionPrototypeCall: Function.prototype.call.bind(Function.prototype.call), FunctionPrototypeToString: Function.prototype.call.bind(Function.prototype.toString), globalThis: "undefined" == typeof globalThis ? r2.g : globalThis, JSONStringify: JSON.stringify, MapPrototypeGetSize: b(Map, "size"), MapPrototypeEntries: Function.prototype.call.bind(Map.prototype.entries), MathFloor: Math.floor, MathMax: Math.max, MathMin: Math.min, MathRound: Math.round, MathSqrt: Math.sqrt, MathTrunc: Math.trunc, Number, NumberIsFinite: Number.isFinite, NumberIsNaN: Number.isNaN, NumberParseFloat: Number.parseFloat, NumberParseInt: Number.parseInt, NumberPrototypeValueOf: Function.prototype.call.bind(Number.prototype.valueOf), Object, ObjectAssign: Object.assign, ObjectCreate: Object.create, ObjectDefineProperty: Object.defineProperty, ObjectGetOwnPropertyDescriptor: Object.getOwnPropertyDescriptor, ObjectGetOwnPropertyNames: Object.getOwnPropertyNames, ObjectGetOwnPropertySymbols: Object.getOwnPropertySymbols, ObjectGetPrototypeOf: Object.getPrototypeOf, ObjectIs: Object.is, ObjectKeys: Object.keys, ObjectPrototypeHasOwnProperty: Function.prototype.call.bind(Object.prototype.hasOwnProperty), ObjectPrototypePropertyIsEnumerable: Function.prototype.call.bind(Object.prototype.propertyIsEnumerable), ObjectSeal: Object.seal, ObjectSetPrototypeOf: Object.setPrototypeOf, ReflectApply: Reflect.apply, ReflectOwnKeys: Reflect.ownKeys, RegExp, RegExpPrototypeTest: Function.prototype.call.bind(RegExp.prototype.test), RegExpPrototypeToString: Function.prototype.call.bind(RegExp.prototype.toString), SafeStringIterator: d(S, Function.prototype.call.bind(P.next)), SafeMap: m(Map, function(t3) {
|
|
1327
|
+
}, ErrorPrototypeToString: Function.prototype.call.bind(Error.prototype.toString), FunctionPrototypeCall: Function.prototype.call.bind(Function.prototype.call), FunctionPrototypeToString: Function.prototype.call.bind(Function.prototype.toString), globalThis: "undefined" == typeof globalThis ? r2.g : globalThis, JSONStringify: JSON.stringify, MapPrototypeGetSize: b(Map, "size"), MapPrototypeEntries: Function.prototype.call.bind(Map.prototype.entries), MathFloor: Math.floor, MathMax: Math.max, MathMin: Math.min, MathRound: Math.round, MathSqrt: Math.sqrt, MathTrunc: Math.trunc, Number, NumberIsFinite: Number.isFinite, NumberIsNaN: Number.isNaN, NumberParseFloat: Number.parseFloat, NumberParseInt: Number.parseInt, NumberPrototypeValueOf: Function.prototype.call.bind(Number.prototype.valueOf), Object, ObjectAssign: Object.assign, ObjectCreate: Object.create, ObjectDefineProperty: Object.defineProperty, ObjectGetOwnPropertyDescriptor: Object.getOwnPropertyDescriptor, ObjectGetOwnPropertyNames: Object.getOwnPropertyNames, ObjectGetOwnPropertySymbols: Object.getOwnPropertySymbols, ObjectGetPrototypeOf: Object.getPrototypeOf, ObjectIs: Object.is, ObjectKeys: Object.keys, ObjectPrototypeHasOwnProperty: Function.prototype.call.bind(Object.prototype.hasOwnProperty), ObjectPrototypePropertyIsEnumerable: Function.prototype.call.bind(Object.prototype.propertyIsEnumerable), ObjectSeal: Object.seal, ObjectSetPrototypeOf: Object.setPrototypeOf, ReflectApply: Reflect.apply, ReflectOwnKeys: Reflect.ownKeys, RegExp, RegExpPrototypeTest: Function.prototype.call.bind(RegExp.prototype.test), RegExpPrototypeToString: Function.prototype.call.bind(RegExp.prototype.toString), SafeStringIterator: d(S, Function.prototype.call.bind(P.next)), SafeMap: m(Map, (function(t3) {
|
|
1328
1328
|
o(r3, t3);
|
|
1329
1329
|
var e3 = i(r3);
|
|
1330
1330
|
function r3(t4) {
|
|
1331
1331
|
return s(this, r3), e3.call(this, t4);
|
|
1332
1332
|
}
|
|
1333
1333
|
return g(r3);
|
|
1334
|
-
}(c(Map))), SafeSet: m(Set, function(t3) {
|
|
1334
|
+
})(c(Map))), SafeSet: m(Set, (function(t3) {
|
|
1335
1335
|
o(r3, t3);
|
|
1336
1336
|
var e3 = i(r3);
|
|
1337
1337
|
function r3(t4) {
|
|
1338
1338
|
return s(this, r3), e3.call(this, t4);
|
|
1339
1339
|
}
|
|
1340
1340
|
return g(r3);
|
|
1341
|
-
}(c(Set))), SetPrototypeGetSize: b(Set, "size"), SetPrototypeValues: Function.prototype.call.bind(Set.prototype.values), String, StringPrototypeCharCodeAt: Function.prototype.call.bind(String.prototype.charCodeAt), StringPrototypeCodePointAt: Function.prototype.call.bind(String.prototype.codePointAt), StringPrototypeEndsWith: Function.prototype.call.bind(String.prototype.endsWith), StringPrototypeIncludes: Function.prototype.call.bind(String.prototype.includes), StringPrototypeNormalize: Function.prototype.call.bind(String.prototype.normalize), StringPrototypePadEnd: Function.prototype.call.bind(String.prototype.padEnd), StringPrototypePadStart: Function.prototype.call.bind(String.prototype.padStart), StringPrototypeRepeat: Function.prototype.call.bind(String.prototype.repeat), StringPrototypeReplace: Function.prototype.call.bind(String.prototype.replace), StringPrototypeSlice: Function.prototype.call.bind(String.prototype.slice), StringPrototypeSplit: Function.prototype.call.bind(String.prototype.split), StringPrototypeToLowerCase: Function.prototype.call.bind(String.prototype.toLowerCase), StringPrototypeTrim: Function.prototype.call.bind(String.prototype.trim), StringPrototypeValueOf: Function.prototype.call.bind(String.prototype.valueOf), SymbolPrototypeToString: Function.prototype.call.bind(Symbol.prototype.toString), SymbolPrototypeValueOf: Function.prototype.call.bind(Symbol.prototype.valueOf), SymbolIterator: Symbol.iterator, SymbolFor: Symbol.for, SymbolToStringTag: Symbol.toStringTag, TypedArrayPrototypeGetLength: ("length", function(t3) {
|
|
1341
|
+
})(c(Set))), SetPrototypeGetSize: b(Set, "size"), SetPrototypeValues: Function.prototype.call.bind(Set.prototype.values), String, StringPrototypeCharCodeAt: Function.prototype.call.bind(String.prototype.charCodeAt), StringPrototypeCodePointAt: Function.prototype.call.bind(String.prototype.codePointAt), StringPrototypeEndsWith: Function.prototype.call.bind(String.prototype.endsWith), StringPrototypeIncludes: Function.prototype.call.bind(String.prototype.includes), StringPrototypeNormalize: Function.prototype.call.bind(String.prototype.normalize), StringPrototypePadEnd: Function.prototype.call.bind(String.prototype.padEnd), StringPrototypePadStart: Function.prototype.call.bind(String.prototype.padStart), StringPrototypeRepeat: Function.prototype.call.bind(String.prototype.repeat), StringPrototypeReplace: Function.prototype.call.bind(String.prototype.replace), StringPrototypeSlice: Function.prototype.call.bind(String.prototype.slice), StringPrototypeSplit: Function.prototype.call.bind(String.prototype.split), StringPrototypeToLowerCase: Function.prototype.call.bind(String.prototype.toLowerCase), StringPrototypeTrim: Function.prototype.call.bind(String.prototype.trim), StringPrototypeValueOf: Function.prototype.call.bind(String.prototype.valueOf), SymbolPrototypeToString: Function.prototype.call.bind(Symbol.prototype.toString), SymbolPrototypeValueOf: Function.prototype.call.bind(Symbol.prototype.valueOf), SymbolIterator: Symbol.iterator, SymbolFor: Symbol.for, SymbolToStringTag: Symbol.toStringTag, TypedArrayPrototypeGetLength: ("length", function(t3) {
|
|
1342
1342
|
return t3.constructor.prototype.__lookupGetter__("length").call(t3);
|
|
1343
1343
|
}), Uint8Array, uncurryThis: h };
|
|
1344
1344
|
}, 906: (t2) => {
|
|
@@ -1348,11 +1348,11 @@ var require_inspect = __commonJS({
|
|
|
1348
1348
|
n2.enumerable = n2.enumerable || false, n2.configurable = true, "value" in n2 && (n2.writable = true), Object.defineProperty(t3, n2.key, n2);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
-
var r2 = /* @__PURE__ */ new WeakMap(), n = function() {
|
|
1351
|
+
var r2 = /* @__PURE__ */ new WeakMap(), n = (function() {
|
|
1352
1352
|
function t3(e3, n3) {
|
|
1353
|
-
!function(t4, e4) {
|
|
1353
|
+
!(function(t4, e4) {
|
|
1354
1354
|
if (!(t4 instanceof e4)) throw new TypeError("Cannot call a class as a function");
|
|
1355
|
-
}(this, t3);
|
|
1355
|
+
})(this, t3);
|
|
1356
1356
|
var o2 = new Proxy(e3, n3);
|
|
1357
1357
|
return r2.set(o2, [e3, n3]), o2;
|
|
1358
1358
|
}
|
|
@@ -1361,7 +1361,7 @@ var require_inspect = __commonJS({
|
|
|
1361
1361
|
var e3 = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], n3 = r2.get(t4);
|
|
1362
1362
|
if (n3) return e3 ? n3 : n3[0];
|
|
1363
1363
|
} }], null, o && e2(n2, o), Object.defineProperty(n2, "prototype", { writable: false }), t3;
|
|
1364
|
-
}();
|
|
1364
|
+
})();
|
|
1365
1365
|
t2.exports = { getProxyDetails: n.getProxyDetails.bind(n), Proxy: n };
|
|
1366
1366
|
}, 493: (t2, e2, r2) => {
|
|
1367
1367
|
function n(t3) {
|
|
@@ -1403,9 +1403,9 @@ var require_inspect = __commonJS({
|
|
|
1403
1403
|
} };
|
|
1404
1404
|
}
|
|
1405
1405
|
function i(t3, e3) {
|
|
1406
|
-
return function(t4) {
|
|
1406
|
+
return (function(t4) {
|
|
1407
1407
|
if (Array.isArray(t4)) return t4;
|
|
1408
|
-
}(t3) || function(t4, e4) {
|
|
1408
|
+
})(t3) || (function(t4, e4) {
|
|
1409
1409
|
var r3 = null == t4 ? null : "undefined" != typeof Symbol && t4[Symbol.iterator] || t4["@@iterator"];
|
|
1410
1410
|
if (null != r3) {
|
|
1411
1411
|
var n2, o2, i2 = [], a2 = true, c2 = false;
|
|
@@ -1422,9 +1422,9 @@ var require_inspect = __commonJS({
|
|
|
1422
1422
|
}
|
|
1423
1423
|
return i2;
|
|
1424
1424
|
}
|
|
1425
|
-
}(t3, e3) || a(t3, e3) || function() {
|
|
1425
|
+
})(t3, e3) || a(t3, e3) || (function() {
|
|
1426
1426
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1427
|
-
}();
|
|
1427
|
+
})();
|
|
1428
1428
|
}
|
|
1429
1429
|
function a(t3, e3) {
|
|
1430
1430
|
if (t3) {
|
|
@@ -1478,16 +1478,16 @@ var require_inspect = __commonJS({
|
|
|
1478
1478
|
var i = e[n] = { exports: {} };
|
|
1479
1479
|
return t[n](i, i.exports, r), i.exports;
|
|
1480
1480
|
}
|
|
1481
|
-
return r.g = function() {
|
|
1481
|
+
return r.g = (function() {
|
|
1482
1482
|
if ("object" == typeof globalThis) return globalThis;
|
|
1483
1483
|
try {
|
|
1484
1484
|
return this || new Function("return this")();
|
|
1485
1485
|
} catch (t2) {
|
|
1486
1486
|
if ("object" == typeof window) return window;
|
|
1487
1487
|
}
|
|
1488
|
-
}(), r(618);
|
|
1488
|
+
})(), r(618);
|
|
1489
1489
|
})();
|
|
1490
|
-
});
|
|
1490
|
+
}));
|
|
1491
1491
|
}
|
|
1492
1492
|
});
|
|
1493
1493
|
|
|
@@ -3106,11 +3106,11 @@ import { getTracer, recordWarning } from "./tracer.cjs";
|
|
|
3106
3106
|
import { configureUseCacheHandlers } from "./use-cache-handler.js";
|
|
3107
3107
|
import { setupWaitUntil } from "./wait-until.cjs";
|
|
3108
3108
|
setFetchBeforeNextPatchedIt(globalThis.fetch);
|
|
3109
|
-
var { nextConfig, enableUseCacheHandler } = await getRunConfig();
|
|
3109
|
+
var { nextConfig: initialNextConfig, enableUseCacheHandler } = await getRunConfig();
|
|
3110
3110
|
if (enableUseCacheHandler) {
|
|
3111
3111
|
configureUseCacheHandlers();
|
|
3112
3112
|
}
|
|
3113
|
-
setRunConfig(
|
|
3113
|
+
var nextConfig = setRunConfig(initialNextConfig);
|
|
3114
3114
|
setupWaitUntil();
|
|
3115
3115
|
var nextImportPromise = import("../next.cjs");
|
|
3116
3116
|
var nextHandler;
|
|
@@ -3133,7 +3133,7 @@ var server_default = async (request, _context, topLevelSpan, requestContext) =>
|
|
|
3133
3133
|
await tracer.withActiveSpan("initialize next server", async () => {
|
|
3134
3134
|
const { getMockedRequestHandler } = await nextImportPromise;
|
|
3135
3135
|
const url = new URL(request.url);
|
|
3136
|
-
nextHandler = await getMockedRequestHandler({
|
|
3136
|
+
nextHandler = await getMockedRequestHandler(nextConfig, {
|
|
3137
3137
|
port: Number(url.port) || 443,
|
|
3138
3138
|
hostname: url.hostname,
|
|
3139
3139
|
dir: process.cwd(),
|
|
@@ -86,7 +86,7 @@ var pipeline = (0, import_util.promisify)(import_stream.pipeline);
|
|
|
86
86
|
|
|
87
87
|
// package.json
|
|
88
88
|
var name = "@netlify/plugin-nextjs";
|
|
89
|
-
var version = "5.
|
|
89
|
+
var version = "5.13.0";
|
|
90
90
|
|
|
91
91
|
// src/run/handlers/tags-handler.cts
|
|
92
92
|
var import_storage = require("../storage/storage.cjs");
|