cdk-common 2.0.129 → 2.0.132

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 (59) hide show
  1. package/.jsii +3 -9
  2. package/API.md +0 -5
  3. package/changelog.md +1 -1
  4. package/lib/main.js +1 -1
  5. package/lib/managed-policies.d.ts +0 -1
  6. package/lib/managed-policies.js +1 -2
  7. package/node_modules/@aws-cdk/assert/package.json +8 -8
  8. package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/index.html +1 -1
  9. package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/massage-spec.ts.html +1 -1
  10. package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/patch-set.ts.html +1 -1
  11. package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/scrutiny.ts.html +1 -1
  12. package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/validate-cfn.ts.html +1 -1
  13. package/node_modules/@aws-cdk/cfnspec/coverage/index.html +1 -1
  14. package/node_modules/@aws-cdk/cfnspec/coverage/junit.xml +6462 -6480
  15. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/index.html +1 -1
  16. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/massage-spec.ts.html +1 -1
  17. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/patch-set.ts.html +1 -1
  18. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/scrutiny.ts.html +1 -1
  19. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/validate-cfn.ts.html +1 -1
  20. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/index.html +1 -1
  21. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics/canned-metrics-schema.ts.html +1 -1
  22. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics/index.html +1 -1
  23. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics.ts.html +1 -1
  24. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/index.html +1 -1
  25. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/index.ts.html +3 -3
  26. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/augmentation.ts.html +1 -1
  27. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/base-types.ts.html +3 -3
  28. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/index.html +1 -1
  29. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/index.ts.html +1 -1
  30. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/property.ts.html +13 -13
  31. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/resource-type.ts.html +1 -1
  32. package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/specification.ts.html +2 -2
  33. package/node_modules/@aws-cdk/cfnspec/coverage/lcov.info +48 -48
  34. package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics/canned-metrics-schema.ts.html +1 -1
  35. package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics/index.html +1 -1
  36. package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics.ts.html +1 -1
  37. package/node_modules/@aws-cdk/cfnspec/coverage/lib/index.html +1 -1
  38. package/node_modules/@aws-cdk/cfnspec/coverage/lib/index.ts.html +3 -3
  39. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/augmentation.ts.html +1 -1
  40. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/base-types.ts.html +3 -3
  41. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/index.html +1 -1
  42. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/index.ts.html +1 -1
  43. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/property.ts.html +13 -13
  44. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/resource-type.ts.html +1 -1
  45. package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/specification.ts.html +2 -2
  46. package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
  47. package/node_modules/@aws-cdk/cfnspec/spec/specification.json +3 -70
  48. package/node_modules/@aws-cdk/cloudformation-diff/package.json +4 -4
  49. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  50. package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +28 -4
  51. package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +1 -0
  52. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
  53. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  54. package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +28 -4
  55. package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +1 -0
  56. package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
  57. package/package.json +3 -3
  58. package/releasetag.txt +1 -1
  59. package/version.txt +1 -1
@@ -493,11 +493,11 @@
493
493
  <span class="cline-any cline-neutral">&nbsp;</span>
494
494
  <span class="cline-any cline-neutral">&nbsp;</span>
495
495
  <span class="cline-any cline-yes">8x</span>
496
- <span class="cline-any cline-yes">15682x</span>
496
+ <span class="cline-any cline-yes">15673x</span>
497
497
  <span class="cline-any cline-neutral">&nbsp;</span>
498
498
  <span class="cline-any cline-neutral">&nbsp;</span>
499
499
  <span class="cline-any cline-neutral">&nbsp;</span>
500
- <span class="cline-any cline-yes">15682x</span>
500
+ <span class="cline-any cline-yes">15673x</span>
501
501
  <span class="cline-any cline-neutral">&nbsp;</span>
502
502
  <span class="cline-any cline-no">&nbsp;</span>
503
503
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -511,12 +511,12 @@
511
511
  <span class="cline-any cline-neutral">&nbsp;</span>
512
512
  <span class="cline-any cline-neutral">&nbsp;</span>
513
513
  <span class="cline-any cline-yes">8x</span>
514
- <span class="cline-any cline-yes">15684x</span>
514
+ <span class="cline-any cline-yes">15675x</span>
515
515
  <span class="cline-any cline-neutral">&nbsp;</span>
516
516
  <span class="cline-any cline-neutral">&nbsp;</span>
517
517
  <span class="cline-any cline-yes">8x</span>
518
- <span class="cline-any cline-yes">2669x</span>
519
- <span class="cline-any cline-yes">2669x</span>
518
+ <span class="cline-any cline-yes">2665x</span>
519
+ <span class="cline-any cline-yes">2665x</span>
520
520
  <span class="cline-any cline-neutral">&nbsp;</span>
521
521
  <span class="cline-any cline-neutral">&nbsp;</span>
522
522
  <span class="cline-any cline-yes">8x</span>
@@ -527,27 +527,27 @@
527
527
  <span class="cline-any cline-neutral">&nbsp;</span>
528
528
  <span class="cline-any cline-neutral">&nbsp;</span>
529
529
  <span class="cline-any cline-yes">8x</span>
530
- <span class="cline-any cline-yes">8947x</span>
530
+ <span class="cline-any cline-yes">8936x</span>
531
531
  <span class="cline-any cline-neutral">&nbsp;</span>
532
532
  <span class="cline-any cline-neutral">&nbsp;</span>
533
533
  <span class="cline-any cline-yes">8x</span>
534
- <span class="cline-any cline-yes">4946x</span>
534
+ <span class="cline-any cline-yes">4939x</span>
535
535
  <span class="cline-any cline-neutral">&nbsp;</span>
536
536
  <span class="cline-any cline-neutral">&nbsp;</span>
537
537
  <span class="cline-any cline-yes">8x</span>
538
- <span class="cline-any cline-yes">4001x</span>
538
+ <span class="cline-any cline-yes">3997x</span>
539
539
  <span class="cline-any cline-neutral">&nbsp;</span>
540
540
  <span class="cline-any cline-neutral">&nbsp;</span>
541
541
  <span class="cline-any cline-yes">8x</span>
542
- <span class="cline-any cline-yes">9533x</span>
542
+ <span class="cline-any cline-yes">9520x</span>
543
543
  <span class="cline-any cline-neutral">&nbsp;</span>
544
544
  <span class="cline-any cline-neutral">&nbsp;</span>
545
545
  <span class="cline-any cline-yes">8x</span>
546
- <span class="cline-any cline-yes">4147x</span>
546
+ <span class="cline-any cline-yes">4142x</span>
547
547
  <span class="cline-any cline-neutral">&nbsp;</span>
548
548
  <span class="cline-any cline-neutral">&nbsp;</span>
549
549
  <span class="cline-any cline-yes">8x</span>
550
- <span class="cline-any cline-yes">2693x</span>
550
+ <span class="cline-any cline-yes">2689x</span>
551
551
  <span class="cline-any cline-neutral">&nbsp;</span>
552
552
  <span class="cline-any cline-neutral">&nbsp;</span>
553
553
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -556,7 +556,7 @@
556
556
  <span class="cline-any cline-neutral">&nbsp;</span>
557
557
  <span class="cline-any cline-neutral">&nbsp;</span>
558
558
  <span class="cline-any cline-yes">8x</span>
559
- <span class="cline-any cline-yes">2693x</span>
559
+ <span class="cline-any cline-yes">2689x</span>
560
560
  <span class="cline-any cline-neutral">&nbsp;</span>
561
561
  <span class="cline-any cline-neutral">&nbsp;</span>
562
562
  <span class="cline-any cline-yes">8x</span>
@@ -955,7 +955,7 @@ export function <span class="fstat-no" title="function not covered" >isTagProper
955
955
  <div class='footer quiet pad2 space-top1 center small'>
956
956
  Code coverage generated by
957
957
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
958
- at Fri Apr 22 2022 08:52:13 GMT+0000 (Coordinated Universal Time)
958
+ at Fri Apr 22 2022 21:57:40 GMT+0000 (Coordinated Universal Time)
959
959
  </div>
960
960
  <script src="../../prettify.js"></script>
961
961
  <script>
@@ -562,7 +562,7 @@ export function isResourceScrutinyType(str: string): str is ResourceScrutinyType
562
562
  <div class='footer quiet pad2 space-top1 center small'>
563
563
  Code coverage generated by
564
564
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
565
- at Fri Apr 22 2022 08:52:13 GMT+0000 (Coordinated Universal Time)
565
+ at Fri Apr 22 2022 21:57:40 GMT+0000 (Coordinated Universal Time)
566
566
  </div>
567
567
  <script src="../../prettify.js"></script>
568
568
  <script>
@@ -173,7 +173,7 @@
173
173
  <span class="cline-any cline-neutral">&nbsp;</span>
174
174
  <span class="cline-any cline-neutral">&nbsp;</span>
175
175
  <span class="cline-any cline-yes">8x</span>
176
- <span class="cline-any cline-yes">3162x</span>
176
+ <span class="cline-any cline-yes">3160x</span>
177
177
  <span class="cline-any cline-neutral">&nbsp;</span>
178
178
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { Documented } from './base-types';
179
179
  import { Property } from './property';
@@ -238,7 +238,7 @@ export function isRecordType(propertyType: PropertyType): propertyType is Record
238
238
  <div class='footer quiet pad2 space-top1 center small'>
239
239
  Code coverage generated by
240
240
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
241
- at Fri Apr 22 2022 08:52:13 GMT+0000 (Coordinated Universal Time)
241
+ at Fri Apr 22 2022 21:57:40 GMT+0000 (Coordinated Universal Time)
242
242
  </div>
243
243
  <script src="../../prettify.js"></script>
244
244
  <script>
@@ -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.21.0",
4
+ "version": "2.21.1",
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",
@@ -29,8 +29,8 @@
29
29
  "main": "lib/index.js",
30
30
  "types": "lib/index.d.ts",
31
31
  "devDependencies": {
32
- "@aws-cdk/cdk-build-tools": "2.21.0",
33
- "@aws-cdk/pkglint": "2.21.0",
32
+ "@aws-cdk/cdk-build-tools": "2.21.1",
33
+ "@aws-cdk/pkglint": "2.21.1",
34
34
  "@types/fs-extra": "^8.1.2",
35
35
  "@types/jest": "^27.4.1",
36
36
  "@types/md5": "^2.3.2",
@@ -1,5 +1,5 @@
1
1
  {
2
- "Fingerprint": "f3d98c14a5eede5192e8c3261d7f1535",
2
+ "Fingerprint": "2b2bc57d23c0afeed2236078ae2e3817",
3
3
  "PropertyTypes": {
4
4
  "AWS::ACMPCA::Certificate.ApiPassthrough": {
5
5
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html",
@@ -38979,86 +38979,19 @@
38979
38979
  }
38980
38980
  }
38981
38981
  },
38982
- "AWS::ImageBuilder::DistributionConfiguration.AmiDistributionConfiguration": {
38983
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html",
38984
- "Properties": {
38985
- "AmiTags": {
38986
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-amitags",
38987
- "PrimitiveItemType": "String",
38988
- "Required": false,
38989
- "Type": "Map",
38990
- "UpdateType": "Mutable"
38991
- },
38992
- "Description": {
38993
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-description",
38994
- "PrimitiveType": "String",
38995
- "Required": false,
38996
- "UpdateType": "Mutable"
38997
- },
38998
- "KmsKeyId": {
38999
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-kmskeyid",
39000
- "PrimitiveType": "String",
39001
- "Required": false,
39002
- "UpdateType": "Mutable"
39003
- },
39004
- "LaunchPermissionConfiguration": {
39005
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-launchpermissionconfiguration",
39006
- "Required": false,
39007
- "Type": "LaunchPermissionConfiguration",
39008
- "UpdateType": "Mutable"
39009
- },
39010
- "Name": {
39011
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-name",
39012
- "PrimitiveType": "String",
39013
- "Required": false,
39014
- "UpdateType": "Mutable"
39015
- },
39016
- "TargetAccountIds": {
39017
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-amidistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-amidistributionconfiguration-targetaccountids",
39018
- "PrimitiveItemType": "String",
39019
- "Required": false,
39020
- "Type": "List",
39021
- "UpdateType": "Mutable"
39022
- }
39023
- }
39024
- },
39025
- "AWS::ImageBuilder::DistributionConfiguration.ContainerDistributionConfiguration": {
39026
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-containerdistributionconfiguration.html",
39027
- "Properties": {
39028
- "ContainerTags": {
39029
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-containerdistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-containerdistributionconfiguration-containertags",
39030
- "PrimitiveItemType": "String",
39031
- "Required": false,
39032
- "Type": "List",
39033
- "UpdateType": "Mutable"
39034
- },
39035
- "Description": {
39036
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-containerdistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-containerdistributionconfiguration-description",
39037
- "PrimitiveType": "String",
39038
- "Required": false,
39039
- "UpdateType": "Mutable"
39040
- },
39041
- "TargetRepository": {
39042
- "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-containerdistributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-containerdistributionconfiguration-targetrepository",
39043
- "Required": false,
39044
- "Type": "TargetContainerRepository",
39045
- "UpdateType": "Mutable"
39046
- }
39047
- }
39048
- },
39049
38982
  "AWS::ImageBuilder::DistributionConfiguration.Distribution": {
39050
38983
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html",
39051
38984
  "Properties": {
39052
38985
  "AmiDistributionConfiguration": {
39053
38986
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-amidistributionconfiguration",
38987
+ "PrimitiveType": "Json",
39054
38988
  "Required": false,
39055
- "Type": "AmiDistributionConfiguration",
39056
38989
  "UpdateType": "Mutable"
39057
38990
  },
39058
38991
  "ContainerDistributionConfiguration": {
39059
38992
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-containerdistributionconfiguration",
38993
+ "PrimitiveType": "Json",
39060
38994
  "Required": false,
39061
- "Type": "ContainerDistributionConfiguration",
39062
38995
  "UpdateType": "Mutable"
39063
38996
  },
39064
38997
  "LaunchTemplateConfigurations": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/cloudformation-diff",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
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,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-cdk/cfnspec": "2.21.0",
26
+ "@aws-cdk/cfnspec": "2.21.1",
27
27
  "@types/node": "^10.17.60",
28
28
  "chalk": "^4",
29
29
  "diff": "^5.0.0",
@@ -32,8 +32,8 @@
32
32
  "table": "^6.8.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-cdk/cdk-build-tools": "2.21.0",
36
- "@aws-cdk/pkglint": "2.21.0",
35
+ "@aws-cdk/cdk-build-tools": "2.21.1",
36
+ "@aws-cdk/pkglint": "2.21.1",
37
37
  "@types/jest": "^27.4.1",
38
38
  "@types/string-width": "^4.0.1",
39
39
  "fast-check": "^2.24.0",
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 18 Apr 2022 16:31:18 GMT
11
+ * Last updated: Mon, 25 Apr 2022 15:31:38 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
@@ -646,6 +646,7 @@ declare module 'crypto' {
646
646
  }
647
647
  type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305';
648
648
  type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
649
+ type CipherOCBTypes = 'aes-128-ocb' | 'aes-192-ocb' | 'aes-256-ocb';
649
650
  type BinaryLike = string | NodeJS.ArrayBufferView;
650
651
  type CipherKey = BinaryLike | KeyObject;
651
652
  interface CipherCCMOptions extends stream.TransformOptions {
@@ -654,6 +655,9 @@ declare module 'crypto' {
654
655
  interface CipherGCMOptions extends stream.TransformOptions {
655
656
  authTagLength?: number | undefined;
656
657
  }
658
+ interface CipherOCBOptions extends stream.TransformOptions {
659
+ authTagLength: number;
660
+ }
657
661
  /**
658
662
  * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`.
659
663
  *
@@ -720,8 +724,9 @@ declare module 'crypto' {
720
724
  * @since v0.1.94
721
725
  * @param options `stream.transform` options
722
726
  */
723
- function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): CipherCCM;
724
- function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): CipherGCM;
727
+ function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): CipherCCM;
728
+ function createCipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): CipherOCB;
729
+ function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): CipherGCM;
725
730
  function createCipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Cipher;
726
731
  /**
727
732
  * Instances of the `Cipher` class are used to encrypt data. The class can be
@@ -907,6 +912,15 @@ declare module 'crypto' {
907
912
  ): this;
908
913
  getAuthTag(): Buffer;
909
914
  }
915
+ interface CipherOCB extends Cipher {
916
+ setAAD(
917
+ buffer: NodeJS.ArrayBufferView,
918
+ options?: {
919
+ plaintextLength: number;
920
+ }
921
+ ): this;
922
+ getAuthTag(): Buffer;
923
+ }
910
924
  /**
911
925
  * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key).
912
926
  *
@@ -961,8 +975,9 @@ declare module 'crypto' {
961
975
  * @since v0.1.94
962
976
  * @param options `stream.transform` options
963
977
  */
964
- function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): DecipherCCM;
965
- function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): DecipherGCM;
978
+ function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): DecipherCCM;
979
+ function createDecipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): DecipherOCB;
980
+ function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
966
981
  function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
967
982
  /**
968
983
  * Instances of the `Decipher` class are used to decrypt data. The class can be
@@ -1133,6 +1148,15 @@ declare module 'crypto' {
1133
1148
  }
1134
1149
  ): this;
1135
1150
  }
1151
+ interface DecipherOCB extends Decipher {
1152
+ setAuthTag(buffer: NodeJS.ArrayBufferView): this;
1153
+ setAAD(
1154
+ buffer: NodeJS.ArrayBufferView,
1155
+ options?: {
1156
+ plaintextLength: number;
1157
+ }
1158
+ ): this;
1159
+ }
1136
1160
  interface PrivateKeyInput {
1137
1161
  key: string | Buffer;
1138
1162
  format?: KeyFormat | undefined;
@@ -580,6 +580,7 @@ declare module 'http2' {
580
580
  parent?: number | undefined;
581
581
  weight?: number | undefined;
582
582
  waitForTrailers?: boolean | undefined;
583
+ signal?: AbortSignal | undefined;
583
584
  }
584
585
  export interface SessionState {
585
586
  effectiveLocalWindowSize?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.25",
3
+ "version": "17.0.27",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  },
216
216
  "scripts": {},
217
217
  "dependencies": {},
218
- "typesPublisherContentHash": "825e787f0a7c6fde372f102a7e96d0c64b5cb4ff7c07557941bedf371f097b76",
218
+ "typesPublisherContentHash": "03c9f0b7230f351f80b83814627e6de2f02d905345b57f89f758e82c17cca432",
219
219
  "typeScriptVersion": "3.9"
220
220
  }
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 18 Apr 2022 16:31:18 GMT
11
+ * Last updated: Mon, 25 Apr 2022 15:31:38 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
@@ -646,6 +646,7 @@ declare module 'crypto' {
646
646
  }
647
647
  type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305';
648
648
  type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
649
+ type CipherOCBTypes = 'aes-128-ocb' | 'aes-192-ocb' | 'aes-256-ocb';
649
650
  type BinaryLike = string | NodeJS.ArrayBufferView;
650
651
  type CipherKey = BinaryLike | KeyObject;
651
652
  interface CipherCCMOptions extends stream.TransformOptions {
@@ -654,6 +655,9 @@ declare module 'crypto' {
654
655
  interface CipherGCMOptions extends stream.TransformOptions {
655
656
  authTagLength?: number | undefined;
656
657
  }
658
+ interface CipherOCBOptions extends stream.TransformOptions {
659
+ authTagLength: number;
660
+ }
657
661
  /**
658
662
  * Creates and returns a `Cipher` object that uses the given `algorithm` and`password`.
659
663
  *
@@ -720,8 +724,9 @@ declare module 'crypto' {
720
724
  * @since v0.1.94
721
725
  * @param options `stream.transform` options
722
726
  */
723
- function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): CipherCCM;
724
- function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): CipherGCM;
727
+ function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): CipherCCM;
728
+ function createCipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): CipherOCB;
729
+ function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): CipherGCM;
725
730
  function createCipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Cipher;
726
731
  /**
727
732
  * Instances of the `Cipher` class are used to encrypt data. The class can be
@@ -907,6 +912,15 @@ declare module 'crypto' {
907
912
  ): this;
908
913
  getAuthTag(): Buffer;
909
914
  }
915
+ interface CipherOCB extends Cipher {
916
+ setAAD(
917
+ buffer: NodeJS.ArrayBufferView,
918
+ options?: {
919
+ plaintextLength: number;
920
+ }
921
+ ): this;
922
+ getAuthTag(): Buffer;
923
+ }
910
924
  /**
911
925
  * Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key).
912
926
  *
@@ -961,8 +975,9 @@ declare module 'crypto' {
961
975
  * @since v0.1.94
962
976
  * @param options `stream.transform` options
963
977
  */
964
- function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike | null, options: CipherCCMOptions): DecipherCCM;
965
- function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike | null, options?: CipherGCMOptions): DecipherGCM;
978
+ function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): DecipherCCM;
979
+ function createDecipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): DecipherOCB;
980
+ function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
966
981
  function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
967
982
  /**
968
983
  * Instances of the `Decipher` class are used to decrypt data. The class can be
@@ -1133,6 +1148,15 @@ declare module 'crypto' {
1133
1148
  }
1134
1149
  ): this;
1135
1150
  }
1151
+ interface DecipherOCB extends Decipher {
1152
+ setAuthTag(buffer: NodeJS.ArrayBufferView): this;
1153
+ setAAD(
1154
+ buffer: NodeJS.ArrayBufferView,
1155
+ options?: {
1156
+ plaintextLength: number;
1157
+ }
1158
+ ): this;
1159
+ }
1136
1160
  interface PrivateKeyInput {
1137
1161
  key: string | Buffer;
1138
1162
  format?: KeyFormat | undefined;
@@ -580,6 +580,7 @@ declare module 'http2' {
580
580
  parent?: number | undefined;
581
581
  weight?: number | undefined;
582
582
  waitForTrailers?: boolean | undefined;
583
+ signal?: AbortSignal | undefined;
583
584
  }
584
585
  export interface SessionState {
585
586
  effectiveLocalWindowSize?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.25",
3
+ "version": "17.0.27",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  },
216
216
  "scripts": {},
217
217
  "dependencies": {},
218
- "typesPublisherContentHash": "825e787f0a7c6fde372f102a7e96d0c64b5cb4ff7c07557941bedf371f097b76",
218
+ "typesPublisherContentHash": "03c9f0b7230f351f80b83814627e6de2f02d905345b57f89f758e82c17cca432",
219
219
  "typeScriptVersion": "3.9"
220
220
  }
package/package.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "jsii-pacmak": "^1.57.0",
57
57
  "json-schema": "^0.4.0",
58
58
  "npm-check-updates": "^12",
59
- "projen": "0.54.40",
59
+ "projen": "0.54.45",
60
60
  "standard-version": "^9",
61
61
  "ts-jest": "^27.1.4",
62
62
  "typescript": "^4.6.3"
@@ -66,7 +66,7 @@
66
66
  "constructs": "^10.0.5"
67
67
  },
68
68
  "dependencies": {
69
- "@aws-cdk/assert": "^2.21.0",
69
+ "@aws-cdk/assert": "^2.21.1",
70
70
  "case": "^1.6.3",
71
71
  "sync-request": "^6.1.0"
72
72
  },
@@ -84,7 +84,7 @@
84
84
  ],
85
85
  "main": "lib/index.js",
86
86
  "license": "Apache-2.0",
87
- "version": "2.0.129",
87
+ "version": "2.0.132",
88
88
  "jest": {
89
89
  "testMatch": [
90
90
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
package/releasetag.txt CHANGED
@@ -1 +1 @@
1
- v2.0.129
1
+ v2.0.132
package/version.txt CHANGED
@@ -1 +1 @@
1
- 2.0.129
1
+ 2.0.132