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

@hyperjump/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperjump/json-schema - npm Package Compare versions

Comparing version 0.22.0 to 0.23.0

4

package.json
{
"name": "@hyperjump/json-schema",
"version": "0.22.0",
"version": "0.23.0",
"description": "A JSON Schema Validator",

@@ -56,5 +56,5 @@ "main": "lib/index.js",

"dependencies": {
"@hyperjump/json-schema-core": "^0.27.0",
"@hyperjump/json-schema-core": "^0.28.0",
"fastest-stable-stringify": "^2.0.2"
}
}

@@ -104,7 +104,11 @@ # Hyperjump - JSON Schema Validator

* parse: (response: Response) => string -- Given a fetch Response object,
parse the body of the request
* matcher: (path) => boolean -- Given a filesystem path, return whether or
not the file should be considered a member of this media type
* parse: (response: Response, mediaTypeParameters: object) => [SchemaObject, string]
Given a fetch Response object, parse the body of the request. Return the
parsed schema and an optional default dialectId.
* matcher: (path) => boolean
Given a filesystem path, return whether or not the file should be
considered a member of this media type.
```javascript

@@ -117,3 +121,3 @@ const JsonSchema = require("@hyperjump/json-schema");

JsonSchema.addMediaTypePlugin("application/schema+yaml", {
parse: async (response) => YAML.parse(await response.text()),
parse: async (response) => [YAML.parse(await response.text()), undefined],
matcher: (path) => path.endsWith(".schema.yaml")

@@ -120,0 +124,0 @@ });

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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