@types/node 16.11.42 → 16.11.43
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 v16.11/README.md +1 -1
- node v16.11/fs/promises.d.ts +1 -1
- node v16.11/fs.d.ts +3 -3
- node v16.11/package.json +2 -2
node v16.11/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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sun, 03 Jul 2022 13:02:20 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.11/fs/promises.d.ts
CHANGED
|
@@ -1084,7 +1084,7 @@ declare module 'fs/promises' {
|
|
|
1084
1084
|
* @param dest destination path to copy to.
|
|
1085
1085
|
* @return Fulfills with `undefined` upon success.
|
|
1086
1086
|
*/
|
|
1087
|
-
function cp(source: string, destination: string, opts?: CopyOptions): Promise<void>;
|
|
1087
|
+
function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
|
|
1088
1088
|
}
|
|
1089
1089
|
declare module 'node:fs/promises' {
|
|
1090
1090
|
export * from 'fs/promises';
|
node v16.11/fs.d.ts
CHANGED
|
@@ -3770,8 +3770,8 @@ declare module 'fs' {
|
|
|
3770
3770
|
* @param src source path to copy.
|
|
3771
3771
|
* @param dest destination path to copy to.
|
|
3772
3772
|
*/
|
|
3773
|
-
export function cp(source: string, destination: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3774
|
-
export function cp(source: string, destination: string, opts: CopyOptions, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3773
|
+
export function cp(source: string | URL, destination: string | URL, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3774
|
+
export function cp(source: string | URL, destination: string | URL, opts: CopyOptions, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3775
3775
|
/**
|
|
3776
3776
|
* Synchronously copies the entire directory structure from `src` to `dest`,
|
|
3777
3777
|
* including subdirectories and files.
|
|
@@ -3783,7 +3783,7 @@ declare module 'fs' {
|
|
|
3783
3783
|
* @param src source path to copy.
|
|
3784
3784
|
* @param dest destination path to copy to.
|
|
3785
3785
|
*/
|
|
3786
|
-
export function cpSync(source: string, destination: string, opts?: CopyOptions): void;
|
|
3786
|
+
export function cpSync(source: string | URL, destination: string | URL, opts?: CopyOptions): void;
|
|
3787
3787
|
}
|
|
3788
3788
|
declare module 'node:fs' {
|
|
3789
3789
|
export * from 'fs';
|
node v16.11/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.43",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "ec9fe27c73f176a5ea6615e1b544872e662f29b0686e591bc99d3810999a37f8",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|