You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this is going to be a not so easy task. I tried to create a PR for this but then I discovered why the update of the npm package update-notifier from 5.x to 6.x is considered a breaking change. That package is all ESM now (see https://github.com/yeoman/update-notifier/releases/tag/v6.0.0).
I guess I could take a shot at converting json-server to use the new ESM import / from syntax.
Unfortunately it is that time of the year (you know, where people take a break from their work and go on vacations) and I haven't gotten around to tackle this. And I probably won't, looking and the rate that issues and PRs are handled here.
I have discovered something similar that might replace json-server for my project: Mockoon.
json-server depends on a vulnerable version of got (by way of update-notifier -> latest-version -> package-json -> got).
Updating update-notifier to 6.0.2 would resolve this (but I'm not sure how much else would need to change to allow that upgrade).
The text was updated successfully, but these errors were encountered: