@middy/validator 6.3.2 → 6.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/package.json +10 -5
- package/transpile.d.ts +1 -2
- package/transpile.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middy/validator",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"description": "Validator middleware for the middy framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -32,7 +32,12 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"types": "index.d.ts",
|
|
35
|
-
"files": [
|
|
35
|
+
"files": [
|
|
36
|
+
"index.js",
|
|
37
|
+
"index.d.ts",
|
|
38
|
+
"transpile.js",
|
|
39
|
+
"transpile.d.ts"
|
|
40
|
+
],
|
|
36
41
|
"scripts": {
|
|
37
42
|
"test": "npm run test:unit && npm run test:fuzz",
|
|
38
43
|
"test:unit": "node --test",
|
|
@@ -69,7 +74,7 @@
|
|
|
69
74
|
"url": "https://github.com/sponsors/willfarrell"
|
|
70
75
|
},
|
|
71
76
|
"dependencies": {
|
|
72
|
-
"@middy/util": "6.
|
|
77
|
+
"@middy/util": "6.4.1",
|
|
73
78
|
"ajv": "8.17.1",
|
|
74
79
|
"ajv-errors": "3.0.0",
|
|
75
80
|
"ajv-formats": "3.0.1",
|
|
@@ -78,10 +83,10 @@
|
|
|
78
83
|
"ajv-keywords": "5.1.0"
|
|
79
84
|
},
|
|
80
85
|
"devDependencies": {
|
|
81
|
-
"@middy/core": "6.
|
|
86
|
+
"@middy/core": "6.4.1",
|
|
82
87
|
"@types/http-errors": "^2.0.0",
|
|
83
88
|
"ajv-bsontype": "^1.0.7",
|
|
84
|
-
"ajv-cmd": "^0.
|
|
89
|
+
"ajv-cmd": "^0.8.0"
|
|
85
90
|
},
|
|
86
91
|
"gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"
|
|
87
92
|
}
|
package/transpile.d.ts
CHANGED
package/transpile.js
CHANGED
|
@@ -20,13 +20,12 @@ export const transpileSchema = (schema, ajvOptions) => {
|
|
|
20
20
|
export const transpileLocale = transpileFTL
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
+
import Ajv from "ajv/dist/2020.js";
|
|
23
24
|
import ajvErrors from "ajv-errors";
|
|
24
25
|
import ajvFormats from "ajv-formats";
|
|
25
26
|
import ajvFormatsDraft2019 from "ajv-formats-draft2019";
|
|
26
|
-
import ajvKeywords from "ajv-keywords";
|
|
27
|
-
import Ajv from "ajv/dist/2020.js";
|
|
28
|
-
|
|
29
27
|
import { transpile } from "ajv-ftl-i18n";
|
|
28
|
+
import ajvKeywords from "ajv-keywords";
|
|
30
29
|
|
|
31
30
|
// import transpileFTL from 'ajv-cmd/ftl'
|
|
32
31
|
export const transpileFTL = transpile;
|