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

schema-inspector

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-inspector - npm Package Compare versions

Comparing version 1.6.8 to 1.6.9

8

lib/schema-inspector.js

@@ -83,3 +83,3 @@ /*

for (var key in custom) {
if (custom.hasOwnProperty(key)){
if (Object.prototype.hasOwnProperty.call(custom, key)) {
this._custom['$' + key] = custom[key];

@@ -484,3 +484,3 @@ }

for (var key in candidate) {
if (candidate.hasOwnProperty(key)){
if (Object.prototype.hasOwnProperty.call(candidate, key)) {
this._deeperArray(key);

@@ -1016,3 +1016,3 @@ this._validate(items, candidate[key]);

for (i in post) {
if(post.hasOwnProperty(i)){
if (Object.prototype.hasOwnProperty.call(post, i)) {
this._deeperArray(i);

@@ -1436,3 +1436,3 @@ post[i] = this._sanitize(schema.items, post[i]);

for (var key in prop) {
if (prop.hasOwnProperty(key)){
if (Object.prototype.hasOwnProperty.call(prop, key)) {
if (prop[key].optional === true && _rand.bool() === true) {

@@ -1439,0 +1439,0 @@ continue;

{
"name": "schema-inspector",
"description": "Schema-Inspector is a powerful tool to sanitize and validate JS objects.",
"version": "1.6.8",
"version": "1.6.9",
"main": "index.js",
"author": {
"name": "Sebastien Chopin",
"url" : "https://twitter.com/atinux"
"url": "https://twitter.com/atinux"
},
"maintainers": ["atinux"],
"keywords": ["validation", "sanitization", "inspector", "validator", "json", "validate", "sanitize"],
"maintainers": [
"atinux"
],
"keywords": [
"validation",
"sanitization",
"inspector",
"validator",
"json",
"validate",
"sanitize"
],
"licenses": [

@@ -27,7 +37,7 @@ {

"dependencies": {
"async": "^1.5.0"
"async": "^3.1.0"
},
"devDependencies": {
"mocha": "^2.3.3",
"should": "^7.1.1"
"mocha": "^7.0.0",
"should": "^13.2.3"
},

@@ -34,0 +44,0 @@ "scripts": {

@@ -10,2 +10,6 @@ [![schema-inspector logo](https://raw.githubusercontent.com/Atinux/schema-inspector/master/misc/schema-inspector.png)](http://atinux.github.io/schema-inspector/)

<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/htiWA79uE8uubJymVd58XjBi/Atinux/schema-inspector'>
<img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/htiWA79uE8uubJymVd58XjBi/Atinux/schema-inspector.svg' />
</a>
## Installation

@@ -12,0 +16,0 @@

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