-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade winston from 3.2.1 to 3.18.3 #694
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
base: master
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade winston from 3.2.1 to 3.18.3. See this package in npm: winston See this project in Snyk: https://app.snyk.io/org/newtonombese1/project/8f689d39-2645-4f78-b334-6e709b5f5f52?utm_source=github&utm_medium=referral&page=upgrade-pr
Summary of ChangesHello @nejidevelops, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the project's security posture by updating the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request upgrades the winston dependency from version 3.2.1 to 3.18.3. This upgrade addresses multiple high and medium severity vulnerabilities, including prototype pollution, code injection, and regular expression denial of service (ReDoS).
| "source-map-support": "^0.5.11", | ||
| "uuid": "^3.3.2", | ||
| "winston": "^3.2.1" | ||
| "winston": "^3.18.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading winston resolves several high and medium severity vulnerabilities as outlined in the PR description. This is a critical update for application security. Ensure thorough testing after the upgrade.
List of vulnerabilities addressed:
- Prototype Pollution
- Code Injection
- Regular Expression Denial of Service (ReDoS)
| "winston": "^3.18.3" | |
| "winston": "^3.18.3" # Use ^ to allow minor updates and patch releases |
Snyk has created this PR to upgrade winston from 3.2.1 to 3.18.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 31 versions ahead of your current version.
The recommended version was released 21 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AJV-584908
SNYK-JS-ASYNC-2441827
SNYK-JS-AWSSDK-1059424
SNYK-JS-LODASH-1040724
SNYK-JS-LODASH-450202
SNYK-JS-LODASH-567746
SNYK-JS-LODASH-608086
SNYK-JS-LODASH-6139239
SNYK-JS-QS-3153490
SNYK-JS-SEMVER-3247795
SNYK-JS-COLORSTRING-1082939
SNYK-JS-LODASH-1018905
SNYK-JS-XML2JS-5414874
Release notes
Package name: winston
-
3.18.3 - 2025-09-30
- Update diagnostics dependency (removes fix-esm transitive dependency) a15a9e9
-
3.18.2 - 2025-09-30
- Bump diagnostics package to resolve #2583 (again) f4582c3
-
3.18.1 - 2025-09-30
- Bump diagnostics package to resolve #2583 e668c2c
-
3.18.0 - 2025-09-30
- Update diagnostics package to latest version to remove vulnerability 376e331
- add @ initd.sg/winston-cloudwatch (#2532) 71ee92a
- Update transports.md (#2549) 3547a95
- docs: update transport.md (#2550) dc88db0
- feat: adds helper function for highest log level (#2514) c69cdb0
-
3.17.0 - 2024-11-10
- Try winston-transport 4.9.0 3e87128
- Revert "Try bumping winston-transport to 4.8.0" 69625fc
- Revert "Try bumping winston-transport to 4.8.0" 876ef7a
- Try bumping winston-transport to 4.8.0 7ef2c1d
- Try bumping winston-transport to 4.8.0 fe4b64e
- Bump logform c9fd9a4
- Revert "Update logform and winston-transport" 14fef0f
- Merge branch 'master' of github.com:winstonjs/winston 545b683
- Update logform and winston-transport cceb265
- Bump mocha from 10.7.3 to 10.8.2 (#2523) bb529b6
- Bump async from 3.2.5 to 3.2.6 (#2516) ae847ab
-
3.16.0 - 2024-11-01
- Feature - optionally include Error.cause property (#2447) 201b6f1
-
3.15.0 - 2024-10-05
- remove logcallback (#2513) 3a54777
- chore(docs): Update README.md w/ usage comments (#2507) f110f61
- Bump nyc from 15.1.0 to 17.1.0 (#2511) f5dde86
- Bump @ babel/cli from 7.24.7 to 7.25.6 (#2512) d1b8dc6
- Bump @ babel/preset-env from 7.24.8 to 7.25.4 (#2506) 564161a
- Bump mocha from 10.7.0 to 10.7.3 (#2500) eb7e315
- Unified Handler Tests (#2020) 22aab6d
-
3.14.2 - 2024-08-14
- Move initialization to constructor (#2503) 2458ba6
-
3.14.1 - 2024-08-08
- Save a reference to console methods in console transport (#2498) e82752f
- Add
- Bump mocha from 10.6.0 to 10.7.0 (#2489) 62acaad
- Update readme with forceConsole info (#2493) b2b79af
-
3.14.0 - 2024-08-08
- Add option forceConsole (#2276) b2098fd
- Set _rotate false on emit 'rotate' false (#2457) 1719275
- Bump @ babel/core from 7.24.7 to 7.24.9 (#2485) d2859f3
- Bump @ babel/preset-env from 7.24.7 to 7.24.8 (#2487) 71e4bb1
- fix: readme (#2488) 0cb8c7c
-
3.13.1 - 2024-07-10
-
3.13.0 - 2024-03-24
-
3.12.1 - 2024-03-24
-
3.12.0 - 2024-03-04
-
3.11.0 - 2023-10-07
-
3.10.0 - 2023-07-10
-
3.9.0 - 2023-05-26
-
3.8.2 - 2022-09-07
-
3.8.1 - 2022-06-30
-
3.8.0 - 2022-06-23
-
3.7.2 - 2022-04-04
-
3.7.1 - 2022-04-04
-
3.6.0 - 2022-02-12
-
3.5.1 - 2022-01-31
-
3.5.0 - 2022-01-27
-
3.4.0 - 2022-01-10
-
3.3.4 - 2022-01-10
-
3.3.3 - 2020-06-23
-
3.3.2 - 2020-06-22
-
3.3.1 - 2020-06-22
-
3.3.0 - 2020-06-21
-
3.2.1 - 2019-01-29
from winston GitHub release notesv3.18.2...v3.18.3
v3.18.1...v3.18.2
v3.18.0...v3.18.1
v3.17.0...v3.18.0
v3.16.0...v3.17.0
v3.15.0...v3.16.0
Note: we removed LogCallback from the TS definitions because the underlying library didn't actually support these. If this causes issues in your apps, we recommend you remove references to LogCallbacks, since such code was not being executed anyways. See #2513 and the issue linked therein.
v3.14.2...v3.15.0
v3.14.1...v3.14.2
forceConsoletoConsoleTransportOptions(#2496) 4ff0538v3.14.0...v3.14.1
v3.13.1...v3.14.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: