Socket
Socket
Sign inDemoInstall

json-schema

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

4

lib/validate.js

@@ -210,4 +210,4 @@ /**

for(var i in objTypeDef){
if(objTypeDef.hasOwnProperty(i)){
var value = instance[i];
if(objTypeDef.hasOwnProperty(i) && i != '__proto__' && i != 'constructor'){
var value = instance.hasOwnProperty(i) ? instance[i] : undefined;
// skip _not_ specified properties

@@ -214,0 +214,0 @@ if (value === undefined && options.existingOnly) continue;

{
"name": "json-schema",
"version": "0.3.0",
"version": "0.4.0",
"author": "Kris Zyp",

@@ -23,3 +23,3 @@ "description": "JSON Schema validation and specifications",

"devDependencies": { "vows": "*" },
"scripts": { "test": "echo TESTS DISABLED vows --spec test/*.js" }
"scripts": { "test": "vows --spec test/*.js" }
}

@@ -1,3 +0,3 @@

This is a historical repository for the early development of the JSON Schema specification and implementation. This package is considered "finished": it holds the earlier draft specification and a simple, efficient, lightweight implementation of the original core elements of JSON Schema. This repository does not house the latest specifications nor does it implement the latest versions of JSON Schema. This package seeks to maintain the stability (in behavior and size) of this original implementation for the sake of the numerous packages that rely on it. For the latest JSON Schema specifications and implementations, please visit the [JSON Schema site](https://json-schema.org/).
This is a historical repository for the early development of the JSON Schema specification and implementation. This package is considered "finished": it holds the earlier draft specification and a simple, efficient, lightweight implementation of the original core elements of JSON Schema. This repository does not house the latest specifications nor does it implement the latest versions of JSON Schema. This package seeks to maintain the stability (in behavior and size) of this original implementation for the sake of the numerous packages that rely on it. For the latest JSON Schema specifications and implementations, please visit the [JSON Schema site](https://json-schema.org/) (or the [respository](https://github.com/json-schema-org/json-schema-spec)).
Code is licensed under the AFL or BSD 3-Clause license.
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