env-kit/node-settings
Version updated for https://github.com/Changsik00/node-settings to version v1.1.2.
- This action is used across all versions by 0 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
What’s Changed
Bug Fixes
- Deep freeze settings output.
Object.freeze()was shallow — nested objects and arrays inside the returned settings were still mutable. The loader now applies a recursive deep freeze so the full settings tree is immutable. (closes #8) - Throw on whitespace-only
overrideEnvKeyenv var. When the override env var was set to a whitespace-only string (e.g." "), the override was silently skipped with no indication anything was wrong. Now raisesNodeSettingsErrorwith codeOVERRIDE_ENV_EMPTYat boot time. Empty string ("") continues to be silently skipped. (closes #12)