cdk-common 2.1.60 → 2.1.62
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.
- package/.jsii +3 -3
- package/lib/integ-default.js +37 -4
- package/lib/main.js +38 -6
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/assert/strict.d.ts +10 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/assert.d.ts +144 -17
- package/node_modules/@types/concat-stream/node_modules/@types/node/async_hooks.d.ts +9 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/buffer.d.ts +0 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/child_process.d.ts +17 -21
- package/node_modules/@types/concat-stream/node_modules/@types/node/cluster.d.ts +13 -13
- package/node_modules/@types/concat-stream/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +454 -571
- package/node_modules/@types/concat-stream/node_modules/@types/node/diagnostics_channel.d.ts +20 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/dns.d.ts +14 -14
- package/node_modules/@types/concat-stream/node_modules/@types/node/events.d.ts +3 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +4 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +3 -12
- package/node_modules/@types/concat-stream/node_modules/@types/node/globals.d.ts +4 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/http.d.ts +5 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/index.d.ts +0 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/module.d.ts +16 -45
- package/node_modules/@types/concat-stream/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/os.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/perf_hooks.d.ts +1 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/process.d.ts +11 -11
- package/node_modules/@types/concat-stream/node_modules/@types/node/readline.d.ts +12 -11
- package/node_modules/@types/concat-stream/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/concat-stream/node_modules/@types/node/sqlite.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/stream/promises.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/stream/web.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +5 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/test/reporters.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +8 -8
- package/node_modules/@types/concat-stream/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/index.d.ts +1 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.7/index.d.ts +0 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/url.d.ts +3 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/util/types.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/util.d.ts +3 -20
- package/node_modules/@types/concat-stream/node_modules/@types/node/v8.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +9 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@types/concat-stream/node_modules/undici-types/agent.d.ts +0 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/client.d.ts +25 -19
- package/node_modules/@types/concat-stream/node_modules/undici-types/dispatcher.d.ts +7 -33
- package/node_modules/@types/concat-stream/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/fetch.d.ts +24 -4
- package/node_modules/@types/concat-stream/node_modules/undici-types/h2c-client.d.ts +6 -6
- package/node_modules/@types/concat-stream/node_modules/undici-types/handlers.d.ts +1 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/header.d.ts +5 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/pool.d.ts +0 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/proxy-agent.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/round-robin-pool.d.ts +0 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/snapshot-agent.d.ts +4 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/webidl.d.ts +0 -1
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/assert/strict.d.ts +10 -1
- package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +144 -17
- package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +9 -9
- package/node_modules/@types/form-data/node_modules/@types/node/buffer.d.ts +0 -5
- package/node_modules/@types/form-data/node_modules/@types/node/child_process.d.ts +17 -21
- package/node_modules/@types/form-data/node_modules/@types/node/cluster.d.ts +13 -13
- package/node_modules/@types/form-data/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +454 -571
- package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +20 -9
- package/node_modules/@types/form-data/node_modules/@types/node/dns.d.ts +14 -14
- package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +3 -3
- package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +4 -4
- package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +3 -12
- package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +4 -4
- package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +5 -5
- package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +0 -3
- package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +16 -45
- package/node_modules/@types/form-data/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +1 -9
- package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +11 -11
- package/node_modules/@types/form-data/node_modules/@types/node/readline.d.ts +12 -11
- package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/form-data/node_modules/@types/node/sqlite.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/stream/promises.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/stream/web.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +5 -5
- package/node_modules/@types/form-data/node_modules/@types/node/test/reporters.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +8 -8
- package/node_modules/@types/form-data/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/index.d.ts +1 -4
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.7/index.d.ts +0 -3
- package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +3 -3
- package/node_modules/@types/form-data/node_modules/@types/node/util/types.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/util.d.ts +3 -20
- package/node_modules/@types/form-data/node_modules/@types/node/v8.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +9 -9
- package/node_modules/@types/form-data/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@types/form-data/node_modules/undici-types/agent.d.ts +0 -2
- package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +25 -19
- package/node_modules/@types/form-data/node_modules/undici-types/dispatcher.d.ts +7 -33
- package/node_modules/@types/form-data/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/@types/form-data/node_modules/undici-types/fetch.d.ts +24 -4
- package/node_modules/@types/form-data/node_modules/undici-types/h2c-client.d.ts +6 -6
- package/node_modules/@types/form-data/node_modules/undici-types/handlers.d.ts +1 -2
- package/node_modules/@types/form-data/node_modules/undici-types/header.d.ts +5 -0
- package/node_modules/@types/form-data/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/form-data/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/form-data/node_modules/undici-types/pool.d.ts +0 -2
- package/node_modules/@types/form-data/node_modules/undici-types/proxy-agent.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/undici-types/round-robin-pool.d.ts +0 -2
- package/node_modules/@types/form-data/node_modules/undici-types/snapshot-agent.d.ts +4 -0
- package/node_modules/@types/form-data/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/undici-types/webidl.d.ts +0 -1
- package/package.json +4 -6
- package/node_modules/@types/concat-stream/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/form-data/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
package/.jsii
CHANGED
|
@@ -3958,7 +3958,7 @@
|
|
|
3958
3958
|
"hasDefaultInterfaces": true
|
|
3959
3959
|
}
|
|
3960
3960
|
},
|
|
3961
|
-
"tscRootDir": "src"
|
|
3961
|
+
"tscRootDir": "/home/runner/work/cdk-common/cdk-common/src"
|
|
3962
3962
|
},
|
|
3963
3963
|
"name": "cdk-common",
|
|
3964
3964
|
"readme": {
|
|
@@ -13098,6 +13098,6 @@
|
|
|
13098
13098
|
"symbolId": "src/main:LambdaArmFunctionProps"
|
|
13099
13099
|
}
|
|
13100
13100
|
},
|
|
13101
|
-
"version": "2.1.
|
|
13102
|
-
"fingerprint": "
|
|
13101
|
+
"version": "2.1.62",
|
|
13102
|
+
"fingerprint": "tUO5BhzkrXAwPJMC7WE0oKoKuqsiNrjUPJ2vjGO4vPQ="
|
|
13103
13103
|
}
|
package/lib/integ-default.js
CHANGED
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.IntegDefault = void 0;
|
|
4
|
-
const cdk = require("aws-cdk-lib");
|
|
5
|
-
const iam = require("aws-cdk-lib/aws-iam");
|
|
6
|
-
const lambda = require("aws-cdk-lib/aws-lambda");
|
|
37
|
+
const cdk = __importStar(require("aws-cdk-lib"));
|
|
38
|
+
const iam = __importStar(require("aws-cdk-lib/aws-iam"));
|
|
39
|
+
const lambda = __importStar(require("aws-cdk-lib/aws-lambda"));
|
|
7
40
|
const constructs_1 = require("constructs");
|
|
8
41
|
const _1 = require(".");
|
|
9
42
|
const env = {
|
|
@@ -33,4 +66,4 @@ def handler(event, contexts):
|
|
|
33
66
|
exports.IntegDefault = IntegDefault;
|
|
34
67
|
new IntegDefault(stack, 'IntegDefault');
|
|
35
68
|
app.synth();
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWctZGVmYXVsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnRlZy1kZWZhdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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S5Sb2xlKHRoaXMsICdpYW1yb2xlJywge1xuICAgICAgYXNzdW1lZEJ5OiBuZXcgaWFtLlNlcnZpY2VQcmluY2lwYWwoJ2xhbWJkYS5hbWF6b25hd3MuY29tJyksXG4gICAgfSk7XG5cbiAgICByb2xlLmFkZE1hbmFnZWRQb2xpY3koaWFtLk1hbmFnZWRQb2xpY3kuZnJvbUF3c01hbmFnZWRQb2xpY3lOYW1lKEFXU01hbmFnZWRQb2xpY2llcy5BV1NMQU1CREFfRVhFQ1VURSkpO1xuXG5cbiAgICBuZXcgTGFtYmRhQXJtRnVuY3Rpb24odGhpcywgJ2FhYScsIHtcbiAgICAgIHJ1bnRpbWU6IGxhbWJkYS5SdW50aW1lLlBZVEhPTl8zXzgsXG4gICAgICBoYW5kbGVyOiAnaW5kZXguaGFuZGxlcicsXG4gICAgICBjb2RlOiBsYW1iZGEuQ29kZS5mcm9tSW5saW5lKGBcbmltcG9ydCBwbGF0Zm9ybVxuZGVmIGhhbmRsZXIoZXZlbnQsIGNvbnRleHRzKTpcbiAgICBhcmNoID0gcGxhdGZvcm0uc3lzdGVtKClcbiAgICByZXR1cm4geyBcImFyY2hcIjogc3RyKGFyY2gpfWApLFxuICAgIH0pO1xuXG4gIH1cbn1cblxubmV3IEludGVnRGVmYXVsdChzdGFjaywgJ0ludGVnRGVmYXVsdCcpO1xuXG5hcHAuc3ludGgoKTsiXX0=
|
package/lib/main.js
CHANGED
|
@@ -1,12 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
3
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
36
|
exports.LambdaArmFunction = void 0;
|
|
5
37
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
6
|
-
const cdk = require("aws-cdk-lib");
|
|
7
|
-
const lambda = require("aws-cdk-lib/aws-lambda");
|
|
38
|
+
const cdk = __importStar(require("aws-cdk-lib"));
|
|
39
|
+
const lambda = __importStar(require("aws-cdk-lib/aws-lambda"));
|
|
8
40
|
const constructs_1 = require("constructs");
|
|
9
41
|
class LambdaArmFunction extends constructs_1.Construct {
|
|
42
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-common.LambdaArmFunction", version: "2.1.62" };
|
|
43
|
+
lambdaFunction;
|
|
10
44
|
constructor(scope, id, props) {
|
|
11
45
|
super(scope, id);
|
|
12
46
|
const runtimeWarnings = new Map([
|
|
@@ -37,6 +71,4 @@ class LambdaArmFunction extends constructs_1.Construct {
|
|
|
37
71
|
}
|
|
38
72
|
}
|
|
39
73
|
exports.LambdaArmFunction = LambdaArmFunction;
|
|
40
|
-
|
|
41
|
-
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.1.60" };
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsTUFBTSxlQUFlLEdBQUcsSUFBSSxHQUFHLENBQXlCO1lBQ3RELENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsbUNBQW1DLENBQUM7WUFDakUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxtQ0FBbUMsQ0FBQztZQUNqRSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLG1DQUFtQyxDQUFDO1lBQ2pFLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsa0NBQWtDLENBQUM7WUFDaEUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxrQ0FBa0MsQ0FBQztZQUNoRSxDQUFDLE1B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ay5Bbm5vdGF0aW9ucy5vZih0aGlzKS5hZGRXYXJuaW5nKHdhcm5pbmcpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYEludmFsaWQgUnVudGltZSAke3Byb3BzLnJ1bnRpbWV9IGF0IEFSTSwgU2VlIGh0dHBzOi8vZG9jcy5hd3MuYW1hem9uLmNvbS9sYW1iZGEvbGF0ZXN0L2RnL2ZvdW5kYXRpb24tYXJjaC5odG1sP2ljbXBpZD1kb2NzX2xhbWJkYV9yc3NgKTtcbiAgICB9XG5cbiAgICB0aGlzLmxhbWJkYUZ1bmN0aW9uID0gbmV3IGxhbWJkYS5GdW5jdGlvbih0aGlzLCAnTGFtYmRhRnVuY3Rpb24nLCB7XG4gICAgICBhcmNoaXRlY3R1cmU6IHByb3BzLmFyY2hpdGVjdHVyZSA/PyBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCxcbiAgICAgIC4uLnByb3BzLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -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: Fri, 19 Jun 2026 07:14:38 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -3,6 +3,7 @@ declare module "node:assert/strict" {
|
|
|
3
3
|
Assert,
|
|
4
4
|
AssertionError,
|
|
5
5
|
AssertionErrorOptions,
|
|
6
|
+
AssertMessageFunction,
|
|
6
7
|
AssertOptions,
|
|
7
8
|
AssertPredicate,
|
|
8
9
|
AssertStrict,
|
|
@@ -21,7 +22,15 @@ declare module "node:assert/strict" {
|
|
|
21
22
|
strictEqual,
|
|
22
23
|
throws,
|
|
23
24
|
} from "node:assert";
|
|
24
|
-
function strict(
|
|
25
|
+
function strict(
|
|
26
|
+
value: unknown,
|
|
27
|
+
message?: Error | AssertMessageFunction,
|
|
28
|
+
): asserts value;
|
|
29
|
+
function strict(
|
|
30
|
+
value: unknown,
|
|
31
|
+
message: string,
|
|
32
|
+
...args: unknown[]
|
|
33
|
+
): asserts value;
|
|
25
34
|
namespace strict {
|
|
26
35
|
export {
|
|
27
36
|
Assert,
|
|
@@ -5,7 +5,15 @@ declare module "node:assert" {
|
|
|
5
5
|
* @since v0.5.9
|
|
6
6
|
* @param value The input that is checked for being truthy.
|
|
7
7
|
*/
|
|
8
|
-
function assert(
|
|
8
|
+
function assert(
|
|
9
|
+
value: unknown,
|
|
10
|
+
message?: Error | assert.AssertMessageFunction,
|
|
11
|
+
): asserts value;
|
|
12
|
+
function assert(
|
|
13
|
+
value: unknown,
|
|
14
|
+
message: string,
|
|
15
|
+
...args: unknown[]
|
|
16
|
+
): asserts value;
|
|
9
17
|
const kOptions: unique symbol;
|
|
10
18
|
namespace assert {
|
|
11
19
|
type AssertMethodNames =
|
|
@@ -177,6 +185,7 @@ declare module "node:assert" {
|
|
|
177
185
|
*/
|
|
178
186
|
operator: string;
|
|
179
187
|
}
|
|
188
|
+
type AssertMessageFunction = (actual: unknown, expected: unknown) => string;
|
|
180
189
|
type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error;
|
|
181
190
|
/**
|
|
182
191
|
* Throws an `AssertionError` with the provided error message or a default
|
|
@@ -255,7 +264,15 @@ declare module "node:assert" {
|
|
|
255
264
|
* ```
|
|
256
265
|
* @since v0.1.21
|
|
257
266
|
*/
|
|
258
|
-
function ok(
|
|
267
|
+
function ok(
|
|
268
|
+
value: unknown,
|
|
269
|
+
message?: Error | AssertMessageFunction,
|
|
270
|
+
): asserts value;
|
|
271
|
+
function ok(
|
|
272
|
+
value: unknown,
|
|
273
|
+
message: string,
|
|
274
|
+
...args: unknown[]
|
|
275
|
+
): asserts value;
|
|
259
276
|
/**
|
|
260
277
|
* **Strict assertion mode**
|
|
261
278
|
*
|
|
@@ -289,7 +306,17 @@ declare module "node:assert" {
|
|
|
289
306
|
* error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown instead of the `AssertionError`.
|
|
290
307
|
* @since v0.1.21
|
|
291
308
|
*/
|
|
292
|
-
function equal(
|
|
309
|
+
function equal(
|
|
310
|
+
actual: unknown,
|
|
311
|
+
expected: unknown,
|
|
312
|
+
message?: Error | AssertMessageFunction,
|
|
313
|
+
): void;
|
|
314
|
+
function equal(
|
|
315
|
+
actual: unknown,
|
|
316
|
+
expected: unknown,
|
|
317
|
+
message: string,
|
|
318
|
+
...args: unknown[]
|
|
319
|
+
): void;
|
|
293
320
|
/**
|
|
294
321
|
* **Strict assertion mode**
|
|
295
322
|
*
|
|
@@ -319,7 +346,17 @@ declare module "node:assert" {
|
|
|
319
346
|
* message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown instead of the `AssertionError`.
|
|
320
347
|
* @since v0.1.21
|
|
321
348
|
*/
|
|
322
|
-
function notEqual(
|
|
349
|
+
function notEqual(
|
|
350
|
+
actual: unknown,
|
|
351
|
+
expected: unknown,
|
|
352
|
+
message?: Error | AssertMessageFunction,
|
|
353
|
+
): void;
|
|
354
|
+
function notEqual(
|
|
355
|
+
actual: unknown,
|
|
356
|
+
expected: unknown,
|
|
357
|
+
message: string,
|
|
358
|
+
...args: unknown[]
|
|
359
|
+
): void;
|
|
323
360
|
/**
|
|
324
361
|
* **Strict assertion mode**
|
|
325
362
|
*
|
|
@@ -337,7 +374,17 @@ declare module "node:assert" {
|
|
|
337
374
|
* are also recursively evaluated by the following rules.
|
|
338
375
|
* @since v0.1.21
|
|
339
376
|
*/
|
|
340
|
-
function deepEqual(
|
|
377
|
+
function deepEqual(
|
|
378
|
+
actual: unknown,
|
|
379
|
+
expected: unknown,
|
|
380
|
+
message?: Error | AssertMessageFunction,
|
|
381
|
+
): void;
|
|
382
|
+
function deepEqual(
|
|
383
|
+
actual: unknown,
|
|
384
|
+
expected: unknown,
|
|
385
|
+
message: string,
|
|
386
|
+
...args: unknown[]
|
|
387
|
+
): void;
|
|
341
388
|
/**
|
|
342
389
|
* **Strict assertion mode**
|
|
343
390
|
*
|
|
@@ -387,7 +434,17 @@ declare module "node:assert" {
|
|
|
387
434
|
* instead of the `AssertionError`.
|
|
388
435
|
* @since v0.1.21
|
|
389
436
|
*/
|
|
390
|
-
function notDeepEqual(
|
|
437
|
+
function notDeepEqual(
|
|
438
|
+
actual: unknown,
|
|
439
|
+
expected: unknown,
|
|
440
|
+
message?: Error | AssertMessageFunction,
|
|
441
|
+
): void;
|
|
442
|
+
function notDeepEqual(
|
|
443
|
+
actual: unknown,
|
|
444
|
+
expected: unknown,
|
|
445
|
+
message: string,
|
|
446
|
+
...args: unknown[]
|
|
447
|
+
): void;
|
|
391
448
|
/**
|
|
392
449
|
* Tests strict equality between the `actual` and `expected` parameters as
|
|
393
450
|
* determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
|
|
@@ -425,7 +482,17 @@ declare module "node:assert" {
|
|
|
425
482
|
* instead of the `AssertionError`.
|
|
426
483
|
* @since v0.1.21
|
|
427
484
|
*/
|
|
428
|
-
function strictEqual<T>(
|
|
485
|
+
function strictEqual<T>(
|
|
486
|
+
actual: unknown,
|
|
487
|
+
expected: T,
|
|
488
|
+
message?: Error | AssertMessageFunction,
|
|
489
|
+
): asserts actual is T;
|
|
490
|
+
function strictEqual<T>(
|
|
491
|
+
actual: unknown,
|
|
492
|
+
expected: T,
|
|
493
|
+
message: string,
|
|
494
|
+
...args: unknown[]
|
|
495
|
+
): asserts actual is T;
|
|
429
496
|
/**
|
|
430
497
|
* Tests strict inequality between the `actual` and `expected` parameters as
|
|
431
498
|
* determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
|
|
@@ -450,14 +517,34 @@ declare module "node:assert" {
|
|
|
450
517
|
* instead of the `AssertionError`.
|
|
451
518
|
* @since v0.1.21
|
|
452
519
|
*/
|
|
453
|
-
function notStrictEqual(
|
|
520
|
+
function notStrictEqual(
|
|
521
|
+
actual: unknown,
|
|
522
|
+
expected: unknown,
|
|
523
|
+
message?: Error | AssertMessageFunction,
|
|
524
|
+
): void;
|
|
525
|
+
function notStrictEqual(
|
|
526
|
+
actual: unknown,
|
|
527
|
+
expected: unknown,
|
|
528
|
+
message: string,
|
|
529
|
+
...args: unknown[]
|
|
530
|
+
): void;
|
|
454
531
|
/**
|
|
455
532
|
* Tests for deep equality between the `actual` and `expected` parameters.
|
|
456
533
|
* "Deep" equality means that the enumerable "own" properties of child objects
|
|
457
534
|
* are recursively evaluated also by the following rules.
|
|
458
535
|
* @since v1.2.0
|
|
459
536
|
*/
|
|
460
|
-
function deepStrictEqual<T>(
|
|
537
|
+
function deepStrictEqual<T>(
|
|
538
|
+
actual: unknown,
|
|
539
|
+
expected: T,
|
|
540
|
+
message?: Error | AssertMessageFunction,
|
|
541
|
+
): asserts actual is T;
|
|
542
|
+
function deepStrictEqual<T>(
|
|
543
|
+
actual: unknown,
|
|
544
|
+
expected: T,
|
|
545
|
+
message: string,
|
|
546
|
+
...args: unknown[]
|
|
547
|
+
): asserts actual is T;
|
|
461
548
|
/**
|
|
462
549
|
* Tests for deep strict inequality. Opposite of {@link deepStrictEqual}.
|
|
463
550
|
*
|
|
@@ -475,7 +562,17 @@ declare module "node:assert" {
|
|
|
475
562
|
* instead of the `AssertionError`.
|
|
476
563
|
* @since v1.2.0
|
|
477
564
|
*/
|
|
478
|
-
function notDeepStrictEqual(
|
|
565
|
+
function notDeepStrictEqual(
|
|
566
|
+
actual: unknown,
|
|
567
|
+
expected: unknown,
|
|
568
|
+
message?: Error | AssertMessageFunction,
|
|
569
|
+
): void;
|
|
570
|
+
function notDeepStrictEqual(
|
|
571
|
+
actual: unknown,
|
|
572
|
+
expected: unknown,
|
|
573
|
+
message: string,
|
|
574
|
+
...args: unknown[]
|
|
575
|
+
): void;
|
|
479
576
|
/**
|
|
480
577
|
* Expects the function `fn` to throw an error.
|
|
481
578
|
*
|
|
@@ -766,7 +863,7 @@ declare module "node:assert" {
|
|
|
766
863
|
* check that the promise is rejected.
|
|
767
864
|
*
|
|
768
865
|
* If `asyncFn` is a function and it throws an error synchronously, `assert.rejects()` will return a rejected `Promise` with that error. If the
|
|
769
|
-
* function does not return a promise, `assert.rejects()` will return a rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-
|
|
866
|
+
* function does not return a promise, `assert.rejects()` will return a rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v26.x/api/errors.html#err_invalid_return_value)
|
|
770
867
|
* error. In both cases the error handler is skipped.
|
|
771
868
|
*
|
|
772
869
|
* Besides the async nature to await the completion behaves identically to {@link throws}.
|
|
@@ -836,7 +933,7 @@ declare module "node:assert" {
|
|
|
836
933
|
*
|
|
837
934
|
* If `asyncFn` is a function and it throws an error synchronously, `assert.doesNotReject()` will return a rejected `Promise` with that error. If
|
|
838
935
|
* the function does not return a promise, `assert.doesNotReject()` will return a
|
|
839
|
-
* rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-
|
|
936
|
+
* rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v26.x/api/errors.html#err_invalid_return_value) error. In both cases
|
|
840
937
|
* the error handler is skipped.
|
|
841
938
|
*
|
|
842
939
|
* Using `assert.doesNotReject()` is actually not useful because there is little
|
|
@@ -899,10 +996,20 @@ declare module "node:assert" {
|
|
|
899
996
|
* If the values do not match, or if the `string` argument is of another type than `string`, an `{@link AssertionError}` is thrown with a `message` property set equal
|
|
900
997
|
* to the value of the `message` parameter. If the `message` parameter is
|
|
901
998
|
* undefined, a default error message is assigned. If the `message` parameter is an
|
|
902
|
-
* instance of an [Error](https://nodejs.org/docs/latest-
|
|
999
|
+
* instance of an [Error](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
|
|
903
1000
|
* @since v13.6.0, v12.16.0
|
|
904
1001
|
*/
|
|
905
|
-
function match(
|
|
1002
|
+
function match(
|
|
1003
|
+
value: string,
|
|
1004
|
+
regExp: RegExp,
|
|
1005
|
+
message?: Error | AssertMessageFunction,
|
|
1006
|
+
): void;
|
|
1007
|
+
function match(
|
|
1008
|
+
value: string,
|
|
1009
|
+
regExp: RegExp,
|
|
1010
|
+
message: string,
|
|
1011
|
+
...args: unknown[]
|
|
1012
|
+
): void;
|
|
906
1013
|
/**
|
|
907
1014
|
* Expects the `string` input not to match the regular expression.
|
|
908
1015
|
*
|
|
@@ -922,10 +1029,20 @@ declare module "node:assert" {
|
|
|
922
1029
|
* If the values do match, or if the `string` argument is of another type than `string`, an `{@link AssertionError}` is thrown with a `message` property set equal
|
|
923
1030
|
* to the value of the `message` parameter. If the `message` parameter is
|
|
924
1031
|
* undefined, a default error message is assigned. If the `message` parameter is an
|
|
925
|
-
* instance of an [Error](https://nodejs.org/docs/latest-
|
|
1032
|
+
* instance of an [Error](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
|
|
926
1033
|
* @since v13.6.0, v12.16.0
|
|
927
1034
|
*/
|
|
928
|
-
function doesNotMatch(
|
|
1035
|
+
function doesNotMatch(
|
|
1036
|
+
value: string,
|
|
1037
|
+
regExp: RegExp,
|
|
1038
|
+
message?: Error | AssertMessageFunction,
|
|
1039
|
+
): void;
|
|
1040
|
+
function doesNotMatch(
|
|
1041
|
+
value: string,
|
|
1042
|
+
regExp: RegExp,
|
|
1043
|
+
message: string,
|
|
1044
|
+
...args: unknown[]
|
|
1045
|
+
): void;
|
|
929
1046
|
/**
|
|
930
1047
|
* Tests for partial deep equality between the `actual` and `expected` parameters.
|
|
931
1048
|
* "Deep" equality means that the enumerable "own" properties of child objects
|
|
@@ -937,7 +1054,17 @@ declare module "node:assert" {
|
|
|
937
1054
|
* behaving as a super set of it.
|
|
938
1055
|
* @since v22.13.0
|
|
939
1056
|
*/
|
|
940
|
-
function partialDeepStrictEqual(
|
|
1057
|
+
function partialDeepStrictEqual(
|
|
1058
|
+
actual: unknown,
|
|
1059
|
+
expected: unknown,
|
|
1060
|
+
message?: Error | AssertMessageFunction,
|
|
1061
|
+
): void;
|
|
1062
|
+
function partialDeepStrictEqual(
|
|
1063
|
+
actual: unknown,
|
|
1064
|
+
expected: unknown,
|
|
1065
|
+
message: string,
|
|
1066
|
+
...args: unknown[]
|
|
1067
|
+
): void;
|
|
941
1068
|
}
|
|
942
1069
|
namespace assert {
|
|
943
1070
|
export { strict };
|
|
@@ -28,7 +28,7 @@ declare module "node:async_hooks" {
|
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
30
|
* Promise contexts may not get precise `executionAsyncIds` by default.
|
|
31
|
-
* See the section on [promise execution tracking](https://nodejs.org/docs/latest-
|
|
31
|
+
* See the section on [promise execution tracking](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#promise-execution-tracking).
|
|
32
32
|
* @since v8.1.0
|
|
33
33
|
* @return The `asyncId` of the current execution context. Useful to track when something calls.
|
|
34
34
|
*/
|
|
@@ -101,29 +101,29 @@ declare module "node:async_hooks" {
|
|
|
101
101
|
* ```
|
|
102
102
|
*
|
|
103
103
|
* Promise contexts may not get valid `triggerAsyncId`s by default. See
|
|
104
|
-
* the section on [promise execution tracking](https://nodejs.org/docs/latest-
|
|
104
|
+
* the section on [promise execution tracking](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#promise-execution-tracking).
|
|
105
105
|
* @return The ID of the resource responsible for calling the callback that is currently being executed.
|
|
106
106
|
*/
|
|
107
107
|
function triggerAsyncId(): number;
|
|
108
108
|
interface HookCallbacks {
|
|
109
109
|
/**
|
|
110
|
-
* The [`init` callback](https://nodejs.org/docs/latest-
|
|
110
|
+
* The [`init` callback](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#initasyncid-type-triggerasyncid-resource).
|
|
111
111
|
*/
|
|
112
112
|
init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
|
|
113
113
|
/**
|
|
114
|
-
* The [`before` callback](https://nodejs.org/docs/latest-
|
|
114
|
+
* The [`before` callback](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#beforeasyncid).
|
|
115
115
|
*/
|
|
116
116
|
before?(asyncId: number): void;
|
|
117
117
|
/**
|
|
118
|
-
* The [`after` callback](https://nodejs.org/docs/latest-
|
|
118
|
+
* The [`after` callback](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#afterasyncid).
|
|
119
119
|
*/
|
|
120
120
|
after?(asyncId: number): void;
|
|
121
121
|
/**
|
|
122
|
-
* The [`promiseResolve` callback](https://nodejs.org/docs/latest-
|
|
122
|
+
* The [`promiseResolve` callback](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#promiseresolveasyncid).
|
|
123
123
|
*/
|
|
124
124
|
promiseResolve?(asyncId: number): void;
|
|
125
125
|
/**
|
|
126
|
-
* The [`destroy` callback](https://nodejs.org/docs/latest-
|
|
126
|
+
* The [`destroy` callback](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#destroyasyncid).
|
|
127
127
|
*/
|
|
128
128
|
destroy?(asyncId: number): void;
|
|
129
129
|
/**
|
|
@@ -153,7 +153,7 @@ declare module "node:async_hooks" {
|
|
|
153
153
|
* All callbacks are optional. For example, if only resource cleanup needs to
|
|
154
154
|
* be tracked, then only the `destroy` callback needs to be passed. The
|
|
155
155
|
* specifics of all functions that can be passed to `callbacks` is in the
|
|
156
|
-
* [Hook Callbacks](https://nodejs.org/docs/latest-
|
|
156
|
+
* [Hook Callbacks](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#hook-callbacks) section.
|
|
157
157
|
*
|
|
158
158
|
* ```js
|
|
159
159
|
* import { createHook } from 'node:async_hooks';
|
|
@@ -184,7 +184,7 @@ declare module "node:async_hooks" {
|
|
|
184
184
|
* via the async hooks mechanism, the `init()`, `before()`, `after()`, and
|
|
185
185
|
* `destroy()` callbacks _must not_ be async functions that return promises.
|
|
186
186
|
* @since v8.1.0
|
|
187
|
-
* @param options The [Hook Callbacks](https://nodejs.org/docs/latest-
|
|
187
|
+
* @param options The [Hook Callbacks](https://nodejs.org/docs/latest-v26.x/api/async_hooks.html#hook-callbacks) to register
|
|
188
188
|
* @returns Instance used for disabling and enabling hooks
|
|
189
189
|
*/
|
|
190
190
|
function createHook(options: HookCallbacks): AsyncHook;
|
|
@@ -75,11 +75,6 @@ declare module "node:buffer" {
|
|
|
75
75
|
*/
|
|
76
76
|
export function resolveObjectURL(id: string): Blob | undefined;
|
|
77
77
|
export { type AllowSharedBuffer, Buffer, type NonSharedBuffer };
|
|
78
|
-
/** @deprecated This alias will be removed in a future version. Use the canonical `BlobPropertyBag` instead. */
|
|
79
|
-
// TODO: remove in future major
|
|
80
|
-
export interface BlobOptions extends BlobPropertyBag {}
|
|
81
|
-
/** @deprecated This alias will be removed in a future version. Use the canonical `FilePropertyBag` instead. */
|
|
82
|
-
export interface FileOptions extends FilePropertyBag {}
|
|
83
78
|
export type WithImplicitCoercion<T> =
|
|
84
79
|
| T
|
|
85
80
|
| { valueOf(): T }
|
|
@@ -404,7 +404,7 @@ declare module "node:child_process" {
|
|
|
404
404
|
* as the connection may have been closed during the time it takes to send the
|
|
405
405
|
* connection to the child.
|
|
406
406
|
* @since v0.5.9
|
|
407
|
-
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-
|
|
407
|
+
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v26.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v26.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v26.x/api/dgram.html#class-dgramsocket) object.
|
|
408
408
|
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
409
409
|
*/
|
|
410
410
|
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
@@ -787,16 +787,15 @@ declare module "node:child_process" {
|
|
|
787
787
|
encoding?: BufferEncoding | undefined;
|
|
788
788
|
}
|
|
789
789
|
interface ExecOptionsWithBufferEncoding extends ExecOptions {
|
|
790
|
-
encoding: "buffer" | null;
|
|
790
|
+
encoding: "buffer" | null;
|
|
791
791
|
}
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
792
|
+
interface ExecException extends Omit<NodeJS.ErrnoException, "code"> {
|
|
793
|
+
cmd: string;
|
|
794
|
+
code?: number | string;
|
|
795
795
|
killed?: boolean;
|
|
796
|
-
code?: number;
|
|
797
796
|
signal?: NodeJS.Signals;
|
|
798
|
-
stdout?: string;
|
|
799
|
-
stderr?: string;
|
|
797
|
+
stdout?: string | NonSharedBuffer;
|
|
798
|
+
stderr?: string | NonSharedBuffer;
|
|
800
799
|
}
|
|
801
800
|
/**
|
|
802
801
|
* Spawns a shell then executes the `command` within that shell, buffering any
|
|
@@ -956,11 +955,6 @@ declare module "node:child_process" {
|
|
|
956
955
|
}
|
|
957
956
|
/** @deprecated Use `ExecFileOptions` instead. */
|
|
958
957
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {}
|
|
959
|
-
// TODO: execFile exceptions can take many forms... this accurately describes none of them
|
|
960
|
-
type ExecFileException =
|
|
961
|
-
& Omit<ExecException, "code">
|
|
962
|
-
& Omit<NodeJS.ErrnoException, "code">
|
|
963
|
-
& { code?: string | number | null };
|
|
964
958
|
/**
|
|
965
959
|
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
966
960
|
* executable `file` is spawned directly as a new process making it slightly more
|
|
@@ -1028,36 +1022,36 @@ declare module "node:child_process" {
|
|
|
1028
1022
|
// no `options` definitely means stdout/stderr are `string`.
|
|
1029
1023
|
function execFile(
|
|
1030
1024
|
file: string,
|
|
1031
|
-
callback?: (error:
|
|
1025
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1032
1026
|
): ChildProcess;
|
|
1033
1027
|
function execFile(
|
|
1034
1028
|
file: string,
|
|
1035
1029
|
args: readonly string[] | undefined | null,
|
|
1036
|
-
callback?: (error:
|
|
1030
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1037
1031
|
): ChildProcess;
|
|
1038
1032
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
1039
1033
|
function execFile(
|
|
1040
1034
|
file: string,
|
|
1041
1035
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1042
|
-
callback?: (error:
|
|
1036
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1043
1037
|
): ChildProcess;
|
|
1044
1038
|
function execFile(
|
|
1045
1039
|
file: string,
|
|
1046
1040
|
args: readonly string[] | undefined | null,
|
|
1047
1041
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1048
|
-
callback?: (error:
|
|
1042
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1049
1043
|
): ChildProcess;
|
|
1050
1044
|
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1051
1045
|
function execFile(
|
|
1052
1046
|
file: string,
|
|
1053
1047
|
options: ExecFileOptionsWithStringEncoding,
|
|
1054
|
-
callback?: (error:
|
|
1048
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1055
1049
|
): ChildProcess;
|
|
1056
1050
|
function execFile(
|
|
1057
1051
|
file: string,
|
|
1058
1052
|
args: readonly string[] | undefined | null,
|
|
1059
1053
|
options: ExecFileOptionsWithStringEncoding,
|
|
1060
|
-
callback?: (error:
|
|
1054
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1061
1055
|
): ChildProcess;
|
|
1062
1056
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1063
1057
|
function execFile(
|
|
@@ -1065,7 +1059,7 @@ declare module "node:child_process" {
|
|
|
1065
1059
|
options: ExecFileOptions | undefined | null,
|
|
1066
1060
|
callback:
|
|
1067
1061
|
| ((
|
|
1068
|
-
error:
|
|
1062
|
+
error: ExecException | null,
|
|
1069
1063
|
stdout: string | NonSharedBuffer,
|
|
1070
1064
|
stderr: string | NonSharedBuffer,
|
|
1071
1065
|
) => void)
|
|
@@ -1078,7 +1072,7 @@ declare module "node:child_process" {
|
|
|
1078
1072
|
options: ExecFileOptions | undefined | null,
|
|
1079
1073
|
callback:
|
|
1080
1074
|
| ((
|
|
1081
|
-
error:
|
|
1075
|
+
error: ExecException | null,
|
|
1082
1076
|
stdout: string | NonSharedBuffer,
|
|
1083
1077
|
stderr: string | NonSharedBuffer,
|
|
1084
1078
|
) => void)
|
|
@@ -1360,6 +1354,8 @@ declare module "node:child_process" {
|
|
|
1360
1354
|
args?: readonly string[],
|
|
1361
1355
|
options?: ExecFileSyncOptions,
|
|
1362
1356
|
): string | NonSharedBuffer;
|
|
1357
|
+
/** @deprecated This deprecated alias will be removed in a future version. Use `ExecException` instead. */
|
|
1358
|
+
interface ExecFileException extends ExecException {}
|
|
1363
1359
|
}
|
|
1364
1360
|
declare module "child_process" {
|
|
1365
1361
|
export * from "node:child_process";
|