@contrast/common
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -68,3 +68,3 @@ "use strict"; | ||
} | ||
else if (typeof obj[_k] === 'string' && obj[_k]) { | ||
else if (typeof obj[_k] === 'string' && isNaN(obj[_k]) && obj[_k]) { | ||
cb(path, 'Value', obj[_k], obj); | ||
@@ -83,3 +83,3 @@ } | ||
// only callback if the value is a non-empty string | ||
if (typeof obj[k] === 'string' && obj[k]) { | ||
if (typeof obj[k] === 'string' && isNaN(obj[k]) && obj[k]) { | ||
path.push(k); | ||
@@ -86,0 +86,0 @@ cb(path, 'Value', obj[k], obj); |
@@ -67,3 +67,2 @@ /// <reference types="node" /> | ||
contentType?: string; | ||
standardUrlParsing: boolean; | ||
ip: string; | ||
@@ -70,0 +69,0 @@ httpVersion: string; |
{ | ||
"name": "@contrast/common", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Shared constants and utilities for all Contrast Agent modules", | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
@@ -56,3 +56,3 @@ /* | ||
traverse(obj[_k]); | ||
} else if (typeof obj[_k] === 'string' && obj[_k]) { | ||
} else if (typeof obj[_k] === 'string' && isNaN(obj[_k]) && obj[_k]) { | ||
cb(path, 'Value', obj[_k], obj); | ||
@@ -69,3 +69,3 @@ } | ||
// only callback if the value is a non-empty string | ||
if (typeof obj[k] === 'string' && obj[k]) { | ||
if (typeof obj[k] === 'string' && isNaN(obj[k]) && obj[k]) { | ||
path.push(k); | ||
@@ -72,0 +72,0 @@ cb(path, 'Value', obj[k], obj); |
@@ -92,3 +92,2 @@ /* | ||
contentType?: string; | ||
standardUrlParsing: boolean; | ||
ip: string; | ||
@@ -95,0 +94,0 @@ httpVersion: string; |
Sorry, the diff of this file is not supported yet
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
29625
651