@gradientedge/cdk-utils 9.26.1 → 9.28.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.
- package/app/api-destined-function/node_modules/.bin/uuid +4 -4
- package/app/api-destined-function/package.json +1 -1
- package/dist/src/lib/aws/services/cloudfront/main.js +18 -8
- package/dist/src/lib/aws/services/cloudwatch/logs.js +17 -7
- package/dist/src/lib/aws/services/cloudwatch/main.js +17 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -31
- package/src/lib/aws/services/cloudfront/main.ts +1 -1
|
@@ -6,12 +6,12 @@ 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@
|
|
9
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/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
|
+
export NODE_PATH="/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/esm/bin/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/esm/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/dist/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/node_modules/uuid/node_modules:/home/runner/work/cdk-utils/cdk-utils/node_modules/.pnpm/uuid@11.0.3/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
|
-
exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@"
|
|
14
|
+
exec "$basedir/node" "$basedir/../uuid/dist/esm/bin/uuid" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../uuid/dist/bin/uuid" "$@"
|
|
16
|
+
exec node "$basedir/../uuid/dist/esm/bin/uuid" "$@"
|
|
17
17
|
fi
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -293,10 +303,10 @@ class CloudFrontManager {
|
|
|
293
303
|
if (!props.functionName)
|
|
294
304
|
throw `CloudFront Function functionName undefined for ${id}`;
|
|
295
305
|
const cloudfrontFunction = new aws_cloudfront_1.Function(scope, `${id}`, {
|
|
306
|
+
...props,
|
|
296
307
|
code: aws_cloudfront_1.FunctionCode.fromFile({
|
|
297
308
|
filePath: props.functionFilePath,
|
|
298
309
|
}),
|
|
299
|
-
comment: props.comment,
|
|
300
310
|
functionName: scope.resourceNameFormatter.format(props.functionName, scope.props.resourceNameOptions?.cloudfront),
|
|
301
311
|
});
|
|
302
312
|
(0, utils_1.createCfnOutput)(`${id}-functionArn`, scope, cloudfrontFunction.functionArn);
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.
|
|
1
|
+
{"root":["../app/api-destined-function/src/lib/lambda.ts","../app/api-destined-function/src/test/lambda.test.ts"],"version":"5.7.2"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.28.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -50,62 +50,62 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
54
|
-
"@aws-sdk/credential-providers": "^3.
|
|
55
|
-
"@aws-sdk/types": "^3.
|
|
56
|
-
"@cdktf/provider-aws": "^19.
|
|
57
|
-
"@cdktf/provider-azurerm": "^13.
|
|
58
|
-
"@cdktf/provider-cloudflare": "^11.
|
|
59
|
-
"@types/lodash": "^4.17.
|
|
60
|
-
"@types/node": "^22.
|
|
53
|
+
"@aws-sdk/client-secrets-manager": "^3.709.0",
|
|
54
|
+
"@aws-sdk/credential-providers": "^3.709.0",
|
|
55
|
+
"@aws-sdk/types": "^3.709.0",
|
|
56
|
+
"@cdktf/provider-aws": "^19.46.0",
|
|
57
|
+
"@cdktf/provider-azurerm": "^13.13.0",
|
|
58
|
+
"@cdktf/provider-cloudflare": "^11.26.0",
|
|
59
|
+
"@types/lodash": "^4.17.13",
|
|
60
|
+
"@types/node": "^22.10.2",
|
|
61
61
|
"@types/uuid": "^10.0.0",
|
|
62
62
|
"app-root-path": "^3.1.0",
|
|
63
|
-
"aws-cdk-lib": "^2.
|
|
64
|
-
"cdktf": "^0.20.
|
|
65
|
-
"cdktf-local-exec": "^0.5.
|
|
66
|
-
"constructs": "^10.
|
|
63
|
+
"aws-cdk-lib": "^2.173.0",
|
|
64
|
+
"cdktf": "^0.20.10",
|
|
65
|
+
"cdktf-local-exec": "^0.5.47",
|
|
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": "^
|
|
72
|
+
"uuid": "^11.0.3"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@babel/core": "^7.
|
|
76
|
-
"@babel/eslint-parser": "^7.25.
|
|
75
|
+
"@babel/core": "^7.26.0",
|
|
76
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
77
77
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
78
|
-
"@types/jest": "^29.5.
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
80
|
-
"@typescript-eslint/parser": "^8.
|
|
81
|
-
"aws-cdk": "^2.
|
|
78
|
+
"@types/jest": "^29.5.14",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
80
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
81
|
+
"aws-cdk": "^2.173.0",
|
|
82
82
|
"better-docs": "^2.7.3",
|
|
83
83
|
"codecov": "^3.8.3",
|
|
84
84
|
"commitizen": "^4.3.1",
|
|
85
85
|
"docdash": "^2.0.2",
|
|
86
|
-
"dotenv": "^16.4.
|
|
87
|
-
"eslint": "^9.
|
|
86
|
+
"dotenv": "^16.4.7",
|
|
87
|
+
"eslint": "^9.16.0",
|
|
88
88
|
"eslint-config-prettier": "^9.1.0",
|
|
89
89
|
"eslint-plugin-import": "^2.31.0",
|
|
90
|
-
"eslint-plugin-jsdoc": "^50.
|
|
91
|
-
"husky": "^9.1.
|
|
90
|
+
"eslint-plugin-jsdoc": "^50.6.1",
|
|
91
|
+
"husky": "^9.1.7",
|
|
92
92
|
"jest": "^29.7.0",
|
|
93
93
|
"jest-extended": "^4.0.2",
|
|
94
94
|
"jest-junit": "^16.0.0",
|
|
95
|
-
"jsdoc": "^4.0.
|
|
95
|
+
"jsdoc": "^4.0.4",
|
|
96
96
|
"jsdoc-babel": "^0.5.0",
|
|
97
97
|
"jsdoc-mermaid": "^1.0.0",
|
|
98
|
-
"jsdoc-plugin-typescript": "^3.
|
|
99
|
-
"jsdoc-to-markdown": "^9.
|
|
100
|
-
"prettier": "^3.
|
|
98
|
+
"jsdoc-plugin-typescript": "^3.2.0",
|
|
99
|
+
"jsdoc-to-markdown": "^9.1.1",
|
|
100
|
+
"prettier": "^3.4.2",
|
|
101
101
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
102
102
|
"rimraf": "^6.0.1",
|
|
103
|
-
"semantic-release": "^24.
|
|
103
|
+
"semantic-release": "^24.2.0",
|
|
104
104
|
"taffydb": "^2.7.3",
|
|
105
105
|
"ts-jest": "^29.2.5",
|
|
106
106
|
"ts-node": "^10.9.2",
|
|
107
|
-
"typescript": "5.
|
|
108
|
-
"yaml": "^2.
|
|
107
|
+
"typescript": "5.7.2",
|
|
108
|
+
"yaml": "^2.6.1"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
111
|
"prop-types": "^15.8.1",
|
|
@@ -356,10 +356,10 @@ export class CloudFrontManager {
|
|
|
356
356
|
if (!props.functionName) throw `CloudFront Function functionName undefined for ${id}`
|
|
357
357
|
|
|
358
358
|
const cloudfrontFunction = new Function(scope, `${id}`, {
|
|
359
|
+
...props,
|
|
359
360
|
code: FunctionCode.fromFile({
|
|
360
361
|
filePath: props.functionFilePath,
|
|
361
362
|
}),
|
|
362
|
-
comment: props.comment,
|
|
363
363
|
functionName: scope.resourceNameFormatter.format(props.functionName, scope.props.resourceNameOptions?.cloudfront),
|
|
364
364
|
})
|
|
365
365
|
|