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

@travetto/config

Package Overview
Dependencies
Maintainers
1
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/config - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

2

package.json

@@ -19,3 +19,3 @@ {

"scripts": {},
"version": "0.0.23"
"version": "0.0.24"
}

@@ -17,3 +17,3 @@ import { bulkRead, bulkReadSync, AppEnv, bulkFindSync } from '@travetto/base';

static bindTo(obj: any, key: string) {
return this.map.bindTo(obj, key);
this.map.bindTo(obj, key);
}

@@ -32,2 +32,3 @@

}
this.map.reset();
this._initialized = true;

@@ -34,0 +35,0 @@

@@ -38,2 +38,6 @@ import { deepAssign, isPlainObject, isSimple } from '@travetto/base';

reset() {
this.storage = {};
}
putAll(data: Nested) {

@@ -82,2 +86,3 @@ deepAssign(this.storage, data, 'coerce');

let sub: any = this.storage;
while (keys.length && sub) {

@@ -87,3 +92,3 @@ sub = sub[keys.shift()!];

const conf = deepAssign(obj, sub || {});
const conf = deepAssign({}, sub);

@@ -99,3 +104,3 @@ // Handle process.env on bind as the structure we need may not

return conf;
deepAssign(obj, conf);
}

@@ -102,0 +107,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