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

js-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-json-schema - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

includes/bottomup.js

@@ -89,3 +89,3 @@ var fs = require('fs'), helper = require('./commons');

*
* A setup such as above will create Address schema and along with it UserBase, StaffUser and Member
* A setup such as above will create Address schema and along with it User, StaffUser and Member
* using all of specification from the generated Sub type schemas.

@@ -92,0 +92,0 @@ */

@@ -73,2 +73,6 @@ if (String.prototype.capitalize === undefined) {

}
if (type.toLowerCase() === "datetime") {
schema.properties[name].type = "string";
schema.properties[name].format = "date-time";
}
if (!isDefaultType(schema.properties[name].type.toLowerCase())) {

@@ -75,0 +79,0 @@ var refType = refFinder(type, category);

{
"name": "js-json-schema",
"version": "0.0.4",
"version": "0.0.5",
"description": "create json schema from javascript configuration",

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

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