Socket
Socket
Sign inDemoInstall

babel-plugin-espower

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-espower - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

LICENSE

16

CHANGELOG.md

@@ -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 @@

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc