Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

freeman-check

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freeman-check - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

9

index.js

@@ -93,3 +93,10 @@ //freeman-check

subject = error.property.replace("instance.", "");
problem = 'needs to be ' + anora(error.schema.type) + ' `' + error.schema.type + '`'
var type = error.schema.type;
if(typeof type !== "string"){
type = JSON.stringify(type);
}
problem = 'needs to be ' + anora(type) + ' `' + type + '`'
break;

@@ -96,0 +103,0 @@ }

4

package.json
{
"name": "freeman-check",
"version": "2.0.1",
"version": "2.1.0",
"description": "Easy type and format checking on JavaScript objects",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"anora": "^1.0.1",
"anora": "^1.1.0",
"bluebird": "^3.4.6",

@@ -23,0 +23,0 @@ "jsonschema": "^1.1.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