Socket
Socket
Sign inDemoInstall

resolve-vars

Package Overview
Dependencies
Maintainers
21
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-vars - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

2

package.json
{
"name": "resolve-vars",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simplified interface for resolving variables via Consul.",

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

@@ -31,4 +31,8 @@ /**

*/
constructor() {
this._consul = consul();
constructor(options = {}) {
this._consul = consul(Object.assign({
host: process.env.RESOLVE_VARS_HOST || '127.0.0.1',
port: process.env.RESOLVE_VARS_PORT || '8500'
}, options));
this._vars = {};

@@ -121,2 +125,2 @@ }

module.exports = Resolver;
module.exports = Resolver;
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