babel-plugin-espower
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -0,1 +1,9 @@ | ||
### [2.3.2](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.3.2) (2017-01-13) | ||
#### Bug Fixes | ||
* [Value recorder should clean up captured values at the end of assertion expression](https://github.com/power-assert-js/babel-plugin-espower/pull/19) | ||
### [2.3.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.3.1) (2016-06-21) | ||
@@ -67,2 +75,10 @@ | ||
### [1.1.1](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.1.1) (2016-06-22) | ||
#### Bug Fixes | ||
* pin espower dependency to >=1.0.0 <1.3.0 since there was a little breaking change ([f9a7d781](https://github.com/power-assert-js/babel-plugin-espower/commit/f9a7d78167d92ca7f86c0923478f1a7ab6e71f5d)) | ||
## [1.1.0](https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v1.1.0) (2015-11-06) | ||
@@ -69,0 +85,0 @@ |
@@ -7,5 +7,5 @@ /** | ||
* | ||
* Copyright (c) 2015-2016 Takuto Wada | ||
* Copyright (c) 2015-2017 Takuto Wada | ||
* Licensed under the MIT license. | ||
* https://twada.mit-license.org/2015-2016 | ||
* https://github.com/power-assert-js/babel-plugin-espower/blob/master/LICENSE | ||
*/ | ||
@@ -12,0 +12,0 @@ 'use strict'; |
@@ -14,6 +14,8 @@ 'use strict'; | ||
PowerAssertRecorder.prototype._expr = function _expr (value, source) { | ||
var capturedValues = this.captured; | ||
this.captured = []; | ||
return { | ||
powerAssertContext: { | ||
value: value, | ||
events: this.captured | ||
events: capturedValues | ||
}, | ||
@@ -20,0 +22,0 @@ source: source |
{ | ||
"name": "babel-plugin-espower", | ||
"description": "Babel plugin for power-assert", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"author": { | ||
@@ -22,3 +22,3 @@ "name": "Takuto Wada", | ||
"core-js": "^2.0.0", | ||
"espower-location-detector": "^0.1.1", | ||
"espower-location-detector": "^1.0.0", | ||
"espurify": "^1.6.0", | ||
@@ -32,3 +32,3 @@ "estraverse": "^4.1.1" | ||
"babel-preset-stage-2": "^6.1.2", | ||
"mocha": "^2.2.4" | ||
"mocha": "^3.0.0" | ||
}, | ||
@@ -42,2 +42,3 @@ "directories": { | ||
"CHANGELOG.md", | ||
"LICENSE", | ||
"index.js", | ||
@@ -44,0 +45,0 @@ "create.js", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
45939
14
634
0
450
+ Addedespower-location-detector@1.0.0(transitive)
- Removedespower-location-detector@0.1.2(transitive)