classified-magic
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "classified-magic", | ||
"description": "OOP for NodeJS with magic", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"author": { | ||
@@ -25,3 +25,3 @@ "name": "Christian Blanquera", | ||
"dependencies": { | ||
"classified": "0.1.1" , | ||
"classified": "0.1.2" , | ||
"node-proxified": "0.0.2" | ||
@@ -28,0 +28,0 @@ }, |
@@ -138,2 +138,13 @@ var assert = require('assert'); | ||
}); | ||
it('should only be one', function() { | ||
var single = classified({ x: 1 }).singleton(); | ||
var multiple = classified({ x: 1 }); | ||
single().x = 2; | ||
multiple().x = 3; | ||
assert(2, single().x); | ||
assert(1, multiple().x); | ||
}); | ||
}); | ||
@@ -140,0 +151,0 @@ |
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
18677
422
+ Addedclassified@0.1.2(transitive)
- Removedclassified@0.1.1(transitive)
Updatedclassified@0.1.2