@types/node 18.16.2 → 18.16.3

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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +7 -0
  4. node/ts4.8/tls.d.ts +7 -0
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: Thu, 27 Apr 2023 21:32:47 GMT
11
+ * Last updated: Sat, 29 Apr 2023 06:32:49 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.16.2",
3
+ "version": "18.16.3",
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": "4a9603f50e5b72ce1a4b35ed8eae48f4e9a4179f00f36f502b322e60c56733df",
235
+ "typesPublisherContentHash": "69f2a06d3dd7a1f50c66f61c4e0df5c3791ce3dd65fc61ad18e536db6528487d",
236
236
  "typeScriptVersion": "4.3"
237
237
  }
node/tls.d.ts CHANGED
@@ -1092,6 +1092,13 @@ declare module 'tls' {
1092
1092
  * are provided, the lowest minimum is used.
1093
1093
  */
1094
1094
  let DEFAULT_MIN_VERSION: SecureVersion;
1095
+ /**
1096
+ * The default value of the ciphers option of tls.createSecureContext().
1097
+ * It can be assigned any of the supported OpenSSL ciphers.
1098
+ * Defaults to the content of crypto.constants.defaultCoreCipherList, unless
1099
+ * changed using CLI options using --tls-default-ciphers.
1100
+ */
1101
+ let DEFAULT_CIPHERS: string;
1095
1102
  /**
1096
1103
  * An immutable array of strings representing the root certificates (in PEM
1097
1104
  * format) used for verifying peer certificates. This is the default value
node/ts4.8/tls.d.ts CHANGED
@@ -1092,6 +1092,13 @@ declare module 'tls' {
1092
1092
  * are provided, the lowest minimum is used.
1093
1093
  */
1094
1094
  let DEFAULT_MIN_VERSION: SecureVersion;
1095
+ /**
1096
+ * The default value of the ciphers option of tls.createSecureContext().
1097
+ * It can be assigned any of the supported OpenSSL ciphers.
1098
+ * Defaults to the content of crypto.constants.defaultCoreCipherList, unless
1099
+ * changed using CLI options using --tls-default-ciphers.
1100
+ */
1101
+ let DEFAULT_CIPHERS: string;
1095
1102
  /**
1096
1103
  * An immutable array of strings representing the root certificates (in PEM
1097
1104
  * format) used for verifying peer certificates. This is the default value