@gradientedge/cdk-utils 9.55.3 → 9.57.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.
@@ -2,7 +2,11 @@
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
3
 
4
4
  case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
6
10
  esac
7
11
 
8
12
  if [ -z "$NODE_PATH" ]; then
@@ -2,7 +2,11 @@
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
3
 
4
4
  case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
6
10
  esac
7
11
 
8
12
  if [ -z "$NODE_PATH" ]; then
@@ -2,7 +2,11 @@
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
3
 
4
4
  case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
6
10
  esac
7
11
 
8
12
  if [ -z "$NODE_PATH" ]; then
@@ -99,6 +99,10 @@ class AzureEventgridManager {
99
99
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridEventSubscription),
100
100
  eventDeliverySchema: props.eventDeliverySchema ?? 'CloudEventSchemaV1_0',
101
101
  advancedFilteringOnArraysEnabled: props.advancedFilteringOnArraysEnabled ?? true,
102
+ retryPolicy: {
103
+ eventTimeToLive: props.retryPolicy?.eventTimeToLive ?? 1440,
104
+ maxDeliveryAttempts: props.retryPolicy?.maxDeliveryAttempts ?? 7,
105
+ },
102
106
  });
103
107
  (0, utils_1.createAzureTfOutput)(`${id}-eventgridSubscriptiontName`, scope, eventgridSubscription.name);
104
108
  (0, utils_1.createAzureTfOutput)(`${id}-eventgridSubscriptionFriendlyUniqueId`, scope, eventgridSubscription.friendlyUniqueId);
@@ -1 +1 @@
1
- {"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.8.2"}
1
+ {"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.8.3"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "9.55.3",
3
+ "version": "9.57.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
7
7
  "node": ">=16 <=22",
8
8
  "pnpm": "=10"
9
9
  },
10
- "packageManager": "pnpm@10.7.0",
10
+ "packageManager": "pnpm@10.10.0",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/gradientedge/cdk-utils.git"
@@ -50,46 +50,46 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/client-secrets-manager": "^3.775.0",
54
- "@aws-sdk/credential-providers": "^3.775.0",
55
- "@aws-sdk/types": "^3.775.0",
56
- "@cdktf/provider-aws": "^19.58.0",
57
- "@cdktf/provider-azurerm": "^13.23.0",
58
- "@cdktf/provider-cloudflare": "^12.3.0",
53
+ "@aws-sdk/client-secrets-manager": "^3.806.0",
54
+ "@aws-sdk/credential-providers": "^3.806.0",
55
+ "@aws-sdk/types": "^3.804.0",
56
+ "@cdktf/provider-aws": "^19.63.0",
57
+ "@cdktf/provider-azurerm": "^13.27.0",
58
+ "@cdktf/provider-cloudflare": "^12.4.0",
59
59
  "@types/lodash": "^4.17.16",
60
- "@types/node": "^22.13.13",
60
+ "@types/node": "^22.15.17",
61
61
  "@types/uuid": "^10.0.0",
62
62
  "app-root-path": "^3.1.0",
63
- "aws-cdk-lib": "^2.185.0",
63
+ "aws-cdk-lib": "^2.195.0",
64
64
  "cdktf": "^0.20.12",
65
- "cdktf-local-exec": "^0.5.61",
65
+ "cdktf-local-exec": "^0.5.71",
66
66
  "constructs": "^10.4.2",
67
67
  "lodash": "^4.17.21",
68
68
  "moment": "^2.30.1",
69
- "nconf": "^0.12.1",
69
+ "nconf": "^0.13.0",
70
70
  "pluralize": "^8.0.0",
71
71
  "ts-node": "^10.9.2",
72
72
  "uuid": "^11.1.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/core": "^7.26.10",
76
- "@babel/eslint-parser": "^7.27.0",
75
+ "@babel/core": "^7.27.1",
76
+ "@babel/eslint-parser": "^7.27.1",
77
77
  "@babel/plugin-proposal-class-properties": "^7.18.6",
78
78
  "@eslint/config-array": "^0.20.0",
79
79
  "@eslint/object-schema": "^2.1.6",
80
80
  "@types/jest": "^29.5.14",
81
- "@typescript-eslint/eslint-plugin": "^8.28.0",
82
- "@typescript-eslint/parser": "^8.28.0",
83
- "aws-cdk": "^2.1006.0",
81
+ "@typescript-eslint/eslint-plugin": "^8.32.0",
82
+ "@typescript-eslint/parser": "^8.32.0",
83
+ "aws-cdk": "^2.1014.0",
84
84
  "better-docs": "^2.7.3",
85
85
  "codecov": "^3.8.3",
86
86
  "commitizen": "^4.3.1",
87
87
  "docdash": "^2.0.2",
88
- "dotenv": "^16.4.7",
89
- "eslint": "^9.23.0",
90
- "eslint-config-prettier": "^10.1.1",
88
+ "dotenv": "^16.5.0",
89
+ "eslint": "^9.26.0",
90
+ "eslint-config-prettier": "^10.1.5",
91
91
  "eslint-plugin-import": "^2.31.0",
92
- "eslint-plugin-jsdoc": "^50.6.9",
92
+ "eslint-plugin-jsdoc": "^50.6.14",
93
93
  "husky": "^9.1.7",
94
94
  "jest": "^29.7.0",
95
95
  "jest-extended": "^4.0.2",
@@ -104,10 +104,10 @@
104
104
  "rimraf": "^6.0.1",
105
105
  "semantic-release": "^24.2.3",
106
106
  "taffydb": "^2.7.3",
107
- "ts-jest": "^29.3.0",
107
+ "ts-jest": "^29.3.2",
108
108
  "ts-node": "^10.9.2",
109
- "typescript": "5.8.2",
110
- "yaml": "^2.7.0"
109
+ "typescript": "5.8.3",
110
+ "yaml": "^2.7.1"
111
111
  },
112
112
  "optionalDependencies": {
113
113
  "prop-types": "^15.8.1",
@@ -110,6 +110,10 @@ export class AzureEventgridManager {
110
110
  name: scope.resourceNameFormatter.format(props.name, scope.props.resourceNameOptions?.eventGridEventSubscription),
111
111
  eventDeliverySchema: props.eventDeliverySchema ?? 'CloudEventSchemaV1_0',
112
112
  advancedFilteringOnArraysEnabled: props.advancedFilteringOnArraysEnabled ?? true,
113
+ retryPolicy: {
114
+ eventTimeToLive: props.retryPolicy?.eventTimeToLive ?? 1440,
115
+ maxDeliveryAttempts: props.retryPolicy?.maxDeliveryAttempts ?? 7,
116
+ },
113
117
  })
114
118
 
115
119
  createAzureTfOutput(`${id}-eventgridSubscriptiontName`, scope, eventgridSubscription.name)