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

twitchrequest

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitchrequest - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

index.ts

4

index.js

@@ -79,3 +79,3 @@ "use strict";

response = _a.sent();
if (!response) return [3 /*break*/, 5];
if (!(response && response.data && response.data.length)) return [3 /*break*/, 5];
e = response.data.find(function (d) { return d.display_name === ch.name; });

@@ -233,3 +233,3 @@ return [4 /*yield*/, this.getData("https://api.twitch.tv/helix/games?id=" + e.game_id, token)];

response = _a.sent();
if (response.data === undefined) {
if (!response || !response.data) {
console.log("[TwitchRequest] Error while fetching user data! (User=" + username.toLowerCase() + ")");

@@ -236,0 +236,0 @@ resolve(undefined);

{
"name": "twitchrequest",
"version": "1.2.6",
"version": "1.2.7",
"description": "Get Twitch requests for streams, especially when a stream goes live or stops streaming",

@@ -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