Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-05-14 | 2.4 kB | |
v4.0.0 source code.tar.gz | 2025-05-14 | 57.8 kB | |
v4.0.0 source code.zip | 2025-05-14 | 105.4 kB | |
Totals: 3 Items | 165.6 kB | 0 |
This release adds support for .jsonc and .mjs files. Note that MJS support requires Node 20.
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
- ci: add unit tests to PR CI by @jeremy-daley-kr in https://github.com/node-config/node-config/pull/776
- fix: bypass Proxy for RegExp and Date objects by @jeremy-daley-kr in https://github.com/node-config/node-config/pull/775
- fix: add runs-on to pr ci tests by @jeremy-daley-kr in https://github.com/node-config/node-config/pull/778
- feat: add
get
trap to Proxy for agnostic prototype access by @daleyjem in https://github.com/node-config/node-config/pull/779 - Fix GH-746 - Loading config files order with APP_INSTANCE by @sgaestel in https://github.com/node-config/node-config/pull/747
- Add nyc for code coverage by @jdmarshall in https://github.com/node-config/node-config/pull/788
- Remove all references to runtime.json and runtime config by @ZachFontenot in https://github.com/node-config/node-config/pull/782
- Fix over-recursion in async and deferred processing by @jdmarshall in https://github.com/node-config/node-config/pull/792
- Replace arguments fiddling with spread operator. by @jdmarshall in https://github.com/node-config/node-config/pull/791
- drop stripComments - dead code by @markstos in https://github.com/node-config/node-config/pull/794
- Add mjs support by @jdmarshall in https://github.com/node-config/node-config/pull/800
- Fix for empty entries in NODE_CONFIG_DIR by @jdmarshall in https://github.com/node-config/node-config/pull/798
- Add support for jsonc file extension by @rerodrigues in https://github.com/node-config/node-config/pull/802
New Contributors
- @jeremy-daley-kr made their first contribution in https://github.com/node-config/node-config/pull/776
- @daleyjem made their first contribution in https://github.com/node-config/node-config/pull/779
- @sgaestel made their first contribution in https://github.com/node-config/node-config/pull/747
- @ZachFontenot made their first contribution in https://github.com/node-config/node-config/pull/782
- @rerodrigues made their first contribution in https://github.com/node-config/node-config/pull/802
Full Changelog: https://github.com/node-config/node-config/compare/v3.3.12...v4.0.0