Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@miniflare/cli-parser

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miniflare/cli-parser - npm Package Compare versions

Comparing version 2.0.0-rc.4 to 2.0.0-rc.5

8

dist/src/index.js

@@ -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))

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc