chore: security upgrades, Node 22, .nvmrc, and llms.txt#542
Open
operfildoluiz wants to merge 1 commit into
Open
chore: security upgrades, Node 22, .nvmrc, and llms.txt#542operfildoluiz wants to merge 1 commit into
operfildoluiz wants to merge 1 commit into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
yarn auditvulnerabilities (219 → 0) via direct upgrades andresolutionsoverrides for transitive depsengines, Dockerfile, and new.nvmrcpublic/llms.txtfor AI/LLM discoverabilityMotivation or Context
yarn auditreported 219 vulnerabilities (10 critical, 88 high, 100 moderate, 21 low) in the previous dependency tree. Several were in directly-declared production packages:mongoose^5 — critical + high severity CVEsjsonwebtoken^8 — critical + high severity CVEsaxios^0.28 — critical (SSRF) + high severity CVEs@sendgrid/mail^6 — critical viaform-dataunsafe random boundaryexpress^4.18 — high viapath-to-regexpReDoSHow Has This Been Tested?
The full test suite (
yarn test) passes after the changes. Testing was run against Node 22.19.0 (now pinned in.nvmrc).Breaking changes from major version bumps were addressed:
useCreateIndex,useNewUrlParser,useUnifiedTopology) that throw in v6, in bothapp.jsand__test__/initDatabase.js; addedmongoose.set('strictQuery', false)"husky": { "hooks": ... }inpackage.jsonwith.husky/pre-commitfile andpreparescripteslint-plugin-nodewith its successoreslint-plugin-n; updatedeslint-config-standardto v17Types of changes
Checklist
public/llms.txtadded)