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.10 to 1.7.0

3

lib/schema-inspector.js

@@ -197,3 +197,4 @@ /*

'upperString': /^[A-Z ]*$/,
'lowerString': /^[a-z ]*$/
'lowerString': /^[a-z ]*$/,
'v4uuid': /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$/i
};

@@ -200,0 +201,0 @@

{
"name": "schema-inspector",
"description": "Schema-Inspector is a powerful tool to sanitize and validate JS objects.",
"version": "1.6.10",
"version": "1.7.0",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": {

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

* Possible values as a string: `void`, `url`, `date-time`, `date`,
`coolDateTime`, `time`, `color`, `email`, `numeric`, `integer`, `decimal`,
`coolDateTime`, `time`, `color`, `email`, `numeric`, `integer`, `decimal`, `v4uuid`,
`alpha`, `alphaNumeric`, `alphaDash`, `javascript`, `upperString`, `lowerString`.

@@ -296,0 +296,0 @@

@@ -502,2 +502,3 @@ var should = require('should');

{ type: 'string', pattern: 'color' },
{ type: 'string', pattern: 'v4uuid' }
]

@@ -514,3 +515,4 @@ };

'3.1459',
'#123456789ABCDEF0'
'#123456789ABCDEF0',
'0e0fa279-e041-442e-a182-30c9db270894'
];

@@ -533,3 +535,4 @@

'.1459',
'#123456789abcdef0'
'#123456789abcdef0',
'e5a2afe3-a398-4e49-8fe0-99dc8997119e'
];

@@ -552,3 +555,4 @@

'0.1459.',
'#123456789abcdef0q'
'#123456789abcdef0q',
'c8ddb0d154eb-48e9-af48-9e59477c7895'
];

@@ -560,3 +564,3 @@

result.should.have.property('error').with.be.an.instanceof(Array)
.and.be.lengthOf(6);
.and.be.lengthOf(7);
result.error[0].property.should.equal('@[0]');

@@ -568,2 +572,3 @@ result.error[1].property.should.equal('@[1]');

result.error[5].property.should.equal('@[6]');
result.error[6].property.should.equal('@[7]');
});

@@ -579,3 +584,4 @@

'.0.1459',
'12'
'12',
'bc9ffc8e-2d5b'
];

@@ -587,3 +593,3 @@

result.should.have.property('error').with.be.an.instanceof(Array)
.and.be.lengthOf(7);
.and.be.lengthOf(8);
result.error[0].property.should.equal('@[0]');

@@ -595,2 +601,4 @@ result.error[1].property.should.equal('@[1]');

result.error[5].property.should.equal('@[5]');
result.error[6].property.should.equal('@[6]');
result.error[7].property.should.equal('@[7]');
});

@@ -606,3 +614,4 @@

'0,1459',
'123#123'
'123#123',
'@1da1602-#30c-$c33-&dbb-8d88*1796db3'
];

@@ -614,3 +623,3 @@

result.should.have.property('error').with.be.an.instanceof(Array)
.and.be.lengthOf(7);
.and.be.lengthOf(8);
result.error[0].property.should.equal('@[0]');

@@ -622,2 +631,4 @@ result.error[1].property.should.equal('@[1]');

result.error[5].property.should.equal('@[5]');
result.error[6].property.should.equal('@[6]');
result.error[7].property.should.equal('@[7]');
});

@@ -624,0 +635,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