@cypress/json-schemas
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -8,2 +8,7 @@ export * from './schemas'; | ||
schemaNames: string[]; | ||
getExample: (schemaName: string) => (version: string) => PlainObject | undefined; | ||
sanitize: (name: string, version: string) => (object: PlainObject) => any; | ||
validate: (schemaName: string, version: string, formats?: { | ||
[key: string]: RegExp; | ||
} | undefined) => (object: object) => true | string[]; | ||
}; |
@@ -16,2 +16,5 @@ "use strict"; | ||
schemaNames: schema_tools_1.schemaNames(schemas_1.schemas), | ||
getExample: schema_tools_1.getExample(schemas_1.schemas), | ||
sanitize: schema_tools_1.sanitize(schemas_1.schemas, formats_1.formatDefaults), | ||
validate: schema_tools_1.validate(schemas_1.schemas), | ||
}; |
{ | ||
"name": "@cypress/json-schemas", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Cypress JSON schemas", | ||
@@ -28,3 +28,3 @@ "main": "dist", | ||
"dependencies": { | ||
"@cypress/schema-tools": "1.0.1", | ||
"@cypress/schema-tools": "1.0.3", | ||
"is-my-json-valid": "2.17.2" | ||
@@ -36,5 +36,5 @@ }, | ||
"ava-ts": "0.24.2", | ||
"deps-ok": "1.3.0", | ||
"deps-ok": "1.4.0", | ||
"husky": "0.15.0-rc.9", | ||
"prettier": "1.11.1", | ||
"prettier": "1.12.1", | ||
"semantic-release": "^15.1.7", | ||
@@ -41,0 +41,0 @@ "stop-build": "1.1.0", |
61209
1804
+ Added@cypress/schema-tools@1.0.3(transitive)
- Removed@cypress/schema-tools@1.0.1(transitive)
Updated@cypress/schema-tools@1.0.3