You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This upgrade includes a major, high-risk update to typeorm and a significant update to express-fileupload that requires code changes.
Top 3 Upgrades
typeorm 0.2.25 → 1.0.0 (High Risk)
This is a major version upgrade with significant breaking changes that require substantial refactoring. The library has been modernized, and many deprecated APIs have been removed.
Key Breaking Changes:
Node.js Requirement: Support for Node.js versions below 20 has been dropped. [1, 14]
API Renames and Removal:Connection and ConnectionOptions have been replaced by DataSource and DataSourceOptions. Global functions like createConnection, getConnection, and getRepository have been removed. [1, 7, 14]
Behavioral Changes: Non-nullable relations now use INNER JOIN instead of LEFT JOIN. Passing null or undefined in where conditions now throws an error by default instead of being ignored. [1]
Find Options: The syntax for find options like relations has changed from an array of strings to an object. [7]
Recommendation: Do not merge this upgrade without a dedicated refactoring effort. The TypeORM team provides a codemod tool (npx @typeorm/codemod v1 <path>) to automate many of the required changes. [1] Source: Release Notes
express-fileupload 0.0.5 → 1.1.10 (High Risk)
This upgrade crosses major versions from a very early release and includes API changes and important security fixes.
Key Breaking Changes:
md5 Property Behavior: The md5 property on the uploaded file object has changed. Before 1.0.0, it was a checksum string. Between 1.0.0 and 1.1.1, it was a function. From 1.1.1 onwards, it has been reverted to a checksum string. Code relying on this property from the very old 0.0.5 version should continue to work, but awareness of this change is critical. [8]
Security Fix: Version 1.1.10 patches a Prototype Pollution vulnerability. [10]
Node.js Support: Support for Node.js versions below 6 was dropped in an early version. [5]
Recommendation: Review any code that uses the .md5 property on uploaded files. The security fix makes this upgrade important. Source: NPM Documentation, Snyk Vulnerability DB
snyk-filter 1.3.2 → 1.3.4 (Low Risk)
This is a patch version upgrade. There are no documented breaking changes between these versions. The update likely contains minor bug fixes or non-breaking enhancements. Source: Package documentation
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-BRACEEXPANSION-20244952
SNYK-JS-DECOMPRESS-20254116
SNYK-JS-BRACEEXPANSION-20244950
SNYK-JS-BRACEEXPANSION-20244948
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Uncontrolled Recursion
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Directory Traversal