Skip to content

Comments

chore(deps): update dependency config to v4#1009

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/config-4.x
Open

chore(deps): update dependency config to v4#1009
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/config-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 14, 2025

This PR contains the following updates:

Package Change Age Confidence
config (source) 3.3.124.4.0 age confidence

Release Notes

node-config/node-config (config)

v4.4.0: 4.4.0

Compare Source

What's Changed

  • Adding typescript support by @​mdkitzman
  • withModuleDefaults() added to support bifurcating module defaults across multiple versions
  • Rework raw.js to function like the new defer mechanism.
  • ./raw.js is also now deprecated, and will be removed in 5.0

New Contributors

Full Changelog: node-config/node-config@v4.3.0...v4.4.0

v4.3.0

Compare Source

What's Changed

  • new callback mechanism for handling deferred and async configuration evaluation
  • ./async.js and ./defer.js are now deprecated
New Async and Deferred mechanism

Instead of using async.js and defer.js, your executable config files can return a synchronous or asynchronous function. Note that if you use async deferred functions through the new mechanism, you need to call Util.resolveAsyncConfig() instead of the old version.

Util.resolveAsyncConfig() also fixes an issue where using defer in an array did not function properly #​876

The old implementations have been marked as deprecated and will issue warnings to console.error to indicate use of the old pathways. The old functions are incompatible with ESM loading conventions and will be removed at the beginning of the 5.0 cycle to facilitate conversion of the library to ESM.

Full Changelog: node-config/node-config@v4.2.1...v4.3.0

v4.2.1

Compare Source

What's Changed

Full Changelog: node-config/node-config@v4.2.0...v4.2.1

v4.2.0

Compare Source

What's Changed

Breaking Changes

  • All deprecated functions in config.util have been removed. Please use lib/util for similar functionality
  • Default Yaml parser has changed to a more maintained alternative. Please validate your config files for correct processing, or adjust your package.json to force js-yaml to be used

Full Changelog: node-config/node-config@v4.1.1...v4.2.0

v4.1.1

Compare Source

What's Changed

This release includes only test and devDependency changes

Full Changelog: node-config/node-config@v4.1.0...v4.1.1

v4.1.0

Compare Source

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

v4.0.1

Compare Source

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()

v4.0.0

Compare Source

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: node-config/node-config@v3.3.12...v4.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/config-4.x branch from a18a7fa to bfb3b68 Compare May 21, 2025 13:49
@renovate renovate bot force-pushed the renovate/config-4.x branch from bfb3b68 to 6e04187 Compare June 20, 2025 11:53
@renovate renovate bot force-pushed the renovate/config-4.x branch from 6e04187 to ec0cc5b Compare July 3, 2025 18:51
@renovate renovate bot force-pushed the renovate/config-4.x branch from ec0cc5b to 0d8bc1b Compare July 15, 2025 19:46
@renovate renovate bot force-pushed the renovate/config-4.x branch from 0d8bc1b to d1d1af4 Compare July 23, 2025 22:52
@renovate renovate bot force-pushed the renovate/config-4.x branch from d1d1af4 to 27bbcce Compare August 15, 2025 21:14
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/config-4.x branch from 27bbcce to f028634 Compare October 11, 2025 10:18
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/config-4.x branch from f028634 to 9b64f59 Compare January 15, 2026 04:45
@renovate renovate bot force-pushed the renovate/config-4.x branch 2 times, most recently from 724c22d to 732631f Compare February 12, 2026 22:47
@renovate renovate bot force-pushed the renovate/config-4.x branch from 732631f to 163e114 Compare February 23, 2026 00:49
@sonarqubecloud
Copy link

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.

0 participants