Conversation
Update mint to 4.2.435 and add pnpm overrides for vulnerable transitive dependencies: cookie, express, flatted, js-yaml, lodash, qs, send, serve-static, tar, and zod. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c9f514a027
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
package.json
Outdated
| "cookie": ">=0.7.0 <1.0.0", | ||
| "express": ">=4.20.0 <5.0.0", | ||
| "flatted": ">=3.4.0", | ||
| "js-yaml": ">=4.1.1", |
There was a problem hiding this comment.
Do not force front-matter onto js-yaml v4
The new override "js-yaml": ">=4.1.1" upgrades all consumers to v4, and pnpm-lock.yaml now wires front-matter@4.0.2 (used by @mintlify/previewing) to js-yaml: 4.1.1 (pnpm-lock.yaml lines 4749-4755 and 6365-6367). front-matter@4.0.2 depends on js-yaml@^3.13.1 and calls parser.safeLoad in its parser path; in js-yaml v4 that API is removed/throws, so parsing docs with YAML front matter will fail at runtime in preview/build flows.
Useful? React with 👍 / 👎.
front-matter@4.0.2 depends on js-yaml@^3 and uses safeLoad, which was removed in js-yaml v4. Scope the override to only affect ^4 consumers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
mintfrom 4.2.429 to 4.2.435cookie,express,flatted,js-yaml,lodash,qs,send,serve-static,tar,zod@mintlify/previewingupdates)Test plan
pnpm installsucceedsmint versionruns without errors🤖 Generated with Claude Code