Navigation Menu

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 #5108, browser.js and browser.js test removed #5124

Merged
merged 8 commits into from Jan 20, 2017
Merged

Fixes #5108, browser.js and browser.js test removed #5124

merged 8 commits into from Jan 20, 2017

Conversation

heyjordn
Copy link
Contributor

@heyjordn heyjordn commented Jan 15, 2017

Q A
Patch: Bug Fix? no
Major: Breaking Change? no
Minor: New Feature? no
Deprecations? yes
Spec Compliancy? yes
Tests Added/Pass? yes
Fixed Tickets Fixes #5108
License MIT
Doc PR no
Dependency Changes no

The files https://github.com/babel/babel/blob/master/packages/babel-core/src/api/browser.js and https://github.com/babel/babel/blob/master/packages/babel-core/test/_browser.js were not being used, thus this PR removes them.

@mention-bot
Copy link

@pr0x1m4, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hzoo and @josh to be potential reviewers.

@hzoo hzoo added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Jan 15, 2017
@hzoo hzoo added this to the Babel 7 milestone Jan 15, 2017
Copy link
Member

@hzoo hzoo left a comment

Choose a reason for hiding this comment

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

Yep lgtm, nice stuff 😄

@hzoo
Copy link
Member

hzoo commented Jan 15, 2017

also cc @Daniel15

@codecov-io
Copy link

codecov-io commented Jan 15, 2017

Current coverage is 89.62% (diff: 100%)

No coverage report found for master at fabfc46.

Powered by Codecov. Last update fabfc46...23df61d

@@ -1,112 +0,0 @@
/* eslint max-len: 0 */
Copy link
Member

Choose a reason for hiding this comment

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

There is also a reference to this file in package.json that we should delete now.

It'd also be great to move api/node.js to be index.js now that we don't have the split entry point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've checked package.json but I haven't seen any mention of browser.js. Am I missing something or possibly looking in the wrong package.json ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also could you elaborate on moving api/node.js to index.js? I tried a refactor/rename in associated files and unit tests but it lead to breaking build.

Copy link
Member

Choose a reason for hiding this comment

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

Oh! I was totally wrong about the package.json point I made, sorry. I guess the code I was thinking of got removed a while ago.

Yeah, my proposal was to move api/node.js to index.js since that is one of the few places that loads it. I'd expect you to have to update a couple other references to load the index instead, but that seems fine?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem and thanks for explaining 😄

export { default as resolvePreset } from "./helpers/resolve-preset";
export { version } from "../package";

import * as util from "util";
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this is missing the ./

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh, thanks for poiting this out, fixed.

Copy link
Member

Choose a reason for hiding this comment

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

Also, not sure the "move" took hold, as it looks like api/node.js still exists?

Doesn't look like we need the api folder anymore either.

@hzoo hzoo changed the base branch from master to 7.0 January 20, 2017 03:42
@hzoo hzoo merged commit 1742035 into babel:7.0 Jan 20, 2017
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants