Socket
Socket
Sign inDemoInstall

jsonschema

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonschema - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

lib/attribute.js

@@ -24,3 +24,3 @@ 'use strict';

// Ignored attributes, mostly due to that they are handled differently.
if (this.name === "exclusiveMinimum" || this.name === "exclusiveMaximum" || this.name === "default") {
if (this.name === "exclusiveMinimum" || this.name === "exclusiveMaximum" || this.name === "default" || this.name === "description" || this.name === "title") {
return null;

@@ -27,0 +27,0 @@ }

{
"author": "Tom de Grunt <tom@degrunt.nl>",
"name": "jsonschema",
"version": "0.0.5",
"version": "0.0.6",
"dependencies": {

@@ -6,0 +6,0 @@ "mocha": "~1.3.0",

@@ -229,2 +229,13 @@ 'use strict';

});
describe('description', function () {
beforeEach(function () {
this.validator = new Validator();
});
it('should be ignored', function () {
this.validator.validate(1, {'description': 'some text'}).should.be.empty;
});
});
});
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