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

schema-magic

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-magic - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

4

lib/index.js

@@ -169,5 +169,5 @@ const $json=require('json-magic');

if ($check.array(curSchema)){
replacement=curSchema.filter(c=>c!=="string").concat(["string"]);
replacement=_.uniq(curSchema.concat(["string"]));
}else{
replacement=[curSchema,"string"];
replacement=_.uniq([curSchema,"string"]);
}

@@ -174,0 +174,0 @@ }

{
"name": "schema-magic",
"version": "0.0.11",
"version": "0.0.12",
"description": "JSON Schema Utilities",

@@ -5,0 +5,0 @@ "author": {

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