Comparing version 0.2.1 to 0.2.2
@@ -126,2 +126,8 @@ var util = require("util"); | ||
} | ||
if (properties.parent.throwOnInvalid && (!_validValue || !_validType)){ | ||
console.log("Property: " + self.name); | ||
console.log(_validationMessages.join("\n")); | ||
throw new Error("INVALID"); | ||
} | ||
} | ||
@@ -128,0 +134,0 @@ |
{ | ||
"name": "nature", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Classify the things in your world and how they interact.", | ||
@@ -14,10 +14,10 @@ "main": "lib/nature.js", | ||
"dependencies": { | ||
"underscore": "~1.4.3" | ||
"underscore": "~1.5.2" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.7", | ||
"mocha": "~1.17", | ||
"grunt": "~0.4.1", | ||
"yuidoc2md": "~0.2.2", | ||
"grunt-boil": "~0.4.0" | ||
"grunt-boil": "~0.5.0" | ||
} | ||
} |
@@ -0,5 +1,6 @@ | ||
[![NPM version](https://badge.fury.io/js/nature.png)](http://badge.fury.io/js/nature) | ||
[![Dependency Status](https://david-dm.org/75lb/nature.png)](https://david-dm.org/75lb/nature) | ||
![Analytics](https://ga-beacon.appspot.com/UA-27725889-9/nature/README.md?pixel) | ||
***library under construction*** | ||
[![NPM version](https://badge.fury.io/js/nature.png)](http://badge.fury.io/js/nature) | ||
Nature | ||
@@ -486,7 +487,2 @@ ====== | ||
[![NPM](https://nodei.co/npm-dl/nature.png?months=1)](https://nodei.co/npm/nature/) | ||
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/c5ed60ded97e6bf11b24cf4d3c41fe97 "githalytics.com")](http://githalytics.com/75lb/nature) | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/75lb/nature/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
[![NPM](https://nodei.co/npm-dl/nature.png?months=3)](https://nodei.co/npm/nature/) |
@@ -22,2 +22,3 @@ var assert = require("assert"), | ||
it("scrap constructor to remove need for Thing.call(this)"); | ||
it("should emit 'invalid' when thing changes from valid to invalid"); | ||
@@ -24,0 +25,0 @@ var _thing; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89616
1638
488
+ Addedunderscore@1.5.2(transitive)
- Removedunderscore@1.4.4(transitive)
Updatedunderscore@~1.5.2