From 3feae398fa5decede0490a59a5719db12576d47d Mon Sep 17 00:00:00 2001 From: Valdis Thomann Date: Mon, 30 Jan 2023 01:15:20 +1100 Subject: [PATCH] Removed defaultProperties from validation schemas --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cf65b39..2386759 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@the-via/reader", - "version": "1.5.5", + "version": "1.5.6", "repository": { "type": "git", "url": "git+ssh://git@github.com/the-via/reader.git" @@ -18,7 +18,7 @@ "test": "vitest", "test:ci": "vitest run", "fix-util": "replace \"import {inspect} from 'util';\" \"const inspect = JSON.stringify;\" ./src/validated-types -r --include=\"*.validator.ts\"", - "validate": "typescript-json-validator src/validated-types/keyboard-definition-v3.ts KeyboardDefinitionV3 --noExtraProps --strictNullChecks && typescript-json-validator src/validated-types/via-definition-v3.ts VIADefinitionV3 --noExtraProps --strictNullChecks && typescript-json-validator src/validated-types/keyboard-definition-v2.ts KeyboardDefinitionV2 --noExtraProps --strictNullChecks && typescript-json-validator src/validated-types/via-definition-v2.ts VIADefinitionV2 --noExtraProps --strictNullChecks" + "validate": "typescript-json-validator src/validated-types/keyboard-definition-v3.ts KeyboardDefinitionV3 --noExtraProps --defaultProps=false --strictNullChecks && typescript-json-validator src/validated-types/via-definition-v3.ts VIADefinitionV3 --noExtraProps --defaultProps=false --strictNullChecks && typescript-json-validator src/validated-types/keyboard-definition-v2.ts KeyboardDefinitionV2 --noExtraProps --defaultProps=false --strictNullChecks && typescript-json-validator src/validated-types/via-definition-v2.ts VIADefinitionV2 --noExtraProps --defaultProps=false --strictNullChecks" }, "dependencies": { "invariant": "^2.2.4"