polyclay
Advanced tools
Comparing version 1.6.4 to 1.6.5
@@ -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 || {}); |
{ | ||
"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 @@ { |
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
86530
1958
1
+ Addedlodash@2.4.2(transitive)
+ Addedp-promise@0.2.5(transitive)
- Removedlodash@4.17.21(transitive)
- Removedp-promise@0.5.0(transitive)
Updatedlodash@~2.4.1
Updatedp-promise@~0.2.5