+3
-2
@@ -92,5 +92,6 @@ import { a as namespaces, i as enabled, n as disable, o as humanize, r as enable$1, s as selectColor, t as createDebug$1 } from "./core.js"; | ||
| let value = process.env[key]; | ||
| const lowerCase = typeof value === "string" && value.toLowerCase(); | ||
| if (value === "null") value = null; | ||
| else if (/^yes|on|true|enabled$/i.test(value)) value = true; | ||
| else if (/^no|off|false|disabled$/i.test(value)) value = false; | ||
| else if (lowerCase === "yes" || lowerCase === "on" || lowerCase === "true" || lowerCase === "enabled") value = true; | ||
| else if (lowerCase === "no" || lowerCase === "off" || lowerCase === "false" || lowerCase === "disabled") value = false; | ||
| else value = Number(value); | ||
@@ -97,0 +98,0 @@ obj[prop] = value; |
+1
-1
| { | ||
| "name": "obug", | ||
| "version": "2.1.0", | ||
| "version": "2.1.1", | ||
| "description": "A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+0
-2
@@ -74,4 +74,2 @@ # obug | ||
| For more details, please refer to the [src/types-v2.ts](./src/types-v2.ts). | ||
| ## Original Authors | ||
@@ -78,0 +76,0 @@ |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
21215
0.49%474
0.21%107
-1.83%1
Infinity%