babel-plugin-add-module-exports
Advanced tools
Comparing version 0.3.0-pre to 0.3.0-pre.1
@@ -21,3 +21,3 @@ 'use strict'; | ||
// Not `exports.anything`, skip | ||
if (!path.get(property + '.left').node || !path.get(property + '.left.property').node) { | ||
if (!path.get(property + '.left').node || !path.get(property + '.left.object').node) { | ||
return; | ||
@@ -47,3 +47,3 @@ } | ||
// Not `Object.defineProperty`, skip | ||
if (path.get('callee.name').node) { | ||
if (!path.get('callee.object').node) { | ||
return; | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "babel-plugin-add-module-exports", | ||
"version": "0.3.0-pre", | ||
"version": "0.3.0-pre.1", | ||
"description": "Fix babel/babel#2212", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
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
15567