diff --git a/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx b/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx
index fd876da8cd5f3e..b524bd1f42b6ec 100644
--- a/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx
+++ b/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx
@@ -19,6 +19,7 @@ import {
CodeConversion,
ContentDesign,
Dashboard,
+ Design,
DoctorPatient,
Download_01,
Export_01,
@@ -87,3 +88,4 @@ import * as React from "react";
; // $ExpectType Element
; // $ExpectType Element
; // $ExpectType Element
+; // $ExpectType Element
diff --git a/types/carbon__pictograms-react/es/design/index.d.ts b/types/carbon__pictograms-react/es/design/index.d.ts
new file mode 100644
index 00000000000000..9dcca6cc15a71e
--- /dev/null
+++ b/types/carbon__pictograms-react/es/design/index.d.ts
@@ -0,0 +1 @@
+export { Design as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/human-in-the-loop/index.d.ts b/types/carbon__pictograms-react/es/human-in-the-loop/index.d.ts
new file mode 100644
index 00000000000000..1e488cc625fffd
--- /dev/null
+++ b/types/carbon__pictograms-react/es/human-in-the-loop/index.d.ts
@@ -0,0 +1 @@
+export { HumanInTheLoop as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/index.d.ts b/types/carbon__pictograms-react/es/index.d.ts
index 497c4c3c8d1a2e..7166cb944c772c 100644
--- a/types/carbon__pictograms-react/es/index.d.ts
+++ b/types/carbon__pictograms-react/es/index.d.ts
@@ -362,6 +362,7 @@ export { Delivered } from "../";
export { DeliveryTruck } from "../";
export { DeployingContainers } from "../";
export { Deployment } from "../";
+export { Design } from "../";
export { DesignLeadership } from "../";
export { DesignResearch } from "../";
export { DesignAndDevelopment_01 } from "../";
@@ -619,6 +620,7 @@ export { HongKong } from "../";
export { HongKongCityscape } from "../";
export { Hospital } from "../";
export { Hpi } from "../";
+export { HumanInTheLoop } from "../";
export { Humid } from "../";
export { Hummingbird } from "../";
export { Hurricane } from "../";
@@ -777,6 +779,7 @@ export { Marketplace } from "../";
export { Mas } from "../";
export { MassDataMigration } from "../";
export { MasterThreatHunting } from "../";
+export { MastersLeaderBoard } from "../";
export { MathCurve } from "../";
export { Maximize } from "../";
export { McgillUniversityMorriceHall } from "../";
@@ -907,6 +910,7 @@ export { Partnership } from "../";
export { Path } from "../";
export { Pattern } from "../";
export { PayForWhatYouUse } from "../";
+export { Pencil } from "../";
export { Performance } from "../";
export { Perfume } from "../";
export { Person_01 } from "../";
@@ -960,6 +964,7 @@ export { PrivateNetwork_03 } from "../";
export { PrivateNetwork_04 } from "../";
export { Process } from "../";
export { ProcessAutomation } from "../";
+export { Product } from "../";
export { Productivity } from "../";
export { ProfessionalMarketplace } from "../";
export { Progress } from "../";
@@ -992,6 +997,7 @@ export { ReadOnly } from "../";
export { RealEstate } from "../";
export { RealTime } from "../";
export { Receipt } from "../";
+export { Recruitment_01 } from "../";
export { Recycle } from "../";
export { RecycleBin } from "../";
export { RedHatApplications } from "../";
@@ -1106,6 +1112,7 @@ export { Socks } from "../";
export { SoftIceCream } from "../";
export { SoftlayerEnablement } from "../";
export { Software } from "../";
+export { Software_02 } from "../";
export { SolarField } from "../";
export { SolarPanel } from "../";
export { Solve } from "../";
@@ -1216,6 +1223,7 @@ export { TextLayout } from "../";
export { TextToSpeech } from "../";
export { ThisSideUp } from "../";
export { ThreatManagement } from "../";
+export { Tickets } from "../";
export { Time } from "../";
export { TimeLapse } from "../";
export { TimePlot } from "../";
@@ -1291,6 +1299,7 @@ export { UserInsights } from "../";
export { UserInterface } from "../";
export { UserMask } from "../";
export { UserProfile } from "../";
+export { UserResearchTools } from "../";
export { UserSearch } from "../";
export { Vancouver } from "../";
export { Vault } from "../";
@@ -1365,3 +1374,4 @@ export { Yoga_03 } from "../";
export { Yoga_04 } from "../";
export { ZeroTrust } from "../";
export { Zurich } from "../";
+export { ZurichSwissNationalMuseum } from "../";
diff --git a/types/carbon__pictograms-react/es/masters-leader-board/index.d.ts b/types/carbon__pictograms-react/es/masters-leader-board/index.d.ts
new file mode 100644
index 00000000000000..884367daf09c21
--- /dev/null
+++ b/types/carbon__pictograms-react/es/masters-leader-board/index.d.ts
@@ -0,0 +1 @@
+export { MastersLeaderBoard as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/pencil/index.d.ts b/types/carbon__pictograms-react/es/pencil/index.d.ts
new file mode 100644
index 00000000000000..a1c51c14bae985
--- /dev/null
+++ b/types/carbon__pictograms-react/es/pencil/index.d.ts
@@ -0,0 +1 @@
+export { Pencil as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/product/index.d.ts b/types/carbon__pictograms-react/es/product/index.d.ts
new file mode 100644
index 00000000000000..5c74c57306b5bf
--- /dev/null
+++ b/types/carbon__pictograms-react/es/product/index.d.ts
@@ -0,0 +1 @@
+export { Product as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/recruitment--01/index.d.ts b/types/carbon__pictograms-react/es/recruitment--01/index.d.ts
new file mode 100644
index 00000000000000..d006dab01bd52e
--- /dev/null
+++ b/types/carbon__pictograms-react/es/recruitment--01/index.d.ts
@@ -0,0 +1 @@
+export { Recruitment_01 as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/software--02/index.d.ts b/types/carbon__pictograms-react/es/software--02/index.d.ts
new file mode 100644
index 00000000000000..fcc92edb3f99a8
--- /dev/null
+++ b/types/carbon__pictograms-react/es/software--02/index.d.ts
@@ -0,0 +1 @@
+export { Software_02 as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/tickets/index.d.ts b/types/carbon__pictograms-react/es/tickets/index.d.ts
new file mode 100644
index 00000000000000..2f04b164325d8a
--- /dev/null
+++ b/types/carbon__pictograms-react/es/tickets/index.d.ts
@@ -0,0 +1 @@
+export { Tickets as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/user--research-tools/index.d.ts b/types/carbon__pictograms-react/es/user--research-tools/index.d.ts
new file mode 100644
index 00000000000000..a4b452776c213a
--- /dev/null
+++ b/types/carbon__pictograms-react/es/user--research-tools/index.d.ts
@@ -0,0 +1 @@
+export { UserResearchTools as default } from "../../";
diff --git a/types/carbon__pictograms-react/es/zurich--swiss-national-museum/index.d.ts b/types/carbon__pictograms-react/es/zurich--swiss-national-museum/index.d.ts
new file mode 100644
index 00000000000000..1f1c5a63212eba
--- /dev/null
+++ b/types/carbon__pictograms-react/es/zurich--swiss-national-museum/index.d.ts
@@ -0,0 +1 @@
+export { ZurichSwissNationalMuseum as default } from "../../";
diff --git a/types/carbon__pictograms-react/index.d.ts b/types/carbon__pictograms-react/index.d.ts
index 5b86342f7b5b2f..2cf9aa7a408a8f 100644
--- a/types/carbon__pictograms-react/index.d.ts
+++ b/types/carbon__pictograms-react/index.d.ts
@@ -1,4 +1,4 @@
-/** 1367 pictograms in total */
+/** 1377 pictograms in total */
export interface CarbonPictogramProps extends
Omit<
@@ -386,6 +386,7 @@ export const Delivered: CarbonPictogramType;
export const DeliveryTruck: CarbonPictogramType;
export const DeployingContainers: CarbonPictogramType;
export const Deployment: CarbonPictogramType;
+export const Design: CarbonPictogramType;
export const DesignLeadership: CarbonPictogramType;
export const DesignResearch: CarbonPictogramType;
export const DesignAndDevelopment_01: CarbonPictogramType;
@@ -651,6 +652,7 @@ export const HongKong: CarbonPictogramType;
export const HongKongCityscape: CarbonPictogramType;
export const Hospital: CarbonPictogramType;
export const Hpi: CarbonPictogramType;
+export const HumanInTheLoop: CarbonPictogramType;
export const Humid: CarbonPictogramType;
export const Hummingbird: CarbonPictogramType;
export const Hurricane: CarbonPictogramType;
@@ -821,6 +823,7 @@ export const Marketplace: CarbonPictogramType;
export const Mas: CarbonPictogramType;
export const MassDataMigration: CarbonPictogramType;
export const MasterThreatHunting: CarbonPictogramType;
+export const MastersLeaderBoard: CarbonPictogramType;
export const MathCurve: CarbonPictogramType;
export const Maximize: CarbonPictogramType;
export const McgillUniversityMorriceHall: CarbonPictogramType;
@@ -951,6 +954,7 @@ export const Partnership: CarbonPictogramType;
export const Path: CarbonPictogramType;
export const Pattern: CarbonPictogramType;
export const PayForWhatYouUse: CarbonPictogramType;
+export const Pencil: CarbonPictogramType;
export const Performance: CarbonPictogramType;
export const Perfume: CarbonPictogramType;
export const Person_01: CarbonPictogramType;
@@ -1004,6 +1008,7 @@ export const PrivateNetwork_03: CarbonPictogramType;
export const PrivateNetwork_04: CarbonPictogramType;
export const Process: CarbonPictogramType;
export const ProcessAutomation: CarbonPictogramType;
+export const Product: CarbonPictogramType;
export const Productivity: CarbonPictogramType;
export const ProfessionalMarketplace: CarbonPictogramType;
export const Progress: CarbonPictogramType;
@@ -1036,6 +1041,7 @@ export const ReadOnly: CarbonPictogramType;
export const RealEstate: CarbonPictogramType;
export const RealTime: CarbonPictogramType;
export const Receipt: CarbonPictogramType;
+export const Recruitment_01: CarbonPictogramType;
export const Recycle: CarbonPictogramType;
export const RecycleBin: CarbonPictogramType;
export const RedHatApplications: CarbonPictogramType;
@@ -1150,6 +1156,7 @@ export const Socks: CarbonPictogramType;
export const SoftIceCream: CarbonPictogramType;
export const SoftlayerEnablement: CarbonPictogramType;
export const Software: CarbonPictogramType;
+export const Software_02: CarbonPictogramType;
export const SolarField: CarbonPictogramType;
export const SolarPanel: CarbonPictogramType;
export const Solve: CarbonPictogramType;
@@ -1264,6 +1271,7 @@ export const TextLayout: CarbonPictogramType;
export const TextToSpeech: CarbonPictogramType;
export const ThisSideUp: CarbonPictogramType;
export const ThreatManagement: CarbonPictogramType;
+export const Tickets: CarbonPictogramType;
export const Time: CarbonPictogramType;
export const TimeLapse: CarbonPictogramType;
export const TimePlot: CarbonPictogramType;
@@ -1343,6 +1351,7 @@ export const UserInsights: CarbonPictogramType;
export const UserInterface: CarbonPictogramType;
export const UserMask: CarbonPictogramType;
export const UserProfile: CarbonPictogramType;
+export const UserResearchTools: CarbonPictogramType;
export const UserSearch: CarbonPictogramType;
export const Vancouver: CarbonPictogramType;
export const Vault: CarbonPictogramType;
@@ -1421,3 +1430,4 @@ export const Yoga_03: CarbonPictogramType;
export const Yoga_04: CarbonPictogramType;
export const ZeroTrust: CarbonPictogramType;
export const Zurich: CarbonPictogramType;
+export const ZurichSwissNationalMuseum: CarbonPictogramType;
diff --git a/types/carbon__pictograms-react/lib/design/index.d.ts b/types/carbon__pictograms-react/lib/design/index.d.ts
new file mode 100644
index 00000000000000..c220c230b351c2
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/design/index.d.ts
@@ -0,0 +1,3 @@
+import { Design } from "../../";
+
+export = Design;
diff --git a/types/carbon__pictograms-react/lib/human-in-the-loop/index.d.ts b/types/carbon__pictograms-react/lib/human-in-the-loop/index.d.ts
new file mode 100644
index 00000000000000..d850615ba6738a
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/human-in-the-loop/index.d.ts
@@ -0,0 +1,3 @@
+import { HumanInTheLoop } from "../../";
+
+export = HumanInTheLoop;
diff --git a/types/carbon__pictograms-react/lib/index.d.ts b/types/carbon__pictograms-react/lib/index.d.ts
index 497c4c3c8d1a2e..7166cb944c772c 100644
--- a/types/carbon__pictograms-react/lib/index.d.ts
+++ b/types/carbon__pictograms-react/lib/index.d.ts
@@ -362,6 +362,7 @@ export { Delivered } from "../";
export { DeliveryTruck } from "../";
export { DeployingContainers } from "../";
export { Deployment } from "../";
+export { Design } from "../";
export { DesignLeadership } from "../";
export { DesignResearch } from "../";
export { DesignAndDevelopment_01 } from "../";
@@ -619,6 +620,7 @@ export { HongKong } from "../";
export { HongKongCityscape } from "../";
export { Hospital } from "../";
export { Hpi } from "../";
+export { HumanInTheLoop } from "../";
export { Humid } from "../";
export { Hummingbird } from "../";
export { Hurricane } from "../";
@@ -777,6 +779,7 @@ export { Marketplace } from "../";
export { Mas } from "../";
export { MassDataMigration } from "../";
export { MasterThreatHunting } from "../";
+export { MastersLeaderBoard } from "../";
export { MathCurve } from "../";
export { Maximize } from "../";
export { McgillUniversityMorriceHall } from "../";
@@ -907,6 +910,7 @@ export { Partnership } from "../";
export { Path } from "../";
export { Pattern } from "../";
export { PayForWhatYouUse } from "../";
+export { Pencil } from "../";
export { Performance } from "../";
export { Perfume } from "../";
export { Person_01 } from "../";
@@ -960,6 +964,7 @@ export { PrivateNetwork_03 } from "../";
export { PrivateNetwork_04 } from "../";
export { Process } from "../";
export { ProcessAutomation } from "../";
+export { Product } from "../";
export { Productivity } from "../";
export { ProfessionalMarketplace } from "../";
export { Progress } from "../";
@@ -992,6 +997,7 @@ export { ReadOnly } from "../";
export { RealEstate } from "../";
export { RealTime } from "../";
export { Receipt } from "../";
+export { Recruitment_01 } from "../";
export { Recycle } from "../";
export { RecycleBin } from "../";
export { RedHatApplications } from "../";
@@ -1106,6 +1112,7 @@ export { Socks } from "../";
export { SoftIceCream } from "../";
export { SoftlayerEnablement } from "../";
export { Software } from "../";
+export { Software_02 } from "../";
export { SolarField } from "../";
export { SolarPanel } from "../";
export { Solve } from "../";
@@ -1216,6 +1223,7 @@ export { TextLayout } from "../";
export { TextToSpeech } from "../";
export { ThisSideUp } from "../";
export { ThreatManagement } from "../";
+export { Tickets } from "../";
export { Time } from "../";
export { TimeLapse } from "../";
export { TimePlot } from "../";
@@ -1291,6 +1299,7 @@ export { UserInsights } from "../";
export { UserInterface } from "../";
export { UserMask } from "../";
export { UserProfile } from "../";
+export { UserResearchTools } from "../";
export { UserSearch } from "../";
export { Vancouver } from "../";
export { Vault } from "../";
@@ -1365,3 +1374,4 @@ export { Yoga_03 } from "../";
export { Yoga_04 } from "../";
export { ZeroTrust } from "../";
export { Zurich } from "../";
+export { ZurichSwissNationalMuseum } from "../";
diff --git a/types/carbon__pictograms-react/lib/masters-leader-board/index.d.ts b/types/carbon__pictograms-react/lib/masters-leader-board/index.d.ts
new file mode 100644
index 00000000000000..b311cf5954881e
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/masters-leader-board/index.d.ts
@@ -0,0 +1,3 @@
+import { MastersLeaderBoard } from "../../";
+
+export = MastersLeaderBoard;
diff --git a/types/carbon__pictograms-react/lib/pencil/index.d.ts b/types/carbon__pictograms-react/lib/pencil/index.d.ts
new file mode 100644
index 00000000000000..b22262961f4644
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/pencil/index.d.ts
@@ -0,0 +1,3 @@
+import { Pencil } from "../../";
+
+export = Pencil;
diff --git a/types/carbon__pictograms-react/lib/product/index.d.ts b/types/carbon__pictograms-react/lib/product/index.d.ts
new file mode 100644
index 00000000000000..271f9cac900a44
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/product/index.d.ts
@@ -0,0 +1,3 @@
+import { Product } from "../../";
+
+export = Product;
diff --git a/types/carbon__pictograms-react/lib/recruitment--01/index.d.ts b/types/carbon__pictograms-react/lib/recruitment--01/index.d.ts
new file mode 100644
index 00000000000000..b6dadd29621e41
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/recruitment--01/index.d.ts
@@ -0,0 +1,3 @@
+import { Recruitment_01 } from "../../";
+
+export = Recruitment_01;
diff --git a/types/carbon__pictograms-react/lib/software--02/index.d.ts b/types/carbon__pictograms-react/lib/software--02/index.d.ts
new file mode 100644
index 00000000000000..de76db31989157
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/software--02/index.d.ts
@@ -0,0 +1,3 @@
+import { Software_02 } from "../../";
+
+export = Software_02;
diff --git a/types/carbon__pictograms-react/lib/tickets/index.d.ts b/types/carbon__pictograms-react/lib/tickets/index.d.ts
new file mode 100644
index 00000000000000..1d0c4b4a18a033
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/tickets/index.d.ts
@@ -0,0 +1,3 @@
+import { Tickets } from "../../";
+
+export = Tickets;
diff --git a/types/carbon__pictograms-react/lib/user--research-tools/index.d.ts b/types/carbon__pictograms-react/lib/user--research-tools/index.d.ts
new file mode 100644
index 00000000000000..6e7d797ba67bb5
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/user--research-tools/index.d.ts
@@ -0,0 +1,3 @@
+import { UserResearchTools } from "../../";
+
+export = UserResearchTools;
diff --git a/types/carbon__pictograms-react/lib/zurich--swiss-national-museum/index.d.ts b/types/carbon__pictograms-react/lib/zurich--swiss-national-museum/index.d.ts
new file mode 100644
index 00000000000000..e3b277cda4282e
--- /dev/null
+++ b/types/carbon__pictograms-react/lib/zurich--swiss-national-museum/index.d.ts
@@ -0,0 +1,3 @@
+import { ZurichSwissNationalMuseum } from "../../";
+
+export = ZurichSwissNationalMuseum;
diff --git a/types/node/v22/buffer.d.ts b/types/node/v22/buffer.d.ts
index ae76cc550a0e49..2a561c06b229c6 100644
--- a/types/node/v22/buffer.d.ts
+++ b/types/node/v22/buffer.d.ts
@@ -118,7 +118,6 @@ declare module "buffer" {
* Resolves a `'blob:nodedata:...'` an associated `Blob` object registered using
* a prior call to `URL.createObjectURL()`.
* @since v16.7.0
- * @experimental
* @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
*/
export function resolveObjectURL(id: string): Blob | undefined;
diff --git a/types/node/v22/crypto.d.ts b/types/node/v22/crypto.d.ts
index 55f25de1ee642c..859d4c4900cd40 100644
--- a/types/node/v22/crypto.d.ts
+++ b/types/node/v22/crypto.d.ts
@@ -3764,7 +3764,23 @@ declare module "crypto" {
*/
checkIP(ip: string): string | undefined;
/**
- * Checks whether this certificate was issued by the given `otherCert`.
+ * Checks whether this certificate was potentially issued by the given `otherCert`
+ * by comparing the certificate metadata.
+ *
+ * This is useful for pruning a list of possible issuer certificates which have been
+ * selected using a more rudimentary filtering routine, i.e. just based on subject
+ * and issuer names.
+ *
+ * Finally, to verify that this certificate's signature was produced by a private key
+ * corresponding to `otherCert`'s public key use `x509.verify(publicKey)`
+ * with `otherCert`'s public key represented as a `KeyObject`
+ * like so
+ *
+ * ```js
+ * if (!x509.verify(otherCert.publicKey)) {
+ * throw new Error('otherCert did not issue x509');
+ * }
+ * ```
* @since v15.6.0
*/
checkIssued(otherCert: X509Certificate): boolean;
diff --git a/types/node/v22/fs.d.ts b/types/node/v22/fs.d.ts
index 12da96019920df..ca3b0502ca34a2 100644
--- a/types/node/v22/fs.d.ts
+++ b/types/node/v22/fs.d.ts
@@ -243,8 +243,8 @@ declare module "fs" {
*/
name: Name;
/**
- * The base path that this `fs.Dirent` object refers to.
- * @since v20.12.0
+ * The path to the parent directory of the file this `fs.Dirent` object refers to.
+ * @since v20.12.0, v18.20.0
*/
parentPath: string;
/**
@@ -328,6 +328,19 @@ declare module "fs" {
* @since v12.12.0
*/
readSync(): Dirent | null;
+ /**
+ * Calls `dir.close()` and returns a promise that fulfills when the
+ * dir is closed.
+ * @since v22.17.0
+ * @experimental
+ */
+ [Symbol.asyncDispose](): Promise;
+ /**
+ * Calls `dir.closeSync()` and returns `undefined`.
+ * @since v22.17.0
+ * @experimental
+ */
+ [Symbol.dispose](): void;
}
/**
* Class: fs.StatWatcher
@@ -4200,7 +4213,6 @@ declare module "fs" {
* blob.stream();
* ```
* @since v19.8.0
- * @experimental
*/
export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise;
@@ -4361,7 +4373,7 @@ declare module "fs" {
* Current working directory.
* @default process.cwd()
*/
- cwd?: string | undefined;
+ cwd?: string | URL | undefined;
/**
* `true` if the glob should return paths as `Dirent`s, `false` otherwise.
* @default false
@@ -4386,13 +4398,23 @@ declare module "fs" {
/**
* Retrieves the files matching the specified pattern.
+ *
+ * ```js
+ * import { glob } from 'node:fs';
+ *
+ * glob('*.js', (err, matches) => {
+ * if (err) throw err;
+ * console.log(matches);
+ * });
+ * ```
+ * @since v22.0.0
*/
export function glob(
- pattern: string | string[],
+ pattern: string | readonly string[],
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
): void;
export function glob(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptionsWithFileTypes,
callback: (
err: NodeJS.ErrnoException | null,
@@ -4400,7 +4422,7 @@ declare module "fs" {
) => void,
): void;
export function glob(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptionsWithoutFileTypes,
callback: (
err: NodeJS.ErrnoException | null,
@@ -4408,7 +4430,7 @@ declare module "fs" {
) => void,
): void;
export function glob(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptions,
callback: (
err: NodeJS.ErrnoException | null,
@@ -4416,19 +4438,25 @@ declare module "fs" {
) => void,
): void;
/**
- * Retrieves the files matching the specified pattern.
+ * ```js
+ * import { globSync } from 'node:fs';
+ *
+ * console.log(globSync('*.js'));
+ * ```
+ * @since v22.0.0
+ * @returns paths of files that match the pattern.
*/
- export function globSync(pattern: string | string[]): string[];
+ export function globSync(pattern: string | readonly string[]): string[];
export function globSync(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptionsWithFileTypes,
): Dirent[];
export function globSync(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptionsWithoutFileTypes,
): string[];
export function globSync(
- pattern: string | string[],
+ pattern: string | readonly string[],
options: GlobOptions,
): Dirent[] | string[];
}
diff --git a/types/node/v22/fs/promises.d.ts b/types/node/v22/fs/promises.d.ts
index c8d84231a3679d..b8186e93eb16b1 100644
--- a/types/node/v22/fs/promises.d.ts
+++ b/types/node/v22/fs/promises.d.ts
@@ -88,6 +88,9 @@ declare module "fs/promises" {
highWaterMark?: number | undefined;
flush?: boolean | undefined;
}
+ interface ReadableWebStreamOptions {
+ autoClose?: boolean | undefined;
+ }
// TODO: Add `EventEmitter` close
interface FileHandle {
/**
@@ -260,9 +263,8 @@ declare module "fs/promises" {
* While the `ReadableStream` will read the file to completion, it will not
* close the `FileHandle` automatically. User code must still call the`fileHandle.close()` method.
* @since v17.0.0
- * @experimental
*/
- readableWebStream(): ReadableStream;
+ readableWebStream(options?: ReadableWebStreamOptions): ReadableStream;
/**
* Asynchronously reads the entire contents of a file.
*
@@ -475,7 +477,8 @@ declare module "fs/promises" {
*/
close(): Promise;
/**
- * An alias for {@link FileHandle.close()}.
+ * Calls `filehandle.close()` and returns a promise that fulfills when the
+ * filehandle is closed.
* @since v20.4.0
*/
[Symbol.asyncDispose](): Promise;
@@ -1252,20 +1255,28 @@ declare module "fs/promises" {
*/
function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise;
/**
- * Retrieves the files matching the specified pattern.
+ * ```js
+ * import { glob } from 'node:fs/promises';
+ *
+ * for await (const entry of glob('*.js'))
+ * console.log(entry);
+ * ```
+ * @since v22.0.0
+ * @returns An AsyncIterator that yields the paths of files
+ * that match the pattern.
*/
- function glob(pattern: string | string[]): NodeJS.AsyncIterator;
+ function glob(pattern: string | readonly string[]): NodeJS.AsyncIterator;
function glob(
- pattern: string | string[],
- opt: GlobOptionsWithFileTypes,
+ pattern: string | readonly string[],
+ options: GlobOptionsWithFileTypes,
): NodeJS.AsyncIterator;
function glob(
- pattern: string | string[],
- opt: GlobOptionsWithoutFileTypes,
+ pattern: string | readonly string[],
+ options: GlobOptionsWithoutFileTypes,
): NodeJS.AsyncIterator;
function glob(
- pattern: string | string[],
- opt: GlobOptions,
+ pattern: string | readonly string[],
+ options: GlobOptions,
): NodeJS.AsyncIterator;
}
declare module "node:fs/promises" {
diff --git a/types/node/v22/http2.d.ts b/types/node/v22/http2.d.ts
index 48d1f7d9a41e01..e60f0e1ca47ea6 100644
--- a/types/node/v22/http2.d.ts
+++ b/types/node/v22/http2.d.ts
@@ -965,7 +965,10 @@ declare module "http2" {
* * `:path` \= `/`
* @since v8.4.0
*/
- request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream;
+ request(
+ headers?: OutgoingHttpHeaders | readonly string[],
+ options?: ClientSessionRequestOptions,
+ ): ClientHttp2Stream;
addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
addListener(event: "origin", listener: (origins: string[]) => void): this;
addListener(
@@ -1291,6 +1294,14 @@ declare module "http2" {
* @default 100000
*/
unknownProtocolTimeout?: number | undefined;
+ /**
+ * If `true`, it turns on strict leading
+ * and trailing whitespace validation for HTTP/2 header field names and values
+ * as per [RFC-9113](https://www.rfc-editor.org/rfc/rfc9113.html#section-8.2.1).
+ * @since v24.2.0
+ * @default true
+ */
+ strictFieldWhitespaceValidation?: boolean | undefined;
}
export interface ClientSessionOptions extends SessionOptions {
/**
diff --git a/types/node/v22/inspector.d.ts b/types/node/v22/inspector.d.ts
index 6682448131d2ce..ebcdb7a10e1b7e 100644
--- a/types/node/v22/inspector.d.ts
+++ b/types/node/v22/inspector.d.ts
@@ -1768,12 +1768,26 @@ declare module 'inspector' {
status: number;
statusText: string;
headers: Headers;
+ mimeType: string;
+ charset: string;
}
/**
* Request / response headers as keys / values of JSON object.
*/
interface Headers {
}
+ interface StreamResourceContentParameterType {
+ /**
+ * Identifier of the request to stream.
+ */
+ requestId: RequestId;
+ }
+ interface StreamResourceContentReturnType {
+ /**
+ * Data that has been buffered until streaming is enabled.
+ */
+ bufferedData: never;
+ }
interface RequestWillBeSentEventDataType {
/**
* Request identifier.
@@ -1842,12 +1856,59 @@ declare module 'inspector' {
*/
timestamp: MonotonicTime;
}
+ interface DataReceivedEventDataType {
+ /**
+ * Request identifier.
+ */
+ requestId: RequestId;
+ /**
+ * Timestamp.
+ */
+ timestamp: MonotonicTime;
+ /**
+ * Data chunk length.
+ */
+ dataLength: number;
+ /**
+ * Actual bytes received (might be less than dataLength for compressed encodings).
+ */
+ encodedDataLength: number;
+ /**
+ * Data that was received.
+ * @experimental
+ */
+ data?: never | undefined;
+ }
}
namespace NodeRuntime {
interface NotifyWhenWaitingForDisconnectParameterType {
enabled: boolean;
}
}
+ namespace Target {
+ type SessionID = string;
+ type TargetID = string;
+ interface TargetInfo {
+ targetId: TargetID;
+ type: string;
+ title: string;
+ url: string;
+ attached: boolean;
+ canAccessOpener: boolean;
+ }
+ interface SetAutoAttachParameterType {
+ autoAttach: boolean;
+ waitForDebuggerOnStart: boolean;
+ }
+ interface TargetCreatedEventDataType {
+ targetInfo: TargetInfo;
+ }
+ interface AttachedToTargetEventDataType {
+ sessionId: SessionID;
+ targetInfo: TargetInfo;
+ waitingForDebugger: boolean;
+ }
+ }
/**
* The `inspector.Session` is used for dispatching messages to the V8 inspector
@@ -2224,6 +2285,17 @@ declare module 'inspector' {
* Enables network tracking, network events will now be delivered to the client.
*/
post(method: 'Network.enable', callback?: (err: Error | null) => void): void;
+ /**
+ * Enables streaming of the response for the given requestId.
+ * If enabled, the dataReceived event contains the data that was received during streaming.
+ * @experimental
+ */
+ post(
+ method: 'Network.streamResourceContent',
+ params?: Network.StreamResourceContentParameterType,
+ callback?: (err: Error | null, params: Network.StreamResourceContentReturnType) => void
+ ): void;
+ post(method: 'Network.streamResourceContent', callback?: (err: Error | null, params: Network.StreamResourceContentReturnType) => void): void;
/**
* Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
*/
@@ -2237,6 +2309,8 @@ declare module 'inspector' {
*/
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void;
+ post(method: 'Target.setAutoAttach', params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
+ post(method: 'Target.setAutoAttach', callback?: (err: Error | null) => void): void;
addListener(event: string, listener: (...args: any[]) => void): this;
/**
@@ -2343,6 +2417,10 @@ declare module 'inspector' {
addListener(event: 'Network.responseReceived', listener: (message: InspectorNotification) => void): this;
addListener(event: 'Network.loadingFailed', listener: (message: InspectorNotification) => void): this;
addListener(event: 'Network.loadingFinished', listener: (message: InspectorNotification) => void): this;
+ /**
+ * Fired when data chunk was received over the network.
+ */
+ addListener(event: 'Network.dataReceived', listener: (message: InspectorNotification) => void): this;
/**
* This event is fired instead of `Runtime.executionContextDestroyed` when
* enabled.
@@ -2355,6 +2433,8 @@ declare module 'inspector' {
* example, when inspector.waitingForDebugger is called
*/
addListener(event: 'NodeRuntime.waitingForDebugger', listener: () => void): this;
+ addListener(event: 'Target.targetCreated', listener: (message: InspectorNotification) => void): this;
+ addListener(event: 'Target.attachedToTarget', listener: (message: InspectorNotification) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: 'inspectorNotification', message: InspectorNotification