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

B7 alpha #112

Merged
merged 8 commits into from
Aug 4, 2017
Merged

B7 alpha #112

merged 8 commits into from
Aug 4, 2017

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Mar 24, 2017

I guess also v7.0.0-alpha.3?

@hzoo hzoo requested a review from loganfsmyth March 24, 2017 21:33
test.js Outdated
@@ -108,7 +108,7 @@ it('should list used helpers in file.babel', function (cb) {

it('should not rename ignored files', function (cb) {
var stream = babel({
ignore: /fixture/
ignore: [/fixture/]
Copy link
Member Author

Choose a reason for hiding this comment

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

breaking change in babel-core was requiring ignore to be an array

res.map.file = replaceExtension(res.map.file);
applySourceMap(file, res.map);
}
if (res !== null) {
Copy link
Member Author

Choose a reason for hiding this comment

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

breaking change is that ignored files return null?

Copy link
Member

@xtuc xtuc Mar 25, 2017

Choose a reason for hiding this comment

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

Yes, some user may want to access code of null.

index.js Outdated
@@ -26,7 +25,7 @@ module.exports = function (opts) {
}

try {
var fileOpts = objectAssign({}, opts, {
var fileOpts = Object.assign({}, opts, {
Copy link
Member Author

Choose a reason for hiding this comment

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

dropping node 0.10/0.12 so removing this for native

@hzoo hzoo mentioned this pull request Mar 25, 2017
file.contents = new Buffer(res.code);
file.path = replaceExtension(file.path);
}
if (!res.ignored) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need this if since the null check does this now.

@hzoo hzoo merged commit 21bf286 into master Aug 4, 2017
@demurgos demurgos deleted the b7-alpha branch January 26, 2018 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants