@thi.ng/errors
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -11,3 +11,3 @@ import { defError } from "./deferror.js"; | ||
*/ | ||
export const assert = (typeof process !== "undefined" | ||
export const assert = (typeof process !== "undefined" && process.env !== undefined | ||
? process.env.NODE_ENV !== "production" || | ||
@@ -14,0 +14,0 @@ !!process.env.UMBRELLA_ASSERTS |
# Change Log | ||
- **Last updated**: 2022-10-04T17:35:45Z | ||
- **Last updated**: 2022-10-28T19:08:39Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [2.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/errors@2.2.3) (2022-10-28) | ||
#### 🩹 Bug fixes | ||
- potential fix regression of env var check ([#361](https://github.com/thi-ng/umbrella/issues/361)) ([1d3a805](https://github.com/thi-ng/umbrella/commit/1d3a805)) | ||
### [2.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/errors@2.2.2) (2022-10-04) | ||
@@ -14,0 +20,0 @@ |
{ | ||
"name": "@thi.ng/errors", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Custom error types and error factory functions", | ||
@@ -37,9 +37,9 @@ "type": "module", | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.31.1", | ||
"@thi.ng/testament": "^0.3.2", | ||
"@types/node": "^18.7.18", | ||
"@microsoft/api-extractor": "^7.33.5", | ||
"@thi.ng/testament": "^0.3.4", | ||
"@types/node": "^18.11.7", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.22.17", | ||
"typescript": "^4.8.3" | ||
"typedoc": "^0.23.18", | ||
"typescript": "^4.8.4" | ||
}, | ||
@@ -97,3 +97,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "c3f7d6598c7d7d0c61ba87150a56deac12649d7b\n" | ||
"gitHead": "41e59c7ad9bf24bb0230a5f60d05715e0fc1c1e6\n" | ||
} |
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
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
32496
3