Comparing version 0.1.2 to 0.1.3
@@ -23,2 +23,3 @@ 'use strict'; | ||
if (input === undefined && allowUndefined) return input; | ||
if (allowNull && typeof input === 'string' && !input.length) return null; | ||
if (typeof input === 'object' && !Array.isArray(input)) { | ||
@@ -25,0 +26,0 @@ return JSON.stringify(input); |
{ | ||
"name": "astype", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Convert unknown type to certain type", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
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
13541
156