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

Fix RHL transform to always use dev version, use new RHL API for website #386

Merged
merged 1 commit into from Dec 31, 2018

Conversation

alangpierce
Copy link
Owner

This fixes an issue where sucrase.io wasn't applying the transform right within
Babel because its environment was set to production.

Also switch website RHL usage to the new API that apparently works better.

This fixes an issue where sucrase.io wasn't applying the transform right within
Babel because its environment was set to production.

Also switch website RHL usage to the new API that apparently works better.
@codecov-io
Copy link

Codecov Report

Merging #386 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #386      +/-   ##
=========================================
- Coverage   79.86%   79.8%   -0.06%     
=========================================
  Files          45      45              
  Lines        5159    4937     -222     
  Branches     1147    1147              
=========================================
- Hits         4120    3940     -180     
+ Misses        739     699      -40     
+ Partials      300     298       -2
Impacted Files Coverage Δ
src/util/getNonTypeIdentifiers.ts 75% <0%> (-25%) ⬇️
src/parser/index.ts 77.77% <0%> (-7.94%) ⬇️
src/index.ts 82.85% <0%> (-6.51%) ⬇️
src/computeSourceMap.ts 83.33% <0%> (-5.56%) ⬇️
src/parser/plugins/types.ts 90% <0%> (-4.45%) ⬇️
src/util/getTSImportedNames.ts 81.57% <0%> (-3.79%) ⬇️
src/parser/tokenizer/readWord.ts 82.35% <0%> (-3.02%) ⬇️
src/parser/traverser/util.ts 86.2% <0%> (-2.17%) ⬇️
src/parser/traverser/base.ts 95.45% <0%> (-1.69%) ⬇️
src/parser/traverser/lval.ts 97.01% <0%> (-0.55%) ⬇️
... and 13 more

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 4163973...41d2ca2. Read the comment docs.

@alangpierce alangpierce merged commit d1771f2 into master Dec 31, 2018
@alangpierce alangpierce deleted the fix-rhl-website-output branch December 31, 2018 18:33
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

2 participants