lambda-live-debugger 1.4.0 → 1.4.1

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/README.md CHANGED
@@ -332,6 +332,7 @@ If you have a new feature idea, please create and issue.
332
332
  - [Roger Chi](https://rogerchi.com/)
333
333
  - [Sebastian / avocadomaster](https://github.com/avocadomaster)
334
334
  - [Sebastian Bille](https://blog.sebastianbille.com)
335
+ - [Spotchi](https://github.com/Spotchi)
335
336
  - ⭐ Your name here for notable code or documentation contributions or sample projects submitted with a bug report that resulted in tool improvement.
336
337
 
337
338
  ## Disclaimer
Binary file
@@ -197,7 +197,9 @@ export class CdkFramework {
197
197
  }
198
198
  // for .mjs files, use js loader
199
199
  const fileExtension = args.path.split('.').pop();
200
- const loader = fileExtension === 'mjs' ? 'js' : fileExtension;
200
+ const loader = fileExtension === 'mjs' || fileExtension === 'cjs'
201
+ ? 'js'
202
+ : fileExtension;
201
203
  // Inject code to get the file path of the Lambda function and CDK hierarchy
202
204
  if (args.path.includes('aws-cdk-lib/aws-lambda/lib/function.')) {
203
205
  const codeToFind = 'try{jsiiDeprecationWarnings().aws_cdk_lib_aws_lambda_FunctionProps(props)}';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambda-live-debugger",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "description": "Debug Lambda functions locally like it is running in the cloud",
6
6
  "repository": {
@@ -85,8 +85,8 @@
85
85
  "@types/inquirer": "^9.0.7",
86
86
  "@types/node": "^20.11.16",
87
87
  "@types/serverless": "^3.12.22",
88
- "aws-cdk": "2.135.0",
89
- "aws-cdk-lib": "2.135.0",
88
+ "aws-cdk": "2.178.0",
89
+ "aws-cdk-lib": "2.178.0",
90
90
  "constructs": "^10.0.0",
91
91
  "eslint": "^9.8.0",
92
92
  "eslint-config-prettier": "^9.1.0",
@@ -95,8 +95,8 @@
95
95
  "prettier": "^3.3.3",
96
96
  "semantic-release": "^23.0.8",
97
97
  "serverless": "^3.38.0",
98
- "osls": "^3.41.0",
99
- "serverless-esbuild": "^1.52.1",
98
+ "osls": "^3.46.0",
99
+ "serverless-esbuild": "^1.54.6",
100
100
  "tsx": "^4.7.1",
101
101
  "typescript-eslint": "^8.0.0",
102
102
  "vitepress": "^1.3.3"