Skip to content
Merged
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
496 changes: 295 additions & 201 deletions .github/local-actions/branch-manager/main.js

Large diffs are not rendered by default.

51 changes: 28 additions & 23 deletions .github/local-actions/labels-sync/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5298,6 +5298,13 @@ var require_body = __commonJS({
var { isUint8Array, isArrayBuffer } = __require("util/types");
var { File: UndiciFile } = require_file();
var { parseMIMEType, serializeAMimeType } = require_dataURL();
var random;
try {
const crypto = __require("node:crypto");
random = (max) => crypto.randomInt(0, max);
} catch {
random = (max) => Math.floor(Math.random(max));
}
var ReadableStream2 = globalThis.ReadableStream;
var File = NativeFile ?? UndiciFile;
var textEncoder = new TextEncoder();
Expand Down Expand Up @@ -5340,7 +5347,7 @@ var require_body = __commonJS({
} else if (ArrayBuffer.isView(object)) {
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));
} else if (util.isFormDataLike(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
Content-Disposition: form-data`;
const escape = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22");
Expand Down Expand Up @@ -8887,6 +8894,14 @@ var require_pool = __commonJS({
this[kOptions] = { ...util.deepClone(options), connect, allowH2 };
this[kOptions].interceptors = options.interceptors ? { ...options.interceptors } : void 0;
this[kFactory] = factory;
this.on("connectionError", (origin2, targets, error) => {
for (const target of targets) {
const idx = this[kClients].indexOf(target);
if (idx !== -1) {
this[kClients].splice(idx, 1);
}
}
});
}
[kGetDispatcher]() {
let dispatcher = this[kClients].find((dispatcher2) => !dispatcher2[kNeedDrain]);
Expand Down Expand Up @@ -11509,6 +11524,7 @@ var require_headers = __commonJS({
isValidHeaderName,
isValidHeaderValue
} = require_util2();
var util = __require("util");
var { webidl } = require_webidl();
var assert = __require("assert");
var kHeadersMap = Symbol("headers map");
Expand Down Expand Up @@ -11845,6 +11861,9 @@ var require_headers = __commonJS({
[Symbol.toStringTag]: {
value: "Headers",
configurable: true
},
[util.inspect.custom]: {
enumerable: false
}
});
webidl.converters.HeadersInit = function(V) {
Expand Down Expand Up @@ -15261,8 +15280,6 @@ var require_constants4 = __commonJS({
var require_util6 = __commonJS({
""(exports, module) {
"use strict";
var assert = __require("assert");
var { kHeadersList } = require_symbols();
function isCTLExcludingHtab(value) {
if (value.length === 0) {
return false;
Expand Down Expand Up @@ -15392,25 +15409,13 @@ var require_util6 = __commonJS({
}
return out.join("; ");
}
var kHeadersListNode;
function getHeadersList(headers) {
if (headers[kHeadersList]) {
return headers[kHeadersList];
}
if (!kHeadersListNode) {
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
(symbol) => symbol.description === "headers list"
);
assert(kHeadersListNode, "Headers cannot be parsed");
}
const headersList = headers[kHeadersListNode];
assert(headersList);
return headersList;
}
module.exports = {
isCTLExcludingHtab,
stringify,
getHeadersList
validateCookieName,
validateCookiePath,
validateCookieValue,
toIMFDate,
stringify
};
}
});
Expand Down Expand Up @@ -15560,7 +15565,7 @@ var require_cookies = __commonJS({
""(exports, module) {
"use strict";
var { parseSetCookie } = require_parse();
var { stringify, getHeadersList } = require_util6();
var { stringify } = require_util6();
var { webidl } = require_webidl();
var { Headers } = require_headers();
function getCookies(headers) {
Expand Down Expand Up @@ -15592,11 +15597,11 @@ var require_cookies = __commonJS({
function getSetCookies(headers) {
webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
webidl.brandCheck(headers, Headers, { strict: false });
const cookies = getHeadersList(headers).cookies;
const cookies = headers.getSetCookie();
if (!cookies) {
return [];
}
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair));
return cookies.map((pair) => parseSetCookie(pair));
}
function setCookie(headers, cookie) {
webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
Expand Down
51 changes: 28 additions & 23 deletions .github/local-actions/lock-closed/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5298,6 +5298,13 @@ var require_body = __commonJS({
var { isUint8Array, isArrayBuffer } = __require("util/types");
var { File: UndiciFile } = require_file();
var { parseMIMEType, serializeAMimeType } = require_dataURL();
var random;
try {
const crypto = __require("node:crypto");
random = (max) => crypto.randomInt(0, max);
} catch {
random = (max) => Math.floor(Math.random(max));
}
var ReadableStream2 = globalThis.ReadableStream;
var File = NativeFile ?? UndiciFile;
var textEncoder = new TextEncoder();
Expand Down Expand Up @@ -5340,7 +5347,7 @@ var require_body = __commonJS({
} else if (ArrayBuffer.isView(object)) {
source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));
} else if (util.isFormDataLike(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
Content-Disposition: form-data`;
const escape = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22");
Expand Down Expand Up @@ -8887,6 +8894,14 @@ var require_pool = __commonJS({
this[kOptions] = { ...util.deepClone(options), connect, allowH2 };
this[kOptions].interceptors = options.interceptors ? { ...options.interceptors } : void 0;
this[kFactory] = factory;
this.on("connectionError", (origin2, targets, error2) => {
for (const target of targets) {
const idx = this[kClients].indexOf(target);
if (idx !== -1) {
this[kClients].splice(idx, 1);
}
}
});
}
[kGetDispatcher]() {
let dispatcher = this[kClients].find((dispatcher2) => !dispatcher2[kNeedDrain]);
Expand Down Expand Up @@ -11509,6 +11524,7 @@ var require_headers = __commonJS({
isValidHeaderName,
isValidHeaderValue
} = require_util2();
var util = __require("util");
var { webidl } = require_webidl();
var assert = __require("assert");
var kHeadersMap = Symbol("headers map");
Expand Down Expand Up @@ -11845,6 +11861,9 @@ var require_headers = __commonJS({
[Symbol.toStringTag]: {
value: "Headers",
configurable: true
},
[util.inspect.custom]: {
enumerable: false
}
});
webidl.converters.HeadersInit = function(V) {
Expand Down Expand Up @@ -15261,8 +15280,6 @@ var require_constants4 = __commonJS({
var require_util6 = __commonJS({
""(exports, module) {
"use strict";
var assert = __require("assert");
var { kHeadersList } = require_symbols();
function isCTLExcludingHtab(value) {
if (value.length === 0) {
return false;
Expand Down Expand Up @@ -15392,25 +15409,13 @@ var require_util6 = __commonJS({
}
return out.join("; ");
}
var kHeadersListNode;
function getHeadersList(headers) {
if (headers[kHeadersList]) {
return headers[kHeadersList];
}
if (!kHeadersListNode) {
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
(symbol) => symbol.description === "headers list"
);
assert(kHeadersListNode, "Headers cannot be parsed");
}
const headersList = headers[kHeadersListNode];
assert(headersList);
return headersList;
}
module.exports = {
isCTLExcludingHtab,
stringify,
getHeadersList
validateCookieName,
validateCookiePath,
validateCookieValue,
toIMFDate,
stringify
};
}
});
Expand Down Expand Up @@ -15560,7 +15565,7 @@ var require_cookies = __commonJS({
""(exports, module) {
"use strict";
var { parseSetCookie } = require_parse();
var { stringify, getHeadersList } = require_util6();
var { stringify } = require_util6();
var { webidl } = require_webidl();
var { Headers } = require_headers();
function getCookies(headers) {
Expand Down Expand Up @@ -15592,11 +15597,11 @@ var require_cookies = __commonJS({
function getSetCookies(headers) {
webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
webidl.brandCheck(headers, Headers, { strict: false });
const cookies = getHeadersList(headers).cookies;
const cookies = headers.getSetCookie();
if (!cookies) {
return [];
}
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair));
return cookies.map((pair) => parseSetCookie(pair));
}
function setCookie(headers, cookie) {
webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
Expand Down
1 change: 0 additions & 1 deletion .ng-dev/commit-message.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const commitMessage: CommitMessageConfig = {
...buildScopesFor('bazel', [
'api-golden',
'app-bundling',
'benchmark',
'browsers',
'constraints',
'esbuild',
Expand Down
1 change: 0 additions & 1 deletion bazel/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ filegroup(
"filter_outputs.bzl",
"//bazel/api-golden:files",
"//bazel/app-bundling:files",
"//bazel/benchmark:files",
"//bazel/browsers:files",
"//bazel/constraints:files",
"//bazel/esbuild:files",
Expand Down
10 changes: 0 additions & 10 deletions bazel/benchmark/BUILD.bazel

This file was deleted.

12 changes: 0 additions & 12 deletions bazel/benchmark/component_benchmark/BUILD.bazel

This file was deleted.

28 changes: 0 additions & 28 deletions bazel/benchmark/component_benchmark/benchmark_test.bzl

This file was deleted.

Loading
Loading