espower-loader
Advanced tools
Comparing version 0.3.2 to 0.4.0
{ | ||
"name": "espower-loader", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"main": "lib/espower-loader.js", | ||
@@ -14,3 +14,3 @@ "ignore": [ | ||
"dependencies": { | ||
"espower": "~0.3.1", | ||
"espower": "~0.4.0", | ||
"esprima": "~1.0.4", | ||
@@ -17,0 +17,0 @@ "escodegen": "~1.3.0", |
@@ -63,3 +63,3 @@ /** | ||
jsCode = fs.readFileSync(filepath, 'utf-8'), | ||
jsAst = esprima.parse(jsCode, {tolerant: true, loc: true, range: true}), | ||
jsAst = esprima.parse(jsCode, {tolerant: true, loc: true, range: true, tokens: true}), | ||
espowerOptions = merge(merge(espower.defaultOptions(), options.espowerOptions), { | ||
@@ -66,0 +66,0 @@ path: absPath, |
{ | ||
"name": "espower-loader", | ||
"description": "Power Assert feature instrumentor on the fly", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"keywords": [ | ||
@@ -41,3 +41,3 @@ "test", | ||
"dependencies": { | ||
"espower": "~0.3.1", | ||
"espower": "~0.4.0", | ||
"esprima": "~1.0.4", | ||
@@ -49,4 +49,4 @@ "escodegen": "~1.3.0", | ||
"devDependencies": { | ||
"empower": "~0.3.4", | ||
"power-assert-formatter": "~0.3.3", | ||
"empower": "~0.4.0", | ||
"power-assert-formatter": "~0.4.0", | ||
"mocha": "~1.18.2", | ||
@@ -53,0 +53,0 @@ "grunt-contrib-jshint": "~0.9.2", |
@@ -18,5 +18,8 @@ espower-loader | ||
Please note that `espower-loader` is an alpha version product. Pull-requests, issue reports and patches are always welcomed. See [power-assert](http://github.com/twada/power-assert) project for more documentation. | ||
Please note that `espower-loader` is a beta version product. Pull-requests, issue reports and patches are always welcomed. See [power-assert](http://github.com/twada/power-assert) project for more documentation. | ||
FYI: You may be interested in [intelli-espower-loader](https://github.com/azu/intelli-espower-loader) to go one step further. With [intelli-espower-loader](https://github.com/azu/intelli-espower-loader), you don't need to create loader file (like `enable-power-assert.js`). Just define test directory in `package.json` wow! | ||
EXAMPLE | ||
@@ -23,0 +26,0 @@ --------------------------------------- |
16051
84
+ Addedespower@0.4.1(transitive)
- Removedespower@0.3.1(transitive)
Updatedespower@~0.4.0