-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
use optional chaining, nullish coalescing and nullish coalescing assignment #1774
Conversation
Ah I accidentally committed the build assets as well, is that a problem or should I remove them? |
Better removing them |
Should we release a new major version now, or do you like to change something else? |
There is that other PR that changes how the namespaces are loaded at #1770 but the existing code are not really working as sometimes the function that is called though the passed object is undefined. I'll see if I can fix it tomorrow or just leave it for the next major release if I don't solve it or don't have time to solve it tomorrow. If I can't solve it by then how would you feel about converting the project to TypeScript so it's easier to debug and track down the issues in the future? |
Ok, will wait for tomorrow, and also check for that hasLoadedNamespace functionality... |
waiting for your "GO" to create a new major release |
Feel free to do so, I have no other breaking changes I want to do. Any potential changes going forward will just be improvements that are non breaking. |
v15.0.0 has just been relesed |
Very nice! |
Uses optional chaining, nullish coalescing and nullish coalescing assignments to reduce property access, truthy check and streamline code.
Checklist
npm run test