@bifravst/aws-cdk-lambda-helpers 1.2.1 → 1.2.2

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.
Files changed (76) hide show
  1. package/dist/cdk/TestApp.d.ts +5 -0
  2. package/dist/cdk/TestApp.js +12 -0
  3. package/dist/cdk/TestStack.d.ts +12 -0
  4. package/dist/cdk/TestStack.js +39 -0
  5. package/dist/cdk/baseLayer.d.ts +2 -0
  6. package/dist/cdk/baseLayer.js +5 -0
  7. package/dist/cdk/e2e.js +11 -0
  8. package/dist/cdk/lambda.d.ts +2 -0
  9. package/dist/cdk/lambda.js +5 -0
  10. package/dist/cdk/packTestLambdas.d.ts +5 -0
  11. package/dist/cdk/packTestLambdas.js +4 -0
  12. package/dist/e2e.spec.js +17 -0
  13. package/dist/lambdas/test.zip +0 -0
  14. package/dist/layers/baseLayer/nodejs/node_modules/.package-lock.json +16 -0
  15. package/dist/layers/baseLayer/nodejs/node_modules/id128/CHANGES +20 -0
  16. package/dist/layers/baseLayer/nodejs/node_modules/id128/LICENSE +18 -0
  17. package/dist/layers/baseLayer/nodejs/node_modules/id128/README.md +853 -0
  18. package/dist/layers/baseLayer/nodejs/node_modules/id128/index.d.ts +167 -0
  19. package/dist/layers/baseLayer/nodejs/node_modules/id128/index.js +49 -0
  20. package/dist/layers/baseLayer/nodejs/node_modules/id128/package.json +68 -0
  21. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/coder/base.js +53 -0
  22. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/coder/crockford32.js +114 -0
  23. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/coder/hex.js +63 -0
  24. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/coder/uuid.js +77 -0
  25. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/byte-array.js +26 -0
  26. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/epoch-converter.js +32 -0
  27. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/exception.js +18 -0
  28. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/fake-machine.js +26 -0
  29. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/machine.js +37 -0
  30. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/random-bytes-browser.js +9 -0
  31. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/common/random-bytes.js +17 -0
  32. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/factory/id.js +96 -0
  33. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/factory/versioned-id.js +72 -0
  34. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/base.js +39 -0
  35. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/ulid-monotonic.js +71 -0
  36. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/ulid.js +64 -0
  37. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/uuid-1.js +149 -0
  38. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/uuid-4.js +24 -0
  39. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/uuid-6.js +146 -0
  40. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/uuid-nil.js +33 -0
  41. package/dist/layers/baseLayer/nodejs/node_modules/id128/src/id/uuid.js +58 -0
  42. package/dist/layers/baseLayer/nodejs/node_modules/id128/utils.js +35 -0
  43. package/dist/layers/baseLayer/nodejs/package-lock.json +6671 -0
  44. package/dist/layers/baseLayer/nodejs/package.json +1 -0
  45. package/dist/layers/baseLayer.zip +0 -0
  46. package/dist/src/checkSumOfFiles.spec.d.ts +1 -0
  47. package/dist/src/commonParent.spec.d.ts +1 -0
  48. package/dist/{packLambda.d.ts → src/packLambda.d.ts} +2 -2
  49. package/package.json +12 -6
  50. /package/dist/{checkSumOfFiles.spec.d.ts → cdk/e2e.d.ts} +0 -0
  51. /package/dist/{commonParent.spec.d.ts → e2e.spec.d.ts} +0 -0
  52. /package/dist/{LambdaLogGroup.d.ts → src/LambdaLogGroup.d.ts} +0 -0
  53. /package/dist/{LambdaLogGroup.js → src/LambdaLogGroup.js} +0 -0
  54. /package/dist/{LambdaSource.d.ts → src/LambdaSource.d.ts} +0 -0
  55. /package/dist/{LambdaSource.js → src/LambdaSource.js} +0 -0
  56. /package/dist/{cdk.d.ts → src/cdk.d.ts} +0 -0
  57. /package/dist/{cdk.js → src/cdk.js} +0 -0
  58. /package/dist/{checkSumOfFiles.spec.js → src/checkSumOfFiles.spec.js} +0 -0
  59. /package/dist/{checksumOfFiles.d.ts → src/checksumOfFiles.d.ts} +0 -0
  60. /package/dist/{checksumOfFiles.js → src/checksumOfFiles.js} +0 -0
  61. /package/dist/{commonParent.d.ts → src/commonParent.d.ts} +0 -0
  62. /package/dist/{commonParent.js → src/commonParent.js} +0 -0
  63. /package/dist/{commonParent.spec.js → src/commonParent.spec.js} +0 -0
  64. /package/dist/{findDependencies.d.ts → src/findDependencies.d.ts} +0 -0
  65. /package/dist/{findDependencies.js → src/findDependencies.js} +0 -0
  66. /package/dist/{lambda.d.ts → src/lambda.d.ts} +0 -0
  67. /package/dist/{lambda.js → src/lambda.js} +0 -0
  68. /package/dist/{layer.d.ts → src/layer.d.ts} +0 -0
  69. /package/dist/{layer.js → src/layer.js} +0 -0
  70. /package/dist/{packLambda.js → src/packLambda.js} +0 -0
  71. /package/dist/{packLambdaFromPath.d.ts → src/packLambdaFromPath.d.ts} +0 -0
  72. /package/dist/{packLambdaFromPath.js → src/packLambdaFromPath.js} +0 -0
  73. /package/dist/{packLayer.d.ts → src/packLayer.d.ts} +0 -0
  74. /package/dist/{packLayer.js → src/packLayer.js} +0 -0
  75. /package/dist/{util.d.ts → src/util.d.ts} +0 -0
  76. /package/dist/{util.js → src/util.js} +0 -0
@@ -0,0 +1 @@
1
+ {"dependencies":{"id128":"1.6.6"}}
Binary file
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -10,8 +10,8 @@ export type PackedLambda = {
10
10
  export declare const packLambda: ({ sourceFile, zipFile, debug, progress, }: {
11
11
  sourceFile: string;
12
12
  zipFile: string;
13
- debug?: ((label: string, info: string) => void) | undefined;
14
- progress?: ((label: string, info: string) => void) | undefined;
13
+ debug?: (label: string, info: string) => void;
14
+ progress?: (label: string, info: string) => void;
15
15
  }) => Promise<{
16
16
  handler: string;
17
17
  hash: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifravst/aws-cdk-lambda-helpers",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Helper functions which simplify working with TypeScript lambdas for AWS CDK.",
5
5
  "exports": {
6
6
  ".": {
@@ -51,12 +51,18 @@
51
51
  "author": "Nordic Semiconductor ASA | nordicsemi.no",
52
52
  "license": "BSD-3-Clause",
53
53
  "devDependencies": {
54
- "@bifravst/eslint-config-typescript": "6.0.18",
54
+ "@aws-sdk/client-cloudformation": "3.549.0",
55
+ "@bifravst/eslint-config-typescript": "6.0.19",
55
56
  "@bifravst/prettier-config": "1.0.0",
56
57
  "@commitlint/config-conventional": "19.1.0",
57
- "@types/node": "20.12.4",
58
+ "@nordicsemiconductor/cloudformation-helpers": "^9.0.3",
59
+ "@nordicsemiconductor/from-env": "^3.0.1",
60
+ "@types/aws-lambda": "8.10.137",
61
+ "@types/node": "20.12.5",
58
62
  "@types/yazl": "2.4.5",
63
+ "cdk": "2.136.0",
59
64
  "husky": "9.0.11",
65
+ "id128": "1.6.6",
60
66
  "tsx": "4.7.2"
61
67
  },
62
68
  "lint-staged": {
@@ -107,11 +113,11 @@
107
113
  "dependencies": {
108
114
  "@swc/core": "1.4.12",
109
115
  "glob": "10.3.12",
110
- "typescript": "5.4.3",
116
+ "typescript": "5.4.4",
111
117
  "yazl": "2.5.1"
112
118
  },
113
119
  "peerDependencies": {
114
- "aws-cdk-lib": "2.135.0",
115
- "constructs": "10.3.0"
120
+ "aws-cdk-lib": "^2.135.0",
121
+ "constructs": "^10.3.0"
116
122
  }
117
123
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes