Socket
Socket
Sign inDemoInstall

clef-parse

Package Overview
Dependencies
16
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

4

dist/index.js

@@ -30,3 +30,3 @@ "use strict";

let item = argv.shift();
if (!item)
if (item == null)
break;

@@ -48,3 +48,3 @@ if (item === "--") {

if (!item.startsWith("--")) {
throw new Error(`Invalid command-line flag: '${item}'. Single-character command-line flags should only have one dash before them, and multi-character command-line flags should have two dashes before them.`);
throw new Error(`Invalid command-line flag: '${item}'. Single-character command-line flags should only have one dash before them, and multi-character command-line flags should have two dashes before them. If you want to pass '${item}' as a positional argument, place it after a '--'.`);
}

@@ -51,0 +51,0 @@ propertyName = changeCase.camelCase(item.replace(/^--/, ""));

{
"name": "clef-parse",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple, lightweight argv parser. Powers the cleffa and clefairy packages",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc