@vercel/node 3.2.13 → 3.2.15
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/index.js +367 -93
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -19096,9 +19096,9 @@ var require_set_array_umd = __commonJS({
|
|
19096
19096
|
}
|
19097
19097
|
});
|
19098
19098
|
|
19099
|
-
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.
|
19099
|
+
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js
|
19100
19100
|
var require_sourcemap_codec_umd = __commonJS({
|
19101
|
-
"../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.
|
19101
|
+
"../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"(exports, module2) {
|
19102
19102
|
(function(global2, factory) {
|
19103
19103
|
typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.sourcemapCodec = {}));
|
19104
19104
|
})(exports, function(exports2) {
|
@@ -19113,6 +19113,41 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
19113
19113
|
intToChar[i] = c;
|
19114
19114
|
charToInt[c] = i;
|
19115
19115
|
}
|
19116
|
+
function decodeInteger(reader, relative3) {
|
19117
|
+
let value2 = 0;
|
19118
|
+
let shift = 0;
|
19119
|
+
let integer = 0;
|
19120
|
+
do {
|
19121
|
+
const c = reader.next();
|
19122
|
+
integer = charToInt[c];
|
19123
|
+
value2 |= (integer & 31) << shift;
|
19124
|
+
shift += 5;
|
19125
|
+
} while (integer & 32);
|
19126
|
+
const shouldNegate = value2 & 1;
|
19127
|
+
value2 >>>= 1;
|
19128
|
+
if (shouldNegate) {
|
19129
|
+
value2 = -2147483648 | -value2;
|
19130
|
+
}
|
19131
|
+
return relative3 + value2;
|
19132
|
+
}
|
19133
|
+
function encodeInteger(builder, num, relative3) {
|
19134
|
+
let delta = num - relative3;
|
19135
|
+
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
19136
|
+
do {
|
19137
|
+
let clamped = delta & 31;
|
19138
|
+
delta >>>= 5;
|
19139
|
+
if (delta > 0)
|
19140
|
+
clamped |= 32;
|
19141
|
+
builder.write(intToChar[clamped]);
|
19142
|
+
} while (delta > 0);
|
19143
|
+
return num;
|
19144
|
+
}
|
19145
|
+
function hasMoreVlq(reader, max) {
|
19146
|
+
if (reader.pos >= max)
|
19147
|
+
return false;
|
19148
|
+
return reader.peek() !== comma;
|
19149
|
+
}
|
19150
|
+
const bufLength = 1024 * 16;
|
19116
19151
|
const td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
|
19117
19152
|
decode(buf) {
|
19118
19153
|
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
@@ -19127,72 +19162,317 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
19127
19162
|
return out;
|
19128
19163
|
}
|
19129
19164
|
};
|
19165
|
+
class StringWriter {
|
19166
|
+
constructor() {
|
19167
|
+
this.pos = 0;
|
19168
|
+
this.out = "";
|
19169
|
+
this.buffer = new Uint8Array(bufLength);
|
19170
|
+
}
|
19171
|
+
write(v) {
|
19172
|
+
const { buffer } = this;
|
19173
|
+
buffer[this.pos++] = v;
|
19174
|
+
if (this.pos === bufLength) {
|
19175
|
+
this.out += td.decode(buffer);
|
19176
|
+
this.pos = 0;
|
19177
|
+
}
|
19178
|
+
}
|
19179
|
+
flush() {
|
19180
|
+
const { buffer, out, pos } = this;
|
19181
|
+
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
19182
|
+
}
|
19183
|
+
}
|
19184
|
+
class StringReader {
|
19185
|
+
constructor(buffer) {
|
19186
|
+
this.pos = 0;
|
19187
|
+
this.buffer = buffer;
|
19188
|
+
}
|
19189
|
+
next() {
|
19190
|
+
return this.buffer.charCodeAt(this.pos++);
|
19191
|
+
}
|
19192
|
+
peek() {
|
19193
|
+
return this.buffer.charCodeAt(this.pos);
|
19194
|
+
}
|
19195
|
+
indexOf(char) {
|
19196
|
+
const { buffer, pos } = this;
|
19197
|
+
const idx = buffer.indexOf(char, pos);
|
19198
|
+
return idx === -1 ? buffer.length : idx;
|
19199
|
+
}
|
19200
|
+
}
|
19201
|
+
const EMPTY = [];
|
19202
|
+
function decodeOriginalScopes(input) {
|
19203
|
+
const { length } = input;
|
19204
|
+
const reader = new StringReader(input);
|
19205
|
+
const scopes = [];
|
19206
|
+
const stack = [];
|
19207
|
+
let line = 0;
|
19208
|
+
for (; reader.pos < length; reader.pos++) {
|
19209
|
+
line = decodeInteger(reader, line);
|
19210
|
+
const column = decodeInteger(reader, 0);
|
19211
|
+
if (!hasMoreVlq(reader, length)) {
|
19212
|
+
const last = stack.pop();
|
19213
|
+
last[2] = line;
|
19214
|
+
last[3] = column;
|
19215
|
+
continue;
|
19216
|
+
}
|
19217
|
+
const kind = decodeInteger(reader, 0);
|
19218
|
+
const fields = decodeInteger(reader, 0);
|
19219
|
+
const hasName = fields & 1;
|
19220
|
+
const scope = hasName ? [line, column, 0, 0, kind, decodeInteger(reader, 0)] : [line, column, 0, 0, kind];
|
19221
|
+
let vars = EMPTY;
|
19222
|
+
if (hasMoreVlq(reader, length)) {
|
19223
|
+
vars = [];
|
19224
|
+
do {
|
19225
|
+
const varsIndex = decodeInteger(reader, 0);
|
19226
|
+
vars.push(varsIndex);
|
19227
|
+
} while (hasMoreVlq(reader, length));
|
19228
|
+
}
|
19229
|
+
scope.vars = vars;
|
19230
|
+
scopes.push(scope);
|
19231
|
+
stack.push(scope);
|
19232
|
+
}
|
19233
|
+
return scopes;
|
19234
|
+
}
|
19235
|
+
function encodeOriginalScopes(scopes) {
|
19236
|
+
const writer = new StringWriter();
|
19237
|
+
for (let i = 0; i < scopes.length; ) {
|
19238
|
+
i = _encodeOriginalScopes(scopes, i, writer, [0]);
|
19239
|
+
}
|
19240
|
+
return writer.flush();
|
19241
|
+
}
|
19242
|
+
function _encodeOriginalScopes(scopes, index, writer, state) {
|
19243
|
+
const scope = scopes[index];
|
19244
|
+
const { 0: startLine, 1: startColumn, 2: endLine, 3: endColumn, 4: kind, vars } = scope;
|
19245
|
+
if (index > 0)
|
19246
|
+
writer.write(comma);
|
19247
|
+
state[0] = encodeInteger(writer, startLine, state[0]);
|
19248
|
+
encodeInteger(writer, startColumn, 0);
|
19249
|
+
encodeInteger(writer, kind, 0);
|
19250
|
+
const fields = scope.length === 6 ? 1 : 0;
|
19251
|
+
encodeInteger(writer, fields, 0);
|
19252
|
+
if (scope.length === 6)
|
19253
|
+
encodeInteger(writer, scope[5], 0);
|
19254
|
+
for (const v of vars) {
|
19255
|
+
encodeInteger(writer, v, 0);
|
19256
|
+
}
|
19257
|
+
for (index++; index < scopes.length; ) {
|
19258
|
+
const next = scopes[index];
|
19259
|
+
const { 0: l, 1: c } = next;
|
19260
|
+
if (l > endLine || l === endLine && c >= endColumn) {
|
19261
|
+
break;
|
19262
|
+
}
|
19263
|
+
index = _encodeOriginalScopes(scopes, index, writer, state);
|
19264
|
+
}
|
19265
|
+
writer.write(comma);
|
19266
|
+
state[0] = encodeInteger(writer, endLine, state[0]);
|
19267
|
+
encodeInteger(writer, endColumn, 0);
|
19268
|
+
return index;
|
19269
|
+
}
|
19270
|
+
function decodeGeneratedRanges(input) {
|
19271
|
+
const { length } = input;
|
19272
|
+
const reader = new StringReader(input);
|
19273
|
+
const ranges = [];
|
19274
|
+
const stack = [];
|
19275
|
+
let genLine = 0;
|
19276
|
+
let definitionSourcesIndex = 0;
|
19277
|
+
let definitionScopeIndex = 0;
|
19278
|
+
let callsiteSourcesIndex = 0;
|
19279
|
+
let callsiteLine = 0;
|
19280
|
+
let callsiteColumn = 0;
|
19281
|
+
let bindingLine = 0;
|
19282
|
+
let bindingColumn = 0;
|
19283
|
+
do {
|
19284
|
+
const semi = reader.indexOf(";");
|
19285
|
+
let genColumn = 0;
|
19286
|
+
for (; reader.pos < semi; reader.pos++) {
|
19287
|
+
genColumn = decodeInteger(reader, genColumn);
|
19288
|
+
if (!hasMoreVlq(reader, semi)) {
|
19289
|
+
const last = stack.pop();
|
19290
|
+
last[2] = genLine;
|
19291
|
+
last[3] = genColumn;
|
19292
|
+
continue;
|
19293
|
+
}
|
19294
|
+
const fields = decodeInteger(reader, 0);
|
19295
|
+
const hasDefinition = fields & 1;
|
19296
|
+
const hasCallsite = fields & 2;
|
19297
|
+
const hasScope = fields & 4;
|
19298
|
+
let callsite = null;
|
19299
|
+
let bindings = EMPTY;
|
19300
|
+
let range;
|
19301
|
+
if (hasDefinition) {
|
19302
|
+
const defSourcesIndex = decodeInteger(reader, definitionSourcesIndex);
|
19303
|
+
definitionScopeIndex = decodeInteger(reader, definitionSourcesIndex === defSourcesIndex ? definitionScopeIndex : 0);
|
19304
|
+
definitionSourcesIndex = defSourcesIndex;
|
19305
|
+
range = [genLine, genColumn, 0, 0, defSourcesIndex, definitionScopeIndex];
|
19306
|
+
} else {
|
19307
|
+
range = [genLine, genColumn, 0, 0];
|
19308
|
+
}
|
19309
|
+
range.isScope = !!hasScope;
|
19310
|
+
if (hasCallsite) {
|
19311
|
+
const prevCsi = callsiteSourcesIndex;
|
19312
|
+
const prevLine = callsiteLine;
|
19313
|
+
callsiteSourcesIndex = decodeInteger(reader, callsiteSourcesIndex);
|
19314
|
+
const sameSource = prevCsi === callsiteSourcesIndex;
|
19315
|
+
callsiteLine = decodeInteger(reader, sameSource ? callsiteLine : 0);
|
19316
|
+
callsiteColumn = decodeInteger(reader, sameSource && prevLine === callsiteLine ? callsiteColumn : 0);
|
19317
|
+
callsite = [callsiteSourcesIndex, callsiteLine, callsiteColumn];
|
19318
|
+
}
|
19319
|
+
range.callsite = callsite;
|
19320
|
+
if (hasMoreVlq(reader, semi)) {
|
19321
|
+
bindings = [];
|
19322
|
+
do {
|
19323
|
+
bindingLine = genLine;
|
19324
|
+
bindingColumn = genColumn;
|
19325
|
+
const expressionsCount = decodeInteger(reader, 0);
|
19326
|
+
let expressionRanges;
|
19327
|
+
if (expressionsCount < -1) {
|
19328
|
+
expressionRanges = [[decodeInteger(reader, 0)]];
|
19329
|
+
for (let i = -1; i > expressionsCount; i--) {
|
19330
|
+
const prevBl = bindingLine;
|
19331
|
+
bindingLine = decodeInteger(reader, bindingLine);
|
19332
|
+
bindingColumn = decodeInteger(reader, bindingLine === prevBl ? bindingColumn : 0);
|
19333
|
+
const expression = decodeInteger(reader, 0);
|
19334
|
+
expressionRanges.push([expression, bindingLine, bindingColumn]);
|
19335
|
+
}
|
19336
|
+
} else {
|
19337
|
+
expressionRanges = [[expressionsCount]];
|
19338
|
+
}
|
19339
|
+
bindings.push(expressionRanges);
|
19340
|
+
} while (hasMoreVlq(reader, semi));
|
19341
|
+
}
|
19342
|
+
range.bindings = bindings;
|
19343
|
+
ranges.push(range);
|
19344
|
+
stack.push(range);
|
19345
|
+
}
|
19346
|
+
genLine++;
|
19347
|
+
reader.pos = semi + 1;
|
19348
|
+
} while (reader.pos < length);
|
19349
|
+
return ranges;
|
19350
|
+
}
|
19351
|
+
function encodeGeneratedRanges(ranges) {
|
19352
|
+
if (ranges.length === 0)
|
19353
|
+
return "";
|
19354
|
+
const writer = new StringWriter();
|
19355
|
+
for (let i = 0; i < ranges.length; ) {
|
19356
|
+
i = _encodeGeneratedRanges(ranges, i, writer, [0, 0, 0, 0, 0, 0, 0]);
|
19357
|
+
}
|
19358
|
+
return writer.flush();
|
19359
|
+
}
|
19360
|
+
function _encodeGeneratedRanges(ranges, index, writer, state) {
|
19361
|
+
const range = ranges[index];
|
19362
|
+
const { 0: startLine, 1: startColumn, 2: endLine, 3: endColumn, isScope, callsite, bindings } = range;
|
19363
|
+
if (state[0] < startLine) {
|
19364
|
+
catchupLine(writer, state[0], startLine);
|
19365
|
+
state[0] = startLine;
|
19366
|
+
state[1] = 0;
|
19367
|
+
} else if (index > 0) {
|
19368
|
+
writer.write(comma);
|
19369
|
+
}
|
19370
|
+
state[1] = encodeInteger(writer, range[1], state[1]);
|
19371
|
+
const fields = (range.length === 6 ? 1 : 0) | (callsite ? 2 : 0) | (isScope ? 4 : 0);
|
19372
|
+
encodeInteger(writer, fields, 0);
|
19373
|
+
if (range.length === 6) {
|
19374
|
+
const { 4: sourcesIndex, 5: scopesIndex } = range;
|
19375
|
+
if (sourcesIndex !== state[2]) {
|
19376
|
+
state[3] = 0;
|
19377
|
+
}
|
19378
|
+
state[2] = encodeInteger(writer, sourcesIndex, state[2]);
|
19379
|
+
state[3] = encodeInteger(writer, scopesIndex, state[3]);
|
19380
|
+
}
|
19381
|
+
if (callsite) {
|
19382
|
+
const { 0: sourcesIndex, 1: callLine, 2: callColumn } = range.callsite;
|
19383
|
+
if (sourcesIndex !== state[4]) {
|
19384
|
+
state[5] = 0;
|
19385
|
+
state[6] = 0;
|
19386
|
+
} else if (callLine !== state[5]) {
|
19387
|
+
state[6] = 0;
|
19388
|
+
}
|
19389
|
+
state[4] = encodeInteger(writer, sourcesIndex, state[4]);
|
19390
|
+
state[5] = encodeInteger(writer, callLine, state[5]);
|
19391
|
+
state[6] = encodeInteger(writer, callColumn, state[6]);
|
19392
|
+
}
|
19393
|
+
if (bindings) {
|
19394
|
+
for (const binding of bindings) {
|
19395
|
+
if (binding.length > 1)
|
19396
|
+
encodeInteger(writer, -binding.length, 0);
|
19397
|
+
const expression = binding[0][0];
|
19398
|
+
encodeInteger(writer, expression, 0);
|
19399
|
+
let bindingStartLine = startLine;
|
19400
|
+
let bindingStartColumn = startColumn;
|
19401
|
+
for (let i = 1; i < binding.length; i++) {
|
19402
|
+
const expRange = binding[i];
|
19403
|
+
bindingStartLine = encodeInteger(writer, expRange[1], bindingStartLine);
|
19404
|
+
bindingStartColumn = encodeInteger(writer, expRange[2], bindingStartColumn);
|
19405
|
+
encodeInteger(writer, expRange[0], 0);
|
19406
|
+
}
|
19407
|
+
}
|
19408
|
+
}
|
19409
|
+
for (index++; index < ranges.length; ) {
|
19410
|
+
const next = ranges[index];
|
19411
|
+
const { 0: l, 1: c } = next;
|
19412
|
+
if (l > endLine || l === endLine && c >= endColumn) {
|
19413
|
+
break;
|
19414
|
+
}
|
19415
|
+
index = _encodeGeneratedRanges(ranges, index, writer, state);
|
19416
|
+
}
|
19417
|
+
if (state[0] < endLine) {
|
19418
|
+
catchupLine(writer, state[0], endLine);
|
19419
|
+
state[0] = endLine;
|
19420
|
+
state[1] = 0;
|
19421
|
+
} else {
|
19422
|
+
writer.write(comma);
|
19423
|
+
}
|
19424
|
+
state[1] = encodeInteger(writer, endColumn, state[1]);
|
19425
|
+
return index;
|
19426
|
+
}
|
19427
|
+
function catchupLine(writer, lastLine, line) {
|
19428
|
+
do {
|
19429
|
+
writer.write(semicolon);
|
19430
|
+
} while (++lastLine < line);
|
19431
|
+
}
|
19130
19432
|
function decode(mappings) {
|
19131
|
-
const
|
19433
|
+
const { length } = mappings;
|
19434
|
+
const reader = new StringReader(mappings);
|
19132
19435
|
const decoded = [];
|
19133
|
-
let
|
19436
|
+
let genColumn = 0;
|
19437
|
+
let sourcesIndex = 0;
|
19438
|
+
let sourceLine = 0;
|
19439
|
+
let sourceColumn = 0;
|
19440
|
+
let namesIndex = 0;
|
19134
19441
|
do {
|
19135
|
-
const semi = indexOf(
|
19442
|
+
const semi = reader.indexOf(";");
|
19136
19443
|
const line = [];
|
19137
19444
|
let sorted = true;
|
19138
19445
|
let lastCol = 0;
|
19139
|
-
|
19140
|
-
|
19446
|
+
genColumn = 0;
|
19447
|
+
while (reader.pos < semi) {
|
19141
19448
|
let seg;
|
19142
|
-
|
19143
|
-
|
19144
|
-
if (col < lastCol)
|
19449
|
+
genColumn = decodeInteger(reader, genColumn);
|
19450
|
+
if (genColumn < lastCol)
|
19145
19451
|
sorted = false;
|
19146
|
-
lastCol =
|
19147
|
-
if (hasMoreVlq(
|
19148
|
-
|
19149
|
-
|
19150
|
-
|
19151
|
-
if (hasMoreVlq(
|
19152
|
-
|
19153
|
-
seg = [
|
19452
|
+
lastCol = genColumn;
|
19453
|
+
if (hasMoreVlq(reader, semi)) {
|
19454
|
+
sourcesIndex = decodeInteger(reader, sourcesIndex);
|
19455
|
+
sourceLine = decodeInteger(reader, sourceLine);
|
19456
|
+
sourceColumn = decodeInteger(reader, sourceColumn);
|
19457
|
+
if (hasMoreVlq(reader, semi)) {
|
19458
|
+
namesIndex = decodeInteger(reader, namesIndex);
|
19459
|
+
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
|
19154
19460
|
} else {
|
19155
|
-
seg = [
|
19461
|
+
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
|
19156
19462
|
}
|
19157
19463
|
} else {
|
19158
|
-
seg = [
|
19464
|
+
seg = [genColumn];
|
19159
19465
|
}
|
19160
19466
|
line.push(seg);
|
19467
|
+
reader.pos++;
|
19161
19468
|
}
|
19162
19469
|
if (!sorted)
|
19163
19470
|
sort(line);
|
19164
19471
|
decoded.push(line);
|
19165
|
-
|
19166
|
-
} while (
|
19472
|
+
reader.pos = semi + 1;
|
19473
|
+
} while (reader.pos <= length);
|
19167
19474
|
return decoded;
|
19168
19475
|
}
|
19169
|
-
function indexOf(mappings, index) {
|
19170
|
-
const idx = mappings.indexOf(";", index);
|
19171
|
-
return idx === -1 ? mappings.length : idx;
|
19172
|
-
}
|
19173
|
-
function decodeInteger(mappings, pos, state, j) {
|
19174
|
-
let value2 = 0;
|
19175
|
-
let shift = 0;
|
19176
|
-
let integer = 0;
|
19177
|
-
do {
|
19178
|
-
const c = mappings.charCodeAt(pos++);
|
19179
|
-
integer = charToInt[c];
|
19180
|
-
value2 |= (integer & 31) << shift;
|
19181
|
-
shift += 5;
|
19182
|
-
} while (integer & 32);
|
19183
|
-
const shouldNegate = value2 & 1;
|
19184
|
-
value2 >>>= 1;
|
19185
|
-
if (shouldNegate) {
|
19186
|
-
value2 = -2147483648 | -value2;
|
19187
|
-
}
|
19188
|
-
state[j] += value2;
|
19189
|
-
return pos;
|
19190
|
-
}
|
19191
|
-
function hasMoreVlq(mappings, i, length) {
|
19192
|
-
if (i >= length)
|
19193
|
-
return false;
|
19194
|
-
return mappings.charCodeAt(i) !== comma;
|
19195
|
-
}
|
19196
19476
|
function sort(line) {
|
19197
19477
|
line.sort(sortComparator);
|
19198
19478
|
}
|
@@ -19200,63 +19480,41 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
19200
19480
|
return a[0] - b[0];
|
19201
19481
|
}
|
19202
19482
|
function encode(decoded) {
|
19203
|
-
const
|
19204
|
-
|
19205
|
-
|
19206
|
-
|
19207
|
-
|
19208
|
-
let pos = 0;
|
19209
|
-
let out = "";
|
19483
|
+
const writer = new StringWriter();
|
19484
|
+
let sourcesIndex = 0;
|
19485
|
+
let sourceLine = 0;
|
19486
|
+
let sourceColumn = 0;
|
19487
|
+
let namesIndex = 0;
|
19210
19488
|
for (let i = 0; i < decoded.length; i++) {
|
19211
19489
|
const line = decoded[i];
|
19212
|
-
if (i > 0)
|
19213
|
-
|
19214
|
-
out += td.decode(buf);
|
19215
|
-
pos = 0;
|
19216
|
-
}
|
19217
|
-
buf[pos++] = semicolon;
|
19218
|
-
}
|
19490
|
+
if (i > 0)
|
19491
|
+
writer.write(semicolon);
|
19219
19492
|
if (line.length === 0)
|
19220
19493
|
continue;
|
19221
|
-
|
19494
|
+
let genColumn = 0;
|
19222
19495
|
for (let j = 0; j < line.length; j++) {
|
19223
19496
|
const segment = line[j];
|
19224
|
-
if (pos > subLength) {
|
19225
|
-
out += td.decode(sub);
|
19226
|
-
buf.copyWithin(0, subLength, pos);
|
19227
|
-
pos -= subLength;
|
19228
|
-
}
|
19229
19497
|
if (j > 0)
|
19230
|
-
|
19231
|
-
|
19498
|
+
writer.write(comma);
|
19499
|
+
genColumn = encodeInteger(writer, segment[0], genColumn);
|
19232
19500
|
if (segment.length === 1)
|
19233
19501
|
continue;
|
19234
|
-
|
19235
|
-
|
19236
|
-
|
19502
|
+
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
|
19503
|
+
sourceLine = encodeInteger(writer, segment[2], sourceLine);
|
19504
|
+
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
|
19237
19505
|
if (segment.length === 4)
|
19238
19506
|
continue;
|
19239
|
-
|
19507
|
+
namesIndex = encodeInteger(writer, segment[4], namesIndex);
|
19240
19508
|
}
|
19241
19509
|
}
|
19242
|
-
return
|
19243
|
-
}
|
19244
|
-
function encodeInteger(buf, pos, state, segment, j) {
|
19245
|
-
const next = segment[j];
|
19246
|
-
let num = next - state[j];
|
19247
|
-
state[j] = next;
|
19248
|
-
num = num < 0 ? -num << 1 | 1 : num << 1;
|
19249
|
-
do {
|
19250
|
-
let clamped = num & 31;
|
19251
|
-
num >>>= 5;
|
19252
|
-
if (num > 0)
|
19253
|
-
clamped |= 32;
|
19254
|
-
buf[pos++] = intToChar[clamped];
|
19255
|
-
} while (num > 0);
|
19256
|
-
return pos;
|
19510
|
+
return writer.flush();
|
19257
19511
|
}
|
19258
19512
|
exports2.decode = decode;
|
19513
|
+
exports2.decodeGeneratedRanges = decodeGeneratedRanges;
|
19514
|
+
exports2.decodeOriginalScopes = decodeOriginalScopes;
|
19259
19515
|
exports2.encode = encode;
|
19516
|
+
exports2.encodeGeneratedRanges = encodeGeneratedRanges;
|
19517
|
+
exports2.encodeOriginalScopes = encodeOriginalScopes;
|
19260
19518
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
19261
19519
|
});
|
19262
19520
|
}
|
@@ -26079,9 +26337,9 @@ var require_js_tokens = __commonJS({
|
|
26079
26337
|
}
|
26080
26338
|
});
|
26081
26339
|
|
26082
|
-
// ../../node_modules/.pnpm/picocolors@1.0
|
26340
|
+
// ../../node_modules/.pnpm/picocolors@1.1.0/node_modules/picocolors/picocolors.js
|
26083
26341
|
var require_picocolors = __commonJS({
|
26084
|
-
"../../node_modules/.pnpm/picocolors@1.0
|
26342
|
+
"../../node_modules/.pnpm/picocolors@1.1.0/node_modules/picocolors/picocolors.js"(exports, module2) {
|
26085
26343
|
var argv = process.argv || [];
|
26086
26344
|
var env = process.env;
|
26087
26345
|
var isColorSupported = !("NO_COLOR" in env || argv.includes("--no-color")) && ("FORCE_COLOR" in env || argv.includes("--color") || process.platform === "win32" || require != null && require("tty").isatty(1) && env.TERM !== "dumb" || "CI" in env);
|
@@ -26128,7 +26386,23 @@ var require_picocolors = __commonJS({
|
|
26128
26386
|
bgBlue: init("\x1B[44m", "\x1B[49m"),
|
26129
26387
|
bgMagenta: init("\x1B[45m", "\x1B[49m"),
|
26130
26388
|
bgCyan: init("\x1B[46m", "\x1B[49m"),
|
26131
|
-
bgWhite: init("\x1B[47m", "\x1B[49m")
|
26389
|
+
bgWhite: init("\x1B[47m", "\x1B[49m"),
|
26390
|
+
blackBright: init("\x1B[90m", "\x1B[39m"),
|
26391
|
+
redBright: init("\x1B[91m", "\x1B[39m"),
|
26392
|
+
greenBright: init("\x1B[92m", "\x1B[39m"),
|
26393
|
+
yellowBright: init("\x1B[93m", "\x1B[39m"),
|
26394
|
+
blueBright: init("\x1B[94m", "\x1B[39m"),
|
26395
|
+
magentaBright: init("\x1B[95m", "\x1B[39m"),
|
26396
|
+
cyanBright: init("\x1B[96m", "\x1B[39m"),
|
26397
|
+
whiteBright: init("\x1B[97m", "\x1B[39m"),
|
26398
|
+
bgBlackBright: init("\x1B[100m", "\x1B[49m"),
|
26399
|
+
bgRedBright: init("\x1B[101m", "\x1B[49m"),
|
26400
|
+
bgGreenBright: init("\x1B[102m", "\x1B[49m"),
|
26401
|
+
bgYellowBright: init("\x1B[103m", "\x1B[49m"),
|
26402
|
+
bgBlueBright: init("\x1B[104m", "\x1B[49m"),
|
26403
|
+
bgMagentaBright: init("\x1B[105m", "\x1B[49m"),
|
26404
|
+
bgCyanBright: init("\x1B[106m", "\x1B[49m"),
|
26405
|
+
bgWhiteBright: init("\x1B[107m", "\x1B[49m")
|
26132
26406
|
};
|
26133
26407
|
};
|
26134
26408
|
module2.exports = createColors();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/node",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.15",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"@edge-runtime/primitives": "4.1.0",
|
18
18
|
"@edge-runtime/vm": "3.2.0",
|
19
19
|
"@types/node": "16.18.11",
|
20
|
-
"@vercel/build-utils": "8.4.
|
20
|
+
"@vercel/build-utils": "8.4.3",
|
21
21
|
"@vercel/error-utils": "2.0.2",
|
22
22
|
"@vercel/nft": "0.27.3",
|
23
23
|
"@vercel/static-config": "3.0.0",
|