cloudstructs 0.9.10 → 0.9.12
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/assets/slack-textract/detect.lambda/index.js +2 -1
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +36 -24
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/usingCtx.js +36 -24
- package/node_modules/@babel/runtime/package.json +19 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@types/is-stream/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +0 -81
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +5 -4
- package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +25 -23
- package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +23 -23
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +11 -27
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +13 -2
- package/node_modules/jackspeak/dist/commonjs/index.js +2 -2
- package/node_modules/jackspeak/dist/commonjs/index.js.map +1 -1
- package/node_modules/jackspeak/dist/esm/index.js +2 -2
- package/node_modules/jackspeak/dist/esm/index.js.map +1 -1
- package/node_modules/jackspeak/package.json +4 -4
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.d.ts +2 -2
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js +6 -6
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/index.d.ts +2 -2
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts +0 -1
- package/node_modules/js-beautify/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/glob/package.json +5 -4
- package/node_modules/js-beautify/node_modules/minimatch/README.md +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +5 -4
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +5 -4
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/package.json +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.d.ts +2 -2
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js +6 -6
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/index.d.ts +2 -2
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts +0 -1
- package/node_modules/mjml-cli/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/glob/package.json +5 -4
- package/node_modules/mjml-cli/node_modules/minimatch/README.md +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +5 -4
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +5 -4
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/package.json +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/README.md +11 -884
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts +486 -65
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +134 -34
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts +486 -65
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +134 -34
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js.map +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +1 -1
- package/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
- package/node_modules/path-scurry/node_modules/lru-cache/package.json +8 -9
- package/node_modules/semver/README.md +1 -1
- package/node_modules/semver/classes/range.js +24 -10
- package/node_modules/semver/package.json +1 -1
- package/node_modules/uglify-js/README.md +5 -5
- package/node_modules/uglify-js/lib/ast.js +5 -4
- package/node_modules/uglify-js/lib/compress.js +199 -84
- package/node_modules/uglify-js/lib/output.js +17 -4
- package/node_modules/uglify-js/package.json +1 -1
- package/package.json +20 -20
|
@@ -1,44 +1,56 @@
|
|
|
1
1
|
function _usingCtx() {
|
|
2
|
-
var r = "function" == typeof SuppressedError ? SuppressedError : function (r,
|
|
3
|
-
var
|
|
4
|
-
return
|
|
2
|
+
var r = "function" == typeof SuppressedError ? SuppressedError : function (r, e) {
|
|
3
|
+
var n = Error();
|
|
4
|
+
return n.name = "SuppressedError", n.error = r, n.suppressed = e, n;
|
|
5
5
|
},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function using(r,
|
|
9
|
-
if (null !=
|
|
10
|
-
if (Object(
|
|
11
|
-
if (r) var o =
|
|
12
|
-
if (
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
e = {},
|
|
7
|
+
n = [];
|
|
8
|
+
function using(r, e) {
|
|
9
|
+
if (null != e) {
|
|
10
|
+
if (Object(e) !== e) throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");
|
|
11
|
+
if (r) var o = e[Symbol.asyncDispose || Symbol["for"]("Symbol.asyncDispose")];
|
|
12
|
+
if (void 0 === o && (o = e[Symbol.dispose || Symbol["for"]("Symbol.dispose")], r)) var t = o;
|
|
13
|
+
if ("function" != typeof o) throw new TypeError("Object is not disposable.");
|
|
14
|
+
t && (o = function o() {
|
|
15
|
+
try {
|
|
16
|
+
t.call(e);
|
|
17
|
+
} catch (r) {
|
|
18
|
+
return Promise.reject(r);
|
|
19
|
+
}
|
|
20
|
+
}), n.push({
|
|
21
|
+
v: e,
|
|
15
22
|
d: o,
|
|
16
23
|
a: r
|
|
17
24
|
});
|
|
18
|
-
} else r &&
|
|
19
|
-
d:
|
|
25
|
+
} else r && n.push({
|
|
26
|
+
d: e,
|
|
20
27
|
a: r
|
|
21
28
|
});
|
|
22
|
-
return
|
|
29
|
+
return e;
|
|
23
30
|
}
|
|
24
31
|
return {
|
|
25
|
-
e:
|
|
32
|
+
e: e,
|
|
26
33
|
u: using.bind(null, !1),
|
|
27
34
|
a: using.bind(null, !0),
|
|
28
35
|
d: function d() {
|
|
29
|
-
var o
|
|
36
|
+
var o,
|
|
37
|
+
t = this.e,
|
|
38
|
+
s = 0;
|
|
30
39
|
function next() {
|
|
31
|
-
for (;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
40
|
+
for (; o = n.pop();) try {
|
|
41
|
+
if (!o.a && 1 === s) return s = 0, n.push(o), Promise.resolve().then(next);
|
|
42
|
+
if (o.d) {
|
|
43
|
+
var r = o.d.call(o.v);
|
|
44
|
+
if (o.a) return s |= 2, Promise.resolve(r).then(next, err);
|
|
45
|
+
} else s |= 1;
|
|
35
46
|
} catch (r) {
|
|
36
47
|
return err(r);
|
|
37
48
|
}
|
|
38
|
-
if (
|
|
49
|
+
if (1 === s) return t !== e ? Promise.reject(t) : Promise.resolve();
|
|
50
|
+
if (t !== e) throw t;
|
|
39
51
|
}
|
|
40
|
-
function err(
|
|
41
|
-
return
|
|
52
|
+
function err(n) {
|
|
53
|
+
return t = t !== e ? new r(n, t) : n, next();
|
|
42
54
|
}
|
|
43
55
|
return next();
|
|
44
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babel/runtime",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.25.0",
|
|
4
4
|
"description": "babel's modular runtime helpers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -647,6 +647,24 @@
|
|
|
647
647
|
"./helpers/superPropBase.js"
|
|
648
648
|
],
|
|
649
649
|
"./helpers/esm/superPropBase": "./helpers/esm/superPropBase.js",
|
|
650
|
+
"./helpers/superPropGet": [
|
|
651
|
+
{
|
|
652
|
+
"node": "./helpers/superPropGet.js",
|
|
653
|
+
"import": "./helpers/esm/superPropGet.js",
|
|
654
|
+
"default": "./helpers/superPropGet.js"
|
|
655
|
+
},
|
|
656
|
+
"./helpers/superPropGet.js"
|
|
657
|
+
],
|
|
658
|
+
"./helpers/esm/superPropGet": "./helpers/esm/superPropGet.js",
|
|
659
|
+
"./helpers/superPropSet": [
|
|
660
|
+
{
|
|
661
|
+
"node": "./helpers/superPropSet.js",
|
|
662
|
+
"import": "./helpers/esm/superPropSet.js",
|
|
663
|
+
"default": "./helpers/superPropSet.js"
|
|
664
|
+
},
|
|
665
|
+
"./helpers/superPropSet.js"
|
|
666
|
+
],
|
|
667
|
+
"./helpers/esm/superPropSet": "./helpers/esm/superPropSet.js",
|
|
650
668
|
"./helpers/taggedTemplateLiteral": [
|
|
651
669
|
{
|
|
652
670
|
"node": "./helpers/taggedTemplateLiteral.js",
|
|
@@ -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: Tue,
|
|
11
|
+
* Last updated: Tue, 23 Jul 2024 18:09:25 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -2200,31 +2200,6 @@ declare module "buffer" {
|
|
|
2200
2200
|
* @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
|
|
2201
2201
|
*/
|
|
2202
2202
|
lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
2203
|
-
/**
|
|
2204
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents
|
|
2205
|
-
* of `buf`.
|
|
2206
|
-
*
|
|
2207
|
-
* ```js
|
|
2208
|
-
* import { Buffer } from 'node:buffer';
|
|
2209
|
-
*
|
|
2210
|
-
* // Log the entire contents of a `Buffer`.
|
|
2211
|
-
*
|
|
2212
|
-
* const buf = Buffer.from('buffer');
|
|
2213
|
-
*
|
|
2214
|
-
* for (const pair of buf.entries()) {
|
|
2215
|
-
* console.log(pair);
|
|
2216
|
-
* }
|
|
2217
|
-
* // Prints:
|
|
2218
|
-
* // [0, 98]
|
|
2219
|
-
* // [1, 117]
|
|
2220
|
-
* // [2, 102]
|
|
2221
|
-
* // [3, 102]
|
|
2222
|
-
* // [4, 101]
|
|
2223
|
-
* // [5, 114]
|
|
2224
|
-
* ```
|
|
2225
|
-
* @since v1.1.0
|
|
2226
|
-
*/
|
|
2227
|
-
entries(): IterableIterator<[number, number]>;
|
|
2228
2203
|
/**
|
|
2229
2204
|
* Equivalent to `buf.indexOf() !== -1`.
|
|
2230
2205
|
*
|
|
@@ -2255,62 +2230,6 @@ declare module "buffer" {
|
|
|
2255
2230
|
* @return `true` if `value` was found in `buf`, `false` otherwise.
|
|
2256
2231
|
*/
|
|
2257
2232
|
includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
|
|
2258
|
-
/**
|
|
2259
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices).
|
|
2260
|
-
*
|
|
2261
|
-
* ```js
|
|
2262
|
-
* import { Buffer } from 'node:buffer';
|
|
2263
|
-
*
|
|
2264
|
-
* const buf = Buffer.from('buffer');
|
|
2265
|
-
*
|
|
2266
|
-
* for (const key of buf.keys()) {
|
|
2267
|
-
* console.log(key);
|
|
2268
|
-
* }
|
|
2269
|
-
* // Prints:
|
|
2270
|
-
* // 0
|
|
2271
|
-
* // 1
|
|
2272
|
-
* // 2
|
|
2273
|
-
* // 3
|
|
2274
|
-
* // 4
|
|
2275
|
-
* // 5
|
|
2276
|
-
* ```
|
|
2277
|
-
* @since v1.1.0
|
|
2278
|
-
*/
|
|
2279
|
-
keys(): IterableIterator<number>;
|
|
2280
|
-
/**
|
|
2281
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is
|
|
2282
|
-
* called automatically when a `Buffer` is used in a `for..of` statement.
|
|
2283
|
-
*
|
|
2284
|
-
* ```js
|
|
2285
|
-
* import { Buffer } from 'node:buffer';
|
|
2286
|
-
*
|
|
2287
|
-
* const buf = Buffer.from('buffer');
|
|
2288
|
-
*
|
|
2289
|
-
* for (const value of buf.values()) {
|
|
2290
|
-
* console.log(value);
|
|
2291
|
-
* }
|
|
2292
|
-
* // Prints:
|
|
2293
|
-
* // 98
|
|
2294
|
-
* // 117
|
|
2295
|
-
* // 102
|
|
2296
|
-
* // 102
|
|
2297
|
-
* // 101
|
|
2298
|
-
* // 114
|
|
2299
|
-
*
|
|
2300
|
-
* for (const value of buf) {
|
|
2301
|
-
* console.log(value);
|
|
2302
|
-
* }
|
|
2303
|
-
* // Prints:
|
|
2304
|
-
* // 98
|
|
2305
|
-
* // 117
|
|
2306
|
-
* // 102
|
|
2307
|
-
* // 102
|
|
2308
|
-
* // 101
|
|
2309
|
-
* // 114
|
|
2310
|
-
* ```
|
|
2311
|
-
* @since v1.1.0
|
|
2312
|
-
*/
|
|
2313
|
-
values(): IterableIterator<number>;
|
|
2314
2233
|
}
|
|
2315
2234
|
var Buffer: BufferConstructor;
|
|
2316
2235
|
/**
|
|
@@ -1391,8 +1391,8 @@ declare module "child_process" {
|
|
|
1391
1391
|
* @param modulePath The module to run in the child.
|
|
1392
1392
|
* @param args List of string arguments.
|
|
1393
1393
|
*/
|
|
1394
|
-
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
1395
|
-
function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1394
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1395
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1396
1396
|
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1397
1397
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1398
1398
|
maxBuffer?: number | undefined;
|
|
@@ -1364,6 +1364,7 @@ declare module "crypto" {
|
|
|
1364
1364
|
interface SignKeyObjectInput extends SigningOptions {
|
|
1365
1365
|
key: KeyObject;
|
|
1366
1366
|
}
|
|
1367
|
+
interface SignJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {}
|
|
1367
1368
|
interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {}
|
|
1368
1369
|
interface VerifyKeyObjectInput extends SigningOptions {
|
|
1369
1370
|
key: KeyObject;
|
|
@@ -1459,9 +1460,9 @@ declare module "crypto" {
|
|
|
1459
1460
|
* called. Multiple calls to `sign.sign()` will result in an error being thrown.
|
|
1460
1461
|
* @since v0.1.92
|
|
1461
1462
|
*/
|
|
1462
|
-
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer;
|
|
1463
|
+
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput): Buffer;
|
|
1463
1464
|
sign(
|
|
1464
|
-
privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
1465
|
+
privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
1465
1466
|
outputFormat: BinaryToTextEncoding,
|
|
1466
1467
|
): string;
|
|
1467
1468
|
}
|
|
@@ -3336,12 +3337,12 @@ declare module "crypto" {
|
|
|
3336
3337
|
function sign(
|
|
3337
3338
|
algorithm: string | null | undefined,
|
|
3338
3339
|
data: NodeJS.ArrayBufferView,
|
|
3339
|
-
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
3340
|
+
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
3340
3341
|
): Buffer;
|
|
3341
3342
|
function sign(
|
|
3342
3343
|
algorithm: string | null | undefined,
|
|
3343
3344
|
data: NodeJS.ArrayBufferView,
|
|
3344
|
-
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
3345
|
+
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
3345
3346
|
callback: (error: Error | null, data: Buffer) => void,
|
|
3346
3347
|
): void;
|
|
3347
3348
|
/**
|
|
@@ -360,30 +360,32 @@ declare module "dns/promises" {
|
|
|
360
360
|
* @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
|
|
361
361
|
*/
|
|
362
362
|
function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
|
|
363
|
-
|
|
364
|
-
const
|
|
365
|
-
const
|
|
366
|
-
const
|
|
367
|
-
const
|
|
368
|
-
const
|
|
369
|
-
const
|
|
370
|
-
const
|
|
371
|
-
const
|
|
372
|
-
const
|
|
373
|
-
const
|
|
374
|
-
const
|
|
363
|
+
// Error codes
|
|
364
|
+
const NODATA: "ENODATA";
|
|
365
|
+
const FORMERR: "EFORMERR";
|
|
366
|
+
const SERVFAIL: "ESERVFAIL";
|
|
367
|
+
const NOTFOUND: "ENOTFOUND";
|
|
368
|
+
const NOTIMP: "ENOTIMP";
|
|
369
|
+
const REFUSED: "EREFUSED";
|
|
370
|
+
const BADQUERY: "EBADQUERY";
|
|
371
|
+
const BADNAME: "EBADNAME";
|
|
372
|
+
const BADFAMILY: "EBADFAMILY";
|
|
373
|
+
const BADRESP: "EBADRESP";
|
|
374
|
+
const CONNREFUSED: "ECONNREFUSED";
|
|
375
|
+
const TIMEOUT: "ETIMEOUT";
|
|
375
376
|
const EOF: "EOF";
|
|
376
|
-
const FILE: "
|
|
377
|
-
const NOMEM: "
|
|
378
|
-
const DESTRUCTION: "
|
|
379
|
-
const BADSTR: "
|
|
380
|
-
const BADFLAGS: "
|
|
381
|
-
const NONAME: "
|
|
382
|
-
const BADHINTS: "
|
|
383
|
-
const NOTINITIALIZED: "
|
|
384
|
-
const LOADIPHLPAPI: "
|
|
385
|
-
const ADDRGETNETWORKPARAMS: "
|
|
386
|
-
const CANCELLED: "
|
|
377
|
+
const FILE: "EFILE";
|
|
378
|
+
const NOMEM: "ENOMEM";
|
|
379
|
+
const DESTRUCTION: "EDESTRUCTION";
|
|
380
|
+
const BADSTR: "EBADSTR";
|
|
381
|
+
const BADFLAGS: "EBADFLAGS";
|
|
382
|
+
const NONAME: "ENONAME";
|
|
383
|
+
const BADHINTS: "EBADHINTS";
|
|
384
|
+
const NOTINITIALIZED: "ENOTINITIALIZED";
|
|
385
|
+
const LOADIPHLPAPI: "ELOADIPHLPAPI";
|
|
386
|
+
const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
|
|
387
|
+
const CANCELLED: "ECANCELLED";
|
|
388
|
+
|
|
387
389
|
/**
|
|
388
390
|
* An independent resolver for DNS requests.
|
|
389
391
|
*
|
|
@@ -743,30 +743,30 @@ declare module "dns" {
|
|
|
743
743
|
*/
|
|
744
744
|
export function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
|
|
745
745
|
// Error codes
|
|
746
|
-
export const NODATA: "
|
|
747
|
-
export const FORMERR: "
|
|
748
|
-
export const SERVFAIL: "
|
|
749
|
-
export const NOTFOUND: "
|
|
750
|
-
export const NOTIMP: "
|
|
751
|
-
export const REFUSED: "
|
|
752
|
-
export const BADQUERY: "
|
|
753
|
-
export const BADNAME: "
|
|
754
|
-
export const BADFAMILY: "
|
|
755
|
-
export const BADRESP: "
|
|
756
|
-
export const CONNREFUSED: "
|
|
757
|
-
export const TIMEOUT: "
|
|
746
|
+
export const NODATA: "ENODATA";
|
|
747
|
+
export const FORMERR: "EFORMERR";
|
|
748
|
+
export const SERVFAIL: "ESERVFAIL";
|
|
749
|
+
export const NOTFOUND: "ENOTFOUND";
|
|
750
|
+
export const NOTIMP: "ENOTIMP";
|
|
751
|
+
export const REFUSED: "EREFUSED";
|
|
752
|
+
export const BADQUERY: "EBADQUERY";
|
|
753
|
+
export const BADNAME: "EBADNAME";
|
|
754
|
+
export const BADFAMILY: "EBADFAMILY";
|
|
755
|
+
export const BADRESP: "EBADRESP";
|
|
756
|
+
export const CONNREFUSED: "ECONNREFUSED";
|
|
757
|
+
export const TIMEOUT: "ETIMEOUT";
|
|
758
758
|
export const EOF: "EOF";
|
|
759
|
-
export const FILE: "
|
|
760
|
-
export const NOMEM: "
|
|
761
|
-
export const DESTRUCTION: "
|
|
762
|
-
export const BADSTR: "
|
|
763
|
-
export const BADFLAGS: "
|
|
764
|
-
export const NONAME: "
|
|
765
|
-
export const BADHINTS: "
|
|
766
|
-
export const NOTINITIALIZED: "
|
|
767
|
-
export const LOADIPHLPAPI: "
|
|
768
|
-
export const ADDRGETNETWORKPARAMS: "
|
|
769
|
-
export const CANCELLED: "
|
|
759
|
+
export const FILE: "EFILE";
|
|
760
|
+
export const NOMEM: "ENOMEM";
|
|
761
|
+
export const DESTRUCTION: "EDESTRUCTION";
|
|
762
|
+
export const BADSTR: "EBADSTR";
|
|
763
|
+
export const BADFLAGS: "EBADFLAGS";
|
|
764
|
+
export const NONAME: "ENONAME";
|
|
765
|
+
export const BADHINTS: "EBADHINTS";
|
|
766
|
+
export const NOTINITIALIZED: "ENOTINITIALIZED";
|
|
767
|
+
export const LOADIPHLPAPI: "ELOADIPHLPAPI";
|
|
768
|
+
export const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
|
|
769
|
+
export const CANCELLED: "ECANCELLED";
|
|
770
770
|
export interface ResolverOptions {
|
|
771
771
|
/**
|
|
772
772
|
* Query timeout in milliseconds, or `-1` to use the default timeout.
|
|
@@ -80,39 +80,24 @@ declare module "events" {
|
|
|
80
80
|
* Can be used to cancel awaiting events.
|
|
81
81
|
*/
|
|
82
82
|
signal?: AbortSignal | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Names of events that will end the iteration.
|
|
85
|
-
*/
|
|
86
|
-
close?: string[] | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* The high watermark. The emitter is paused every time the size
|
|
89
|
-
* of events being buffered is higher than it. Supported only
|
|
90
|
-
* on emitters implementing `pause()` and `resume()` methods.
|
|
91
|
-
* @default `Number.MAX_SAFE_INTEGER`
|
|
92
|
-
*/
|
|
93
|
-
highWaterMark?: number | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* The low watermark. The emitter is resumed every time the size of events being buffered
|
|
96
|
-
* is lower than it. Supported only on emitters implementing `pause()` and `resume()` methods.
|
|
97
|
-
* @default 1
|
|
98
|
-
*/
|
|
99
|
-
lowWaterMark?: number | undefined;
|
|
100
83
|
}
|
|
101
84
|
interface StaticEventEmitterIteratorOptions extends StaticEventEmitterOptions {
|
|
102
85
|
/**
|
|
103
86
|
* Names of events that will end the iteration.
|
|
104
87
|
*/
|
|
105
|
-
close?: string[];
|
|
88
|
+
close?: string[] | undefined;
|
|
106
89
|
/**
|
|
107
|
-
* The emitter is paused every time the size of events being buffered is higher than it.
|
|
90
|
+
* The high watermark. The emitter is paused every time the size of events being buffered is higher than it.
|
|
91
|
+
* Supported only on emitters implementing `pause()` and `resume()` methods.
|
|
108
92
|
* @default Number.MAX_SAFE_INTEGER
|
|
109
93
|
*/
|
|
110
|
-
highWaterMark?: number;
|
|
94
|
+
highWaterMark?: number | undefined;
|
|
111
95
|
/**
|
|
112
|
-
* The emitter is resumed every time the size of events being buffered is lower than it.
|
|
96
|
+
* The low watermark. The emitter is resumed every time the size of events being buffered is lower than it.
|
|
97
|
+
* Supported only on emitters implementing `pause()` and `resume()` methods.
|
|
113
98
|
* @default 1
|
|
114
99
|
*/
|
|
115
|
-
lowWaterMark?: number;
|
|
100
|
+
lowWaterMark?: number | undefined;
|
|
116
101
|
}
|
|
117
102
|
interface EventEmitter<T extends EventMap<T> = DefaultEventMap> extends NodeJS.EventEmitter<T> {}
|
|
118
103
|
type EventMap<T> = Record<keyof T, any[]> | DefaultEventMap;
|
|
@@ -232,7 +217,7 @@ declare module "events" {
|
|
|
232
217
|
static once(
|
|
233
218
|
emitter: NodeJS.EventEmitter,
|
|
234
219
|
eventName: string | symbol,
|
|
235
|
-
options?:
|
|
220
|
+
options?: StaticEventEmitterOptions,
|
|
236
221
|
): Promise<any[]>;
|
|
237
222
|
static once(emitter: EventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise<any[]>;
|
|
238
223
|
/**
|
|
@@ -313,19 +298,18 @@ declare module "events" {
|
|
|
313
298
|
* console.log('done'); // prints 'done'
|
|
314
299
|
* ```
|
|
315
300
|
* @since v13.6.0, v12.16.0
|
|
316
|
-
* @param eventName The name of the event being listened for
|
|
317
301
|
* @return An `AsyncIterator` that iterates `eventName` events emitted by the `emitter`
|
|
318
302
|
*/
|
|
319
303
|
static on(
|
|
320
304
|
emitter: NodeJS.EventEmitter,
|
|
321
305
|
eventName: string | symbol,
|
|
322
|
-
options?:
|
|
323
|
-
): AsyncIterableIterator<any>;
|
|
306
|
+
options?: StaticEventEmitterIteratorOptions,
|
|
307
|
+
): AsyncIterableIterator<any[]>;
|
|
324
308
|
static on(
|
|
325
309
|
emitter: EventTarget,
|
|
326
310
|
eventName: string,
|
|
327
311
|
options?: StaticEventEmitterIteratorOptions,
|
|
328
|
-
): AsyncIterableIterator<any>;
|
|
312
|
+
): AsyncIterableIterator<any[]>;
|
|
329
313
|
/**
|
|
330
314
|
* A class method that returns the number of listeners for the given `eventName` registered on the given `emitter`.
|
|
331
315
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.14.
|
|
3
|
+
"version": "20.14.12",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -212,6 +212,6 @@
|
|
|
212
212
|
"dependencies": {
|
|
213
213
|
"undici-types": "~5.26.4"
|
|
214
214
|
},
|
|
215
|
-
"typesPublisherContentHash": "
|
|
216
|
-
"typeScriptVersion": "4.
|
|
215
|
+
"typesPublisherContentHash": "9e6a411f225bdb4e807bf8a25271d2fc7c8aa163691598117f118732284e76e0",
|
|
216
|
+
"typeScriptVersion": "4.8"
|
|
217
217
|
}
|
|
@@ -941,6 +941,17 @@ declare module "node:test" {
|
|
|
941
941
|
* @since v19.1.0, v18.13.0
|
|
942
942
|
*/
|
|
943
943
|
restoreAll(): void;
|
|
944
|
+
/**
|
|
945
|
+
* This function is used to mock the exports of ECMAScript modules,
|
|
946
|
+
* CommonJS modules, and Node.js builtin modules. Any references to
|
|
947
|
+
* the original module prior to mocking are not impacted
|
|
948
|
+
* @since v22.3.0
|
|
949
|
+
*/
|
|
950
|
+
module(speficier: string, options?: {
|
|
951
|
+
cache?: boolean;
|
|
952
|
+
defaultExport?: any;
|
|
953
|
+
namedExports?: object;
|
|
954
|
+
}): { restore: () => void };
|
|
944
955
|
timers: MockTimers;
|
|
945
956
|
}
|
|
946
957
|
const mock: MockTracker;
|
|
@@ -1031,7 +1042,7 @@ declare module "node:test" {
|
|
|
1031
1042
|
* @since v19.1.0, v18.13.0
|
|
1032
1043
|
* @param implementation The function to be used as the mock's new implementation.
|
|
1033
1044
|
*/
|
|
1034
|
-
mockImplementation(implementation:
|
|
1045
|
+
mockImplementation(implementation: F): void;
|
|
1035
1046
|
/**
|
|
1036
1047
|
* This function is used to change the behavior of an existing mock for a single
|
|
1037
1048
|
* invocation. Once invocation `onCall` has occurred, the mock will revert to
|
|
@@ -1068,7 +1079,7 @@ declare module "node:test" {
|
|
|
1068
1079
|
* @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`.
|
|
1069
1080
|
* @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown.
|
|
1070
1081
|
*/
|
|
1071
|
-
mockImplementationOnce(implementation:
|
|
1082
|
+
mockImplementationOnce(implementation: F, onCall?: number): void;
|
|
1072
1083
|
/**
|
|
1073
1084
|
* Resets the call history of the mock function.
|
|
1074
1085
|
* @since v19.3.0, v18.13.0
|
|
@@ -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: Tue,
|
|
11
|
+
* Last updated: Tue, 23 Jul 2024 18:09:25 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -2200,31 +2200,6 @@ declare module "buffer" {
|
|
|
2200
2200
|
* @return The index of the last occurrence of `value` in `buf`, or `-1` if `buf` does not contain `value`.
|
|
2201
2201
|
*/
|
|
2202
2202
|
lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
|
|
2203
|
-
/**
|
|
2204
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `[index, byte]` pairs from the contents
|
|
2205
|
-
* of `buf`.
|
|
2206
|
-
*
|
|
2207
|
-
* ```js
|
|
2208
|
-
* import { Buffer } from 'node:buffer';
|
|
2209
|
-
*
|
|
2210
|
-
* // Log the entire contents of a `Buffer`.
|
|
2211
|
-
*
|
|
2212
|
-
* const buf = Buffer.from('buffer');
|
|
2213
|
-
*
|
|
2214
|
-
* for (const pair of buf.entries()) {
|
|
2215
|
-
* console.log(pair);
|
|
2216
|
-
* }
|
|
2217
|
-
* // Prints:
|
|
2218
|
-
* // [0, 98]
|
|
2219
|
-
* // [1, 117]
|
|
2220
|
-
* // [2, 102]
|
|
2221
|
-
* // [3, 102]
|
|
2222
|
-
* // [4, 101]
|
|
2223
|
-
* // [5, 114]
|
|
2224
|
-
* ```
|
|
2225
|
-
* @since v1.1.0
|
|
2226
|
-
*/
|
|
2227
|
-
entries(): IterableIterator<[number, number]>;
|
|
2228
2203
|
/**
|
|
2229
2204
|
* Equivalent to `buf.indexOf() !== -1`.
|
|
2230
2205
|
*
|
|
@@ -2255,62 +2230,6 @@ declare module "buffer" {
|
|
|
2255
2230
|
* @return `true` if `value` was found in `buf`, `false` otherwise.
|
|
2256
2231
|
*/
|
|
2257
2232
|
includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
|
|
2258
|
-
/**
|
|
2259
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices).
|
|
2260
|
-
*
|
|
2261
|
-
* ```js
|
|
2262
|
-
* import { Buffer } from 'node:buffer';
|
|
2263
|
-
*
|
|
2264
|
-
* const buf = Buffer.from('buffer');
|
|
2265
|
-
*
|
|
2266
|
-
* for (const key of buf.keys()) {
|
|
2267
|
-
* console.log(key);
|
|
2268
|
-
* }
|
|
2269
|
-
* // Prints:
|
|
2270
|
-
* // 0
|
|
2271
|
-
* // 1
|
|
2272
|
-
* // 2
|
|
2273
|
-
* // 3
|
|
2274
|
-
* // 4
|
|
2275
|
-
* // 5
|
|
2276
|
-
* ```
|
|
2277
|
-
* @since v1.1.0
|
|
2278
|
-
*/
|
|
2279
|
-
keys(): IterableIterator<number>;
|
|
2280
|
-
/**
|
|
2281
|
-
* Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) for `buf` values (bytes). This function is
|
|
2282
|
-
* called automatically when a `Buffer` is used in a `for..of` statement.
|
|
2283
|
-
*
|
|
2284
|
-
* ```js
|
|
2285
|
-
* import { Buffer } from 'node:buffer';
|
|
2286
|
-
*
|
|
2287
|
-
* const buf = Buffer.from('buffer');
|
|
2288
|
-
*
|
|
2289
|
-
* for (const value of buf.values()) {
|
|
2290
|
-
* console.log(value);
|
|
2291
|
-
* }
|
|
2292
|
-
* // Prints:
|
|
2293
|
-
* // 98
|
|
2294
|
-
* // 117
|
|
2295
|
-
* // 102
|
|
2296
|
-
* // 102
|
|
2297
|
-
* // 101
|
|
2298
|
-
* // 114
|
|
2299
|
-
*
|
|
2300
|
-
* for (const value of buf) {
|
|
2301
|
-
* console.log(value);
|
|
2302
|
-
* }
|
|
2303
|
-
* // Prints:
|
|
2304
|
-
* // 98
|
|
2305
|
-
* // 117
|
|
2306
|
-
* // 102
|
|
2307
|
-
* // 102
|
|
2308
|
-
* // 101
|
|
2309
|
-
* // 114
|
|
2310
|
-
* ```
|
|
2311
|
-
* @since v1.1.0
|
|
2312
|
-
*/
|
|
2313
|
-
values(): IterableIterator<number>;
|
|
2314
2233
|
}
|
|
2315
2234
|
var Buffer: BufferConstructor;
|
|
2316
2235
|
/**
|
|
@@ -1391,8 +1391,8 @@ declare module "child_process" {
|
|
|
1391
1391
|
* @param modulePath The module to run in the child.
|
|
1392
1392
|
* @param args List of string arguments.
|
|
1393
1393
|
*/
|
|
1394
|
-
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
1395
|
-
function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1394
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1395
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1396
1396
|
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1397
1397
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1398
1398
|
maxBuffer?: number | undefined;
|