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

steamapi

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steamapi - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12

.vscode/settings.json

2

dist/src/structures/UserBadges.js

@@ -14,3 +14,3 @@ import UserBadge from './UserBadge.js';

constructor(data) {
this.badges = data.badges.map((badge) => new UserBadge(badge));
this.badges = data.badges ? data.badges.map((badge) => new UserBadge(badge)) : [];
this.xp = data.player_xp;

@@ -17,0 +17,0 @@ this.xpRemaining = data.player_xp_needed_to_level_up;

@@ -7,3 +7,3 @@ {

"types": "dist/index.d.ts",
"version": "3.0.11",
"version": "3.0.12",
"license": "MIT",

@@ -10,0 +10,0 @@ "type": "module",

@@ -20,3 +20,3 @@ import UserBadge from './UserBadge.js';

constructor(data: any) {
this.badges = data.badges.map((badge: any) => new UserBadge(badge));
this.badges = data.badges ? data.badges.map((badge: any) => new UserBadge(badge)) : [];

@@ -23,0 +23,0 @@ this.xp = data.player_xp;

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