classified-magic
Advanced tools
Comparing version 0.1.1 to 0.1.2
12
magic.js
var classified = require('classified'), | ||
separator = require('path').sep; | ||
separator = require('path').sep, | ||
proxy = Proxy; | ||
/*jshint -W079 */ | ||
if(typeof Proxy === 'undefined') { | ||
var Proxy = require('node-proxy'); | ||
var Proxy = require('node-proxified'); | ||
} | ||
@@ -144,3 +146,3 @@ | ||
return stack; | ||
} | ||
}; | ||
@@ -240,3 +242,3 @@ // Create a new `Error`, which automatically gets `stack` | ||
return Proxy.create(magic, instance); | ||
return Proxy(magic, instance); | ||
}; | ||
@@ -243,0 +245,0 @@ |
{ | ||
"name": "classified-magic", | ||
"description": "OOP for NodeJS with magic", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": { | ||
@@ -21,7 +21,8 @@ "name": "Christian Blanquera", | ||
"devDependencies": { | ||
"mocha": "1.21.4" | ||
"mocha": "1.21.4", | ||
"mocha-jshint": "0.0.9" | ||
}, | ||
"dependencies": { | ||
"classified": "0.1.1" , | ||
"node-proxy": "0.8.0" | ||
"node-proxified": "0.0.2" | ||
}, | ||
@@ -34,4 +35,4 @@ "main": "./magic.js", | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha --harmony" | ||
} | ||
} |
@@ -5,2 +5,6 @@ #Classified Magic | ||
[![Build Status](https://api.travis-ci.org/cblanquera/classified-magic.png)](https://travis-ci.org/cblanquera/classified-magic/) | ||
[![NPM](https://badge.fury.io/js/classified-magic.svg)](https://www.npmjs.org/package/classified-magic) | ||
### Installation | ||
@@ -7,0 +11,0 @@ |
Sorry, the diff of this file is not supported yet
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
18436
11
414
167
2
+ Addednode-proxified@0.0.2
+ Addednode-proxified@0.0.2(transitive)
- Removednode-proxy@0.8.0
- Removedbindings@1.1.1(transitive)
- Removednan@0.8.0(transitive)
- Removednode-proxy@0.8.0(transitive)