@rpldy/shared
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -19,3 +19,5 @@ "use strict"; | ||
var isEnvDebug = function () { | ||
return !(0, _utils.isProduction)() && process.env.DEBUG; | ||
var _process, _process$env; | ||
return !(0, _utils.isProduction)() && ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.DEBUG); | ||
}; | ||
@@ -22,0 +24,0 @@ |
@@ -9,3 +9,5 @@ "use strict"; | ||
var isProduction = function () { | ||
return process.env.NODE_ENV === "production"; | ||
var _process, _process$env; | ||
return ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === "production"; | ||
}; | ||
@@ -12,0 +14,0 @@ |
@@ -7,3 +7,5 @@ import { DEBUG_LOG_KEY } from "./consts"; | ||
var isEnvDebug = function () { | ||
return !isProduction() && process.env.DEBUG; | ||
var _process, _process$env; | ||
return !isProduction() && ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.DEBUG); | ||
}; | ||
@@ -10,0 +12,0 @@ |
var isProduction = function () { | ||
return process.env.NODE_ENV === "production"; | ||
var _process, _process$env; | ||
return ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === "production"; | ||
}; | ||
export default isProduction; |
{ | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"name": "@rpldy/shared", | ||
@@ -30,3 +30,3 @@ "description": "internal set of utils+types for react-uploady", | ||
}, | ||
"gitHead": "3fb121df6ce4b2949e82f0f1e5e52c596b7b07c3" | ||
"gitHead": "8606349075dc06f9c72fd7a2a10bbb7eb76b44e7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
48730
1120
0