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
Improvement for JS ecosystem #2270
Conversation
…the package, even if they can't run it
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2270 +/- ##
============================================
+ Coverage 37.63% 37.70% +0.06%
- Complexity 19938 19970 +32
============================================
Files 1110 1111 +1
Lines 169787 169839 +52
Branches 35866 35857 -9
============================================
+ Hits 63905 64043 +138
+ Misses 95752 95664 -88
- Partials 10130 10132 +2
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
Not that I totally understand what is happening but I trust that it works and doesn't break anything "normal" KolMafia users use.
Without usage statistics I would imagine most KoLmafia users execute JS scripts at least once day, which this could affect if it were wrong. |
Small mistake in the github action, I will push to main to fix. |
I would be astonished if this were true. Perhaps you mean "most KoLmafia users who are on Discord" - which I am sure is a minority of all KoLmafia users. |
No I didn't mean that at all. I really just mean garbage-collector which is
frequently mentioned in in-game chat, moreso than any other script I see
referenced by name. But again, my anecdote and I could easily be wrong.
Just a comment in passing really.
…On Tue, 9 Apr 2024 at 17:12, Veracity0 ***@***.***> wrote:
Without usage statistics I would imagine most KoLmafia users execute JS
scripts at least once day, which this could affect if it were wrong.
I would be astonished if this were true.
Perhaps you mean "most KoLmafia users who are on Discord" - which I am
sure is a minority of all KoLmafia users.
—
Reply to this email directly, view it on GitHub
<#2270 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL4LVNFRBGCRYWAT2P5UTY4QHP3AVCNFSM6AAAAABF4RMQ2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBVGU3TSOJQGA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Without usage statistics I expect most KoLmafia users don't execute any scripts at all. |
Currently kolmafia can't be imported outside of a KoLmafia environment because ESM knows that the named exports aren't actually there. I would like to do this so I can share code between the web and a mafia script, knowing that I will not actually execute mafia-specific code. This fixes that