Socket
Socket
Sign inDemoInstall

polyclay

Package Overview
Dependencies
3
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.2 to 1.6.3

2

lib/polyclay.js

@@ -110,3 +110,3 @@ var

name: 'boolean',
validatorFunc: _.isBoolean,
validatorFunc: function(item) { return _.isBoolean(item) || (item == null); },
defaultFunc: function() { return false; }

@@ -113,0 +113,0 @@ });

{
"name": "polyclay",
"version": "1.6.2",
"version": "1.6.3",
"description": "a schema-enforcing model class for node with optional key-value store persistence",

@@ -5,0 +5,0 @@ "author": "C J Silverio <ceejceej@gmail.com>",

@@ -168,2 +168,8 @@ // Unit tests for the polyclay model framework.

it('accepts null for boolean properties', function()
{
var obj = new Model();
obj.is_valid = null;
});
it('provides getters & setters for optional properties', function()

@@ -170,0 +176,0 @@ {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc