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

Pass lowerCaseAttributeNames: true to posthtml-parser (fix version bump) #810

Merged

Conversation

ronami
Copy link
Contributor

@ronami ronami commented Feb 14, 2018

Hey 👋

This PR fixes the failing test (here) on CI for Node v8. The test is failing consistently after #799 that I think bumped several versions of 3rd-party dependencies by accident. The specific dependency bump that causes the fail is posthtml-parser (from v0.1.3 to v0.4.0).

The only breaking change was this change that changed the default lowerCaseAttributeNames option that is being passed to htmlparser2. This PR passes this option as true to keep previous behavior while still keeping the new versions (should be good if nothing breaks, some dependencies were with 2016 versions).

Please let me know if anything is missing, thanks!

@ronami ronami changed the title pass lowerCaseAttributeNames: true to posthtml-parser (fix version bump) Pass lowerCaseAttributeNames: true to posthtml-parser (fix version bump) Feb 14, 2018
@codecov-io
Copy link

codecov-io commented Feb 14, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@6deec80). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #810   +/-   ##
=========================================
  Coverage          ?   89.63%           
=========================================
  Files             ?       68           
  Lines             ?     3039           
  Branches          ?        0           
=========================================
  Hits              ?     2724           
  Misses            ?      315           
  Partials          ?        0
Impacted Files Coverage Δ
src/assets/HTMLAsset.js 95.12% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6deec80...d5a2b60. Read the comment docs.

Copy link
Member

@devongovett devongovett left a comment

Choose a reason for hiding this comment

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

Awesome, thank you! 🏆

@devongovett devongovett merged commit 1d2f82d into parcel-bundler:master Feb 14, 2018
@ronami ronami deleted the fix-posthtml-parser-default-opts branch February 14, 2018 22:53
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