-
Notifications
You must be signed in to change notification settings - Fork 221
harmonize npm packages #4194
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
harmonize npm packages #4194
Conversation
d9f009f
to
3a7d4ce
Compare
This is soooo awesome! |
yep, it lets us iterate "towards zero" inconsistencies. but watch out, I had to make some changes to the sync code – otherwise TS isn't happy. this needs your second pair of 👀 |
so, this is not ready to merge at all. I was optimistic this evening, but there are a lot of problems in the details. Interestingly, updating "async" to a version above 1 causes troubles in the hub. That's a hint that we have some issues with that library (calling I'll try to sort this out, otherwise I'll go back to an old version. |
Yes, I see that now "Calling a callback more than once is considered an error, and an error will be thrown.". I would very much like to know if there any cases in our code where we are using async and call a callback more than once, since that would surely be very bad. |
ok, I finally realized the problem: mixing of callback vs. async/await. There are several cases where a I think we should thoroughly test this without upgrading |
hmm ... I don't know why, but I can't open any files. Weird... |
Description
this upgrades npm packages to be more uniformly across packages than before. the remaining ones look like that. I plan to deal with them in a later patch.
this depends on PR 4191
Testing Steps
well, mostly minor updates, but all aspects are affected and hence this needs some thorough checks.
In particular, these aspects got upgrades
lru-cache
in project, that's for caching kernel data → test jupytersmc-util/sync/editor/db/doc.ts
to avoid TS errors.Relevant Issues
Checklist:
Front end:
~/.smc/local_hub/local_hub.log
./w
in/src
./start_hub.py
in/src/dev/project