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

biewangle

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biewangle - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

3

lib/cjs/SettingManagerFactory.d.ts

@@ -22,4 +22,5 @@ import { SettingStorage, MutableSettingStorage } from "./MutableSettingStorage";

getSetting(key: string): any | null;
manage(settingFields: SettingField<any>[], overrideDefaultObj: any): any;
config(configObj: any): any;
manage(settingFields: SettingField<any>[], overrideDefaultObj?: any): any;
neededKeys(): string[];
}

@@ -74,2 +74,5 @@ "use strict";

}
config(configObj) {
return this.manage(Object.keys(configObj), configObj);
}
manage(settingFields, overrideDefaultObj) {

@@ -79,3 +82,3 @@ const _this = this;

var _a, _b;
return (_b = (_a = _this.getSetting(key)) !== null && _a !== void 0 ? _a : overrideDefaultObj[key]) !== null && _b !== void 0 ? _b : defaultValue;
return (_b = (_a = _this.getSetting(key)) !== null && _a !== void 0 ? _a : overrideDefaultObj === null || overrideDefaultObj === void 0 ? void 0 : overrideDefaultObj[key]) !== null && _b !== void 0 ? _b : defaultValue;
};

@@ -82,0 +85,0 @@ const configObject = settingFields.reduce((obj, f) => {

@@ -22,4 +22,5 @@ import { SettingStorage, MutableSettingStorage } from "./MutableSettingStorage";

getSetting(key: string): any | null;
manage(settingFields: SettingField<any>[], overrideDefaultObj: any): any;
config(configObj: any): any;
manage(settingFields: SettingField<any>[], overrideDefaultObj?: any): any;
neededKeys(): string[];
}

@@ -74,2 +74,5 @@ "use strict";

}
config(configObj) {
return this.manage(Object.keys(configObj), configObj);
}
manage(settingFields, overrideDefaultObj) {

@@ -79,3 +82,3 @@ const _this = this;

var _a, _b;
return (_b = (_a = _this.getSetting(key)) !== null && _a !== void 0 ? _a : overrideDefaultObj[key]) !== null && _b !== void 0 ? _b : defaultValue;
return (_b = (_a = _this.getSetting(key)) !== null && _a !== void 0 ? _a : overrideDefaultObj === null || overrideDefaultObj === void 0 ? void 0 : overrideDefaultObj[key]) !== null && _b !== void 0 ? _b : defaultValue;
};

@@ -82,0 +85,0 @@ const configObject = settingFields.reduce((obj, f) => {

{
"name": "biewangle",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

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

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