Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

whichtype

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whichtype - npm Package Compare versions

Comparing version
1.2.0
to
1.3.0
+1
-1
dist/args.js

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

function isFlag(arg) {
if (arg.startsWith("-") && !hasAColon(arg)) {
if (arg.startsWith("-") && arg.length > 1 && !hasAColon(arg) && !isNumeric(arg)) {
return true;

@@ -27,0 +27,0 @@ }

{
"name": "whichtype",
"version": "1.2.0",
"version": "1.3.0",
"description": "Whichtype is a small JavaScript library for checking the type of your variables.",

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

@@ -86,3 +86,3 @@

| `Description` | `Whichtype is a small JavaScript library for checking the type of your variables.` |
| `Version` | `1.2.0` |
| `Version` | `1.3.0` |
| `Author` | `iaseth` |

@@ -89,0 +89,0 @@ | `Homepage` | `https://github.com/iaseth/whichtype` |