Socket
Socket
Sign inDemoInstall

classified-magic

Package Overview
Dependencies
2
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

4

package.json
{
"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 @@

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