🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@byelabel/utils

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byelabel/utils - npm Package Compare versions

Comparing version
2.4.0
to
2.4.1
+2
-2
build/utils/config.js

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

const validator_1 = require("./validator");
const isNodeRuntime = typeof process !== 'undefined' && (0, validator_1.isNonEmptyString)((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) && (0, validator_1.isFunction)(process === null || process === void 0 ? void 0 : process.cwd);
const isNodeRuntime = !(0, validator_1.isUndefined)(process) && (0, validator_1.isNonEmptyString)((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) && (0, validator_1.isFunction)(process === null || process === void 0 ? void 0 : process.cwd);
function normalizeRoutePrefix(value) {

@@ -42,3 +42,3 @@ return (value || '').split('/').map(uri => uri.trim()).filter(uri => uri.length).join('/');

}
else if (typeof process !== 'undefined' && (0, validator_1.isNonNullObject)(process === null || process === void 0 ? void 0 : process.env)) {
else if (!(0, validator_1.isUndefined)(process) && (0, validator_1.isNonNullObject)(process === null || process === void 0 ? void 0 : process.env)) {
// browser: pick up whatever the bundler inlined into process.env

@@ -45,0 +45,0 @@ parsedVars = Object.assign(Object.assign({}, process.env), parsedVars);

@@ -1,1 +0,1 @@

{"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../src/utils/redis.ts"],"names":[],"mappings":"AAEA,OAAO,EAA+B,eAAe,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAUvF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAWF,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,aAAa,CAiBvE;AAuBD,wBAAgB,OAAO,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,eAAe,CAAC,CAkD5F;AAED,wBAAgB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAa1C"}
{"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../src/utils/redis.ts"],"names":[],"mappings":"AAEA,OAAO,EAA+B,eAAe,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AASvF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAWF,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,aAAa,CAiBvE;AAuBD,wBAAgB,OAAO,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,eAAe,CAAC,CAkD5F;AAED,wBAAgB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAa1C"}

@@ -22,3 +22,2 @@ "use strict";

const error_1 = require("./error");
const log_1 = require("./log");
const validator_1 = require("./validator");

@@ -100,3 +99,3 @@ const processId = node_process_1.default.pid;

client.sendCommand(['FLUSHDB']).then(flush => {
(0, log_1.logInfo)(`Redis Flush DB: ${flush}`, true).catch(() => { });
console.info(`Redis Flush DB: ${flush}`);
}).catch(() => { });

@@ -103,0 +102,0 @@ }

{
"name": "@byelabel/utils",
"version": "2.4.0",
"version": "2.4.1",
"description": "ByeLabel Utilities",

@@ -5,0 +5,0 @@ "type": "commonjs",