Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c14f92a8f9 | ||
|
|
d30def842e | ||
|
|
a5be4722a6 | ||
|
|
67e27a7eb7 | ||
|
|
8e85a3cf14 |
680
dist/main.cjs
vendored
680
dist/main.cjs
vendored
File diff suppressed because it is too large
Load Diff
660
dist/post.cjs
vendored
660
dist/post.cjs
vendored
@@ -20779,7 +20779,8 @@ var require_util8 = __commonJS({
|
|||||||
async start() {
|
async start() {
|
||||||
iterator = iterable[Symbol.asyncIterator]();
|
iterator = iterable[Symbol.asyncIterator]();
|
||||||
},
|
},
|
||||||
async pull(controller) {
|
pull(controller) {
|
||||||
|
async function pull() {
|
||||||
const { done, value } = await iterator.next();
|
const { done, value } = await iterator.next();
|
||||||
if (done) {
|
if (done) {
|
||||||
queueMicrotask(() => {
|
queueMicrotask(() => {
|
||||||
@@ -20790,9 +20791,12 @@ var require_util8 = __commonJS({
|
|||||||
const buf = Buffer.isBuffer(value) ? value : Buffer.from(value);
|
const buf = Buffer.isBuffer(value) ? value : Buffer.from(value);
|
||||||
if (buf.byteLength) {
|
if (buf.byteLength) {
|
||||||
controller.enqueue(new Uint8Array(buf));
|
controller.enqueue(new Uint8Array(buf));
|
||||||
|
} else {
|
||||||
|
return await pull();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return controller.desiredSize > 0;
|
}
|
||||||
|
return pull();
|
||||||
},
|
},
|
||||||
async cancel() {
|
async cancel() {
|
||||||
await iterator.return();
|
await iterator.return();
|
||||||
@@ -25308,6 +25312,13 @@ var require_body2 = __commonJS({
|
|||||||
var { isArrayBuffer } = require("node:util/types");
|
var { isArrayBuffer } = require("node:util/types");
|
||||||
var { serializeAMimeType } = require_data_url();
|
var { serializeAMimeType } = require_data_url();
|
||||||
var { multipartFormDataParser } = require_formdata_parser();
|
var { multipartFormDataParser } = require_formdata_parser();
|
||||||
|
var random;
|
||||||
|
try {
|
||||||
|
const crypto = require("node:crypto");
|
||||||
|
random = (max) => crypto.randomInt(0, max);
|
||||||
|
} catch {
|
||||||
|
random = (max) => Math.floor(Math.random(max));
|
||||||
|
}
|
||||||
var textEncoder = new TextEncoder();
|
var textEncoder = new TextEncoder();
|
||||||
function noop() {
|
function noop() {
|
||||||
}
|
}
|
||||||
@@ -25357,7 +25368,7 @@ var require_body2 = __commonJS({
|
|||||||
} else if (ArrayBuffer.isView(object)) {
|
} else if (ArrayBuffer.isView(object)) {
|
||||||
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));
|
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));
|
||||||
} else if (webidl.is.FormData(object)) {
|
} else if (webidl.is.FormData(object)) {
|
||||||
const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, "0")}`;
|
const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, "0")}`;
|
||||||
const prefix = `--${boundary}\r
|
const prefix = `--${boundary}\r
|
||||||
Content-Disposition: form-data`;
|
Content-Disposition: form-data`;
|
||||||
const escape = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22");
|
const escape = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22");
|
||||||
@@ -28807,7 +28818,7 @@ var require_retry_handler = __commonJS({
|
|||||||
retryAfterHeader = Number.isNaN(retryAfterHeader) ? calculateRetryAfterHeader(retryAfterHeader) : retryAfterHeader * 1e3;
|
retryAfterHeader = Number.isNaN(retryAfterHeader) ? calculateRetryAfterHeader(retryAfterHeader) : retryAfterHeader * 1e3;
|
||||||
}
|
}
|
||||||
const retryTimeout = retryAfterHeader > 0 ? Math.min(retryAfterHeader, maxTimeout) : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout);
|
const retryTimeout = retryAfterHeader > 0 ? Math.min(retryAfterHeader, maxTimeout) : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout);
|
||||||
setTimeout(() => cb(null), retryTimeout).unref();
|
setTimeout(() => cb(null), retryTimeout);
|
||||||
}
|
}
|
||||||
onResponseStart(controller, statusCode, headers, statusMessage) {
|
onResponseStart(controller, statusCode, headers, statusMessage) {
|
||||||
this.retryCount += 1;
|
this.retryCount += 1;
|
||||||
@@ -28914,7 +28925,7 @@ var require_retry_handler = __commonJS({
|
|||||||
return this.handler.onResponseEnd?.(controller, trailers);
|
return this.handler.onResponseEnd?.(controller, trailers);
|
||||||
}
|
}
|
||||||
onResponseError(controller, err) {
|
onResponseError(controller, err) {
|
||||||
if (!controller || controller.aborted || isDisturbed(this.opts.body)) {
|
if (controller?.aborted || isDisturbed(this.opts.body)) {
|
||||||
this.handler.onResponseError?.(controller, err);
|
this.handler.onResponseError?.(controller, err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -31471,7 +31482,7 @@ var require_dns = __commonJS({
|
|||||||
runLookup(origin, opts, cb) {
|
runLookup(origin, opts, cb) {
|
||||||
const ips = this.#records.get(origin.hostname);
|
const ips = this.#records.get(origin.hostname);
|
||||||
if (ips == null && this.full) {
|
if (ips == null && this.full) {
|
||||||
cb(null, origin.origin);
|
cb(null, origin);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const newOpts = {
|
const newOpts = {
|
||||||
@@ -31506,7 +31517,7 @@ var require_dns = __commonJS({
|
|||||||
}
|
}
|
||||||
cb(
|
cb(
|
||||||
null,
|
null,
|
||||||
`${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}`
|
new URL(`${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}`)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -31530,7 +31541,7 @@ var require_dns = __commonJS({
|
|||||||
}
|
}
|
||||||
cb(
|
cb(
|
||||||
null,
|
null,
|
||||||
`${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}`
|
new URL(`${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}`)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31595,6 +31606,30 @@ var require_dns = __commonJS({
|
|||||||
}
|
}
|
||||||
return ip;
|
return ip;
|
||||||
}
|
}
|
||||||
|
pickFamily(origin, ipFamily) {
|
||||||
|
const records = this.#records.get(origin.hostname)?.records;
|
||||||
|
if (!records) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
const family = records[ipFamily];
|
||||||
|
if (!family) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
if (family.offset == null || family.offset === maxInt) {
|
||||||
|
family.offset = 0;
|
||||||
|
} else {
|
||||||
|
family.offset++;
|
||||||
|
}
|
||||||
|
const position = family.offset % family.ips.length;
|
||||||
|
const ip = family.ips[position] ?? null;
|
||||||
|
if (ip == null) {
|
||||||
|
return ip;
|
||||||
|
}
|
||||||
|
if (Date.now() - ip.timestamp > ip.ttl) {
|
||||||
|
family.ips.splice(position, 1);
|
||||||
|
}
|
||||||
|
return ip;
|
||||||
|
}
|
||||||
setRecords(origin, addresses) {
|
setRecords(origin, addresses) {
|
||||||
const timestamp = Date.now();
|
const timestamp = Date.now();
|
||||||
const records = { records: { 4: null, 6: null } };
|
const records = { records: { 4: null, 6: null } };
|
||||||
@@ -31624,9 +31659,12 @@ var require_dns = __commonJS({
|
|||||||
#dispatch = null;
|
#dispatch = null;
|
||||||
#origin = null;
|
#origin = null;
|
||||||
#controller = null;
|
#controller = null;
|
||||||
constructor(state, { origin, handler, dispatch }, opts) {
|
#newOrigin = null;
|
||||||
|
#firstTry = true;
|
||||||
|
constructor(state, { origin, handler, dispatch, newOrigin }, opts) {
|
||||||
super(handler);
|
super(handler);
|
||||||
this.#origin = origin;
|
this.#origin = origin;
|
||||||
|
this.#newOrigin = newOrigin;
|
||||||
this.#opts = { ...opts };
|
this.#opts = { ...opts };
|
||||||
this.#state = state;
|
this.#state = state;
|
||||||
this.#dispatch = dispatch;
|
this.#dispatch = dispatch;
|
||||||
@@ -31636,17 +31674,30 @@ var require_dns = __commonJS({
|
|||||||
case "ETIMEDOUT":
|
case "ETIMEDOUT":
|
||||||
case "ECONNREFUSED": {
|
case "ECONNREFUSED": {
|
||||||
if (this.#state.dualStack) {
|
if (this.#state.dualStack) {
|
||||||
this.#state.runLookup(this.#origin, this.#opts, (err2, newOrigin) => {
|
if (!this.#firstTry) {
|
||||||
if (err2) {
|
super.onResponseError(controller, err);
|
||||||
super.onResponseError(controller, err2);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.#firstTry = false;
|
||||||
|
const otherFamily = this.#newOrigin.hostname[0] === "[" ? 4 : 6;
|
||||||
|
const ip = this.#state.pickFamily(this.#origin, otherFamily);
|
||||||
|
if (ip == null) {
|
||||||
|
super.onResponseError(controller, err);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
let port;
|
||||||
|
if (typeof ip.port === "number") {
|
||||||
|
port = `:${ip.port}`;
|
||||||
|
} else if (this.#origin.port !== "") {
|
||||||
|
port = `:${this.#origin.port}`;
|
||||||
|
} else {
|
||||||
|
port = "";
|
||||||
|
}
|
||||||
const dispatchOpts = {
|
const dispatchOpts = {
|
||||||
...this.#opts,
|
...this.#opts,
|
||||||
origin: newOrigin
|
origin: `${this.#origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}`
|
||||||
};
|
};
|
||||||
this.#dispatch(dispatchOpts, this);
|
this.#dispatch(dispatchOpts, this);
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
super.onResponseError(controller, err);
|
super.onResponseError(controller, err);
|
||||||
@@ -31654,7 +31705,8 @@ var require_dns = __commonJS({
|
|||||||
}
|
}
|
||||||
case "ENOTFOUND":
|
case "ENOTFOUND":
|
||||||
this.#state.deleteRecords(this.#origin);
|
this.#state.deleteRecords(this.#origin);
|
||||||
// eslint-disable-next-line no-fallthrough
|
super.onResponseError(controller, err);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
super.onResponseError(controller, err);
|
super.onResponseError(controller, err);
|
||||||
break;
|
break;
|
||||||
@@ -31707,14 +31759,13 @@ var require_dns = __commonJS({
|
|||||||
}
|
}
|
||||||
instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {
|
instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return handler.onError(err);
|
return handler.onResponseError(null, err);
|
||||||
}
|
}
|
||||||
let dispatchOpts = null;
|
const dispatchOpts = {
|
||||||
dispatchOpts = {
|
|
||||||
...origDispatchOpts,
|
...origDispatchOpts,
|
||||||
servername: origin.hostname,
|
servername: origin.hostname,
|
||||||
// For SNI on TLS
|
// For SNI on TLS
|
||||||
origin: newOrigin,
|
origin: newOrigin.origin,
|
||||||
headers: {
|
headers: {
|
||||||
host: origin.host,
|
host: origin.host,
|
||||||
...origDispatchOpts.headers
|
...origDispatchOpts.headers
|
||||||
@@ -31722,7 +31773,10 @@ var require_dns = __commonJS({
|
|||||||
};
|
};
|
||||||
dispatch(
|
dispatch(
|
||||||
dispatchOpts,
|
dispatchOpts,
|
||||||
instance.getHandler({ origin, dispatch, handler }, origDispatchOpts)
|
instance.getHandler(
|
||||||
|
{ origin, dispatch, handler, newOrigin },
|
||||||
|
origDispatchOpts
|
||||||
|
)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
@@ -32956,7 +33010,7 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
*/
|
*/
|
||||||
#countEntriesQuery;
|
#countEntriesQuery;
|
||||||
/**
|
/**
|
||||||
* @type {import('node:sqlite').StatementSync}
|
* @type {import('node:sqlite').StatementSync | null}
|
||||||
*/
|
*/
|
||||||
#deleteOldValuesQuery;
|
#deleteOldValuesQuery;
|
||||||
/**
|
/**
|
||||||
@@ -33041,8 +33095,7 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
etag = ?,
|
etag = ?,
|
||||||
cacheControlDirectives = ?,
|
cacheControlDirectives = ?,
|
||||||
cachedAt = ?,
|
cachedAt = ?,
|
||||||
staleAt = ?,
|
staleAt = ?
|
||||||
deleteAt = ?
|
|
||||||
WHERE
|
WHERE
|
||||||
id = ?
|
id = ?
|
||||||
`);
|
`);
|
||||||
@@ -33059,9 +33112,8 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
cacheControlDirectives,
|
cacheControlDirectives,
|
||||||
vary,
|
vary,
|
||||||
cachedAt,
|
cachedAt,
|
||||||
staleAt,
|
staleAt
|
||||||
deleteAt
|
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||||
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
||||||
`);
|
`);
|
||||||
this.#deleteByUrlQuery = this.#db.prepare(
|
this.#deleteByUrlQuery = this.#db.prepare(
|
||||||
`DELETE FROM cacheInterceptorV${VERSION3} WHERE url = ?`
|
`DELETE FROM cacheInterceptorV${VERSION3} WHERE url = ?`
|
||||||
@@ -33088,27 +33140,67 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
||||||
* @returns {import('../../types/cache-interceptor.d.ts').default.GetResult | undefined}
|
* @returns {(import('../../types/cache-interceptor.d.ts').default.GetResult & { body?: Buffer }) | undefined}
|
||||||
*/
|
*/
|
||||||
get(key) {
|
get(key) {
|
||||||
assertCacheKey(key);
|
assertCacheKey(key);
|
||||||
const value = this.#findValue(key);
|
const value = this.#findValue(key);
|
||||||
if (!value) {
|
return value ? {
|
||||||
return void 0;
|
body: value.body ? Buffer.from(value.body.buffer) : void 0,
|
||||||
}
|
|
||||||
const result = {
|
|
||||||
body: Buffer.from(value.body),
|
|
||||||
statusCode: value.statusCode,
|
statusCode: value.statusCode,
|
||||||
statusMessage: value.statusMessage,
|
statusMessage: value.statusMessage,
|
||||||
headers: value.headers ? JSON.parse(value.headers) : void 0,
|
headers: value.headers ? JSON.parse(value.headers) : void 0,
|
||||||
etag: value.etag ? value.etag : void 0,
|
etag: value.etag ? value.etag : void 0,
|
||||||
vary: value.vary ?? void 0,
|
vary: value.vary ? JSON.parse(value.vary) : void 0,
|
||||||
cacheControlDirectives: value.cacheControlDirectives ? JSON.parse(value.cacheControlDirectives) : void 0,
|
cacheControlDirectives: value.cacheControlDirectives ? JSON.parse(value.cacheControlDirectives) : void 0,
|
||||||
cachedAt: value.cachedAt,
|
cachedAt: value.cachedAt,
|
||||||
staleAt: value.staleAt,
|
staleAt: value.staleAt,
|
||||||
deleteAt: value.deleteAt
|
deleteAt: value.deleteAt
|
||||||
};
|
} : void 0;
|
||||||
return result;
|
}
|
||||||
|
/**
|
||||||
|
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
||||||
|
* @param {import('../../types/cache-interceptor.d.ts').default.CacheValue & { body: null | Buffer | Array<Buffer>}} value
|
||||||
|
*/
|
||||||
|
set(key, value) {
|
||||||
|
assertCacheKey(key);
|
||||||
|
const url = this.#makeValueUrl(key);
|
||||||
|
const body = Array.isArray(value.body) ? Buffer.concat(value.body) : value.body;
|
||||||
|
const size = body?.byteLength;
|
||||||
|
if (size && size > this.#maxEntrySize) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const existingValue = this.#findValue(key, true);
|
||||||
|
if (existingValue) {
|
||||||
|
this.#updateValueQuery.run(
|
||||||
|
body,
|
||||||
|
value.deleteAt,
|
||||||
|
value.statusCode,
|
||||||
|
value.statusMessage,
|
||||||
|
value.headers ? JSON.stringify(value.headers) : null,
|
||||||
|
value.etag ? value.etag : null,
|
||||||
|
value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null,
|
||||||
|
value.cachedAt,
|
||||||
|
value.staleAt,
|
||||||
|
existingValue.id
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
this.#prune();
|
||||||
|
this.#insertValueQuery.run(
|
||||||
|
url,
|
||||||
|
key.method,
|
||||||
|
body,
|
||||||
|
value.deleteAt,
|
||||||
|
value.statusCode,
|
||||||
|
value.statusMessage,
|
||||||
|
value.headers ? JSON.stringify(value.headers) : null,
|
||||||
|
value.etag ? value.etag : null,
|
||||||
|
value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null,
|
||||||
|
value.vary ? JSON.stringify(value.vary) : null,
|
||||||
|
value.cachedAt,
|
||||||
|
value.staleAt
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
||||||
@@ -33118,15 +33210,12 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
createWriteStream(key, value) {
|
createWriteStream(key, value) {
|
||||||
assertCacheKey(key);
|
assertCacheKey(key);
|
||||||
assertCacheValue(value);
|
assertCacheValue(value);
|
||||||
const url = this.#makeValueUrl(key);
|
|
||||||
let size = 0;
|
let size = 0;
|
||||||
const body = [];
|
const body = [];
|
||||||
const store = this;
|
const store = this;
|
||||||
return new Writable({
|
return new Writable({
|
||||||
|
decodeStrings: true,
|
||||||
write(chunk, encoding, callback) {
|
write(chunk, encoding, callback) {
|
||||||
if (typeof chunk === "string") {
|
|
||||||
chunk = Buffer.from(chunk, encoding);
|
|
||||||
}
|
|
||||||
size += chunk.byteLength;
|
size += chunk.byteLength;
|
||||||
if (size < store.#maxEntrySize) {
|
if (size < store.#maxEntrySize) {
|
||||||
body.push(chunk);
|
body.push(chunk);
|
||||||
@@ -33136,39 +33225,7 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
callback();
|
callback();
|
||||||
},
|
},
|
||||||
final(callback) {
|
final(callback) {
|
||||||
const existingValue = store.#findValue(key, true);
|
store.set(key, { ...value, body });
|
||||||
if (existingValue) {
|
|
||||||
store.#updateValueQuery.run(
|
|
||||||
Buffer.concat(body),
|
|
||||||
value.deleteAt,
|
|
||||||
value.statusCode,
|
|
||||||
value.statusMessage,
|
|
||||||
value.headers ? JSON.stringify(value.headers) : null,
|
|
||||||
value.etag ? value.etag : null,
|
|
||||||
value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null,
|
|
||||||
value.cachedAt,
|
|
||||||
value.staleAt,
|
|
||||||
value.deleteAt,
|
|
||||||
existingValue.id
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
store.#prune();
|
|
||||||
store.#insertValueQuery.run(
|
|
||||||
url,
|
|
||||||
key.method,
|
|
||||||
Buffer.concat(body),
|
|
||||||
value.deleteAt,
|
|
||||||
value.statusCode,
|
|
||||||
value.statusMessage,
|
|
||||||
value.headers ? JSON.stringify(value.headers) : null,
|
|
||||||
value.etag ? value.etag : null,
|
|
||||||
value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null,
|
|
||||||
value.vary ? JSON.stringify(value.vary) : null,
|
|
||||||
value.cachedAt,
|
|
||||||
value.staleAt,
|
|
||||||
value.deleteAt
|
|
||||||
);
|
|
||||||
}
|
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -33188,13 +33245,13 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
const removed = this.#deleteExpiredValuesQuery.run(Date.now()).changes;
|
const removed = this.#deleteExpiredValuesQuery.run(Date.now()).changes;
|
||||||
if (removed > 0) {
|
if (removed) {
|
||||||
return removed;
|
return removed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
const removed = this.#deleteOldValuesQuery.run(Math.max(Math.floor(this.#maxCount * 0.1), 1)).changes;
|
const removed = this.#deleteOldValuesQuery?.run(Math.max(Math.floor(this.#maxCount * 0.1), 1)).changes;
|
||||||
if (removed > 0) {
|
if (removed) {
|
||||||
return removed;
|
return removed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33218,7 +33275,7 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
/**
|
/**
|
||||||
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
|
||||||
* @param {boolean} [canBeExpired=false]
|
* @param {boolean} [canBeExpired=false]
|
||||||
* @returns {(SqliteStoreValue & { vary?: Record<string, string[]> }) | undefined}
|
* @returns {SqliteStoreValue | undefined}
|
||||||
*/
|
*/
|
||||||
#findValue(key, canBeExpired = false) {
|
#findValue(key, canBeExpired = false) {
|
||||||
const url = this.#makeValueUrl(key);
|
const url = this.#makeValueUrl(key);
|
||||||
@@ -33237,9 +33294,9 @@ var require_sqlite_cache_store = __commonJS({
|
|||||||
if (!headers) {
|
if (!headers) {
|
||||||
return void 0;
|
return void 0;
|
||||||
}
|
}
|
||||||
value.vary = JSON.parse(value.vary);
|
const vary = JSON.parse(value.vary);
|
||||||
for (const header in value.vary) {
|
for (const header in vary) {
|
||||||
if (!headerValueEquals(headers[header], value.vary[header])) {
|
if (!headerValueEquals(headers[header], vary[header])) {
|
||||||
matches = false;
|
matches = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -37469,6 +37526,178 @@ var require_constants10 = __commonJS({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// node_modules/undici/lib/web/websocket/util.js
|
||||||
|
var require_util12 = __commonJS({
|
||||||
|
"node_modules/undici/lib/web/websocket/util.js"(exports2, module2) {
|
||||||
|
"use strict";
|
||||||
|
var { states, opcodes } = require_constants10();
|
||||||
|
var { isUtf8 } = require("node:buffer");
|
||||||
|
var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url();
|
||||||
|
function isConnecting(readyState) {
|
||||||
|
return readyState === states.CONNECTING;
|
||||||
|
}
|
||||||
|
function isEstablished(readyState) {
|
||||||
|
return readyState === states.OPEN;
|
||||||
|
}
|
||||||
|
function isClosing(readyState) {
|
||||||
|
return readyState === states.CLOSING;
|
||||||
|
}
|
||||||
|
function isClosed(readyState) {
|
||||||
|
return readyState === states.CLOSED;
|
||||||
|
}
|
||||||
|
function fireEvent(e, target, eventFactory = (type, init) => new Event(type, init), eventInitDict = {}) {
|
||||||
|
const event = eventFactory(e, eventInitDict);
|
||||||
|
target.dispatchEvent(event);
|
||||||
|
}
|
||||||
|
function websocketMessageReceived(handler, type, data) {
|
||||||
|
handler.onMessage(type, data);
|
||||||
|
}
|
||||||
|
function toArrayBuffer(buffer) {
|
||||||
|
if (buffer.byteLength === buffer.buffer.byteLength) {
|
||||||
|
return buffer.buffer;
|
||||||
|
}
|
||||||
|
return new Uint8Array(buffer).buffer;
|
||||||
|
}
|
||||||
|
function isValidSubprotocol(protocol) {
|
||||||
|
if (protocol.length === 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
for (let i = 0; i < protocol.length; ++i) {
|
||||||
|
const code = protocol.charCodeAt(i);
|
||||||
|
if (code < 33 || // CTL, contains SP (0x20) and HT (0x09)
|
||||||
|
code > 126 || code === 34 || // "
|
||||||
|
code === 40 || // (
|
||||||
|
code === 41 || // )
|
||||||
|
code === 44 || // ,
|
||||||
|
code === 47 || // /
|
||||||
|
code === 58 || // :
|
||||||
|
code === 59 || // ;
|
||||||
|
code === 60 || // <
|
||||||
|
code === 61 || // =
|
||||||
|
code === 62 || // >
|
||||||
|
code === 63 || // ?
|
||||||
|
code === 64 || // @
|
||||||
|
code === 91 || // [
|
||||||
|
code === 92 || // \
|
||||||
|
code === 93 || // ]
|
||||||
|
code === 123 || // {
|
||||||
|
code === 125) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
function isValidStatusCode(code) {
|
||||||
|
if (code >= 1e3 && code < 1015) {
|
||||||
|
return code !== 1004 && // reserved
|
||||||
|
code !== 1005 && // "MUST NOT be set as a status code"
|
||||||
|
code !== 1006;
|
||||||
|
}
|
||||||
|
return code >= 3e3 && code <= 4999;
|
||||||
|
}
|
||||||
|
function isControlFrame(opcode) {
|
||||||
|
return opcode === opcodes.CLOSE || opcode === opcodes.PING || opcode === opcodes.PONG;
|
||||||
|
}
|
||||||
|
function isContinuationFrame(opcode) {
|
||||||
|
return opcode === opcodes.CONTINUATION;
|
||||||
|
}
|
||||||
|
function isTextBinaryFrame(opcode) {
|
||||||
|
return opcode === opcodes.TEXT || opcode === opcodes.BINARY;
|
||||||
|
}
|
||||||
|
function isValidOpcode(opcode) {
|
||||||
|
return isTextBinaryFrame(opcode) || isContinuationFrame(opcode) || isControlFrame(opcode);
|
||||||
|
}
|
||||||
|
function parseExtensions(extensions) {
|
||||||
|
const position = { position: 0 };
|
||||||
|
const extensionList = /* @__PURE__ */ new Map();
|
||||||
|
while (position.position < extensions.length) {
|
||||||
|
const pair = collectASequenceOfCodePointsFast(";", extensions, position);
|
||||||
|
const [name, value = ""] = pair.split("=");
|
||||||
|
extensionList.set(
|
||||||
|
removeHTTPWhitespace(name, true, false),
|
||||||
|
removeHTTPWhitespace(value, false, true)
|
||||||
|
);
|
||||||
|
position.position++;
|
||||||
|
}
|
||||||
|
return extensionList;
|
||||||
|
}
|
||||||
|
function isValidClientWindowBits(value) {
|
||||||
|
for (let i = 0; i < value.length; i++) {
|
||||||
|
const byte = value.charCodeAt(i);
|
||||||
|
if (byte < 48 || byte > 57) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
function getURLRecord(url, baseURL) {
|
||||||
|
let urlRecord;
|
||||||
|
try {
|
||||||
|
urlRecord = new URL(url, baseURL);
|
||||||
|
} catch (e) {
|
||||||
|
throw new DOMException(e, "SyntaxError");
|
||||||
|
}
|
||||||
|
if (urlRecord.protocol === "http:") {
|
||||||
|
urlRecord.protocol = "ws:";
|
||||||
|
} else if (urlRecord.protocol === "https:") {
|
||||||
|
urlRecord.protocol = "wss:";
|
||||||
|
}
|
||||||
|
if (urlRecord.protocol !== "ws:" && urlRecord.protocol !== "wss:") {
|
||||||
|
throw new DOMException("expected a ws: or wss: url", "SyntaxError");
|
||||||
|
}
|
||||||
|
if (urlRecord.hash.length || urlRecord.href.endsWith("#")) {
|
||||||
|
throw new DOMException("hash", "SyntaxError");
|
||||||
|
}
|
||||||
|
return urlRecord;
|
||||||
|
}
|
||||||
|
function validateCloseCodeAndReason(code, reason) {
|
||||||
|
if (code !== null) {
|
||||||
|
if (code !== 1e3 && (code < 3e3 || code > 4999)) {
|
||||||
|
throw new DOMException("invalid code", "InvalidAccessError");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (reason !== null) {
|
||||||
|
const reasonBytesLength = Buffer.byteLength(reason);
|
||||||
|
if (reasonBytesLength > 123) {
|
||||||
|
throw new DOMException(`Reason must be less than 123 bytes; received ${reasonBytesLength}`, "SyntaxError");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var utf8Decode = (() => {
|
||||||
|
if (typeof process.versions.icu === "string") {
|
||||||
|
const fatalDecoder = new TextDecoder("utf-8", { fatal: true });
|
||||||
|
return fatalDecoder.decode.bind(fatalDecoder);
|
||||||
|
}
|
||||||
|
return function(buffer) {
|
||||||
|
if (isUtf8(buffer)) {
|
||||||
|
return buffer.toString("utf-8");
|
||||||
|
}
|
||||||
|
throw new TypeError("Invalid utf-8 received.");
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
module2.exports = {
|
||||||
|
isConnecting,
|
||||||
|
isEstablished,
|
||||||
|
isClosing,
|
||||||
|
isClosed,
|
||||||
|
fireEvent,
|
||||||
|
isValidSubprotocol,
|
||||||
|
isValidStatusCode,
|
||||||
|
websocketMessageReceived,
|
||||||
|
utf8Decode,
|
||||||
|
isControlFrame,
|
||||||
|
isContinuationFrame,
|
||||||
|
isTextBinaryFrame,
|
||||||
|
isValidOpcode,
|
||||||
|
parseExtensions,
|
||||||
|
isValidClientWindowBits,
|
||||||
|
toArrayBuffer,
|
||||||
|
getURLRecord,
|
||||||
|
validateCloseCodeAndReason
|
||||||
|
};
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// node_modules/undici/lib/web/websocket/frame.js
|
// node_modules/undici/lib/web/websocket/frame.js
|
||||||
var require_frame2 = __commonJS({
|
var require_frame2 = __commonJS({
|
||||||
"node_modules/undici/lib/web/websocket/frame.js"(exports2, module2) {
|
"node_modules/undici/lib/web/websocket/frame.js"(exports2, module2) {
|
||||||
@@ -37584,7 +37813,7 @@ var require_connection2 = __commonJS({
|
|||||||
"node_modules/undici/lib/web/websocket/connection.js"(exports2, module2) {
|
"node_modules/undici/lib/web/websocket/connection.js"(exports2, module2) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants10();
|
var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants10();
|
||||||
var { failWebsocketConnection, parseExtensions, isClosed, isClosing, isEstablished, validateCloseCodeAndReason } = require_util12();
|
var { parseExtensions, isClosed, isClosing, isEstablished, validateCloseCodeAndReason } = require_util12();
|
||||||
var { channels } = require_diagnostics();
|
var { channels } = require_diagnostics();
|
||||||
var { makeRequest } = require_request4();
|
var { makeRequest } = require_request4();
|
||||||
var { fetching } = require_fetch2();
|
var { fetching } = require_fetch2();
|
||||||
@@ -37718,85 +37947,8 @@ var require_connection2 = __commonJS({
|
|||||||
object.readyState = states.CLOSING;
|
object.readyState = states.CLOSING;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module2.exports = {
|
|
||||||
establishWebSocketConnection,
|
|
||||||
closeWebSocketConnection
|
|
||||||
};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// node_modules/undici/lib/web/websocket/util.js
|
|
||||||
var require_util12 = __commonJS({
|
|
||||||
"node_modules/undici/lib/web/websocket/util.js"(exports2, module2) {
|
|
||||||
"use strict";
|
|
||||||
var { states, opcodes } = require_constants10();
|
|
||||||
var { isUtf8 } = require("node:buffer");
|
|
||||||
var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url();
|
|
||||||
function isConnecting(readyState) {
|
|
||||||
return readyState === states.CONNECTING;
|
|
||||||
}
|
|
||||||
function isEstablished(readyState) {
|
|
||||||
return readyState === states.OPEN;
|
|
||||||
}
|
|
||||||
function isClosing(readyState) {
|
|
||||||
return readyState === states.CLOSING;
|
|
||||||
}
|
|
||||||
function isClosed(readyState) {
|
|
||||||
return readyState === states.CLOSED;
|
|
||||||
}
|
|
||||||
function fireEvent(e, target, eventFactory = (type, init) => new Event(type, init), eventInitDict = {}) {
|
|
||||||
const event = eventFactory(e, eventInitDict);
|
|
||||||
target.dispatchEvent(event);
|
|
||||||
}
|
|
||||||
function websocketMessageReceived(handler, type, data) {
|
|
||||||
handler.onMessage(type, data);
|
|
||||||
}
|
|
||||||
function toArrayBuffer(buffer) {
|
|
||||||
if (buffer.byteLength === buffer.buffer.byteLength) {
|
|
||||||
return buffer.buffer;
|
|
||||||
}
|
|
||||||
return buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength);
|
|
||||||
}
|
|
||||||
function isValidSubprotocol(protocol) {
|
|
||||||
if (protocol.length === 0) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
for (let i = 0; i < protocol.length; ++i) {
|
|
||||||
const code = protocol.charCodeAt(i);
|
|
||||||
if (code < 33 || // CTL, contains SP (0x20) and HT (0x09)
|
|
||||||
code > 126 || code === 34 || // "
|
|
||||||
code === 40 || // (
|
|
||||||
code === 41 || // )
|
|
||||||
code === 44 || // ,
|
|
||||||
code === 47 || // /
|
|
||||||
code === 58 || // :
|
|
||||||
code === 59 || // ;
|
|
||||||
code === 60 || // <
|
|
||||||
code === 61 || // =
|
|
||||||
code === 62 || // >
|
|
||||||
code === 63 || // ?
|
|
||||||
code === 64 || // @
|
|
||||||
code === 91 || // [
|
|
||||||
code === 92 || // \
|
|
||||||
code === 93 || // ]
|
|
||||||
code === 123 || // {
|
|
||||||
code === 125) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
function isValidStatusCode(code) {
|
|
||||||
if (code >= 1e3 && code < 1015) {
|
|
||||||
return code !== 1004 && // reserved
|
|
||||||
code !== 1005 && // "MUST NOT be set as a status code"
|
|
||||||
code !== 1006;
|
|
||||||
}
|
|
||||||
return code >= 3e3 && code <= 4999;
|
|
||||||
}
|
|
||||||
function failWebsocketConnection(handler, code, reason) {
|
function failWebsocketConnection(handler, code, reason) {
|
||||||
if (isEstablished(handler.readyState)) {
|
if (isEstablished(handler.readyState)) {
|
||||||
const { closeWebSocketConnection } = require_connection2();
|
|
||||||
closeWebSocketConnection(handler, code, reason, false);
|
closeWebSocketConnection(handler, code, reason, false);
|
||||||
}
|
}
|
||||||
handler.controller.abort();
|
handler.controller.abort();
|
||||||
@@ -37805,106 +37957,10 @@ var require_util12 = __commonJS({
|
|||||||
}
|
}
|
||||||
handler.onFail(code, reason);
|
handler.onFail(code, reason);
|
||||||
}
|
}
|
||||||
function isControlFrame(opcode) {
|
|
||||||
return opcode === opcodes.CLOSE || opcode === opcodes.PING || opcode === opcodes.PONG;
|
|
||||||
}
|
|
||||||
function isContinuationFrame(opcode) {
|
|
||||||
return opcode === opcodes.CONTINUATION;
|
|
||||||
}
|
|
||||||
function isTextBinaryFrame(opcode) {
|
|
||||||
return opcode === opcodes.TEXT || opcode === opcodes.BINARY;
|
|
||||||
}
|
|
||||||
function isValidOpcode(opcode) {
|
|
||||||
return isTextBinaryFrame(opcode) || isContinuationFrame(opcode) || isControlFrame(opcode);
|
|
||||||
}
|
|
||||||
function parseExtensions(extensions) {
|
|
||||||
const position = { position: 0 };
|
|
||||||
const extensionList = /* @__PURE__ */ new Map();
|
|
||||||
while (position.position < extensions.length) {
|
|
||||||
const pair = collectASequenceOfCodePointsFast(";", extensions, position);
|
|
||||||
const [name, value = ""] = pair.split("=");
|
|
||||||
extensionList.set(
|
|
||||||
removeHTTPWhitespace(name, true, false),
|
|
||||||
removeHTTPWhitespace(value, false, true)
|
|
||||||
);
|
|
||||||
position.position++;
|
|
||||||
}
|
|
||||||
return extensionList;
|
|
||||||
}
|
|
||||||
function isValidClientWindowBits(value) {
|
|
||||||
for (let i = 0; i < value.length; i++) {
|
|
||||||
const byte = value.charCodeAt(i);
|
|
||||||
if (byte < 48 || byte > 57) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
function getURLRecord(url, baseURL) {
|
|
||||||
let urlRecord;
|
|
||||||
try {
|
|
||||||
urlRecord = new URL(url, baseURL);
|
|
||||||
} catch (e) {
|
|
||||||
throw new DOMException(e, "SyntaxError");
|
|
||||||
}
|
|
||||||
if (urlRecord.protocol === "http:") {
|
|
||||||
urlRecord.protocol = "ws:";
|
|
||||||
} else if (urlRecord.protocol === "https:") {
|
|
||||||
urlRecord.protocol = "wss:";
|
|
||||||
}
|
|
||||||
if (urlRecord.protocol !== "ws:" && urlRecord.protocol !== "wss:") {
|
|
||||||
throw new DOMException("expected a ws: or wss: url", "SyntaxError");
|
|
||||||
}
|
|
||||||
if (urlRecord.hash.length || urlRecord.href.endsWith("#")) {
|
|
||||||
throw new DOMException("hash", "SyntaxError");
|
|
||||||
}
|
|
||||||
return urlRecord;
|
|
||||||
}
|
|
||||||
function validateCloseCodeAndReason(code, reason) {
|
|
||||||
if (code !== null) {
|
|
||||||
if (code !== 1e3 && (code < 3e3 || code > 4999)) {
|
|
||||||
throw new DOMException("invalid code", "InvalidAccessError");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (reason !== null) {
|
|
||||||
const reasonBytesLength = Buffer.byteLength(reason);
|
|
||||||
if (reasonBytesLength > 123) {
|
|
||||||
throw new DOMException(`Reason must be less than 123 bytes; received ${reasonBytesLength}`, "SyntaxError");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var utf8Decode = (() => {
|
|
||||||
if (typeof process.versions.icu === "string") {
|
|
||||||
const fatalDecoder = new TextDecoder("utf-8", { fatal: true });
|
|
||||||
return fatalDecoder.decode.bind(fatalDecoder);
|
|
||||||
}
|
|
||||||
return function(buffer) {
|
|
||||||
if (isUtf8(buffer)) {
|
|
||||||
return buffer.toString("utf-8");
|
|
||||||
}
|
|
||||||
throw new TypeError("Invalid utf-8 received.");
|
|
||||||
};
|
|
||||||
})();
|
|
||||||
module2.exports = {
|
module2.exports = {
|
||||||
isConnecting,
|
establishWebSocketConnection,
|
||||||
isEstablished,
|
|
||||||
isClosing,
|
|
||||||
isClosed,
|
|
||||||
fireEvent,
|
|
||||||
isValidSubprotocol,
|
|
||||||
isValidStatusCode,
|
|
||||||
failWebsocketConnection,
|
failWebsocketConnection,
|
||||||
websocketMessageReceived,
|
closeWebSocketConnection
|
||||||
utf8Decode,
|
|
||||||
isControlFrame,
|
|
||||||
isContinuationFrame,
|
|
||||||
isTextBinaryFrame,
|
|
||||||
isValidOpcode,
|
|
||||||
parseExtensions,
|
|
||||||
isValidClientWindowBits,
|
|
||||||
toArrayBuffer,
|
|
||||||
getURLRecord,
|
|
||||||
validateCloseCodeAndReason
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -37975,17 +38031,18 @@ var require_receiver2 = __commonJS({
|
|||||||
var {
|
var {
|
||||||
isValidStatusCode,
|
isValidStatusCode,
|
||||||
isValidOpcode,
|
isValidOpcode,
|
||||||
failWebsocketConnection,
|
|
||||||
websocketMessageReceived,
|
websocketMessageReceived,
|
||||||
utf8Decode,
|
utf8Decode,
|
||||||
isControlFrame,
|
isControlFrame,
|
||||||
isTextBinaryFrame,
|
isTextBinaryFrame,
|
||||||
isContinuationFrame
|
isContinuationFrame
|
||||||
} = require_util12();
|
} = require_util12();
|
||||||
|
var { failWebsocketConnection } = require_connection2();
|
||||||
var { WebsocketFrameSend } = require_frame2();
|
var { WebsocketFrameSend } = require_frame2();
|
||||||
var { PerMessageDeflate } = require_permessage_deflate();
|
var { PerMessageDeflate } = require_permessage_deflate();
|
||||||
var ByteParser = class extends Writable {
|
var ByteParser = class extends Writable {
|
||||||
#buffers = [];
|
#buffers = [];
|
||||||
|
#fragmentsBytes = 0;
|
||||||
#byteOffset = 0;
|
#byteOffset = 0;
|
||||||
#loop = false;
|
#loop = false;
|
||||||
#state = parserStates.INFO;
|
#state = parserStates.INFO;
|
||||||
@@ -38115,11 +38172,9 @@ var require_receiver2 = __commonJS({
|
|||||||
this.#state = parserStates.INFO;
|
this.#state = parserStates.INFO;
|
||||||
} else {
|
} else {
|
||||||
if (!this.#info.compressed) {
|
if (!this.#info.compressed) {
|
||||||
this.#fragments.push(body);
|
this.writeFragments(body);
|
||||||
if (!this.#info.fragmented && this.#info.fin) {
|
if (!this.#info.fragmented && this.#info.fin) {
|
||||||
const fullMessage = Buffer.concat(this.#fragments);
|
websocketMessageReceived(this.#handler, this.#info.binaryType, this.consumeFragments());
|
||||||
websocketMessageReceived(this.#handler, this.#info.binaryType, fullMessage);
|
|
||||||
this.#fragments.length = 0;
|
|
||||||
}
|
}
|
||||||
this.#state = parserStates.INFO;
|
this.#state = parserStates.INFO;
|
||||||
} else {
|
} else {
|
||||||
@@ -38128,17 +38183,16 @@ var require_receiver2 = __commonJS({
|
|||||||
failWebsocketConnection(this.#handler, 1007, error.message);
|
failWebsocketConnection(this.#handler, 1007, error.message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#fragments.push(data);
|
this.writeFragments(data);
|
||||||
if (!this.#info.fin) {
|
if (!this.#info.fin) {
|
||||||
this.#state = parserStates.INFO;
|
this.#state = parserStates.INFO;
|
||||||
this.#loop = true;
|
this.#loop = true;
|
||||||
this.run(callback);
|
this.run(callback);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
websocketMessageReceived(this.#handler, this.#info.binaryType, Buffer.concat(this.#fragments));
|
websocketMessageReceived(this.#handler, this.#info.binaryType, this.consumeFragments());
|
||||||
this.#loop = true;
|
this.#loop = true;
|
||||||
this.#state = parserStates.INFO;
|
this.#state = parserStates.INFO;
|
||||||
this.#fragments.length = 0;
|
|
||||||
this.run(callback);
|
this.run(callback);
|
||||||
});
|
});
|
||||||
this.#loop = false;
|
this.#loop = false;
|
||||||
@@ -38159,15 +38213,19 @@ var require_receiver2 = __commonJS({
|
|||||||
} else if (n === 0) {
|
} else if (n === 0) {
|
||||||
return emptyBuffer;
|
return emptyBuffer;
|
||||||
}
|
}
|
||||||
if (this.#buffers[0].length === n) {
|
this.#byteOffset -= n;
|
||||||
this.#byteOffset -= this.#buffers[0].length;
|
const first = this.#buffers[0];
|
||||||
|
if (first.length > n) {
|
||||||
|
this.#buffers[0] = first.subarray(n, first.length);
|
||||||
|
return first.subarray(0, n);
|
||||||
|
} else if (first.length === n) {
|
||||||
return this.#buffers.shift();
|
return this.#buffers.shift();
|
||||||
}
|
} else {
|
||||||
const buffer = Buffer.allocUnsafe(n);
|
|
||||||
let offset = 0;
|
let offset = 0;
|
||||||
|
const buffer = Buffer.allocUnsafeSlow(n);
|
||||||
while (offset !== n) {
|
while (offset !== n) {
|
||||||
const next = this.#buffers[0];
|
const next = this.#buffers[0];
|
||||||
const { length } = next;
|
const length = next.length;
|
||||||
if (length + offset === n) {
|
if (length + offset === n) {
|
||||||
buffer.set(this.#buffers.shift(), offset);
|
buffer.set(this.#buffers.shift(), offset);
|
||||||
break;
|
break;
|
||||||
@@ -38177,12 +38235,33 @@ var require_receiver2 = __commonJS({
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
buffer.set(this.#buffers.shift(), offset);
|
buffer.set(this.#buffers.shift(), offset);
|
||||||
offset += next.length;
|
offset += length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.#byteOffset -= n;
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
writeFragments(fragment) {
|
||||||
|
this.#fragmentsBytes += fragment.length;
|
||||||
|
this.#fragments.push(fragment);
|
||||||
|
}
|
||||||
|
consumeFragments() {
|
||||||
|
const fragments = this.#fragments;
|
||||||
|
if (fragments.length === 1) {
|
||||||
|
this.#fragmentsBytes = 0;
|
||||||
|
return fragments.shift();
|
||||||
|
}
|
||||||
|
let offset = 0;
|
||||||
|
const output = Buffer.allocUnsafeSlow(this.#fragmentsBytes);
|
||||||
|
for (let i = 0; i < fragments.length; ++i) {
|
||||||
|
const buffer = fragments[i];
|
||||||
|
output.set(buffer, offset);
|
||||||
|
offset += buffer.length;
|
||||||
|
}
|
||||||
|
this.#fragments = [];
|
||||||
|
this.#fragmentsBytes = 0;
|
||||||
|
return output;
|
||||||
|
}
|
||||||
parseCloseBody(data) {
|
parseCloseBody(data) {
|
||||||
assert(data.length !== 1);
|
assert(data.length !== 1);
|
||||||
let code;
|
let code;
|
||||||
@@ -38363,12 +38442,11 @@ var require_websocket2 = __commonJS({
|
|||||||
isClosing,
|
isClosing,
|
||||||
isValidSubprotocol,
|
isValidSubprotocol,
|
||||||
fireEvent,
|
fireEvent,
|
||||||
failWebsocketConnection,
|
|
||||||
utf8Decode,
|
utf8Decode,
|
||||||
toArrayBuffer,
|
toArrayBuffer,
|
||||||
getURLRecord
|
getURLRecord
|
||||||
} = require_util12();
|
} = require_util12();
|
||||||
var { establishWebSocketConnection, closeWebSocketConnection } = require_connection2();
|
var { establishWebSocketConnection, closeWebSocketConnection, failWebsocketConnection } = require_connection2();
|
||||||
var { ByteParser } = require_receiver2();
|
var { ByteParser } = require_receiver2();
|
||||||
var { kEnumerableProperty } = require_util8();
|
var { kEnumerableProperty } = require_util8();
|
||||||
var { getGlobalDispatcher } = require_global4();
|
var { getGlobalDispatcher } = require_global4();
|
||||||
@@ -38851,8 +38929,8 @@ var require_websocketstream = __commonJS({
|
|||||||
var { createDeferredPromise, environmentSettingsObject } = require_util9();
|
var { createDeferredPromise, environmentSettingsObject } = require_util9();
|
||||||
var { states, opcodes, sentCloseFrameState } = require_constants10();
|
var { states, opcodes, sentCloseFrameState } = require_constants10();
|
||||||
var { webidl } = require_webidl2();
|
var { webidl } = require_webidl2();
|
||||||
var { getURLRecord, isValidSubprotocol, isEstablished, failWebsocketConnection, utf8Decode } = require_util12();
|
var { getURLRecord, isValidSubprotocol, isEstablished, utf8Decode } = require_util12();
|
||||||
var { establishWebSocketConnection, closeWebSocketConnection } = require_connection2();
|
var { establishWebSocketConnection, failWebsocketConnection, closeWebSocketConnection } = require_connection2();
|
||||||
var { types } = require("node:util");
|
var { types } = require("node:util");
|
||||||
var { channels } = require_diagnostics();
|
var { channels } = require_diagnostics();
|
||||||
var { WebsocketFrameSend } = require_frame2();
|
var { WebsocketFrameSend } = require_frame2();
|
||||||
@@ -39933,13 +40011,10 @@ function lowercaseKeys(object) {
|
|||||||
}, {});
|
}, {});
|
||||||
}
|
}
|
||||||
function isPlainObject(value) {
|
function isPlainObject(value) {
|
||||||
if (typeof value !== "object" || value === null)
|
if (typeof value !== "object" || value === null) return false;
|
||||||
return false;
|
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
||||||
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
||||||
return false;
|
|
||||||
const proto = Object.getPrototypeOf(value);
|
const proto = Object.getPrototypeOf(value);
|
||||||
if (proto === null)
|
if (proto === null) return true;
|
||||||
return true;
|
|
||||||
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
||||||
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
||||||
}
|
}
|
||||||
@@ -39947,10 +40022,8 @@ function mergeDeep(defaults, options) {
|
|||||||
const result = Object.assign({}, defaults);
|
const result = Object.assign({}, defaults);
|
||||||
Object.keys(options).forEach((key) => {
|
Object.keys(options).forEach((key) => {
|
||||||
if (isPlainObject(options[key])) {
|
if (isPlainObject(options[key])) {
|
||||||
if (!(key in defaults))
|
if (!(key in defaults)) Object.assign(result, { [key]: options[key] });
|
||||||
Object.assign(result, { [key]: options[key] });
|
else result[key] = mergeDeep(defaults[key], options[key]);
|
||||||
else
|
|
||||||
result[key] = mergeDeep(defaults[key], options[key]);
|
|
||||||
} else {
|
} else {
|
||||||
Object.assign(result, { [key]: options[key] });
|
Object.assign(result, { [key]: options[key] });
|
||||||
}
|
}
|
||||||
@@ -39999,9 +40072,9 @@ function addQueryParameters(url, parameters) {
|
|||||||
return `${name}=${encodeURIComponent(parameters[name])}`;
|
return `${name}=${encodeURIComponent(parameters[name])}`;
|
||||||
}).join("&");
|
}).join("&");
|
||||||
}
|
}
|
||||||
var urlVariableRegex = /\{[^}]+\}/g;
|
var urlVariableRegex = /\{[^{}}]+\}/g;
|
||||||
function removeNonChars(variableName) {
|
function removeNonChars(variableName) {
|
||||||
return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
|
return variableName.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g, "").split(/,/);
|
||||||
}
|
}
|
||||||
function extractUrlVariableNames(url) {
|
function extractUrlVariableNames(url) {
|
||||||
const matches = url.match(urlVariableRegex);
|
const matches = url.match(urlVariableRegex);
|
||||||
@@ -40181,7 +40254,7 @@ function parse(options) {
|
|||||||
}
|
}
|
||||||
if (url.endsWith("/graphql")) {
|
if (url.endsWith("/graphql")) {
|
||||||
if (options.mediaType.previews?.length) {
|
if (options.mediaType.previews?.length) {
|
||||||
const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
|
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
||||||
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
||||||
const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
||||||
return `application/vnd.github.${preview}-preview${format}`;
|
return `application/vnd.github.${preview}-preview${format}`;
|
||||||
@@ -40247,11 +40320,11 @@ var RequestError = class extends Error {
|
|||||||
response;
|
response;
|
||||||
constructor(message, statusCode, options) {
|
constructor(message, statusCode, options) {
|
||||||
super(message);
|
super(message);
|
||||||
if (Error.captureStackTrace) {
|
|
||||||
Error.captureStackTrace(this, this.constructor);
|
|
||||||
}
|
|
||||||
this.name = "HttpError";
|
this.name = "HttpError";
|
||||||
this.status = statusCode;
|
this.status = Number.parseInt(statusCode);
|
||||||
|
if (Number.isNaN(this.status)) {
|
||||||
|
this.status = 0;
|
||||||
|
}
|
||||||
if ("response" in options) {
|
if ("response" in options) {
|
||||||
this.response = options.response;
|
this.response = options.response;
|
||||||
}
|
}
|
||||||
@@ -40388,7 +40461,7 @@ async function getResponseData(response) {
|
|||||||
return response.text().catch(() => "");
|
return response.text().catch(() => "");
|
||||||
}
|
}
|
||||||
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
|
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
|
||||||
if (mimetype.type === "application/json") {
|
if (isJSONResponse(mimetype)) {
|
||||||
let text = "";
|
let text = "";
|
||||||
try {
|
try {
|
||||||
text = await response.text();
|
text = await response.text();
|
||||||
@@ -40402,6 +40475,9 @@ async function getResponseData(response) {
|
|||||||
return response.arrayBuffer().catch(() => new ArrayBuffer(0));
|
return response.arrayBuffer().catch(() => new ArrayBuffer(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function isJSONResponse(mimetype) {
|
||||||
|
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
|
||||||
|
}
|
||||||
function toErrorMessage(data) {
|
function toErrorMessage(data) {
|
||||||
if (typeof data === "string") {
|
if (typeof data === "string") {
|
||||||
return data;
|
return data;
|
||||||
|
|||||||
350
package-lock.json
generated
350
package-lock.json
generated
@@ -1,26 +1,26 @@
|
|||||||
{
|
{
|
||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"version": "1.11.1",
|
"version": "1.11.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"version": "1.11.1",
|
"version": "1.11.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@octokit/auth-app": "^7.1.3",
|
"@octokit/auth-app": "^7.1.4",
|
||||||
"@octokit/request": "^9.1.4",
|
"@octokit/request": "^9.2.0",
|
||||||
"p-retry": "^6.2.1",
|
"p-retry": "^6.2.1",
|
||||||
"undici": "^7.2.0"
|
"undici": "^7.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sinonjs/fake-timers": "^14.0.0",
|
"@sinonjs/fake-timers": "^14.0.0",
|
||||||
"ava": "^6.2.0",
|
"ava": "^6.2.0",
|
||||||
"c8": "^10.1.3",
|
"c8": "^10.1.3",
|
||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.4.7",
|
||||||
"esbuild": "^0.24.2",
|
"esbuild": "^0.25.0",
|
||||||
"execa": "^9.5.2",
|
"execa": "^9.5.2",
|
||||||
"open-cli": "^8.0.0",
|
"open-cli": "^8.0.0",
|
||||||
"yaml": "^2.7.0"
|
"yaml": "^2.7.0"
|
||||||
@@ -78,13 +78,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/aix-ppc64": {
|
"node_modules/@esbuild/aix-ppc64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz",
|
||||||
"integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==",
|
"integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ppc64"
|
"ppc64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"aix"
|
"aix"
|
||||||
@@ -94,13 +95,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/android-arm": {
|
"node_modules/@esbuild/android-arm": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.0.tgz",
|
||||||
"integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==",
|
"integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"android"
|
"android"
|
||||||
@@ -110,13 +112,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/android-arm64": {
|
"node_modules/@esbuild/android-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==",
|
"integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"android"
|
"android"
|
||||||
@@ -126,13 +129,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/android-x64": {
|
"node_modules/@esbuild/android-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==",
|
"integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"android"
|
"android"
|
||||||
@@ -142,13 +146,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/darwin-arm64": {
|
"node_modules/@esbuild/darwin-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==",
|
"integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
@@ -158,13 +163,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/darwin-x64": {
|
"node_modules/@esbuild/darwin-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==",
|
"integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
@@ -174,13 +180,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/freebsd-arm64": {
|
"node_modules/@esbuild/freebsd-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==",
|
"integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"freebsd"
|
"freebsd"
|
||||||
@@ -190,13 +197,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/freebsd-x64": {
|
"node_modules/@esbuild/freebsd-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==",
|
"integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"freebsd"
|
"freebsd"
|
||||||
@@ -206,13 +214,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-arm": {
|
"node_modules/@esbuild/linux-arm": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz",
|
||||||
"integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==",
|
"integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -222,13 +231,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-arm64": {
|
"node_modules/@esbuild/linux-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==",
|
"integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -238,13 +248,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-ia32": {
|
"node_modules/@esbuild/linux-ia32": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz",
|
||||||
"integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==",
|
"integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -254,13 +265,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-loong64": {
|
"node_modules/@esbuild/linux-loong64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz",
|
||||||
"integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==",
|
"integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"loong64"
|
"loong64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -270,13 +282,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-mips64el": {
|
"node_modules/@esbuild/linux-mips64el": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz",
|
||||||
"integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==",
|
"integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"mips64el"
|
"mips64el"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -286,13 +299,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-ppc64": {
|
"node_modules/@esbuild/linux-ppc64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz",
|
||||||
"integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==",
|
"integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ppc64"
|
"ppc64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -302,13 +316,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-riscv64": {
|
"node_modules/@esbuild/linux-riscv64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz",
|
||||||
"integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==",
|
"integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"riscv64"
|
"riscv64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -318,13 +333,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-s390x": {
|
"node_modules/@esbuild/linux-s390x": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz",
|
||||||
"integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==",
|
"integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"s390x"
|
"s390x"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -334,13 +350,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/linux-x64": {
|
"node_modules/@esbuild/linux-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==",
|
"integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
@@ -350,13 +367,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/netbsd-arm64": {
|
"node_modules/@esbuild/netbsd-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==",
|
"integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"netbsd"
|
"netbsd"
|
||||||
@@ -366,13 +384,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/netbsd-x64": {
|
"node_modules/@esbuild/netbsd-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==",
|
"integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"netbsd"
|
"netbsd"
|
||||||
@@ -382,13 +401,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/openbsd-arm64": {
|
"node_modules/@esbuild/openbsd-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==",
|
"integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"openbsd"
|
"openbsd"
|
||||||
@@ -398,13 +418,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/openbsd-x64": {
|
"node_modules/@esbuild/openbsd-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==",
|
"integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"openbsd"
|
"openbsd"
|
||||||
@@ -414,13 +435,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/sunos-x64": {
|
"node_modules/@esbuild/sunos-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==",
|
"integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"sunos"
|
"sunos"
|
||||||
@@ -430,13 +452,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/win32-arm64": {
|
"node_modules/@esbuild/win32-arm64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz",
|
||||||
"integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==",
|
"integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
@@ -446,13 +469,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/win32-ia32": {
|
"node_modules/@esbuild/win32-ia32": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz",
|
||||||
"integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==",
|
"integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
@@ -462,13 +486,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/win32-x64": {
|
"node_modules/@esbuild/win32-x64": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz",
|
||||||
"integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==",
|
"integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
@@ -645,15 +670,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/auth-app": {
|
"node_modules/@octokit/auth-app": {
|
||||||
"version": "7.1.3",
|
"version": "7.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-7.1.4.tgz",
|
||||||
"integrity": "sha512-GZdkOp2kZTIy5dG9oXqvzUAZiPvDx4C/lMlN6yQjtG9d/+hYa7W8WXTJoOrXE8UdfL9A/sZMl206dmtkl9lwVQ==",
|
"integrity": "sha512-5F+3l/maq9JfWQ4bV28jT2G/K8eu9OJ317yzXPTGe4Kw+lKDhFaS4dQ3Ltmb6xImKxfCQdqDqMXODhc9YLipLw==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/auth-oauth-app": "^8.1.0",
|
"@octokit/auth-oauth-app": "^8.1.2",
|
||||||
"@octokit/auth-oauth-user": "^5.1.0",
|
"@octokit/auth-oauth-user": "^5.1.2",
|
||||||
"@octokit/request": "^9.1.1",
|
"@octokit/request": "^9.1.4",
|
||||||
"@octokit/request-error": "^6.1.1",
|
"@octokit/request-error": "^6.1.6",
|
||||||
"@octokit/types": "^13.4.1",
|
"@octokit/types": "^13.6.2",
|
||||||
"toad-cache": "^3.7.0",
|
"toad-cache": "^3.7.0",
|
||||||
"universal-github-app-jwt": "^2.2.0",
|
"universal-github-app-jwt": "^2.2.0",
|
||||||
"universal-user-agent": "^7.0.0"
|
"universal-user-agent": "^7.0.0"
|
||||||
@@ -663,14 +689,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/auth-oauth-app": {
|
"node_modules/@octokit/auth-oauth-app": {
|
||||||
"version": "8.1.1",
|
"version": "8.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-8.1.2.tgz",
|
||||||
"integrity": "sha512-5UtmxXAvU2wfcHIPPDWzVSAWXVJzG3NWsxb7zCFplCWEmMCArSZV0UQu5jw5goLQXbFyOr5onzEH37UJB3zQQg==",
|
"integrity": "sha512-3woNZgq5/S6RS+9ZTq+JdymxVr7E0s4EYxF20ugQvgX3pomdPUL5r/XdTY9wALoBM2eHVy4ettr5fKpatyTyHw==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/auth-oauth-device": "^7.0.0",
|
"@octokit/auth-oauth-device": "^7.1.2",
|
||||||
"@octokit/auth-oauth-user": "^5.0.1",
|
"@octokit/auth-oauth-user": "^5.1.2",
|
||||||
"@octokit/request": "^9.0.0",
|
"@octokit/request": "^9.1.4",
|
||||||
"@octokit/types": "^13.0.0",
|
"@octokit/types": "^13.6.2",
|
||||||
"universal-user-agent": "^7.0.0"
|
"universal-user-agent": "^7.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -678,13 +705,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/auth-oauth-device": {
|
"node_modules/@octokit/auth-oauth-device": {
|
||||||
"version": "7.1.1",
|
"version": "7.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-7.1.2.tgz",
|
||||||
"integrity": "sha512-HWl8lYueHonuyjrKKIup/1tiy0xcmQCdq5ikvMO1YwkNNkxb6DXfrPjrMYItNLyCP/o2H87WuijuE+SlBTT8eg==",
|
"integrity": "sha512-gTOIzDeV36OhVfxCl69FmvJix7tJIiU6dlxuzLVAzle7fYfO8UDyddr9B+o4CFQVaMBLMGZ9ak2CWMYcGeZnPw==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/oauth-methods": "^5.0.0",
|
"@octokit/oauth-methods": "^5.1.3",
|
||||||
"@octokit/request": "^9.0.0",
|
"@octokit/request": "^9.1.4",
|
||||||
"@octokit/types": "^13.0.0",
|
"@octokit/types": "^13.6.2",
|
||||||
"universal-user-agent": "^7.0.0"
|
"universal-user-agent": "^7.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -692,14 +720,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/auth-oauth-user": {
|
"node_modules/@octokit/auth-oauth-user": {
|
||||||
"version": "5.1.1",
|
"version": "5.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-5.1.2.tgz",
|
||||||
"integrity": "sha512-rRkMz0ErOppdvEfnemHJXgZ9vTPhBuC6yASeFaB7I2yLMd7QpjfrL1mnvRPlyKo+M6eeLxrKanXJ9Qte29SRsw==",
|
"integrity": "sha512-PgVDDPJgZYb3qSEXK4moksA23tfn68zwSAsQKZ1uH6IV9IaNEYx35OXXI80STQaLYnmEE86AgU0tC1YkM4WjsA==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/auth-oauth-device": "^7.0.1",
|
"@octokit/auth-oauth-device": "^7.1.2",
|
||||||
"@octokit/oauth-methods": "^5.0.0",
|
"@octokit/oauth-methods": "^5.1.2",
|
||||||
"@octokit/request": "^9.0.1",
|
"@octokit/request": "^9.1.4",
|
||||||
"@octokit/types": "^13.0.0",
|
"@octokit/types": "^13.6.2",
|
||||||
"universal-user-agent": "^7.0.0"
|
"universal-user-agent": "^7.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -707,11 +736,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/endpoint": {
|
"node_modules/@octokit/endpoint": {
|
||||||
"version": "10.1.1",
|
"version": "10.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.3.tgz",
|
||||||
"integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==",
|
"integrity": "sha512-nBRBMpKPhQUxCsQQeW+rCJ/OPSMcj3g0nfHn01zGYZXuNDvvXudF/TYY6APj5THlurerpFN4a/dQAIAaM6BYhA==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^13.0.0",
|
"@octokit/types": "^13.6.2",
|
||||||
"universal-user-agent": "^7.0.2"
|
"universal-user-agent": "^7.0.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -722,19 +752,21 @@
|
|||||||
"version": "7.1.1",
|
"version": "7.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-7.1.1.tgz",
|
||||||
"integrity": "sha512-ooXV8GBSabSWyhLUowlMIVd9l1s2nsOGQdlP2SQ4LnkEsGXzeCvbSbCPdZThXhEFzleGPwbapT0Sb+YhXRyjCA==",
|
"integrity": "sha512-ooXV8GBSabSWyhLUowlMIVd9l1s2nsOGQdlP2SQ4LnkEsGXzeCvbSbCPdZThXhEFzleGPwbapT0Sb+YhXRyjCA==",
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/oauth-methods": {
|
"node_modules/@octokit/oauth-methods": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-5.1.3.tgz",
|
||||||
"integrity": "sha512-C5lglRD+sBlbrhCUTxgJAFjWgJlmTx5bQ7Ch0+2uqRjYv7Cfb5xpX4WuSC9UgQna3sqRGBL9EImX9PvTpMaQ7g==",
|
"integrity": "sha512-M+bDBi5H8FnH0xhCTg0m9hvcnppdDnxUqbZyOkxlLblKpLAR+eT2nbDPvJDp0eLrvJWA1I8OX0KHf/sBMQARRA==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/oauth-authorization-url": "^7.0.0",
|
"@octokit/oauth-authorization-url": "^7.0.0",
|
||||||
"@octokit/request": "^9.1.0",
|
"@octokit/request": "^9.1.4",
|
||||||
"@octokit/request-error": "^6.1.0",
|
"@octokit/request-error": "^6.1.6",
|
||||||
"@octokit/types": "^13.0.0"
|
"@octokit/types": "^13.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
@@ -746,9 +778,10 @@
|
|||||||
"integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg=="
|
"integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg=="
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/request": {
|
"node_modules/@octokit/request": {
|
||||||
"version": "9.1.4",
|
"version": "9.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.0.tgz",
|
||||||
"integrity": "sha512-tMbOwGm6wDII6vygP3wUVqFTw3Aoo0FnVQyhihh8vVq12uO3P+vQZeo2CKMpWtPSogpACD0yyZAlVlQnjW71DA==",
|
"integrity": "sha512-kXLfcxhC4ozCnAXy2ff+cSxpcF0A1UqxjvYMqNuPIeOAzJbVWQ+dy5G2fTylofB/gTbObT8O6JORab+5XtA1Kw==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/endpoint": "^10.0.0",
|
"@octokit/endpoint": "^10.0.0",
|
||||||
"@octokit/request-error": "^6.0.1",
|
"@octokit/request-error": "^6.0.1",
|
||||||
@@ -761,11 +794,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/request-error": {
|
"node_modules/@octokit/request-error": {
|
||||||
"version": "6.1.1",
|
"version": "6.1.6",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.6.tgz",
|
||||||
"integrity": "sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==",
|
"integrity": "sha512-pqnVKYo/at0NuOjinrgcQYpEbv4snvP3bKMRqHaD9kIsk9u1LCpb2smHZi8/qJfgeNqLo5hNW4Z7FezNdEo0xg==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^13.0.0"
|
"@octokit/types": "^13.6.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
@@ -1574,11 +1608,12 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/esbuild": {
|
"node_modules/esbuild": {
|
||||||
"version": "0.24.2",
|
"version": "0.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz",
|
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz",
|
||||||
"integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==",
|
"integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
"esbuild": "bin/esbuild"
|
"esbuild": "bin/esbuild"
|
||||||
},
|
},
|
||||||
@@ -1586,31 +1621,31 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@esbuild/aix-ppc64": "0.24.2",
|
"@esbuild/aix-ppc64": "0.25.0",
|
||||||
"@esbuild/android-arm": "0.24.2",
|
"@esbuild/android-arm": "0.25.0",
|
||||||
"@esbuild/android-arm64": "0.24.2",
|
"@esbuild/android-arm64": "0.25.0",
|
||||||
"@esbuild/android-x64": "0.24.2",
|
"@esbuild/android-x64": "0.25.0",
|
||||||
"@esbuild/darwin-arm64": "0.24.2",
|
"@esbuild/darwin-arm64": "0.25.0",
|
||||||
"@esbuild/darwin-x64": "0.24.2",
|
"@esbuild/darwin-x64": "0.25.0",
|
||||||
"@esbuild/freebsd-arm64": "0.24.2",
|
"@esbuild/freebsd-arm64": "0.25.0",
|
||||||
"@esbuild/freebsd-x64": "0.24.2",
|
"@esbuild/freebsd-x64": "0.25.0",
|
||||||
"@esbuild/linux-arm": "0.24.2",
|
"@esbuild/linux-arm": "0.25.0",
|
||||||
"@esbuild/linux-arm64": "0.24.2",
|
"@esbuild/linux-arm64": "0.25.0",
|
||||||
"@esbuild/linux-ia32": "0.24.2",
|
"@esbuild/linux-ia32": "0.25.0",
|
||||||
"@esbuild/linux-loong64": "0.24.2",
|
"@esbuild/linux-loong64": "0.25.0",
|
||||||
"@esbuild/linux-mips64el": "0.24.2",
|
"@esbuild/linux-mips64el": "0.25.0",
|
||||||
"@esbuild/linux-ppc64": "0.24.2",
|
"@esbuild/linux-ppc64": "0.25.0",
|
||||||
"@esbuild/linux-riscv64": "0.24.2",
|
"@esbuild/linux-riscv64": "0.25.0",
|
||||||
"@esbuild/linux-s390x": "0.24.2",
|
"@esbuild/linux-s390x": "0.25.0",
|
||||||
"@esbuild/linux-x64": "0.24.2",
|
"@esbuild/linux-x64": "0.25.0",
|
||||||
"@esbuild/netbsd-arm64": "0.24.2",
|
"@esbuild/netbsd-arm64": "0.25.0",
|
||||||
"@esbuild/netbsd-x64": "0.24.2",
|
"@esbuild/netbsd-x64": "0.25.0",
|
||||||
"@esbuild/openbsd-arm64": "0.24.2",
|
"@esbuild/openbsd-arm64": "0.25.0",
|
||||||
"@esbuild/openbsd-x64": "0.24.2",
|
"@esbuild/openbsd-x64": "0.25.0",
|
||||||
"@esbuild/sunos-x64": "0.24.2",
|
"@esbuild/sunos-x64": "0.25.0",
|
||||||
"@esbuild/win32-arm64": "0.24.2",
|
"@esbuild/win32-arm64": "0.25.0",
|
||||||
"@esbuild/win32-ia32": "0.24.2",
|
"@esbuild/win32-ia32": "0.25.0",
|
||||||
"@esbuild/win32-x64": "0.24.2"
|
"@esbuild/win32-x64": "0.25.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/escalade": {
|
"node_modules/escalade": {
|
||||||
@@ -3602,9 +3637,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici": {
|
"node_modules/undici": {
|
||||||
"version": "7.2.0",
|
"version": "7.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-7.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-7.3.0.tgz",
|
||||||
"integrity": "sha512-klt+0S55GBViA9nsq48/NSCo4YX5mjydjypxD7UmHh/brMu8h/Mhd/F7qAeoH2NOO8SDTk6kjnTFc4WpzmfYpQ==",
|
"integrity": "sha512-Qy96NND4Dou5jKoSJ2gm8ax8AJM/Ey9o9mz7KN1bb9GP+G0l20Zw8afxTnY2f4b7hmhn/z8aC2kfArVQlAhFBw==",
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.18.1"
|
"node": ">=20.18.1"
|
||||||
}
|
}
|
||||||
|
|||||||
10
package.json
10
package.json
@@ -2,7 +2,7 @@
|
|||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.11.2",
|
"version": "1.11.4",
|
||||||
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle",
|
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle",
|
||||||
@@ -13,17 +13,17 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@octokit/auth-app": "^7.1.3",
|
"@octokit/auth-app": "^7.1.4",
|
||||||
"@octokit/request": "^9.1.4",
|
"@octokit/request": "^9.2.0",
|
||||||
"p-retry": "^6.2.1",
|
"p-retry": "^6.2.1",
|
||||||
"undici": "^7.2.0"
|
"undici": "^7.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sinonjs/fake-timers": "^14.0.0",
|
"@sinonjs/fake-timers": "^14.0.0",
|
||||||
"ava": "^6.2.0",
|
"ava": "^6.2.0",
|
||||||
"c8": "^10.1.3",
|
"c8": "^10.1.3",
|
||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.4.7",
|
||||||
"esbuild": "^0.24.2",
|
"esbuild": "^0.25.0",
|
||||||
"execa": "^9.5.2",
|
"execa": "^9.5.2",
|
||||||
"open-cli": "^8.0.0",
|
"open-cli": "^8.0.0",
|
||||||
"yaml": "^2.7.0"
|
"yaml": "^2.7.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user