@miniflare/cli-parser
Advanced tools
Comparing version 2.0.0-rc.4 to 2.0.0-rc.5
@@ -208,3 +208,5 @@ var __create = Object.create; | ||
typeName = "boolean/string"; | ||
if (type === import_shared2.OptionType.OBJECT) { | ||
else if (type === import_shared2.OptionType.BOOLEAN_NUMBER) | ||
typeName = "boolean/number"; | ||
else if (type === import_shared2.OptionType.OBJECT) { | ||
typeName = `array:${typeFormat ?? "KEY=VALUE"}`; | ||
@@ -338,2 +340,6 @@ } | ||
parsedValue = value.toString(); | ||
} else if (type === import_shared3.OptionType.BOOLEAN_NUMBER) { | ||
if (typeof value !== "boolean" && typeof value !== "number") { | ||
unexpected(name, value, "boolean/number"); | ||
} | ||
} else if (type === import_shared3.OptionType.ARRAY || type === import_shared3.OptionType.OBJECT) { | ||
@@ -340,0 +346,0 @@ if (!Array.isArray(value)) |
{ | ||
"name": "@miniflare/cli-parser", | ||
"version": "2.0.0-rc.4", | ||
"version": "2.0.0-rc.5", | ||
"description": "CLI option parsing module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers", | ||
@@ -38,8 +38,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@miniflare/shared": "2.0.0-rc.4", | ||
"@miniflare/shared": "2.0.0-rc.5", | ||
"kleur": "^4.1.4" | ||
}, | ||
"devDependencies": { | ||
"@miniflare/core": "2.0.0-rc.4", | ||
"@miniflare/shared-test": "2.0.0-rc.4", | ||
"@miniflare/core": "2.0.0-rc.5", | ||
"@miniflare/shared-test": "2.0.0-rc.5", | ||
"@types/mri": "^1.1.1", | ||
@@ -46,0 +46,0 @@ "mri": "^1.1.6" |
Sorry, the diff of this file is not supported yet
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
23480
375
+ Added@miniflare/shared@2.0.0-rc.5(transitive)
- Removed@miniflare/shared@2.0.0-rc.4(transitive)
Updated@miniflare/shared@2.0.0-rc.5