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

oberknecht-api

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oberknecht-api - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

14

lib/endpoints/_getUsers.js

@@ -66,10 +66,12 @@ const _validatetoken = require("./_validatetoken");

if (logins.length == 0 && ids.length == 0) return resolve(r);
if (logins.length === 0 && ids.length === 0) return resolve(r);
getUsers(sym, logins, ids)
.then(dat => {
dat.data?.forEach(a => {
r.ids[a.id] = a.login;
r.logins[a.login] = a.id;
r.details[a.id] = a;
.then(async dat => {
Object.keys(dat.details).forEach(a => {
let b = dat.details[a];
r.ids[b.id] = b.login;
r.logins[b.login] = b.id;
r.details[b.id] = b;
});

@@ -76,0 +78,0 @@

{
"name": "oberknecht-api",
"version": "0.1.8",
"version": "0.1.9",
"description": "A client for easy usage of the Twitch API (Helix)",

@@ -5,0 +5,0 @@ "main": "index.js",

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