@types/node 22.13.9 → 22.13.10
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 +1 -1
- node/constants.d.ts +14 -12
- node/package.json +2 -2
node/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (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:
|
11
|
+
* Last updated: Sat, 08 Mar 2025 07:02:57 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node/constants.d.ts
CHANGED
@@ -1,16 +1,18 @@
|
|
1
|
-
/**
|
1
|
+
/**
|
2
|
+
* @deprecated The `node:constants` module is deprecated. When requiring access to constants
|
3
|
+
* relevant to specific Node.js builtin modules, developers should instead refer
|
4
|
+
* to the `constants` property exposed by the relevant module. For instance,
|
5
|
+
* `require('node:fs').constants` and `require('node:os').constants`.
|
6
|
+
*/
|
2
7
|
declare module "constants" {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
& typeof
|
9
|
-
& typeof
|
10
|
-
|
11
|
-
& typeof cryptoConstants
|
12
|
-
& typeof fsConstants;
|
13
|
-
export = exp;
|
8
|
+
const constants:
|
9
|
+
& typeof import("node:os").constants.dlopen
|
10
|
+
& typeof import("node:os").constants.errno
|
11
|
+
& typeof import("node:os").constants.priority
|
12
|
+
& typeof import("node:os").constants.signals
|
13
|
+
& typeof import("node:fs").constants
|
14
|
+
& typeof import("node:crypto").constants;
|
15
|
+
export = constants;
|
14
16
|
}
|
15
17
|
|
16
18
|
declare module "node:constants" {
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "22.13.
|
3
|
+
"version": "22.13.10",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -215,6 +215,6 @@
|
|
215
215
|
"undici-types": "~6.20.0"
|
216
216
|
},
|
217
217
|
"peerDependencies": {},
|
218
|
-
"typesPublisherContentHash": "
|
218
|
+
"typesPublisherContentHash": "25fcca4abf7a12f9be2302bc659011d734e5385c4d6aa230045dc3f241321494",
|
219
219
|
"typeScriptVersion": "5.0"
|
220
220
|
}
|