Skip to content

deconflict referenced globals #1092

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

Merged
merged 2 commits into from
Jan 11, 2018
Merged

deconflict referenced globals #1092

merged 2 commits into from
Jan 11, 2018

Conversation

Rich-Harris
Copy link
Member

fixes #1079. This is an alternative to #1090 — it does basically the same thing, but without the additional AST walk

@codecov-io
Copy link

codecov-io commented Jan 11, 2018

Codecov Report

Merging #1092 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1092      +/-   ##
==========================================
+ Coverage   91.53%   91.54%   +0.01%     
==========================================
  Files         123      123              
  Lines        4477     4483       +6     
  Branches     1443     1445       +2     
==========================================
+ Hits         4098     4104       +6     
  Misses        162      162              
  Partials      217      217
Impacted Files Coverage Δ
src/utils/annotateWithScopes.ts 86% <100%> (+1.21%) ⬆️
src/generators/dom/index.ts 95.5% <100%> (ø) ⬆️
src/generators/Generator.ts 93.87% <100%> (+0.03%) ⬆️

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 9cfa174...4f1bba3. Read the comment docs.

package.json Outdated
@@ -87,5 +87,8 @@
],
"sourceMap": true,
"instrument": true
},
"dependencies": {
"is-reference": "^1.1.0"
Copy link
Member

Choose a reason for hiding this comment

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

Probably want this a dev dependency

Copy link
Member Author

Choose a reason for hiding this comment

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

d'oh! fixed

@Conduitry
Copy link
Member

Nice!

@Rich-Harris Rich-Harris merged commit ba770b6 into master Jan 11, 2018
@Rich-Harris Rich-Harris deleted the gh-1079-alt branch January 11, 2018 14:07
7nik pushed a commit to 7nik/svelte that referenced this pull request Apr 9, 2025
sync svelte docs

Co-authored-by: Rich-Harris <[email protected]>
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.

Functions are available where they shouldn't be
3 participants