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.30 to 0.0.31

.eslintrc

2

package.json

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

"scripts": {},
"version": "0.0.30"
"version": "0.0.31"
}

@@ -14,5 +14,5 @@ import { ConfigLoader } from '../service/loader';

}
}
};
return target;
};
}

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

// Lowered, and flattened
private storage: Nested = {};
reset() {
this.storage = {};
}
putAll(data: Nested) {
deepAssign(this.storage, data, 'coerce');
}
static getKeyName(key: string, data: { [key: string]: any }) {

@@ -83,2 +72,13 @@ key = key.trim();

// Lowered, and flattened
private storage: Nested = {};
reset() {
this.storage = {};
}
putAll(data: Nested) {
deepAssign(this.storage, data, 'coerce');
}
bindTo(obj: any, key: string) {

@@ -85,0 +85,0 @@ const keys = key ? key.split('.') : [];

export const init = {
priority: 0,
action: () => require('../src/service/loader').ConfigLoader.initialize()
}
};
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