query-string
Advanced tools
Comparing version 6.8.1 to 6.8.2
@@ -205,3 +205,3 @@ 'use strict'; | ||
if (options.parseNumbers && !Number.isNaN(Number(value))) { | ||
if (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) { | ||
value = Number(value); | ||
@@ -208,0 +208,0 @@ } else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) { |
{ | ||
"name": "query-string", | ||
"version": "6.8.1", | ||
"version": "6.8.2", | ||
"description": "Parse and stringify URL query strings", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
20555