@takeshape/schema 10.49.10 → 10.49.13

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/dist/validate.js CHANGED
@@ -970,7 +970,8 @@ function ensureValidLatestSchemaSyntax(obj) {
970
970
  */
971
971
  function createRoleInputValidator() {
972
972
  const validator = (0, _jsonSchema.createAjv)({
973
- useDefaults: true
973
+ useDefaults: true,
974
+ removeAdditional: 'all'
974
975
  });
975
976
  const {
976
977
  RoleInput,
package/es/validate.js CHANGED
@@ -955,7 +955,8 @@ export function ensureValidLatestSchemaSyntax(obj) {
955
955
  */
956
956
  function createRoleInputValidator() {
957
957
  const validator = createAjv({
958
- useDefaults: true
958
+ useDefaults: true,
959
+ removeAdditional: 'all'
959
960
  });
960
961
  const {
961
962
  RoleInput,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/schema",
3
- "version": "10.49.10",
3
+ "version": "10.49.13",
4
4
  "description": "TakeShape Schema",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -28,9 +28,9 @@
28
28
  "p-reduce": "^2.1.0",
29
29
  "semver": "^7.3.2",
30
30
  "tiny-invariant": "^1.2.0",
31
- "@takeshape/errors": "10.49.10",
32
- "@takeshape/json-schema": "10.49.10",
33
- "@takeshape/util": "10.49.10"
31
+ "@takeshape/json-schema": "10.49.13",
32
+ "@takeshape/util": "10.49.13",
33
+ "@takeshape/errors": "10.49.13"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@takeshape/json-schema-to-typescript": "^11.0.0",
@@ -46,7 +46,7 @@
46
46
  "meow": "^9.0.0",
47
47
  "p-map": "^5.0.0",
48
48
  "shortid": "^2.2.15",
49
- "@takeshape/infra": "10.49.10"
49
+ "@takeshape/infra": "10.49.13"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=18"