@gradientedge/cdk-utils 9.47.3 → 9.49.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.
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.5/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.1.0/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../uuid/dist/esm/bin/uuid" "$@"
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@types/uuid": "^10.0.0",
20
- "uuid": "^11.0.5"
20
+ "uuid": "^11.1.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "mkdirp": "^3.0.1",
@@ -1 +1 @@
1
- {"version":3,"file":"lambda.d.ts","sourceRoot":"","sources":["../../app/api-destined-function/src/lib/lambda.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,UAAW,GAAG;;;;;;;;;;;;;;;CAmBtC,CAAA"}
1
+ {"version":3,"file":"lambda.d.ts","sourceRoot":"","sources":["../../app/api-destined-function/src/lib/lambda.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG;;;;;;;;;;;;;;;CAmBtC,CAAA"}
@@ -116,7 +116,7 @@ class CloudFrontManager {
116
116
  priceClass: props.priceClass ?? aws_cloudfront_1.PriceClass.PRICE_CLASS_ALL,
117
117
  viewerCertificate: aws_cloudfront_1.ViewerCertificate.fromAcmCertificate(certificate, {
118
118
  aliases: aliases,
119
- securityPolicy: aws_cloudfront_1.SecurityPolicyProtocol.TLS_V1_1_2016,
119
+ securityPolicy: aws_cloudfront_1.SecurityPolicyProtocol.TLS_V1_2_2021,
120
120
  sslMethod: aws_cloudfront_1.SSLMethod.SNI,
121
121
  }),
122
122
  });
@@ -76,6 +76,7 @@ class EksManager {
76
76
  clusterName: scope.resourceNameFormatter.format(props.clusterName, scope.props.resourceNameOptions?.eks),
77
77
  defaultCapacity: props.appCapacity,
78
78
  defaultCapacityInstance: aws_ec2_1.InstanceType.of(aws_ec2_1.InstanceClass.T3, aws_ec2_1.InstanceSize.LARGE),
79
+ kubectlLayer: props.kubectlLayer,
79
80
  version: aws_eks_1.KubernetesVersion.V1_27,
80
81
  vpc,
81
82
  });
@@ -82,6 +82,7 @@ class AzureAppServiceManager {
82
82
  ...props.siteConfig,
83
83
  alwaysOn: props.siteConfig.alwaysOn ?? true,
84
84
  applicationStack: props.siteConfig.applicationStack ?? { nodeVersion: '22-lts' },
85
+ minimumTlsVersion: props.siteConfig.minimumTlsVersion ?? '1.3',
85
86
  },
86
87
  tags: props.tags ?? {
87
88
  environment: scope.props.stage,
@@ -139,6 +139,7 @@ class AzureFunctionManager {
139
139
  },
140
140
  ]),
141
141
  connectionStrings: props.connectionStrings,
142
+ minTlsVersion: props.minTlsVersion ?? '1.3',
142
143
  },
143
144
  },
144
145
  },
@@ -25,4 +25,5 @@ export interface FunctionAppFlexConsumptionProps {
25
25
  storageAccountConnectionStringName?: string;
26
26
  storageConnectionString: string;
27
27
  sourceCodeHash: string;
28
+ minTlsVersion?: string;
28
29
  }
@@ -1 +1 @@
1
- {"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.7.3"}
1
+ {"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.8.2"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "9.47.3",
3
+ "version": "9.49.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.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b",
10
+ "packageManager": "pnpm@10.7.0",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/gradientedge/cdk-utils.git"
@@ -50,44 +50,46 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/client-secrets-manager": "^3.738.0",
54
- "@aws-sdk/credential-providers": "^3.738.0",
55
- "@aws-sdk/types": "^3.734.0",
56
- "@cdktf/provider-aws": "^19.50.0",
57
- "@cdktf/provider-azurerm": "^13.22.0",
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
58
  "@cdktf/provider-cloudflare": "^11.29.0",
59
- "@types/lodash": "^4.17.15",
60
- "@types/node": "^22.13.0",
59
+ "@types/lodash": "^4.17.16",
60
+ "@types/node": "^22.13.13",
61
61
  "@types/uuid": "^10.0.0",
62
62
  "app-root-path": "^3.1.0",
63
- "aws-cdk-lib": "^2.178.1",
63
+ "aws-cdk-lib": "^2.185.0",
64
64
  "cdktf": "^0.20.11",
65
- "cdktf-local-exec": "^0.5.54",
65
+ "cdktf-local-exec": "^0.5.61",
66
66
  "constructs": "^10.4.2",
67
67
  "lodash": "^4.17.21",
68
68
  "moment": "^2.30.1",
69
69
  "nconf": "^0.12.1",
70
70
  "pluralize": "^8.0.0",
71
71
  "ts-node": "^10.9.2",
72
- "uuid": "^11.0.5"
72
+ "uuid": "^11.1.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/core": "^7.26.7",
76
- "@babel/eslint-parser": "^7.26.5",
75
+ "@babel/core": "^7.26.10",
76
+ "@babel/eslint-parser": "^7.27.0",
77
77
  "@babel/plugin-proposal-class-properties": "^7.18.6",
78
+ "@eslint/config-array": "^0.20.0",
79
+ "@eslint/object-schema": "^2.1.6",
78
80
  "@types/jest": "^29.5.14",
79
- "@typescript-eslint/eslint-plugin": "^8.22.0",
80
- "@typescript-eslint/parser": "^8.22.0",
81
- "aws-cdk": "^2.177.0",
81
+ "@typescript-eslint/eslint-plugin": "^8.28.0",
82
+ "@typescript-eslint/parser": "^8.28.0",
83
+ "aws-cdk": "^2.1006.0",
82
84
  "better-docs": "^2.7.3",
83
85
  "codecov": "^3.8.3",
84
86
  "commitizen": "^4.3.1",
85
87
  "docdash": "^2.0.2",
86
88
  "dotenv": "^16.4.7",
87
- "eslint": "^9.19.0",
88
- "eslint-config-prettier": "^10.0.1",
89
+ "eslint": "^9.23.0",
90
+ "eslint-config-prettier": "^10.1.1",
89
91
  "eslint-plugin-import": "^2.31.0",
90
- "eslint-plugin-jsdoc": "^50.6.3",
92
+ "eslint-plugin-jsdoc": "^50.6.9",
91
93
  "husky": "^9.1.7",
92
94
  "jest": "^29.7.0",
93
95
  "jest-extended": "^4.0.2",
@@ -97,14 +99,14 @@
97
99
  "jsdoc-mermaid": "^1.0.0",
98
100
  "jsdoc-plugin-typescript": "^3.2.0",
99
101
  "jsdoc-to-markdown": "^9.1.1",
100
- "prettier": "^3.4.2",
102
+ "prettier": "^3.5.3",
101
103
  "prettier-plugin-organize-imports": "^4.1.0",
102
104
  "rimraf": "^6.0.1",
103
- "semantic-release": "^24.2.1",
105
+ "semantic-release": "^24.2.3",
104
106
  "taffydb": "^2.7.3",
105
- "ts-jest": "^29.2.5",
107
+ "ts-jest": "^29.3.0",
106
108
  "ts-node": "^10.9.2",
107
- "typescript": "5.7.3",
109
+ "typescript": "5.8.2",
108
110
  "yaml": "^2.7.0"
109
111
  },
110
112
  "optionalDependencies": {
@@ -109,7 +109,7 @@ export class CloudFrontManager {
109
109
  priceClass: props.priceClass ?? PriceClass.PRICE_CLASS_ALL,
110
110
  viewerCertificate: ViewerCertificate.fromAcmCertificate(certificate, {
111
111
  aliases: aliases,
112
- securityPolicy: SecurityPolicyProtocol.TLS_V1_1_2016,
112
+ securityPolicy: SecurityPolicyProtocol.TLS_V1_2_2021,
113
113
  sslMethod: SSLMethod.SNI,
114
114
  }),
115
115
  })
@@ -85,6 +85,7 @@ export class EksManager {
85
85
  clusterName: scope.resourceNameFormatter.format(props.clusterName, scope.props.resourceNameOptions?.eks),
86
86
  defaultCapacity: props.appCapacity,
87
87
  defaultCapacityInstance: InstanceType.of(InstanceClass.T3, InstanceSize.LARGE),
88
+ kubectlLayer: props.kubectlLayer,
88
89
  version: KubernetesVersion.V1_27,
89
90
  vpc,
90
91
  })
@@ -88,6 +88,7 @@ export class AzureAppServiceManager {
88
88
  ...props.siteConfig,
89
89
  alwaysOn: props.siteConfig.alwaysOn ?? true,
90
90
  applicationStack: props.siteConfig.applicationStack ?? { nodeVersion: '22-lts' },
91
+ minimumTlsVersion: props.siteConfig.minimumTlsVersion ?? '1.3',
91
92
  },
92
93
  tags: props.tags ?? {
93
94
  environment: scope.props.stage,
@@ -156,6 +156,7 @@ export class AzureFunctionManager {
156
156
  },
157
157
  ]),
158
158
  connectionStrings: props.connectionStrings,
159
+ minTlsVersion: props.minTlsVersion ?? '1.3',
159
160
  },
160
161
  },
161
162
  },
@@ -27,4 +27,5 @@ export interface FunctionAppFlexConsumptionProps {
27
27
  storageAccountConnectionStringName?: string
28
28
  storageConnectionString: string
29
29
  sourceCodeHash: string
30
+ minTlsVersion?: string
30
31
  }