New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsonpolice

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonpolice - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

4

dist/index.js

@@ -30,5 +30,5 @@ "use strict";

if (!dataOrUri) {
throw new global_1.SchemaError(opts.scope, 'no_data');
return Promise.reject(new global_1.SchemaError(opts.scope, 'no_data'));
}
if (typeof dataOrUri === 'object' && dataOrUri[global_1.__schema] && typeof dataOrUri[global_1.__schema].validate === 'function') {
else if (typeof dataOrUri === 'object' && dataOrUri[global_1.__schema] && typeof dataOrUri[global_1.__schema].validate === 'function') {
return dataOrUri[global_1.__schema];

@@ -35,0 +35,0 @@ }

{
"name": "jsonpolice",
"version": "7.0.1",
"version": "7.0.2",
"description": "JSON Schema parser and validator",

@@ -42,3 +42,3 @@ "main": "dist/index.js",

"devDependencies": {
"@types/lodash": "4.14.74",
"@types/lodash": "4.14.77",
"chai": "4.1.2",

@@ -48,10 +48,10 @@ "chai-as-promised": "7.1.1",

"commitizen": "2.9.6",
"coveralls": "2.13.1",
"coveralls": "3.0.0",
"cz-conventional-changelog": "2.0.0",
"husky": "0.14.3",
"mocha": "3.5.0",
"mocha": "4.0.1",
"nyc": "11.2.1",
"rimraf": "2.6.1",
"semantic-release": "^7.0.2",
"typescript": "2.5.2"
"rimraf": "2.6.2",
"semantic-release": "^8.0.3",
"typescript": "2.5.3"
},

@@ -64,5 +64,5 @@ "config": {

"dependencies": {
"jsonref": "^4.0.1",
"jsonref": "^4.0.2",
"lodash": "^4.17.4"
}
}
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