Comparing version 7.1.0 to 7.2.0
{ | ||
"name": "moddle", | ||
"version": "7.1.0", | ||
"version": "7.2.0", | ||
"description": "A library for importing meta-model based file formats into JS", | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"test": "mocha --reporter=spec --recursive test", | ||
"test:schema": "ajv -s docs/moddle.json -d 'test/fixtures/**/*.json'", | ||
"test:schema": "ajv -s resources/schema/moddle.json -d 'test/fixtures/**/*.json'", | ||
"build": "rollup -c", | ||
@@ -64,4 +64,4 @@ "prepare": "run-s build" | ||
"dist", | ||
"docs/moddle.json" | ||
"resources/schema/moddle.json" | ||
] | ||
} |
@@ -19,2 +19,3 @@ # moddle | ||
{ | ||
"$schema": "https://unpkg.com/moddle/resources/schema/moddle.json", | ||
"name": "Cars", | ||
@@ -51,10 +52,5 @@ "uri": "http://cars", | ||
### Validate the schema | ||
You may attach the provided [JSON schema](./resources/schema/moddle.json) to get your moddle descriptor validated by code editor. | ||
You can validate your schema with [the provided JSON schema](./docs/moddle.json): | ||
```bash | ||
npx ajv-cli -s docs/moddle.json -d my-schema.json | ||
``` | ||
### Instantiate moddle | ||
@@ -61,0 +57,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
285974
0
141