New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-dota-api

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-dota-api - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

dotaPlayerApi.js
/**
* node-dota-api
* A node-based API to get Dota stats for players, heroes, matches, and more!
* @version 0.2.1
* @version 0.2.3
* @author Alex Muench

@@ -69,3 +69,3 @@ */

//If invalid values are passed in, the username will equal the invalid value, or NaN
if (playerInfoJson.name == playerID || playerInfoJson.name = NaN) {
if (playerInfoJson.name == playerID || playerInfoJson.name == 'NaN') {

@@ -72,0 +72,0 @@ playerInfoJson.status = "Invalid User";

{
"name": "node-dota-api",
"version": "0.2.2",
"version": "0.2.3",
"description": "A node-based API to get Dota stats for players, heroes, matches, and more!",

@@ -5,0 +5,0 @@ "main": "./dotaPlayerApi.js",

@@ -5,2 +5,5 @@ # node-dota-api

## What's New? ##
v0.2.3
-Quick hotfix for a 0.2.2 issue
v 0.2.2

@@ -7,0 +10,0 @@ -Added check for invalid user

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