Socket
Socket
Sign inDemoInstall

@amplitude/utils

Package Overview
Dependencies
2
Maintainers
16
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.4 to 1.9.0

4

dist/src/validateProperties.js

@@ -37,3 +37,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

}
else if (!(typeof valueElement === 'number' || typeof valueElement === 'string')) {
else if (!(typeof valueElement === 'number' || typeof valueElement === 'string' || typeof valueElement === 'boolean')) {
logger_1.logger.warn('invalid array element type ', typeof valueElement);

@@ -55,3 +55,3 @@ return false;

}
else if (!(typeof value === 'number' || typeof value === 'string')) {
else if (!(typeof value === 'number' || typeof value === 'string' || typeof value === 'boolean')) {
logger_1.logger.warn('invalid value type ', typeof value);

@@ -58,0 +58,0 @@ return false;

@@ -35,3 +35,3 @@ import { __values } from "tslib";

}
else if (!(typeof valueElement === 'number' || typeof valueElement === 'string')) {
else if (!(typeof valueElement === 'number' || typeof valueElement === 'string' || typeof valueElement === 'boolean')) {
logger.warn('invalid array element type ', typeof valueElement);

@@ -53,3 +53,3 @@ return false;

}
else if (!(typeof value === 'number' || typeof value === 'string')) {
else if (!(typeof value === 'number' || typeof value === 'string' || typeof value === 'boolean')) {
logger.warn('invalid value type ', typeof value);

@@ -56,0 +56,0 @@ return false;

{
"name": "@amplitude/utils",
"version": "1.8.4",
"version": "1.9.0",
"description": "Utility functions for the Amplitude JavaScript SDK",

@@ -19,3 +19,3 @@ "repository": "git://github.com/amplitude/Amplitude-Node.git",

"dependencies": {
"@amplitude/types": "^1.8.4",
"@amplitude/types": "^1.9.0",
"tslib": "^1.9.3"

@@ -52,3 +52,3 @@ },

"sideEffects": false,
"gitHead": "e0d89f4f5d603b2c559b06dc60e5e9e432c04e6e"
"gitHead": "e8f0bdac033d9ecca47092c123c0596ca516a915"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc