@eik/common
Advanced tools
Comparing version 4.0.7 to 4.0.8
@@ -0,1 +1,9 @@ | ||
## [4.0.8](https://github.com/eik-lib/common/compare/v4.0.7...v4.0.8) (2024-08-12) | ||
### Bug Fixes | ||
* allow specifying $schema ([bfc6b0f](https://github.com/eik-lib/common/commit/bfc6b0f5c878f14a7e3d78c4555779247e96a766)) | ||
* use the correct upstream schema link for ajv ([90ca025](https://github.com/eik-lib/common/commit/90ca025d67a9b8f2cf900ead23f1cfb1cddb0c2a)), closes [/ajv.js.org/guide/schema-language.html#draft-07-and-draft-06](https://github.com//ajv.js.org/guide/schema-language.html/issues/draft-07-and-draft-06) | ||
## [4.0.7](https://github.com/eik-lib/common/compare/v4.0.6...v4.0.7) (2024-08-09) | ||
@@ -2,0 +10,0 @@ |
@@ -9,2 +9,3 @@ /* eslint-disable */ | ||
export interface EikjsonSchema { | ||
$schema?: string; | ||
/** | ||
@@ -11,0 +12,0 @@ * The URL address of the Eik server where packages are published to. |
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"$schema": { | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"server": { | ||
@@ -7,0 +11,0 @@ "description": "The URL address of the Eik server where packages are published to.", |
@@ -22,6 +22,3 @@ import { readFileSync } from 'node:fs'; | ||
formats(ajv); // Needed to support "uri" | ||
const validate = ajv.compile({ | ||
$schema: 'http://json-schema.org/schema#', | ||
...schema, | ||
}); | ||
const validate = ajv.compile(schema); | ||
@@ -28,0 +25,0 @@ // @ts-ignore |
{ | ||
"name": "@eik/common", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Common utilities for Eik modules", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"clean": "rimraf node_modules", | ||
"clean": "rimraf .tap node_modules types", | ||
"lint": "eslint .", | ||
@@ -19,0 +19,0 @@ "lint:fix": "eslint --fix .", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71217
1506