Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moddle

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moddle - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

resources/schema/moddle.json

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc