Conversation
There was a problem hiding this comment.
Code Review
This pull request updates several dependencies in package.json and package-lock.json, including a major version bump for marked. However, multiple critical issues were identified regarding the validity of the updated versions. Several packages, including lodash, undici, npm, and marked, are being set to version numbers that do not exist on the public npm registry, which poses significant security and stability risks.
| "version": "4.17.23", | ||
| "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", | ||
| "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", | ||
| "version": "4.18.1", |
There was a problem hiding this comment.
The package-lock.json contains multiple invalid version numbers for major packages that do not exist on the public registry:
lodash@4.18.1(latest stable is4.17.21)undici@7.24.7(latest stable is6.x)npm@11.12.1(latest is11.1.0)
This suggests the lockfile is corrupted or was generated in a compromised environment, posing a significant security and stability risk.
| "homepage": "https://github.com/markedjs/marked-highlight#readme", | ||
| "peerDependencies": { | ||
| "marked": ">=4 <18" | ||
| "marked": ">=4 <19" |
There was a problem hiding this comment.
| "highlight.js": "^11.11.1", | ||
| "jest-cli": "^30.3.0", | ||
| "marked": "^17.0.6", | ||
| "marked": "^18.0.0", |
## [2.2.4](v2.2.3...v2.2.4) (2026-04-07) ### Bug Fixes * allow marked v18 ([#577](#577)) ([0b2e4cd](0b2e4cd))
|
🎉 This PR is included in version 2.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.