cdk-common 2.0.221 → 2.0.224

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 (84) hide show
  1. package/.jsii +3 -3
  2. package/lib/main.js +1 -1
  3. package/node_modules/@aws-cdk/assert/package.json +8 -8
  4. package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
  5. package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +5 -5
  6. package/node_modules/@aws-cdk/cloudformation-diff/package.json +5 -5
  7. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/LICENSE +0 -0
  8. package/node_modules/@types/node/README.md +16 -0
  9. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/assert.d.ts +35 -6
  10. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/async_hooks.d.ts +96 -11
  11. package/node_modules/@types/node/buffer.d.ts +89 -0
  12. package/node_modules/@types/node/child_process.d.ts +514 -0
  13. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/cluster.d.ts +43 -38
  14. package/node_modules/@types/node/console.d.ts +142 -0
  15. package/node_modules/@types/node/constants.d.ts +18 -0
  16. package/node_modules/@types/node/crypto.d.ts +1283 -0
  17. package/node_modules/@types/node/dgram.d.ts +144 -0
  18. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/dns.d.ts +33 -12
  19. package/node_modules/@types/node/domain.d.ts +27 -0
  20. package/node_modules/@types/node/events.d.ts +82 -0
  21. package/node_modules/@types/node/fs/promises.d.ts +569 -0
  22. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/fs.d.ts +736 -757
  23. package/node_modules/@types/node/globals.d.ts +746 -0
  24. package/node_modules/@types/node/globals.global.d.ts +1 -0
  25. package/node_modules/@types/node/http.d.ts +492 -0
  26. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/http2.d.ts +289 -186
  27. package/node_modules/@types/node/https.d.ts +142 -0
  28. package/node_modules/@types/node/index.d.ts +98 -0
  29. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/inspector.d.ts +1508 -1619
  30. package/node_modules/@types/node/module.d.ts +56 -0
  31. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/net.d.ts +128 -71
  32. package/node_modules/@types/node/os.d.ts +242 -0
  33. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/package.json +67 -23
  34. package/node_modules/@types/node/path.d.ts +168 -0
  35. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/perf_hooks.d.ts +124 -19
  36. package/node_modules/@types/node/process.d.ts +413 -0
  37. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/punycode.d.ts +11 -1
  38. package/node_modules/@types/node/querystring.d.ts +31 -0
  39. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/readline.d.ts +55 -24
  40. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/repl.d.ts +40 -22
  41. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/stream.d.ts +103 -57
  42. package/node_modules/@types/node/string_decoder.d.ts +10 -0
  43. package/node_modules/@types/node/timers.d.ts +19 -0
  44. package/node_modules/@types/node/tls.d.ts +784 -0
  45. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/trace_events.d.ts +7 -4
  46. package/node_modules/@types/node/tty.d.ts +69 -0
  47. package/node_modules/@types/node/url.d.ts +149 -0
  48. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/util.d.ts +70 -41
  49. package/node_modules/@types/node/v8.d.ts +190 -0
  50. package/node_modules/@types/node/vm.d.ts +155 -0
  51. package/node_modules/@types/node/wasi.d.ts +89 -0
  52. package/node_modules/@types/node/worker_threads.d.ts +241 -0
  53. package/node_modules/{@aws-cdk/cloudformation-diff/node_modules/@types → @types}/node/zlib.d.ts +91 -54
  54. package/package.json +3 -3
  55. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/README.md +0 -16
  56. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/base.d.ts +0 -19
  57. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/buffer.d.ts +0 -16
  58. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/child_process.d.ts +0 -369
  59. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/console.d.ts +0 -3
  60. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/constants.d.ts +0 -449
  61. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/crypto.d.ts +0 -613
  62. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/dgram.d.ts +0 -97
  63. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/domain.d.ts +0 -16
  64. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/events.d.ts +0 -30
  65. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/globals.d.ts +0 -1066
  66. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/http.d.ts +0 -274
  67. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/https.d.ts +0 -51
  68. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/index.d.ts +0 -41
  69. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/module.d.ts +0 -3
  70. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/os.d.ts +0 -254
  71. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/path.d.ts +0 -159
  72. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/process.d.ts +0 -3
  73. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/querystring.d.ts +0 -17
  74. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/string_decoder.d.ts +0 -9
  75. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/timers.d.ts +0 -16
  76. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tls.d.ts +0 -459
  77. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/assert.d.ts +0 -73
  78. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/base.d.ts +0 -54
  79. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/index.d.ts +0 -6
  80. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tty.d.ts +0 -17
  81. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/url.d.ts +0 -104
  82. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/v8.d.ts +0 -28
  83. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/vm.d.ts +0 -81
  84. package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/worker_threads.d.ts +0 -124
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-cdk/assert": "^2.34.2",
10
+ "@aws-cdk/assert": "^2.35.0",
11
11
  "case": "^1.6.3",
12
12
  "sync-request": "^6.1.0"
13
13
  },
@@ -8833,6 +8833,6 @@
8833
8833
  "symbolId": "src/main:LambdaArmFunctionProps"
8834
8834
  }
8835
8835
  },
8836
- "version": "2.0.221",
8837
- "fingerprint": "wCBS3oGQZfBRSCbkkdrTgVEDp3b1R32mwOKL/YYM8JM="
8836
+ "version": "2.0.224",
8837
+ "fingerprint": "Bmoamiin5XuucBP21bNJqY4MZAA9+R8xncAvrHJHip8="
8838
8838
  }
package/lib/main.js CHANGED
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
41
41
  }
42
42
  exports.LambdaArmFunction = LambdaArmFunction;
43
43
  _a = JSII_RTTI_SYMBOL_1;
44
- LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.221" };
44
+ LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.224" };
45
45
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ2hELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO1NBQzFFO2FBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ3ZELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO1NBQzFFO2FBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsVUFBVSxFQUFFO1lBQ3RELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxpQ0FBaUMsQ0FBQyxDQ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VQgQ09SRSAzLjEgYXQgQVJNJyk7XG4gICAgfSBlbHNlIGlmIChwcm9wcy5ydW50aW1lID09PSBsYW1iZGEuUnVudGltZS5SVUJZXzJfNykge1xuICAgICAgY2RrLkFubm90YXRpb25zLm9mKHRoaXMpLmFkZFdhcm5pbmcoJ1lvdSBhcmUgdXNpbmcgUlVCWSAyLjcgYXQgQVJNJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/assert",
3
- "version": "2.34.2",
3
+ "version": "2.35.0",
4
4
  "description": "An assertion library for use with CDK Apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -34,21 +34,21 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "devDependencies": {
37
- "@aws-cdk/assert-internal": "2.34.2",
38
- "@aws-cdk/cdk-build-tools": "2.34.2",
39
- "@aws-cdk/pkglint": "2.34.2",
37
+ "@aws-cdk/assert-internal": "2.35.0",
38
+ "@aws-cdk/cdk-build-tools": "2.35.0",
39
+ "@aws-cdk/pkglint": "2.35.0",
40
40
  "@types/jest": "^27.5.2",
41
- "aws-cdk-lib": "2.34.2",
42
- "aws-cdk-migration": "2.34.2",
41
+ "aws-cdk-lib": "2.35.0",
42
+ "aws-cdk-migration": "2.35.0",
43
43
  "constructs": "^10.0.0",
44
44
  "jest": "^27.3.1",
45
45
  "ts-jest": "^27.1.5"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-cdk/cloudformation-diff": "2.34.2"
48
+ "@aws-cdk/cloudformation-diff": "2.35.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "aws-cdk-lib": "^2.34.2",
51
+ "aws-cdk-lib": "^2.35.0",
52
52
  "constructs": "^10.0.0",
53
53
  "jest": ">=26.6.3"
54
54
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-cdk/cfnspec",
3
3
  "description": "The CloudFormation resource specification used by @aws-cdk packages",
4
- "version": "2.34.2",
4
+ "version": "2.35.0",
5
5
  "scripts": {
6
6
  "update": "cdk-build && /bin/bash build-tools/update.sh && /bin/bash build-tools/update-cfnlint.sh",
7
7
  "update-metrics": "/bin/bash build-tools/update-metrics.sh",
@@ -30,8 +30,8 @@
30
30
  "main": "lib/index.js",
31
31
  "types": "lib/index.d.ts",
32
32
  "devDependencies": {
33
- "@aws-cdk/cdk-build-tools": "2.34.2",
34
- "@aws-cdk/pkglint": "2.34.2",
33
+ "@aws-cdk/cdk-build-tools": "2.35.0",
34
+ "@aws-cdk/pkglint": "2.35.0",
35
35
  "@types/fs-extra": "^8.1.2",
36
36
  "@types/jest": "^27.5.2",
37
37
  "@types/md5": "^2.3.2",
@@ -352,8 +352,8 @@
352
352
  "affectsGlobalScope": true
353
353
  },
354
354
  "../../../node_modules/@types/node/fs.d.ts": {
355
- "version": "2f60ac046e587e917d739f1edc77540eb0ec34f83090dae4ebd5f96c1c9578d4",
356
- "signature": "2f60ac046e587e917d739f1edc77540eb0ec34f83090dae4ebd5f96c1c9578d4",
355
+ "version": "acc8fa7e1d03f0d8c4af03c75027086d80bf1cb17edd2d71313bee7bd12dfb91",
356
+ "signature": "acc8fa7e1d03f0d8c4af03c75027086d80bf1cb17edd2d71313bee7bd12dfb91",
357
357
  "affectsGlobalScope": false
358
358
  },
359
359
  "../../../node_modules/@types/node/fs/promises.d.ts": {
@@ -397,8 +397,8 @@
397
397
  "affectsGlobalScope": false
398
398
  },
399
399
  "../../../node_modules/@types/node/path.d.ts": {
400
- "version": "d270fd4b565eda11a0a737c181892316b7a1ace06c7988d0246219c3df11db06",
401
- "signature": "d270fd4b565eda11a0a737c181892316b7a1ace06c7988d0246219c3df11db06",
400
+ "version": "cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4",
401
+ "signature": "cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4",
402
402
  "affectsGlobalScope": false
403
403
  },
404
404
  "../../../node_modules/@types/node/perf_hooks.d.ts": {
@@ -803,7 +803,7 @@
803
803
  "affectsGlobalScope": false
804
804
  },
805
805
  "../../../tools/@aws-cdk/pkglint/lib/rules.ts": {
806
- "version": "594a727e37dfe03ab23c30b76dc2c3eb4aad6395b594abef9db862ba45acc374",
806
+ "version": "f0723c2a5942a75a17588ad8e1b7fc153e883d3d3a741f2ea099403752de3977",
807
807
  "affectsGlobalScope": false
808
808
  },
809
809
  "../../../tools/@aws-cdk/pkglint/lib/library-creation.ts": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/cloudformation-diff",
3
- "version": "2.34.2",
3
+ "version": "2.35.0",
4
4
  "description": "Utilities to diff CDK stacks against CloudFormation templates",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-cdk/cfnspec": "2.34.2",
27
- "@types/node": "^10.17.60",
26
+ "@aws-cdk/cfnspec": "2.35.0",
27
+ "@types/node": "^14.18.23",
28
28
  "chalk": "^4",
29
29
  "diff": "^5.1.0",
30
30
  "fast-deep-equal": "^3.1.3",
@@ -32,8 +32,8 @@
32
32
  "table": "^6.8.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-cdk/cdk-build-tools": "2.34.2",
36
- "@aws-cdk/pkglint": "2.34.2",
35
+ "@aws-cdk/cdk-build-tools": "2.35.0",
36
+ "@aws-cdk/pkglint": "2.35.0",
37
37
  "@types/jest": "^27.5.2",
38
38
  "@types/string-width": "^4.0.1",
39
39
  "fast-check": "^2.25.0",
@@ -0,0 +1,16 @@
1
+ # Installation
2
+ > `npm install --save @types/node`
3
+
4
+ # Summary
5
+ This package contains type definitions for Node.js (https://nodejs.org/).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
9
+
10
+ ### Additional Details
11
+ * Last updated: Sat, 30 Jul 2022 21:02:22 GMT
12
+ * Dependencies: none
13
+ * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
+
15
+ # Credits
16
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [Bond](https://github.com/bondz), and [Linus Unnebäck](https://github.com/LinusU).
@@ -1,9 +1,8 @@
1
1
  declare module 'assert' {
2
+ /** An alias of `assert.ok()`. */
2
3
  function assert(value: any, message?: string | Error): asserts value;
3
4
  namespace assert {
4
- class AssertionError implements Error {
5
- name: string;
6
- message: string;
5
+ class AssertionError extends Error {
7
6
  actual: any;
8
7
  expected: any;
9
8
  operator: string;
@@ -11,15 +10,38 @@ declare module 'assert' {
11
10
  code: 'ERR_ASSERTION';
12
11
 
13
12
  constructor(options?: {
14
- message?: string;
13
+ /** If provided, the error message is set to this value. */
14
+ message?: string | undefined;
15
+ /** The `actual` property on the error instance. */
15
16
  actual?: any;
17
+ /** The `expected` property on the error instance. */
16
18
  expected?: any;
17
- operator?: string;
19
+ /** The `operator` property on the error instance. */
20
+ operator?: string | undefined;
21
+ /** If provided, the generated stack trace omits frames before this function. */
18
22
  // tslint:disable-next-line:ban-types
19
- stackStartFn?: Function;
23
+ stackStartFn?: Function | undefined;
20
24
  });
21
25
  }
22
26
 
27
+ class CallTracker {
28
+ calls(exact?: number): () => void;
29
+ calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
30
+ report(): CallTrackerReportInformation[];
31
+ verify(): void;
32
+ }
33
+ interface CallTrackerReportInformation {
34
+ message: string;
35
+ /** The actual number of times the function was called. */
36
+ actual: number;
37
+ /** The number of times the function was expected to be called. */
38
+ expected: number;
39
+ /** The name of the function that is wrapped. */
40
+ operator: string;
41
+ /** A stack trace of the function. */
42
+ stack: object;
43
+ }
44
+
23
45
  type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error;
24
46
 
25
47
  function fail(message?: string | Error): never;
@@ -66,6 +88,9 @@ declare module 'assert' {
66
88
  message?: string | Error,
67
89
  ): Promise<void>;
68
90
 
91
+ function match(value: string, regExp: RegExp, message?: string | Error): void;
92
+ function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
93
+
69
94
  const strict: Omit<
70
95
  typeof assert,
71
96
  | 'equal'
@@ -97,3 +122,7 @@ declare module 'assert' {
97
122
 
98
123
  export = assert;
99
124
  }
125
+ declare module 'node:assert' {
126
+ import assert = require('assert');
127
+ export = assert;
128
+ }
@@ -1,12 +1,26 @@
1
1
  /**
2
2
  * Async Hooks module: https://nodejs.org/api/async_hooks.html
3
3
  */
4
- declare module "async_hooks" {
4
+ declare module 'async_hooks' {
5
5
  /**
6
6
  * Returns the asyncId of the current execution context.
7
7
  */
8
8
  function executionAsyncId(): number;
9
9
 
10
+ /**
11
+ * The resource representing the current execution.
12
+ * Useful to store data within the resource.
13
+ *
14
+ * Resource objects returned by `executionAsyncResource()` are most often internal
15
+ * Node.js handle objects with undocumented APIs. Using any functions or properties
16
+ * on the object is likely to crash your application and should be avoided.
17
+ *
18
+ * Using `executionAsyncResource()` in the top-level execution context will
19
+ * return an empty object as there is no handle or request object to use,
20
+ * but having an object representing the top-level can be helpful.
21
+ */
22
+ function executionAsyncResource(): object;
23
+
10
24
  /**
11
25
  * Returns the ID of the resource responsible for calling the callback that is currently being executed.
12
26
  */
@@ -20,7 +34,7 @@ declare module "async_hooks" {
20
34
  * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created
21
35
  * @param resource reference to the resource representing the async operation, needs to be released during destroy
22
36
  */
23
- init?(asyncId: number, type: string, triggerAsyncId: number, resource: Object): void;
37
+ init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
24
38
 
25
39
  /**
26
40
  * When an asynchronous operation is initiated or completes a callback is called to notify the user.
@@ -73,7 +87,7 @@ declare module "async_hooks" {
73
87
  * The ID of the execution context that created this async event.
74
88
  * @default executionAsyncId()
75
89
  */
76
- triggerAsyncId?: number;
90
+ triggerAsyncId?: number | undefined;
77
91
 
78
92
  /**
79
93
  * Disables automatic `emitDestroy` when the object is garbage collected.
@@ -82,7 +96,7 @@ declare module "async_hooks" {
82
96
  * sensitive API's `emitDestroy` is called with it.
83
97
  * @default false
84
98
  */
85
- requireManualDestroy?: boolean;
99
+ requireManualDestroy?: boolean | undefined;
86
100
  }
87
101
 
88
102
  /**
@@ -97,21 +111,22 @@ declare module "async_hooks" {
97
111
  * @param type The type of async event.
98
112
  * @param triggerAsyncId The ID of the execution context that created
99
113
  * this async event (default: `executionAsyncId()`), or an
100
- * AsyncResourceOptions object (since 9.3)
114
+ * AsyncResourceOptions object (since v9.3.0)
101
115
  */
102
116
  constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions);
103
117
 
104
118
  /**
105
- * Call AsyncHooks before callbacks.
106
- * @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
119
+ * Binds the given function to the current execution context.
120
+ * @param fn The function to bind to the current execution context.
121
+ * @param type An optional name to associate with the underlying `AsyncResource`.
107
122
  */
108
- emitBefore(): void;
123
+ static bind<Func extends (...args: any[]) => any>(fn: Func, type?: string): Func & { asyncResource: AsyncResource };
109
124
 
110
125
  /**
111
- * Call AsyncHooks after callbacks.
112
- * @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
126
+ * Binds the given function to execute to this `AsyncResource`'s scope.
127
+ * @param fn The function to bind to the current `AsyncResource`.
113
128
  */
114
- emitAfter(): void;
129
+ bind<Func extends (...args: any[]) => any>(fn: Func): Func & { asyncResource: AsyncResource };
115
130
 
116
131
  /**
117
132
  * Call the provided function with the provided arguments in the
@@ -141,4 +156,74 @@ declare module "async_hooks" {
141
156
  */
142
157
  triggerAsyncId(): number;
143
158
  }
159
+
160
+ /**
161
+ * When having multiple instances of `AsyncLocalStorage`, they are independent
162
+ * from each other. It is safe to instantiate this class multiple times.
163
+ */
164
+ class AsyncLocalStorage<T> {
165
+ /**
166
+ * This method disables the instance of `AsyncLocalStorage`. All subsequent calls
167
+ * to `asyncLocalStorage.getStore()` will return `undefined` until
168
+ * `asyncLocalStorage.run()` is called again.
169
+ *
170
+ * When calling `asyncLocalStorage.disable()`, all current contexts linked to the
171
+ * instance will be exited.
172
+ *
173
+ * Calling `asyncLocalStorage.disable()` is required before the
174
+ * `asyncLocalStorage` can be garbage collected. This does not apply to stores
175
+ * provided by the `asyncLocalStorage`, as those objects are garbage collected
176
+ * along with the corresponding async resources.
177
+ *
178
+ * This method is to be used when the `asyncLocalStorage` is not in use anymore
179
+ * in the current process.
180
+ */
181
+ disable(): void;
182
+
183
+ /**
184
+ * This method returns the current store. If this method is called outside of an
185
+ * asynchronous context initialized by calling `asyncLocalStorage.run`, it will
186
+ * return `undefined`.
187
+ */
188
+ getStore(): T | undefined;
189
+
190
+ /**
191
+ * This methods runs a function synchronously within a context and return its
192
+ * return value. The store is not accessible outside of the callback function or
193
+ * the asynchronous operations created within the callback.
194
+ *
195
+ * Optionally, arguments can be passed to the function. They will be passed to the
196
+ * callback function.
197
+ *
198
+ * I the callback function throws an error, it will be thrown by `run` too. The
199
+ * stacktrace will not be impacted by this call and the context will be exited.
200
+ */
201
+ // TODO: Apply generic vararg once available
202
+ run<R>(store: T, callback: (...args: any[]) => R, ...args: any[]): R;
203
+
204
+ /**
205
+ * This methods runs a function synchronously outside of a context and return its
206
+ * return value. The store is not accessible within the callback function or the
207
+ * asynchronous operations created within the callback.
208
+ *
209
+ * Optionally, arguments can be passed to the function. They will be passed to the
210
+ * callback function.
211
+ *
212
+ * If the callback function throws an error, it will be thrown by `exit` too. The
213
+ * stacktrace will not be impacted by this call and the context will be
214
+ * re-entered.
215
+ */
216
+ // TODO: Apply generic vararg once available
217
+ exit<R>(callback: (...args: any[]) => R, ...args: any[]): R;
218
+
219
+ /**
220
+ * Calling `asyncLocalStorage.enterWith(store)` will transition into the context
221
+ * for the remainder of the current synchronous execution and will persist
222
+ * through any following asynchronous calls.
223
+ */
224
+ enterWith(store: T): void;
225
+ }
226
+ }
227
+ declare module 'node:async_hooks' {
228
+ export * from 'async_hooks';
144
229
  }
@@ -0,0 +1,89 @@
1
+ declare module 'buffer' {
2
+ import { BinaryLike } from 'node:crypto';
3
+ export const INSPECT_MAX_BYTES: number;
4
+ export const kMaxLength: number;
5
+ export const kStringMaxLength: number;
6
+ export const constants: {
7
+ MAX_LENGTH: number;
8
+ MAX_STRING_LENGTH: number;
9
+ };
10
+ const BuffType: typeof Buffer;
11
+
12
+ export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";
13
+
14
+ export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
15
+
16
+ export const SlowBuffer: {
17
+ /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */
18
+ new(size: number): Buffer;
19
+ prototype: Buffer;
20
+ };
21
+ /**
22
+ * @experimental
23
+ */
24
+ export interface BlobOptions {
25
+ /**
26
+ * @default 'utf8'
27
+ */
28
+ encoding?: BufferEncoding | undefined;
29
+ /**
30
+ * The Blob content-type. The intent is for `type` to convey
31
+ * the MIME media type of the data, however no validation of the type format
32
+ * is performed.
33
+ */
34
+ type?: string | undefined;
35
+ }
36
+ /**
37
+ * A [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) encapsulates immutable, raw data that can be safely shared across
38
+ * multiple worker threads.
39
+ * @since v14.18.0
40
+ * @experimental
41
+ */
42
+ export class Blob {
43
+ /**
44
+ * The total size of the `Blob` in bytes.
45
+ * @since v14.18.0
46
+ */
47
+ readonly size: number;
48
+ /**
49
+ * The content-type of the `Blob`.
50
+ * @since v14.18.0
51
+ */
52
+ readonly type: string;
53
+ /**
54
+ * Creates a new `Blob` object containing a concatenation of the given sources.
55
+ *
56
+ * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into
57
+ * the 'Blob' and can therefore be safely modified after the 'Blob' is created.
58
+ *
59
+ * String sources are also copied into the `Blob`.
60
+ */
61
+ constructor(sources: Array<BinaryLike | Blob>, options?: BlobOptions);
62
+ /**
63
+ * Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of
64
+ * the `Blob` data.
65
+ * @since v14.18.0
66
+ */
67
+ arrayBuffer(): Promise<ArrayBuffer>;
68
+ /**
69
+ * Creates and returns a new `Blob` containing a subset of this `Blob` objects
70
+ * data. The original `Blob` is not altered.
71
+ * @since v14.18.0
72
+ * @param start The starting index.
73
+ * @param end The ending index.
74
+ * @param type The content-type for the new `Blob`
75
+ */
76
+ slice(start?: number, end?: number, type?: string): Blob;
77
+ /**
78
+ * Returns a promise that fulfills with the contents of the `Blob` decoded as a
79
+ * UTF-8 string.
80
+ * @since v14.18.0
81
+ */
82
+ text(): Promise<string>;
83
+ }
84
+
85
+ export { BuffType as Buffer };
86
+ }
87
+ declare module 'node:buffer' {
88
+ export * from 'buffer';
89
+ }