Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gameanalytics-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gameanalytics-node-sdk - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/goldfire/gameanalytics-node-sdk",
"version": "1.1.1",
"version": "1.1.2",
"keywords": [

@@ -8,0 +8,0 @@ "GameAnalytics",

@@ -221,3 +221,3 @@ /**

if (params[key].required && !data[key]) {
console.error(new Error(`Missing required property "${key}"`));
console.error(new Error(`Missing required property "${key}". ${JSON.stringify(data)}`));
valid = false;

@@ -231,3 +231,3 @@ return;

if (params[key].enum && !params[key].enum.includes(data[key])) {
console.error(new Error(`Invalid value "${data[key]}" for property "${key}"`));
console.error(new Error(`Invalid value "${data[key]}" for property "${key}".`));
valid = false;

@@ -239,3 +239,3 @@ return;

if (typeof data[key] !== params[key].type) {
console.error(new Error(`Property "${key}" must be of type "${params[key].type}"`));
console.error(new Error(`Property "${key}" must be of type "${params[key].type}".`));
valid = false;

@@ -247,3 +247,3 @@ return;

if (params[key].pattern && !params[key].pattern.test(`${data[key]}`)) {
console.error(new Error(`Invalid value "${data[key]}" supplied for property "${key}"`));
console.error(new Error(`Invalid value "${data[key]}" supplied for property "${key}".`));
valid = false;

@@ -250,0 +250,0 @@ }

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