Socket
Socket
Sign inDemoInstall

json-schema-migrate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-migrate - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

3

dist/index.js

@@ -83,5 +83,2 @@ "use strict";

}
case "definitions":
dataSchema[version === "draft7" ? "definitions" : "$defs"] = dsCopy.definitions;
break;
case "constant":

@@ -88,0 +85,0 @@ dataSchema.const = dsCopy.constant;

2

package.json
{
"name": "json-schema-migrate",
"version": "1.0.0",
"version": "1.1.0",
"description": "Migrate JSON-Schema to draft-06",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

{
"$id": "my-schema",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$defs": {
"definitions": {
"str": {

@@ -6,0 +6,0 @@ "$anchor": "str",

@@ -90,5 +90,2 @@ import Ajv, {SchemaObject, AnySchemaObject, AnySchema} from "ajv/dist/2019"

}
case "definitions":
dataSchema[version === "draft7" ? "definitions" : "$defs"] = dsCopy.definitions
break
case "constant":

@@ -95,0 +92,0 @@ dataSchema.const = dsCopy.constant

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