@types/node 13.13.40 → 13.13.41

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 v13.13/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v13.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Jan 2021 21:29:41 GMT
11
+ * Last updated: Wed, 03 Feb 2021 22:47:37 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v13.13/fs.d.ts CHANGED
@@ -875,7 +875,7 @@ declare module "fs" {
875
875
  * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
876
876
  * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
877
877
  */
878
- function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true }, callback: (err: NodeJS.ErrnoException | null, path: string) => void): void;
878
+ function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true }, callback: (err: NodeJS.ErrnoException | null, path?: string) => void): void;
879
879
 
880
880
  /**
881
881
  * Asynchronous mkdir(2) - create a directory.
@@ -891,7 +891,7 @@ declare module "fs" {
891
891
  * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
892
892
  * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
893
893
  */
894
- function mkdir(path: PathLike, options: number | string | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path: string | undefined) => void): void;
894
+ function mkdir(path: PathLike, options: number | string | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path?: string) => void): void;
895
895
 
896
896
  /**
897
897
  * Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
@@ -907,7 +907,7 @@ declare module "fs" {
907
907
  * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
908
908
  * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
909
909
  */
910
- function __promisify__(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string>;
910
+ function __promisify__(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string | undefined>;
911
911
 
912
912
  /**
913
913
  * Asynchronous mkdir(2) - create a directory.
@@ -932,7 +932,7 @@ declare module "fs" {
932
932
  * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
933
933
  * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
934
934
  */
935
- function mkdirSync(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): string;
935
+ function mkdirSync(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): string | undefined;
936
936
 
937
937
  /**
938
938
  * Synchronous mkdir(2) - create a directory.
@@ -2382,7 +2382,7 @@ declare module "fs" {
2382
2382
  * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
2383
2383
  * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
2384
2384
  */
2385
- function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string>;
2385
+ function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string | undefined>;
2386
2386
 
2387
2387
  /**
2388
2388
  * Asynchronous mkdir(2) - create a directory.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.13.40",
3
+ "version": "13.13.41",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -241,6 +241,6 @@
241
241
  },
242
242
  "scripts": {},
243
243
  "dependencies": {},
244
- "typesPublisherContentHash": "28211cac4575355180578c3ea8d53557812de53a6bbbd326d30291a0d392889b",
244
+ "typesPublisherContentHash": "57e09f4181881840c8e34686af2b4341425c91614fbf3832921a25f47da98b6d",
245
245
  "typeScriptVersion": "3.4"
246
246
  }