-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fixed the high severity vulnerability (https://npmjs.com/advisories/830) #520
Fixed the high severity vulnerability (https://npmjs.com/advisories/830) #520
Conversation
The failing tests may have to do with ecstatic's major version bump, @miherlosev could you check out ecstatic's changelog and see if we need to make any big changes? |
You guys may want to find a new module, I don't plan on maintaining ecstatic going forward I'm working on a proper announcement, but a little behind on the curve. |
@jfhbrook thanks for the heads up! We'll still get up to the latest ecstatic for now, but I might start looking around then. Are you thinking of looking for maintainers, or more like stepping away entirely? |
I've been investigating a little, and it looks like this upgrade entirely breaks http-server, it won't serve anything, except for displaying the root directory listing. This may have something to do with mime types and/or charsets, but that's as far as I've gotten. |
mimetype and charset handling got rewritten jfhbrook/node-ecstatic#240 |
@jfhbrook Did you remove older versions of
@thornjad I believe this completely breaks edit I will move my discussion to the appropriate thread |
@jonkoops the issue with this PR is that for some reason it causes http-server to simply not serve anything, but without throwing errors. I haven't had enough time to look at it, but so far I can't find the problem. ecstatic's changelog is a good starting point, probably. It includes an upgrade to v2 of node-mime which may be an issue. |
@BigBlueHat are you available? You may have a better perspective on this than me |
@miherlosev because this is causing weird breaking changes, and because of #521, I'm going to close this PR and move your commit into a new branch to make it easier for others to help track down the breaking changes. |
Catching up, and will help how I'm able. |
@BigBlueHat the immediate fire should be put out by jfhbrook/node-ecstatic#256, so this may at least be less important |
@thornjad the mime module changes specifically (though not exclusively) were part of the hold-up earlier with moving to newer versions of ecstatic. There were several major point releases across several modules and many of them shifted core APIs or deprecated/removed APIs this code depends on. Modern software development tail chasing, I guess... |
Fixes #518, fixes #461, fixes #512, fixes #480