Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 28 additions & 7 deletions .github/local-actions/branch-manager/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36984,6 +36984,9 @@ var require_connect2 = __commonJS({
};
};
function onConnectTimeout(socket, opts) {
if (socket == null) {
return;
}
let message = "Connect Timeout Error";
if (Array.isArray(socket.autoSelectFamilyAttemptedAddresses)) {
message += ` (attempted addresses: ${socket.autoSelectFamilyAttemptedAddresses.join(", ")},`;
Expand Down Expand Up @@ -37915,6 +37918,7 @@ var require_webidl2 = __commonJS({
""(exports, module) {
"use strict";
var { types: types4, inspect } = __require("node:util");
var { markAsUncloneable } = __require("node:worker_threads");
var { toUSVString } = require_util8();
var webidl = {};
webidl.converters = {};
Expand Down Expand Up @@ -37989,6 +37993,8 @@ var require_webidl2 = __commonJS({
}
}
};
webidl.util.markAsUncloneable = markAsUncloneable || (() => {
});
webidl.util.ConvertToInt = function(V, bitLength, signedness, opts) {
let upperBound;
let lowerBound;
Expand Down Expand Up @@ -39272,6 +39278,7 @@ var require_formdata2 = __commonJS({
var File = globalThis.File ?? NativeFile;
var FormData = class {
constructor(form) {
webidl.util.markAsUncloneable(this);
if (form !== void 0) {
throw webidl.errors.conversionFailed({
prefix: "FormData constructor",
Expand Down Expand Up @@ -43238,7 +43245,7 @@ var require_retry_handler = __commonJS({
);
return false;
}
const { start, size, end = size } = contentRange;
const { start, size, end = size - 1 } = contentRange;
assert(this.start === start, "content-range mismatch");
assert(this.end == null || this.end === end, "content-range mismatch");
this.resume = resume;
Expand All @@ -43255,7 +43262,7 @@ var require_retry_handler = __commonJS({
statusMessage
);
}
const { start, size, end = size } = range;
const { start, size, end = size - 1 } = range;
assert(
start != null && Number.isFinite(start),
"content-range mismatch"
Expand All @@ -43266,7 +43273,7 @@ var require_retry_handler = __commonJS({
}
if (this.end == null) {
const contentLength = headers["content-length"];
this.end = contentLength != null ? Number(contentLength) : null;
this.end = contentLength != null ? Number(contentLength) - 1 : null;
}
assert(Number.isFinite(this.start));
assert(
Expand Down Expand Up @@ -45760,6 +45767,7 @@ var require_headers2 = __commonJS({
#guard;
#headersList;
constructor(init = void 0) {
webidl.util.markAsUncloneable(this);
if (init === kConstruct) {
return;
}
Expand Down Expand Up @@ -46021,6 +46029,7 @@ var require_response2 = __commonJS({
return responseObject;
}
constructor(body = null, init = {}) {
webidl.util.markAsUncloneable(this);
if (body === kConstruct) {
return;
}
Expand Down Expand Up @@ -46438,6 +46447,7 @@ var require_request4 = __commonJS({
var Request = class {
constructor(input, init = {}) {
var _a2, _b;
webidl.util.markAsUncloneable(this);
if (input === kConstruct) {
return;
}
Expand Down Expand Up @@ -47962,7 +47972,7 @@ var require_fetch2 = __commonJS({
const decoders = [];
const willFollow = location && request2.redirect === "follow" && redirectStatusSet.has(status);
if (codings.length !== 0 && request2.method !== "HEAD" && request2.method !== "CONNECT" && !nullBodyStatus.includes(status) && !willFollow) {
for (let i = 0; i < codings.length; ++i) {
for (let i = codings.length - 1; i >= 0; --i) {
const coding = codings[i];
if (coding === "x-gzip" || coding === "gzip") {
decoders.push(zlib.createGunzip({
Expand Down Expand Up @@ -48898,6 +48908,7 @@ var require_cache2 = __commonJS({
if (arguments[0] !== kConstruct) {
webidl.illegalConstructor();
}
webidl.util.markAsUncloneable(this);
this.#relevantRequestResponseList = arguments[1];
}
async match(request2, options = {}) {
Expand Down Expand Up @@ -49402,6 +49413,7 @@ var require_cachestorage2 = __commonJS({
if (arguments[0] !== kConstruct) {
webidl.illegalConstructor();
}
webidl.util.markAsUncloneable(this);
}
async match(request2, options = {}) {
webidl.brandCheck(this, CacheStorage);
Expand Down Expand Up @@ -49914,6 +49926,7 @@ var require_events2 = __commonJS({
constructor(type, eventInitDict = {}) {
if (type === kConstruct) {
super(arguments[1], arguments[2]);
webidl.util.markAsUncloneable(this);
return;
}
const prefix = "MessageEvent constructor";
Expand All @@ -49922,6 +49935,7 @@ var require_events2 = __commonJS({
eventInitDict = webidl.converters.MessageEventInit(eventInitDict, prefix, "eventInitDict");
super(type, eventInitDict);
this.#eventInit = eventInitDict;
webidl.util.markAsUncloneable(this);
}
get data() {
webidl.brandCheck(this, MessageEvent);
Expand Down Expand Up @@ -49981,6 +49995,7 @@ var require_events2 = __commonJS({
eventInitDict = webidl.converters.CloseEventInit(eventInitDict);
super(type, eventInitDict);
this.#eventInit = eventInitDict;
webidl.util.markAsUncloneable(this);
}
get wasClean() {
webidl.brandCheck(this, CloseEvent);
Expand All @@ -50001,6 +50016,7 @@ var require_events2 = __commonJS({
const prefix = "ErrorEvent constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
super(type, eventInitDict);
webidl.util.markAsUncloneable(this);
type = webidl.converters.DOMString(type, prefix, "type");
eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {});
this.#eventInit = eventInitDict;
Expand Down Expand Up @@ -51103,6 +51119,7 @@ var require_websocket2 = __commonJS({
#sendQueue;
constructor(url, protocols = []) {
super();
webidl.util.markAsUncloneable(this);
const prefix = "WebSocket constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
const options = webidl.converters["DOMString or sequence<DOMString> or WebSocketInit"](protocols, prefix, "options");
Expand Down Expand Up @@ -51687,6 +51704,7 @@ var require_eventsource = __commonJS({
#state;
constructor(url, eventSourceInitDict = {}) {
super();
webidl.util.markAsUncloneable(this);
const prefix = "EventSource constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
if (!experimentalWarned) {
Expand Down Expand Up @@ -57701,7 +57719,7 @@ function usePrefix({ status = "idle", theme }) {
return spinner.frames[tick];
}
const iconName = status === "loading" ? "idle" : status;
return typeof prefix === "string" ? prefix : prefix[iconName];
return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
}

//
Expand Down Expand Up @@ -58395,7 +58413,7 @@ ${page}${helpTipBottom}${choiceDescription}${error2}${import_ansi_escapes2.defau
var import_external_editor = __toESM(require_main2(), 1);
import { AsyncResource as AsyncResource4 } from "node:async_hooks";
var esm_default3 = createPrompt((config, done) => {
const { waitForUseInput = true, postfix = ".txt", validate = () => true } = config;
const { waitForUseInput = true, file: { postfix = config.postfix ?? ".txt", ...fileProps } = {}, validate = () => true } = config;
const theme = makeTheme(config.theme);
const [status, setStatus] = useState("idle");
const [value, setValue] = useState(config.default || "");
Expand All @@ -58421,7 +58439,10 @@ var esm_default3 = createPrompt((config, done) => {
}
}
});
(0, import_external_editor.editAsync)(value, (error3, answer) => void editCallback(error3, answer), { postfix });
(0, import_external_editor.editAsync)(value, (error3, answer) => void editCallback(error3, answer), {
postfix,
...fileProps
});
}
useEffect((rl) => {
if (!waitForUseInput) {
Expand Down
26 changes: 22 additions & 4 deletions .github/local-actions/labels-sync/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21507,6 +21507,9 @@ var require_connect2 = __commonJS({
};
};
function onConnectTimeout(socket, opts) {
if (socket == null) {
return;
}
let message = "Connect Timeout Error";
if (Array.isArray(socket.autoSelectFamilyAttemptedAddresses)) {
message += ` (attempted addresses: ${socket.autoSelectFamilyAttemptedAddresses.join(", ")},`;
Expand Down Expand Up @@ -22438,6 +22441,7 @@ var require_webidl2 = __commonJS({
""(exports, module) {
"use strict";
var { types, inspect } = __require("node:util");
var { markAsUncloneable } = __require("node:worker_threads");
var { toUSVString } = require_util8();
var webidl = {};
webidl.converters = {};
Expand Down Expand Up @@ -22512,6 +22516,8 @@ var require_webidl2 = __commonJS({
}
}
};
webidl.util.markAsUncloneable = markAsUncloneable || (() => {
});
webidl.util.ConvertToInt = function(V, bitLength, signedness, opts) {
let upperBound;
let lowerBound;
Expand Down Expand Up @@ -23795,6 +23801,7 @@ var require_formdata2 = __commonJS({
var File = globalThis.File ?? NativeFile;
var FormData = class {
constructor(form) {
webidl.util.markAsUncloneable(this);
if (form !== void 0) {
throw webidl.errors.conversionFailed({
prefix: "FormData constructor",
Expand Down Expand Up @@ -27761,7 +27768,7 @@ var require_retry_handler = __commonJS({
);
return false;
}
const { start, size, end = size } = contentRange;
const { start, size, end = size - 1 } = contentRange;
assert(this.start === start, "content-range mismatch");
assert(this.end == null || this.end === end, "content-range mismatch");
this.resume = resume;
Expand All @@ -27778,7 +27785,7 @@ var require_retry_handler = __commonJS({
statusMessage
);
}
const { start, size, end = size } = range;
const { start, size, end = size - 1 } = range;
assert(
start != null && Number.isFinite(start),
"content-range mismatch"
Expand All @@ -27789,7 +27796,7 @@ var require_retry_handler = __commonJS({
}
if (this.end == null) {
const contentLength = headers["content-length"];
this.end = contentLength != null ? Number(contentLength) : null;
this.end = contentLength != null ? Number(contentLength) - 1 : null;
}
assert(Number.isFinite(this.start));
assert(
Expand Down Expand Up @@ -30283,6 +30290,7 @@ var require_headers2 = __commonJS({
#guard;
#headersList;
constructor(init = void 0) {
webidl.util.markAsUncloneable(this);
if (init === kConstruct) {
return;
}
Expand Down Expand Up @@ -30544,6 +30552,7 @@ var require_response2 = __commonJS({
return responseObject;
}
constructor(body = null, init = {}) {
webidl.util.markAsUncloneable(this);
if (body === kConstruct) {
return;
}
Expand Down Expand Up @@ -30961,6 +30970,7 @@ var require_request4 = __commonJS({
var Request = class {
constructor(input, init = {}) {
var _a2, _b;
webidl.util.markAsUncloneable(this);
if (input === kConstruct) {
return;
}
Expand Down Expand Up @@ -32485,7 +32495,7 @@ var require_fetch2 = __commonJS({
const decoders = [];
const willFollow = location && request2.redirect === "follow" && redirectStatusSet.has(status);
if (codings.length !== 0 && request2.method !== "HEAD" && request2.method !== "CONNECT" && !nullBodyStatus.includes(status) && !willFollow) {
for (let i = 0; i < codings.length; ++i) {
for (let i = codings.length - 1; i >= 0; --i) {
const coding = codings[i];
if (coding === "x-gzip" || coding === "gzip") {
decoders.push(zlib.createGunzip({
Expand Down Expand Up @@ -33421,6 +33431,7 @@ var require_cache2 = __commonJS({
if (arguments[0] !== kConstruct) {
webidl.illegalConstructor();
}
webidl.util.markAsUncloneable(this);
this.#relevantRequestResponseList = arguments[1];
}
async match(request2, options = {}) {
Expand Down Expand Up @@ -33925,6 +33936,7 @@ var require_cachestorage2 = __commonJS({
if (arguments[0] !== kConstruct) {
webidl.illegalConstructor();
}
webidl.util.markAsUncloneable(this);
}
async match(request2, options = {}) {
webidl.brandCheck(this, CacheStorage);
Expand Down Expand Up @@ -34437,6 +34449,7 @@ var require_events2 = __commonJS({
constructor(type, eventInitDict = {}) {
if (type === kConstruct) {
super(arguments[1], arguments[2]);
webidl.util.markAsUncloneable(this);
return;
}
const prefix = "MessageEvent constructor";
Expand All @@ -34445,6 +34458,7 @@ var require_events2 = __commonJS({
eventInitDict = webidl.converters.MessageEventInit(eventInitDict, prefix, "eventInitDict");
super(type, eventInitDict);
this.#eventInit = eventInitDict;
webidl.util.markAsUncloneable(this);
}
get data() {
webidl.brandCheck(this, MessageEvent);
Expand Down Expand Up @@ -34504,6 +34518,7 @@ var require_events2 = __commonJS({
eventInitDict = webidl.converters.CloseEventInit(eventInitDict);
super(type, eventInitDict);
this.#eventInit = eventInitDict;
webidl.util.markAsUncloneable(this);
}
get wasClean() {
webidl.brandCheck(this, CloseEvent);
Expand All @@ -34524,6 +34539,7 @@ var require_events2 = __commonJS({
const prefix = "ErrorEvent constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
super(type, eventInitDict);
webidl.util.markAsUncloneable(this);
type = webidl.converters.DOMString(type, prefix, "type");
eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {});
this.#eventInit = eventInitDict;
Expand Down Expand Up @@ -35626,6 +35642,7 @@ var require_websocket2 = __commonJS({
#sendQueue;
constructor(url, protocols = []) {
super();
webidl.util.markAsUncloneable(this);
const prefix = "WebSocket constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
const options = webidl.converters["DOMString or sequence<DOMString> or WebSocketInit"](protocols, prefix, "options");
Expand Down Expand Up @@ -36210,6 +36227,7 @@ var require_eventsource = __commonJS({
#state;
constructor(url, eventSourceInitDict = {}) {
super();
webidl.util.markAsUncloneable(this);
const prefix = "EventSource constructor";
webidl.argumentLengthCheck(arguments, 1, prefix);
if (!experimentalWarned) {
Expand Down
Loading