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.4 to 1.6.5

1

lib/polyclay.js

@@ -34,2 +34,3 @@ var

sub.prototype.plural = options.plural;
sub.prototype.__index = options.index;

@@ -36,0 +37,0 @@ var props = Object.keys(options.properties || {});

16

package.json
{
"name": "polyclay",
"version": "1.6.4",
"version": "1.6.5",
"description": "a schema-enforcing model class for node with optional key-value store persistence",

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

"coverage": "node_modules/.bin/mocha --require blanket -R html-cov test/test-*.js > test/coverage.html",
"travis-cov": { "threshold": 80 },
"blanket":
{
"pattern": "//^((?!\/node_modules|test|examples\/).)*$/ig"
}
"travis-cov": { "threshold": 80 }
},
"config":
{
"blanket": { "pattern": "//^((?!\/node_modules|test|examples\/).)*$/ig" }
},
"repository":

@@ -38,5 +38,5 @@ {

{
"lodash": "*",
"lodash": "~2.4.1",
"lucidjs": "~2.7.0",
"p-promise": "*"
"p-promise": "~0.2.5"
},

@@ -43,0 +43,0 @@ "devDependencies":

@@ -37,2 +37,3 @@ // Unit tests for the polyclay model framework.

plural: 'models',
index: [ 'key', 'name' ],
enumerables:

@@ -87,2 +88,7 @@ {

it('sets the `__index` property on the prototype if index is in the options', function()
{
Model.prototype.should.have.property('__index');
});
it('defines getters and setters for typed properties', function()

@@ -89,0 +95,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