@types/node 18.11.18 → 18.11.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 26 Dec 2022 17:32:37 GMT
11
+ * Last updated: Sat, 04 Feb 2023 23:02:34 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/module.d.ts CHANGED
@@ -85,6 +85,7 @@ declare module 'module' {
85
85
  static wrap(code: string): string;
86
86
  static createRequire(path: string | URL): NodeRequire;
87
87
  static builtinModules: string[];
88
+ static isBuiltin(moduleName: string): boolean;
88
89
  static Module: typeof Module;
89
90
  constructor(id: string, parent?: Module);
90
91
  }
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.18",
3
+ "version": "18.11.19",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -232,6 +232,6 @@
232
232
  },
233
233
  "scripts": {},
234
234
  "dependencies": {},
235
- "typesPublisherContentHash": "540ec74ad976942ed4b12e09fd57842adfd77a63a4ea099f15f0602ad707835c",
235
+ "typesPublisherContentHash": "6fb5dc61335a98cb52986d1b237f8a3d63ed4230e64aadaed364481cd791ee7c",
236
236
  "typeScriptVersion": "4.2"
237
237
  }
node/ts4.8/module.d.ts CHANGED
@@ -85,6 +85,7 @@ declare module 'module' {
85
85
  static wrap(code: string): string;
86
86
  static createRequire(path: string | URL): NodeRequire;
87
87
  static builtinModules: string[];
88
+ static isBuiltin(moduleName: string): boolean;
88
89
  static Module: typeof Module;
89
90
  constructor(id: string, parent?: Module);
90
91
  }