Feature request: Eliminate deprecated dependencies

Open
#2,846 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
bootstrap, javascript

Research direction

Start by tracing the listed packages through CyberChef's dependency tree, separating direct dependencies from those pulled in by grunt, grunt-contrib-watch, grunt-contrib-clean, nightwatch, and bootstrap-colorpicker. Choose one deprecation for a focused pull request, update or remove the responsible dependency, and verify that the corresponding deprecation warning is gone without breaking the project.

Written by the indexing model from the issue text.

Description

feature

This issue is for tracking dependencies raising a deprecation warning.

These packages cause possible maintenance and/or security risks, and should be eliminated from Cyberchef.

Note that in most cases these are sub-dependencies not directly imported by Cyberchef.

PRs to remove these deprecated dependencies would be most welcome. One deprecation fix per PR please (unless a single higher level dependency change results in removal of multiple deprecated packages)

Package Deprecated Version Pulled in by Deprecation message
osenv 0.1.5 grunt 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.
raw-body 1.1.7 grunt-contrib-watch No longer maintained. Please upgrade to a stable version.
rimraf 2.7.1 grunt-contrib-clean Rimraf versions prior to v4 are no longer supported
whatwg-encoding 3.1.1 nightwatch Use @exodus/bytes instead for a more spec-conformant and faster implementation
glob 7.1.7, 7.2.3, 8.1.0 grunt, grunt-contrib-watch, grunt-contrib-clean, nightwatch Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
loglevel-message-prefix 3.0.0 (direct) Use @natlibfi/loglevel-message-prefix instead
es6-polyfills 2.0.0 loglevel-message-prefix Use @natlibfi/es6-polyfills instead
jsrsasign 11.1.5 (direct) This package is no longer maintained.
bootstrap-colorpicker 3.4.0 (direct) Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
popper.js 1.16.1 (direct), bootstrap, bootstrap-colorpicker You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
bootstrap 4.6.2: (direct), bootstrap-colorpicker This version of Bootstrap is no longer supported. Please upgrade to the latest version.
Dominant language
JavaScript
Stars
36.4k
Forks
4.2k
Avg merge
1d 22h
Merged PRs (30d)
14

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gchq/CyberChef

All issues in gchq/CyberChef

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.