@compas/stdlib
Advanced tools
Comparing version 0.0.116 to 0.0.117
{ | ||
"name": "@compas/stdlib", | ||
"version": "0.0.116", | ||
"version": "0.0.117", | ||
"description": "All kinds of utility functions", | ||
@@ -16,4 +16,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@compas/insight": "0.0.116", | ||
"@types/node": "14.14.27", | ||
"@compas/insight": "0.0.117", | ||
"@types/node": "14.14.31", | ||
"dotenv": "8.2.0", | ||
@@ -43,3 +43,3 @@ "lodash.merge": "4.6.2" | ||
}, | ||
"gitHead": "240f978002efe57c446650a5de9213961e2c06cb" | ||
"gitHead": "c24054692e907354ddaa42afc6f472599c0b7c4d" | ||
} |
@@ -28,3 +28,3 @@ /** | ||
* | ||
* @returns {undefined} | ||
* @returns {void} | ||
*/ | ||
@@ -31,0 +31,0 @@ export function refreshEnvironmentCache() { |
import { inspect } from "util"; | ||
import { isNil } from "./lodash.js"; | ||
@@ -107,3 +108,5 @@ /** | ||
if (AppError.instanceOf(e)) { | ||
if (isNil(e)) { | ||
return e; | ||
} else if (AppError.instanceOf(e)) { | ||
return { | ||
@@ -110,0 +113,0 @@ key: e.key, |
@@ -28,3 +28,3 @@ import { lstatSync, realpathSync } from "fs"; | ||
* | ||
* @returns {undefined} | ||
* @returns {void} | ||
*/ | ||
@@ -47,3 +47,3 @@ export function noop() { | ||
* | ||
* @returns {undefined} | ||
* @returns {void} | ||
*/ | ||
@@ -69,3 +69,3 @@ export function gc() { | ||
* @param {MainFnCallback} cb | ||
* @returns {undefined} | ||
* @returns {void} | ||
*/ | ||
@@ -150,2 +150,3 @@ export function mainFn(meta, cb) { | ||
* the entrypoint file | ||
* | ||
* @param {ImportMeta} meta | ||
@@ -152,0 +153,0 @@ * @returns {{ isMainFn: boolean, name?: string}} |
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
34679
1095
+ Added@compas/insight@0.0.117(transitive)
+ Added@types/node@14.14.31(transitive)
- Removed@compas/insight@0.0.116(transitive)
- Removed@types/node@14.14.27(transitive)
Updated@compas/insight@0.0.117
Updated@types/node@14.14.31