@gradientedge/cdk-utils 8.20.0 → 8.22.0

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.
@@ -15,7 +15,7 @@
15
15
  "uuid@^9.0.0"
16
16
  ],
17
17
  "lockfileEntries": {
18
- "@types/uuid@^9.0.0": "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.0.tgz#53ef263e5239728b56096b0a869595135b7952d2",
18
+ "@types/uuid@^9.0.0": "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.1.tgz#98586dc36aee8dacc98cc396dbca8d0429647aa6",
19
19
  "balanced-match@^1.0.0": "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee",
20
20
  "brace-expansion@^1.1.7": "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
21
21
  "concat-map@0.0.1": "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b",
@@ -8,7 +8,7 @@ This package contains type definitions for uuid (https://github.com/uuidjs/uuid)
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 29 Nov 2022 18:32:57 GMT
11
+ * Last updated: Wed, 22 Feb 2023 02:32:35 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
@@ -63,7 +63,7 @@ type v5 = v5Buffer & v5String & v5Static;
63
63
 
64
64
  type NIL = string;
65
65
 
66
- type parse = (uuid: string) => OutputBuffer;
66
+ type parse = (uuid: string) => Uint8Array;
67
67
  type stringify = (buffer: InputBuffer, offset?: number) => string;
68
68
  type validate = (uuid: string) => boolean;
69
69
  type version = (uuid: string) => number;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/uuid",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "TypeScript definitions for uuid",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid",
6
6
  "license": "MIT",
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "fcbbe0ed3964850f2ba3f7c63e9bf38a037f990945fb14bb976e9420e2d9d0b0",
44
- "typeScriptVersion": "4.1",
43
+ "typesPublisherContentHash": "960e341662c90dd3808bb9d88f8b2b55d25603a5e59a0adce183de525875f416",
44
+ "typeScriptVersion": "4.2",
45
45
  "exports": {
46
46
  "./package.json": "./package.json",
47
47
  ".": {
@@ -333,6 +333,7 @@ class IamManager {
333
333
  'dynamodb:Scan',
334
334
  'dynamodb:Query',
335
335
  'dynamodb:GetRecords',
336
+ 'dynamodb:BatchGetItem',
336
337
  ],
337
338
  resources: resourceArns ?? ['*'],
338
339
  });
@@ -407,7 +408,7 @@ class IamManager {
407
408
  description: `Role for ${id} ECS Task execution`,
408
409
  inlinePolicies: { policy },
409
410
  managedPolicies: [
410
- iam.ManagedPolicy.fromManagedPolicyArn(scope, 'AmazonECSTaskExecutionRolePolicy', 'arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy'),
411
+ iam.ManagedPolicy.fromManagedPolicyArn(scope, `${id}-AmazonECSTaskExecutionRolePolicy`, 'arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy'),
411
412
  ],
412
413
  roleName: `${id}-${scope.props.stage}`,
413
414
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.20.0",
3
+ "version": "8.22.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -48,11 +48,11 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@types/lodash": "^4.14.191",
51
- "@types/node": "^18.13.0",
51
+ "@types/node": "^18.14.0",
52
52
  "app-root-path": "^3.1.0",
53
- "aws-cdk-lib": "^2.64.0",
54
- "aws-sdk": "^2.1316.0",
55
- "constructs": "^10.1.251",
53
+ "aws-cdk-lib": "^2.66.1",
54
+ "aws-sdk": "^2.1318.0",
55
+ "constructs": "^10.1.257",
56
56
  "lodash": "^4.17.21",
57
57
  "moment": "^2.29.4",
58
58
  "nconf": "^0.12.0",
@@ -62,8 +62,8 @@
62
62
  "devDependencies": {
63
63
  "@babel/plugin-proposal-class-properties": "^7.18.6",
64
64
  "@types/jest": "^29.4.0",
65
- "@typescript-eslint/eslint-plugin": "^5.52.0",
66
- "@typescript-eslint/parser": "^5.52.0",
65
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
66
+ "@typescript-eslint/parser": "^5.53.0",
67
67
  "aws-cdk": "*",
68
68
  "babel-eslint": "^10.1.0",
69
69
  "better-docs": "^2.7.2",
@@ -75,9 +75,9 @@
75
75
  "eslint-plugin-import": "^2.27.5",
76
76
  "husky": "^8.0.3",
77
77
  "jest": "^29.4.3",
78
- "jest-extended": "^3.2.3",
78
+ "jest-extended": "^3.2.4",
79
79
  "jest-junit": "^15.0.0",
80
- "jsdoc": "^4.0.0",
80
+ "jsdoc": "^4.0.2",
81
81
  "jsdoc-babel": "^0.5.0",
82
82
  "jsdoc-mermaid": "^1.0.0",
83
83
  "lerna": "^6.5.1",
@@ -91,7 +91,7 @@
91
91
  "typescript": "4.9.5"
92
92
  },
93
93
  "optionalDependencies": {
94
- "@babel/core": "^7.20.12",
94
+ "@babel/core": "^7.21.00",
95
95
  "prop-types": "^15.8.1",
96
96
  "react": "^18.2.0",
97
97
  "react-dom": "^18.2.0"
@@ -338,6 +338,7 @@ export class IamManager {
338
338
  'dynamodb:Scan',
339
339
  'dynamodb:Query',
340
340
  'dynamodb:GetRecords',
341
+ 'dynamodb:BatchGetItem',
341
342
  ],
342
343
  resources: resourceArns ?? ['*'],
343
344
  })
@@ -428,7 +429,7 @@ export class IamManager {
428
429
  managedPolicies: [
429
430
  iam.ManagedPolicy.fromManagedPolicyArn(
430
431
  scope,
431
- 'AmazonECSTaskExecutionRolePolicy',
432
+ `${id}-AmazonECSTaskExecutionRolePolicy`,
432
433
  'arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy'
433
434
  ),
434
435
  ],