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
feat: add support for private class methods #4034
Conversation
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install dnalborczyk/rollup#private-methods Once a build has completed, you can load it into the REPL by inserting the CircleCI build number of the ci/circleci: node-v12-latest build into the link below (unfortunately, we cannot auto-update this comment for PRs from forks at this time):
|
Codecov Report
@@ Coverage Diff @@
## master #4034 +/- ##
=======================================
Coverage 97.47% 97.47%
=======================================
Files 192 192
Lines 6785 6785
Branches 1994 1994
=======================================
Hits 6614 6614
Misses 84 84
Partials 87 87
Continue to review full report at Codecov.
|
|
I assume you are not using SSH to access Github? That could explain the test issues. Will see if we can change something on our side to improve here. |
sorry, I was referring to the windows ci run: https://github.com/rollup/rollup/runs/2273299082 not any local runs (I'm using a mac). my local git settings wouldn't have any effect on how the ci pulls the dependency repo? 🤔 |
Probably not. Still I wonder why it could not fetch the dependency via SSH, my though is that it was using some settings from your fork, but then again, it is very weird. Others doing that did not have this issue. In any case, I fixed it by changing the dependency to force HTTPS instead of SSH, this should always work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, and glad you could finally remove the comments from the test cases!
Did it have anything to do with the way npm 7 vs npm 6 worked in pulling the dependencies? I see the package-lock changed between the two as well. |
Possible. For now I did not dare updating the lock file. But more importantly, the original lock file contained an ssh references while the new one uses https for the is_references package. |
ah, I see, that was the issue then! yeah, I was using node.js v15+ w/ npm 7+. forgot the fact that they updated the package-lock format (v2). thank you for looking into this @jef ! thank you for reviewing and pulling in the PR @lukastaegert ! |
add support for private methods: https://github.com/tc39/proposal-private-methods
REPL
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description