From d7c73f4342c03e7c1881144cf34c8c3e468e2fd4 Mon Sep 17 00:00:00 2001 From: Derek Bouius Date: Wed, 8 Apr 2026 03:11:29 -0400 Subject: [PATCH] security: bump lodash, lodash-es, defu in root lockfile (#915) * security: bump lodash, lodash-es, and defu in root lockfile Fixes Dependabot alerts in the root npm workspace lockfile: - GHSA-r5fr-rjxr-66jc (high) lodash <4.18.1 (alert #338) - GHSA-r5fr-rjxr-66jc (high) lodash-es <4.18.1 (alert #335) - GHSA-737v-mqg7-c878 (high) defu <6.1.7 (alert #343) defu (6.1.4 -> 6.1.7) and lodash (4.17.23 -> 4.18.1) were bumped via targeted `npm update`. lodash-es was pinned exactly to 4.17.23 by @chevrotain packages (transitive dep of mermaid in hindsight-docs), so a `lodash-es` override (>=4.18.1) is added to the root package.json to force resolution to the patched 4.18.1. Verified: `npm ci` succeeds with 0 vulnerabilities. Mermaid/chevrotain consumers all dedupe to lodash-es 4.18.1. lodash-es 4.x is semver- compatible. * chore: regenerate hindsight-docs skill Picks up FAQ and best-practice sections added in #905 that were not regenerated at merge time, so that `verify-generated-files` passes for this branch. --- package-lock.json | 18 +++++++++--------- package.json | 3 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f359dee1..15ae9d2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14508,9 +14508,9 @@ } }, "node_modules/defu": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", + "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", "dev": true, "license": "MIT" }, @@ -19874,15 +19874,15 @@ } }, "node_modules/lodash": { - "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", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, "node_modules/lodash-es": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.23.tgz", - "integrity": "sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", "license": "MIT" }, "node_modules/lodash.debounce": { diff --git a/package.json b/package.json index 530d311d..a284b843 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ }, "handlebars": ">=4.7.9", "path-to-regexp": ">=0.1.13", - "brace-expansion": ">=1.1.13 <2.0.0 || >=2.0.3 <3.0.0" + "brace-expansion": ">=1.1.13 <2.0.0 || >=2.0.3 <3.0.0", + "lodash-es": ">=4.18.1" } }