-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a test that should fail, but doesn’t. #270
Conversation
@@ -0,0 +1,5 @@ | |||
var assert = require( 'assert' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary assert
import?
We were inadvertantly extempting any references within an export named declaration, but we should only extempt the declared identifiers from being assumed globals.
Okay, I figured out the fix, and yes, I did introduce a bug. 😦 |
Okay, I removed the extraneous requires. |
I think it's more a case of exposing a pre-existing bug! I was taking a look at the same time and came upon an alternative fix, which is to disregard re-exports altogether in the initial analysis – will add a PR in a sec |
Nice, thanks for investigating. |
Disregard re-export statements
Thanks for the test! Released 0.20.5 with the fix |
I think I may have broken something in my previous fix?