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 0.2.0 to 0.2.1

8

CHANGELOG.md

@@ -0,6 +1,10 @@

### [0.2.1](https://github.com/twada/babel-plugin-espower/releases/tag/v0.2.1) (2015-04-21)
* down peerDependencies to minimum version to make dedupe friendly ([093ce106](https://github.com/twada/babel-plugin-espower/commit/093ce1068a11ac1550830c5e541f93a3271623af))
## [0.2.0](https://github.com/twada/babel-plugin-espower/releases/tag/v0.2.0) (2015-04-19)
#### Features
* export create.js to customize assertion patterns ([092c3464](https://github.com/twada/babel-plugin-espower/commit/092c3464ae37ab27a91cd01e3dd8fa2062a08dfe))

@@ -7,0 +11,0 @@ * docs about customizing assertion patterns via Babel API ([f72a9b1](https://github.com/twada/babel-plugin-espower/commit/f72a9b19b68d3d12287ba8b33878c7ff63049175))

@@ -20,3 +20,3 @@ 'use strict';

}
if (!assertionVisitor.isCapturingArgument()) {
if (!assertionVisitor.isCapturingArgument() && !isCalleeOfParentCallExpression(parentNode, currentKey)) {
// entering argument

@@ -75,2 +75,6 @@ treePath = esTreePath(traversalPath);

function isCalleeOfParentCallExpression(parentNode, currentKey) {
return parentNode.type === 'CallExpression' && currentKey === 'callee';
}
module.exports = function createEspowerVisitor (options) {

@@ -77,0 +81,0 @@ var opts = extend(espower.defaultOptions(), options);

{
"name": "babel-plugin-espower",
"description": "Babel plugin for power-assert",
"version": "0.2.0",
"version": "0.2.1",
"author": {

@@ -17,3 +17,3 @@ "name": "Takuto Wada",

"devDependencies": {
"babel-core": "^5.1.10",
"babel-core": "^5.0.0",
"espurify": "^1.2.0",

@@ -51,3 +51,3 @@ "mocha": "^2.2.4"

"peerDependencies": {
"babel-core": "^5.1.10"
"babel-core": "^5.0.0"
},

@@ -54,0 +54,0 @@ "repository": {

@@ -233,2 +233,15 @@ babel-plugin-espower

TROUBLE SHOOTING
---------------------------------------
#### causes TypeError, what's happend?
Sometimes you'll see TypeError such as...
`TypeError: Transformer babel-plugin-espower is resolving to a different Babel version to what is doing the actual transformation...`
This error is caused by [Babel plugin system that requires babel-core at the top level](https://github.com/twada/babel-plugin-espower/issues/1#issuecomment-94231938). To solve this problem, run `npm dedupe`. If dedupe does not solve the problem, it's time to clean-install by `rm -rf node_modules && npm install`. Sorry for the inconvenience.
CHANGELOG

@@ -235,0 +248,0 @@ ---------------------------------------

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