Skip to content

Some npm warnings incl. a "high severity vulnerability" #88

Description

@eleses

With the current git head and node 22 I get these warnings

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated bootstrap-growl@3.1.3: This project has been renamed to bootstrap-notify. Install using bootstrap-notify instead.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 226 packages, and audited 227 packages in 19s

21 packages are looking for funding
  run `npm fund` for details

1 high severity vulnerability

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

axios  <=0.29.0
Severity: high
Axios Cross-Site Request Forgery Vulnerability - https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
fix available via `npm audit fix --force`
Will install axios@1.10.0, which is a breaking change

I suppose HSV doesn't really matter for local deployment, but the memory leak might.

Anyhow, it doesn't seem to work with node 22

node:internal/process/promises:392
      new UnhandledPromiseRejection(reason);
      ^

UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<DOMException>".
    at throwUnhandledRejectionsMode (node:internal/process/promises:392:7)
    at processPromiseRejections (node:internal/process/promises:475:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:106:32) {
  code: 'ERR_UNHANDLED_REJECTION'
}

I can connect to http://localhost:1124/ but I get a brief red flash about failure to connect to the facet server. And sending any commands gives

error starting transport server: Error: connect ECONNREFUSED 127.0.0.1:3211

Etc.

What's the latest version of node this is known to work with? Still 14 like the README says?

Interestingly, I had no trouble running a local copy of wax though, including the facet example, which uses the bundled version.

Image

I guess I need to see what's going on with that socket. I think the Windows firewall blocks non-interactive programs and those can't even display the question about letting them through. I got one for the main http port, but not for the transport. I'll try on linux later.

As far as facet on Windows is concerned, I'm giving up. I turned off the firewall completely, but I get the same UnhandledPromiseRejection and in the browser console:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions