@aws-lambda-powertools/validation 2.19.0 → 2.20.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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +19 -3
package/README.md CHANGED
@@ -225,7 +225,7 @@ const validatedData = validate({
225
225
  });
226
226
  ```
227
227
 
228
- For more information on how to use the `validate` function, please refer to the [documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/validation).
228
+ For more information on how to use the `validate` function, please refer to the [documentation](https://docs.powertools.aws.dev/lambda/typescript/latest/features/validation).
229
229
 
230
230
  ## Contribute
231
231
 
@@ -261,6 +261,7 @@ The following companies, among others, use Powertools:
261
261
  - [Guild](https://guild.com)
262
262
  - [Hashnode](https://hashnode.com/)
263
263
  - [LocalStack](https://localstack.cloud/)
264
+ - [Ours Privacy](https://oursprivacy.com/)
264
265
  - [Perfect Post](https://www.perfectpost.fr)
265
266
  - [Sennder](https://sennder.com/)
266
267
  - [tecRacer GmbH & Co. KG](https://www.tecracer.com/)
@@ -269,11 +270,11 @@ The following companies, among others, use Powertools:
269
270
 
270
271
  ### Sharing your work
271
272
 
272
- Share what you did with Powertools for AWS Lambda (TypeScript) 💞💞. Blog post, workshops, presentation, sample apps and others. Check out what the community has already shared about Powertools for AWS Lambda (TypeScript) [here](https://docs.powertools.aws.dev/lambda/typescript/latest/we_made_this).
273
+ Share what you did with Powertools for AWS Lambda (TypeScript) 💞💞. Blog post, workshops, presentation, sample apps and others. Check out what the community has [already shared](https://docs.powertools.aws.dev/lambda/typescript/latest/we_made_this) about Powertools for AWS Lambda (TypeScript).
273
274
 
274
275
  ### Using Lambda Layer
275
276
 
276
- This helps us understand who uses Powertools for AWS Lambda (TypeScript) in a non-intrusive way, and helps us gain future investments for other Powertools for AWS Lambda languages. When [using Layers](https://docs.powertools.aws.dev/lambda/typescript/latest/#lambda-layer), you can add Powertools as a dev dependency to not impact the development process.
277
+ This helps us understand who uses Powertools for AWS Lambda (TypeScript) in a non-intrusive way, and helps us gain future investments for other Powertools for AWS Lambda languages. When [using Layers](https://docs.powertools.aws.dev/lambda/typescript/latest/getting-started/lambda-layers/), you can add Powertools as a dev dependency to not impact the development process.
277
278
 
278
279
  ## License
279
280
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lambda-powertools/validation",
3
- "version": "2.19.0",
3
+ "version": "2.20.0",
4
4
  "description": "An utility to validate events and responses using JSON Schemas",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
@@ -27,8 +27,8 @@
27
27
  "serverless"
28
28
  ],
29
29
  "dependencies": {
30
- "@aws-lambda-powertools/commons": "^2.19.0",
31
- "@aws-lambda-powertools/jmespath": "^2.19.0",
30
+ "@aws-lambda-powertools/commons": "2.20.0",
31
+ "@aws-lambda-powertools/jmespath": "2.20.0",
32
32
  "ajv": "^8.17.1"
33
33
  },
34
34
  "main": "./lib/cjs/index.js",
@@ -78,5 +78,21 @@
78
78
  "default": "./lib/esm/decorator.js"
79
79
  }
80
80
  }
81
+ },
82
+ "typesVersions": {
83
+ "*": {
84
+ "middleware": [
85
+ "lib/cjs/middleware.d.ts",
86
+ "lib/esm/middleware.d.ts"
87
+ ],
88
+ "errors": [
89
+ "lib/cjs/errors.d.ts",
90
+ "lib/esm/errors.d.ts"
91
+ ],
92
+ "decorator": [
93
+ "lib/cjs/decorator.d.ts",
94
+ "lib/esm/decorator.d.ts"
95
+ ]
96
+ }
81
97
  }
82
98
  }