Skip to content
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

Fixes isCore async check #206

Merged
merged 1 commit into from
Jan 6, 2020
Merged

Conversation

arcanis
Copy link
Contributor

@arcanis arcanis commented Jan 6, 2020

There's a slight difference between the sync and async codepaths in that the isCore async check is done in the loadNodeModules callback rather than right before the call.

I'm not sure how to test it though since it has the same behaviour except that packageIterator (from #205) won't be called with core packages.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ljharb ljharb merged commit dcbd4c5 into browserify:master Jan 6, 2020
ljharb pushed a commit that referenced this pull request Jan 6, 2020
ljharb added a commit that referenced this pull request Jan 7, 2020
 - [Fix] `sync`/`async`: Fixes isCore check (#206)
ljharb added a commit that referenced this pull request Jan 7, 2020
v1.14.2

 - [Fix] `sync`/`async`: Fixes isCore check (#206)
ljharb added a commit that referenced this pull request Jan 22, 2020
Changes since v2.0.0-next.0:

 - [Breaking] add ESM wrapper to "exports"; change paths to match
 - [Breaking] add "exports" to `package.json`

Including all changes in v1.14.2 and v1.15.0:

 - [New] `sync`'/`async`: Implement `packageIterator` (#205)
 - [Fix] `sync`/`async`: Fixes isCore check (#206)
 - [Refactor] `sync`: add function name
 - [Refactor] remove useless `exports` assignment
 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants