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.4.4 to 0.4.5

4

lib/endpoints/getUsers.js

@@ -20,6 +20,6 @@ const request = require("request");

if (!(ids ?? undefined) && (idsinlogins.length > 0)) {
ids_ = idsinlogins; idsinlogins.forEach(a => logins_.splice(logins_.indexOf(a)));
ids_ = [...ids_, idsinlogins]; idsinlogins.forEach(a => logins_.splice(logins_.indexOf(a)));
};
logins_ = ((logins_ ?? undefined) && convertToArray(logins_)).map(a => cleanChannelName(a));
logins_ = convertToArray(logins_).map(a => cleanChannelName(a));

@@ -26,0 +26,0 @@ let clientid = i.apiclientData[sym]?._options?.clientid;

@@ -11,3 +11,2 @@ const request = require("request");

return new Promise(async (resolve, reject) => {
console.log(broadcaster_id)
if (!(broadcaster_id ?? undefined) || !(user_id ?? undefined)) return reject(Error(`broadcaster_id and/or user_id is undefined`));

@@ -14,0 +13,0 @@ broadcaster_id = cleanChannelName(broadcaster_id); user_id = cleanChannelName(user_id);

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

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

"fs": "^0.0.1-security",
"oberknecht-utils": ">=0.0.7",
"oberknecht-utils": ">=0.0.8",
"request": "^2.88.2"
}
}
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