Socket
Socket
Sign inDemoInstall

@contrast/common

Package Overview
Dependencies
Maintainers
17
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/common - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

4

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc