-
Notifications
You must be signed in to change notification settings - Fork 11
Modernize (decaffeinate + rollup) #21
base: master
Are you sure you want to change the base?
Conversation
1bf9419 to
c4d9999
Compare
|
@lkashef I updated underscore-plus to be faster. 😉 |
951ff97 to
ce2d6ef
Compare
|
Hi @aminya, I think the main purpose here is decaffeination, so I am wondering if the performance enhancement could work on their own for ease of review and also following this template that is more relevant to performance enhancement PRs |
|
Hi @lkashef! Yes, I did not change any source code here. The performance improvement is a side effect of decaffeination! To be able to use Commit-messages show this as well. Each commit-message is like: I have kept my performance improvement ideas for separate pull requests. Let me know if you have questions, I can explain about each commit if it is needed. |
Hi @Aerijo! This pull request is already done. I added optional chaining support to decaffeinate myself in this pull request 😄 I used the same thing.
Rollup allows using |
|
I'm not sure I follow; are you saying the current CoffeeScript code cannot be translated into correct JS code? Or just that you want to use a specific import syntax, etc., which is not supported yet without transpiling? If the latter, my point above is that this can be split into multiple steps: decaffeinate, and then introduce Rollup, etc. Decaffeinating in and of itself is a straightforward change, but if you tie it with the other changes then it can't be accepted unless the new dependencies are also accepted. |
No. I said this is already translated.
I want to use |
Only because you've bundled a performance enhancement in this PR though, right? When compared to the library's current state there should be no significant impact. Adding a PR to enhance performance is great, I don't have an opinion one way or another on it (though I'm not responsible for reviewing and merging one). But like what @lkashef mentioned, decaffeinating is already a big (if straightforward) change in and of itself, so would benefit from having it's own PR. And to be clear, when I say decaf, I mean into "plain" JS, without introducing Rollup or Babel. You can always make a followup PR to introduce the |
|
The decaffeinate subset of this pull request is created here: #22 |
Description of the Change
This pull requests updates underscore-plus without changing the API:
Verification Process
Tests are untouched to show backward compatibility! As you see all of them pass.
Applicable Issues
Release Notes