Skip to content
This repository was archived by the owner on Aug 24, 2026. It is now read-only.

Bump lodash, inquirer and swagger-tools - #202

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-beacccd193
Open

Bump lodash, inquirer and swagger-tools#202
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-beacccd193

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 9, 2026

Copy link
Copy Markdown

Bumps lodash to 4.18.1 and updates ancestor dependencies lodash, inquirer and swagger-tools. These dependencies need to be updated together.

Updates lodash from 2.4.2 to 4.18.1

Release notes

Sourced from lodash's releases.

4.18.1

Bugs

Fixes a ReferenceError issue in lodash lodash-es lodash-amd and lodash.template when using the template and fromPairs functions from the modular builds. See lodash/lodash#6167

These defects were related to how lodash distributions are built from the main branch using https://github.com/lodash-archive/lodash-cli. When internal dependencies change inside lodash functions, equivalent updates need to be made to a mapping in the lodash-cli. (hey, it was ahead of its time once upon a time!). We know this, but we missed it in the last release. It's the kind of thing that passes in CI, but fails bc the build is not the same thing you tested.

There is no diff on main for this, but you can see the diffs for each of the npm packages on their respective branches:

4.18.0

v4.18.0

Full Changelog: lodash/lodash@4.17.23...4.18.0

Security

_.unset / _.omit: Fixed prototype pollution via constructor/prototype path traversal (GHSA-f23m-r3pf-42rh, fe8d32e). Previously, array-wrapped path segments and primitive roots could bypass the existing guards, allowing deletion of properties from built-in prototypes. Now constructor and prototype are blocked unconditionally as non-terminal path keys, matching baseSet. Calls that previously returned true and deleted the property now return false and leave the target untouched.

_.template: Fixed code injection via imports keys (GHSA-r5fr-rjxr-66jc, CVE-2026-4800, 879aaa9). Fixes an incomplete patch for CVE-2021-23337. The variable option was validated against reForbiddenIdentifierChars but importsKeys was left unguarded, allowing code injection via the same Function() constructor sink. imports keys containing forbidden identifier characters now throw "Invalid imports option passed into _.template".

Docs

  • Add security notice for _.template in threat model and API docs (#6099)
  • Document lower > upper behavior in _.random (#6115)
  • Fix quotes in _.compact jsdoc (#6090)

lodash.* modular packages

Diff

We have also regenerated and published a select number of the lodash.* modular packages.

These modular packages had fallen out of sync significantly from the minor/patch updates to lodash. Specifically, we have brought the following packages up to parity w/ the latest lodash release because they have had CVEs on them in the past:

4.0.0

lodash v4.0.0

... (truncated)

Commits
  • cb0b9b9 release(patch): bump main to 4.18.1 (#6177)
  • 75535f5 chore: prune stale advisory refs (#6170)
  • 62e91bc docs: remove n_ Node.js < 6 REPL note from README (#6165)
  • 59be2de release(minor): bump to 4.18.0 (#6161)
  • af63457 fix: broken tests for _.template 879aaa9
  • 1073a76 fix: linting issues
  • 879aaa9 fix: validate imports keys in _.template
  • fe8d32e fix: block prototype pollution in baseUnset via constructor/prototype traversal
  • 18ba0a3 refactor(fromPairs): use baseAssignValue for consistent assignment (#6153)
  • b819080 ci: add dist sync validation workflow (#6137)
  • Additional commits viewable in compare view

Updates inquirer from 0.5.1 to 13.4.1

Release notes

Sourced from inquirer's releases.

inquirer@13.4.1

  • Improve expand prompt type inferrence.

inquirer@13.4.0

  • Feat: Added a loading message while validating editor prompt input.
  • Type improvement: Better type inference with checkbox, search and expand prompts.
  • Fix: editor prompt not always properly handling editor path on windows.

inquirer@13.3.2

  • Fix broken 1.3.1 release process.

inquirer@13.2.5

What's Changed

New Contributors

Full Changelog: https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.5

inquirer@13.2.4

What's Changed

... (truncated)

Commits
  • 979b130 chore: Publish new release
  • 61368c5 fix(@​inquirer/expand): infer Value type from name-only choices (#2075)
  • e68fe01 chore: Publish new release
  • d05d285 chore: Bump remaining dependencies
  • 1ea1abf chore(deps-dev): Bump turbo from 2.8.21 to 2.9.4 in the build group (#2074)
  • 7caa3b3 chore(deps-dev): Bump the linting group with 3 updates (#2073)
  • e7e0a9f feat(lint): adopt oxlint type-aware linting
  • 3e26b49 fix(@​inquirer/checkbox,search,expand): fix Value type inference (#2072)
  • 5142a9b chore(deps): Bump vite from 8.0.3 to 8.0.5 (#2071)
  • b78ac38 refactor(@​inquirer/external-editor): modernize code style and Promise-based A...
  • Additional commits viewable in compare view

Updates swagger-tools from 0.8.7 to 0.10.4

Changelog

Sourced from swagger-tools's changelog.

0.10.4 (2018-07-20)

  • Fix issue where an object with a length property was incorrectly traversed (Issue #557)
  • Remove string dependency (PR #542)

0.10.3 (2017-10-13)

  • Remove support for nested controllers (Issue #537, #540)

0.10.2 (2017-10-10)

  • Added support for nested controllers (PR #422, Issue #283)
  • Fix issue where async controllers were not identified properly (Issue #443)
  • Fix issue where the failedValidation property was not set for Content-Type request validation errors (PR #420)
  • Fix issue where array body parameters would coerce non-array types into an array _(Issue #438)
  • Fix issue where swagger-ui shows an error icon trying to validate a swagger doc for an internal API (Issue #323, #370, #526)
  • Updated dependencies for security vulnerabilities (Issue #384, #535)

0.10.1 (2016-02-24)

  • Fix issue with initializing middleware with an invalid Swagger document (Issue 355)

0.10.0 (2016-02-22)

  • Bring back 84b3e83 which was reverted in 0.9.16

0.9.16 (2016-02-22)

  • Fix a bug where file parameters could produce a runtime error if req.files was empty, which can happen if you do not provide the parameter (Issue #350)
  • Revert v0.9.14 release (We will be adding it back for 0.10.0. Long story short, forces that I do not control require that I remove this fix and put it into a minor release instead to avoid upstream projects we do not maintain all the sudden reporting errors in response validation that didn't previously report them. I am sorry for having to do this, it was not my idea and I was against it completely.)

0.9.15 (2016-02-15)

  • Fixed an issue where multer.any() resulted in file parameters not being found properly (Issue 348)
  • Updated swagger-ui (Issue #349)

v0.9.14 (2016-02-05)

  • Fixed an issue where string an Array passed as a String wasn't handled properly (PR 341)

v0.9.13 (2016-02-02)

  • Upgrade json-refs for upstream bug fixes

v0.9.12 (2016-02-02)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [lodash](https://github.com/lodash/lodash) to 4.18.1 and updates ancestor dependencies [lodash](https://github.com/lodash/lodash), [inquirer](https://github.com/SBoudrias/Inquirer.js) and [swagger-tools](https://github.com/apigee-127/swagger-tools). These dependencies need to be updated together.


Updates `lodash` from 2.4.2 to 4.18.1
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@2.4.2...4.18.1)

Updates `inquirer` from 0.5.1 to 13.4.1
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/demo@0.5.1...inquirer@13.4.1)

Updates `swagger-tools` from 0.8.7 to 0.10.4
- [Changelog](https://github.com/apigee-127/swagger-tools/blob/master/RELEASE_NOTES.md)
- [Commits](apigee-127/swagger-tools@v0.8.7...v0.10.4)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
- dependency-name: inquirer
  dependency-version: 13.4.1
  dependency-type: direct:production
- dependency-name: swagger-tools
  dependency-version: 0.10.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants