Skip to content

Conversation

@denisecase
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade config from 3.3.3 to 4.1.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 12 versions ahead of your current version.

  • The recommended version was released 5 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Prototype Pollution
SNYK-JS-JSON5-3182856
427 Proof of Concept
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
427 Proof of Concept
Release notes
Package name: config
  • 4.1.1 - 2025-08-15

    What's Changed

    This release includes only test and devDependency changes

    Full Changelog: v4.1.0...v4.1.1

  • 4.1.0 - 2025-07-23

    Breaking Changes

    Several bugs were fixed that a user code might theoretically rely on, but most likely not:

    • Config.getSources() no longer contains files read by parseFile outside of the load process
    • when setModuleDefaults('modulename', ...) is called twice, the second call can overwrite values from the first
    • Config.getSources() now agrees with setModuleDefaults, no matter how often it is called

    What's Changed

    Bugs fixed:

    • #687 - you can now have deferConfig lines in submodules
    • #822 - setModuleDefaults calls are now additive (slightly higher memory usage for defaults as a consequence)
    • #827 - more accurate tracking of sources
  • 4.0.1 - 2025-07-15

    This release finalizes some work to extract 'util' functionality from lib/config.js into lib/util.js.

    Breaking Changes

    None known

    What's Changed

    • Finished extraction of util functions to lib/util.js
    • Documentation of how to utilize this code for testing, or to drive setModuleDefaults()
  • 4.0.0 - 2025-05-14

    This release adds support for .jsonc and .mjs files. Note that MJS support requires Node 24 or recent patch releases of 20 or 22.

    Breaking Changes

    • removes the unused stripComments() function
    • removes deprecated support for loading runtime.[ext] files.
    • changes the load order of APP_INSTANCE files to match other file sets

    What's Changed

    New Contributors

    Full Changelog: v3.3.12...v4.0.0

  • 3.3.12 - 2024-06-25

    What's Changed

    • Remove usage of deprecated utils to fix warnings in Node 22 by @ KidkArolis in #764

    New Contributors

    Full Changelog: v3.3.11...v3.3.12

  • 3.3.11 - 2024-02-01

    What's Changed

    New Contributors

    Full Changelog: v3.3.10...v3.3.11

  • 3.3.10 - 2024-01-09

    What's Changed

    New Contributors

    Full Changelog: v3.3.9...v3.3.10

  • 3.3.9 - 2023-01-17

    What's Changed

    • Support loading transpiled JS config files by @ Tomas2D in #692
    • fix(vulnerability): upgrade json5 version from 2.2.1 to 2.2.2 by @ veekays in #713

    New Contributors

    Full Changelog: v3.3.8...v3.3.9

  • 3.3.8 - 2022-09-09

    What's Changed

    • bump json5 dep to 2.2.1
    • Cleanup of file scoped environment variables by @ jdmarshall in #667
    • Allow multiple relative directory paths separated by path.delimiter to work by @ inside in #661
    • Reentrancy bugs by @ jdmarshall in #668
    • Fixed property mutation. Throw an exception on such an attempt. Updat… by @ fgheorghe in #516
    • docs: update copyright & fix misspelling by @ DigitalGreyHat in #677

    New Contributors

    Full Changelog: v3.3.7...v3.3.8

  • 3.3.7 - 2022-01-11
    • No code changes. Resolving versioning / release mix-up
  • 3.3.6 - 2021-03-08
  • 3.3.4 - 2021-02-27
  • 3.3.3 - 2020-11-26
from config GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade config from 3.3.3 to 4.1.1.

See this package in npm:
config

See this project in Snyk:
https://app.snyk.io/org/denisecase/project/2297d3a9-c4de-4ddf-b3f6-e99eee85f2ed?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants