New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qiwi/uniconfig-core

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/uniconfig-core - npm Package Compare versions

Comparing version 3.5.3 to 3.5.4

29

package.json
{
"name": "@qiwi/uniconfig-core",
"version": "3.5.3",
"version": "3.5.4",
"description": "Core uniconfig library",

@@ -9,8 +9,7 @@ "main": "target/es5/index.js",

"clean": "rm -rf target",
"jest": "NODE_ENV=test BAZ=baz jest -w 1 --config jest.config.json",
"jest": "NODE_ENV=test BAZ=baz run -T jest -w 1 --config jest.config.json",
"test": "yarn run jest",
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.build.json --target ES5 --outDir target/es5 -m CommonJS",
"build:es6": "mkdir -p target/es6 && tsc -p tsconfig.build.json --target ES6 --outDir target/es6",
"build:bundle": "parcel build target/es6/index.js --out-dir target/bundle --experimental-scope-hoisting",
"build": "yarn build:es6 && yarn build:es5 && yarn build:bundle"
"build:es5": "mkdir -p target/es5 && run -T tsc -p tsconfig.build.json --target ES5 --outDir target/es5 -m CommonJS",
"build:es6": "mkdir -p target/es6 && run -T tsc -p tsconfig.build.json --target ES6 --outDir target/es6",
"build": "yarn build:es6 && yarn build:es5"
},

@@ -33,6 +32,10 @@ "repository": {

"dependencies": {
"tslib": "^2.3.1",
"browser-or-node": "^2.0.0",
"lodash": "^4.17.21",
"browser-or-node": "^2.0.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/lodash": "^4.14.182",
"@types/node": "18.6.5"
},
"files": [

@@ -42,11 +45,3 @@ "README.md",

"target"
],
"devDependencies": {
"typescript": "4.4.4",
"@types/node": "^16.9.6",
"@types/lodash": "^4.14.173",
"ts-jest": "^27.0.5",
"@types/jest": "^27.0.2",
"jest": "^27.2.1"
}
]
}

@@ -7,3 +7,3 @@ "use strict";

var AbstractRegistry = /** @class */ (function (_super) {
(0, tslib_1.__extends)(AbstractRegistry, _super);
tslib_1.__extends(AbstractRegistry, _super);
function AbstractRegistry() {

@@ -10,0 +10,0 @@ var _this = _super.call(this) || this;

@@ -8,3 +8,3 @@ "use strict";

var ConfigError = /** @class */ (function (_super) {
(0, tslib_1.__extends)(ConfigError, _super);
tslib_1.__extends(ConfigError, _super);
function ConfigError() {

@@ -11,0 +11,0 @@ return _super !== null && _super.apply(this, arguments) || this;

@@ -6,3 +6,3 @@ import { IAny } from '../interface';

export declare const echo: (data: IAny) => IAny;
export declare const deepMap: (input: any, cb: Function, key?: string | undefined, path?: string | undefined, target?: any, refs?: WeakMap<object, any>) => any;
export declare const deepMap: (input: any, cb: Function, key?: string, path?: string, target?: any, refs?: WeakMap<object, any>) => any;
export declare const secretMasker: (input: any) => any;

@@ -82,8 +82,8 @@ "use strict";

console.warn('Lecacy opts support will be dropped in the next major release');
return (0, tslib_1.__assign)((0, tslib_1.__assign)((0, tslib_1.__assign)({}, exports.DEFAULT_OPTS), legacyOpts), { data: input });
return tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, exports.DEFAULT_OPTS), legacyOpts), { data: input });
}
if (input.pipeline || input.mode) {
return (0, tslib_1.__assign)((0, tslib_1.__assign)({}, exports.DEFAULT_OPTS), input);
return tslib_1.__assign(tslib_1.__assign({}, exports.DEFAULT_OPTS), input);
}
return (0, tslib_1.__assign)((0, tslib_1.__assign)({}, exports.DEFAULT_OPTS), { data: input });
return tslib_1.__assign(tslib_1.__assign({}, exports.DEFAULT_OPTS), { data: input });
};

@@ -90,0 +90,0 @@ Config.processInjects = function (input, injects) {

@@ -8,3 +8,3 @@ "use strict";

var Context = /** @class */ (function (_super) {
(0, tslib_1.__extends)(Context, _super);
tslib_1.__extends(Context, _super);
function Context() {

@@ -11,0 +11,0 @@ var _this = _super.call(this) || this;

@@ -15,5 +15,5 @@ /**

*/
declare const factory: (input: IConfigInput | IConfigOpts, legacyOpts?: IConfigLegacyOpts | undefined) => IConfig;
export declare const assertEnvType: (env?: IEnvType | undefined, name?: string) => void;
declare const addPipe: (name: string, pipe: IPipe, env?: IEnvType | undefined, _context?: IContext) => void;
declare const factory: (input: IConfigInput | IConfigOpts, legacyOpts?: IConfigLegacyOpts) => IConfig;
export declare const assertEnvType: (env?: IEnvType, name?: string) => void;
declare const addPipe: (name: string, pipe: IPipe, env?: IEnvType, _context?: IContext) => void;
declare const removePipe: (name: string, _context?: IContext) => void;

@@ -20,0 +20,0 @@ declare const getPipes: () => string[];

@@ -40,3 +40,3 @@ "use strict";

}
throw new Error("Uniconfig plugin '" + name + "' requires '" + env + "' env only");
throw new Error("Uniconfig plugin '".concat(name, "' requires '").concat(env, "' env only"));
};

@@ -79,6 +79,6 @@ exports.assertEnvType = assertEnvType;

exports.rollbackPlugin = rollbackPlugin;
(0, tslib_1.__exportStar)(require("./config"), exports);
(0, tslib_1.__exportStar)(require("./constants"), exports);
tslib_1.__exportStar(require("./config"), exports);
tslib_1.__exportStar(require("./constants"), exports);
exports.default = factory;
(0, tslib_1.__exportStar)(require("./interface"), exports);
tslib_1.__exportStar(require("./interface"), exports);
//# sourceMappingURL=index.js.map

@@ -25,4 +25,4 @@ "use strict";

return mode === constants_1.ASYNC
? handle.apply(void 0, (0, tslib_1.__spreadArray)([context, data], opts, false)).catch(function (e) { return handleException(e, name, data, opts); })
: handleSync.apply(void 0, (0, tslib_1.__spreadArray)([context, data], opts, false));
? handle.apply(void 0, tslib_1.__spreadArray([context, data], opts, false)).catch(function (e) { return handleException(e, name, data, opts); })
: handleSync.apply(void 0, tslib_1.__spreadArray([context, data], opts, false));
}

@@ -68,3 +68,3 @@ catch (e) {

if (!pipe) {
throw new Error("Pipe not found: " + name);
throw new Error("Pipe not found: ".concat(name));
}

@@ -93,3 +93,3 @@ return pipe;

name: name,
opts: (0, tslib_1.__spreadArray)([], opts, true),
opts: tslib_1.__spreadArray([], opts, true),
};

@@ -96,0 +96,0 @@ });

@@ -7,3 +7,3 @@ "use strict";

var PipeRegistry = /** @class */ (function (_super) {
(0, tslib_1.__extends)(PipeRegistry, _super);
tslib_1.__extends(PipeRegistry, _super);
function PipeRegistry() {

@@ -10,0 +10,0 @@ var _this = _super.call(this) || this;

@@ -6,3 +6,3 @@ import { IAny } from '../interface';

export declare const echo: (data: IAny) => IAny;
export declare const deepMap: (input: any, cb: Function, key?: string | undefined, path?: string | undefined, target?: any, refs?: WeakMap<object, any>) => any;
export declare const deepMap: (input: any, cb: Function, key?: string, path?: string, target?: any, refs?: WeakMap<object, any>) => any;
export declare const secretMasker: (input: any) => any;

@@ -15,5 +15,5 @@ /**

*/
declare const factory: (input: IConfigInput | IConfigOpts, legacyOpts?: IConfigLegacyOpts | undefined) => IConfig;
export declare const assertEnvType: (env?: IEnvType | undefined, name?: string) => void;
declare const addPipe: (name: string, pipe: IPipe, env?: IEnvType | undefined, _context?: IContext) => void;
declare const factory: (input: IConfigInput | IConfigOpts, legacyOpts?: IConfigLegacyOpts) => IConfig;
export declare const assertEnvType: (env?: IEnvType, name?: string) => void;
declare const addPipe: (name: string, pipe: IPipe, env?: IEnvType, _context?: IContext) => void;
declare const removePipe: (name: string, _context?: IContext) => void;

@@ -20,0 +20,0 @@ declare const getPipes: () => string[];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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