Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wild-config

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wild-config - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

4

index.js

@@ -279,6 +279,2 @@ /* eslint no-console: 0, global-require: 0 */

process.on('SIGHUP', () => {
setImmediate(loadConfig);
});
loadConfig(true);

2

package.json
{
"name": "wild-config",
"version": "1.7.0",
"version": "1.7.1",
"description": "Configuration management module",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,2 @@ # wild-config

- Additionally, command-line arguments can be used to override any existing config option
- _wild-config_ detects SIGHUP and reloads configuration files automatically

@@ -123,17 +122,2 @@ ## Loading order

### Configuration reload
_wild-config_ catches SIGHUP signal and reloads configuration files. Additionally, a 'reload' event is emitted.
```javascript
const config = require('wild-config');
config.on('reload', () => {
console.log('New "server.enabled" value: %s', config.server.enabled);
});
```
### Events
- _'reload'_ emitted when SIGHUP is received, and configuration is reloaded
### Limitations

@@ -140,0 +124,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc