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 5.2.1 to 5.2.2

2

dist/index.js

@@ -23,3 +23,3 @@ "use strict";

}
if (typeof dataOrUri === 'object' && dataOrUri[global_1.__schema] instanceof schema_1.Schema) {
if (typeof dataOrUri === 'object' && dataOrUri[global_1.__schema] && typeof dataOrUri[global_1.__schema].validate === 'function') {
return Promise.resolve(dataOrUri[global_1.__schema]);

@@ -26,0 +26,0 @@ }

{
"name": "jsonpolice",
"version": "5.2.1",
"version": "5.2.2",
"description": "JSON Schema parser and validator",

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

Sorry, the diff of this file is not supported yet

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