Skip to content

Update the NPM dependencies #272

@ahukkanen

Description

@ahukkanen

When you run a clean npm install at the server app or the JS packages contained in this repo, we get the following deprecation messages:

npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

To replicate this, do the following:

  • Go to the server app cd bulletin_board/server
  • Remove the node_modules folder if it already exists rm -rf node_modules
  • Install the NPM packages npm i

Also, we get NPM audit issues that should be fixed:

25 vulnerabilities (7 moderate, 16 high, 2 critical)

These should be fixed as well.

So, let's update the NPM dependencies in all packages that contain NPM dependencies:

  • bulletin_board/server
  • bulletin_board/js-client
  • voting_schemes/dummy/js-adapter
  • voting_schemes/electionguard/js-adapter
  • verifier
  • voting_schemes/electionguard/verifier

Related to:
#220, #221, #222, #223, #224, #236, #237, #244, #245, #254, #255, #257, #267, #268, #269, #270

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions