Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

export defaultGetLocalIdent #1423

Merged
merged 1 commit into from
Mar 4, 2022
Merged

Conversation

SkReD
Copy link
Contributor

@SkReD SkReD commented Feb 21, 2022

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

#1422

Breaking Changes

Additional Info

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 21, 2022

CLA Signed

The committers are authorized under a signed CLA.

src/utils.js Outdated
@@ -324,7 +324,7 @@ function escapeLocalIdent(localident) {
);
}

function defaultGetLocalIdent(
export function defaultGetLocalIdent(
Copy link
Member

Choose a reason for hiding this comment

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

We should not export it here, we should reexport it from the entry point, i.e. index.js

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

We should not export it from utils.js, we can rename file or move it to another places, just reexport it from index.js

Copy link
Contributor Author

@SkReD SkReD Mar 4, 2022

Choose a reason for hiding this comment

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

Oh, i see. Will fix it soon

Copy link
Contributor Author

@SkReD SkReD Mar 4, 2022

Choose a reason for hiding this comment

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

ready for review. Sorry for the previous mess

@codecov
Copy link

codecov bot commented Mar 1, 2022

Codecov Report

Merging #1423 (2062917) into master (4dede55) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1423   +/-   ##
=======================================
  Coverage   96.81%   96.81%           
=======================================
  Files          12       12           
  Lines        1130     1131    +1     
  Branches      411      411           
=======================================
+ Hits         1094     1095    +1     
  Misses         27       27           
  Partials        9        9           
Impacted Files Coverage Δ
src/utils.js 94.72% <ø> (ø)
src/cjs.js 100.00% <100.00%> (ø)

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 4dede55...2062917. Read the comment docs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants