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

tmi.js

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmi.js - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

4

lib/client.js

@@ -578,3 +578,3 @@ var bunyan = require("bunyan");

message.tags["message-type"]["message-type"] = "action";
self.emit("message", message.params[0], message.tags, message.params[1].match(/^\u0001ACTION ([^\u0001]+)\u0001$/)[1], false);
self.emit("message", message.args[0], message.tags, message.args[1].match(/^\u0001ACTION ([^\u0001]+)\u0001$/)[1], false);
}

@@ -587,3 +587,3 @@ // Message is a regular message..

message.tags["message-type"] = "chat";
self.emit("message", message.params[0], message.tags, message.params[1], false);
self.emit("message", message.args[0], message.tags, message.args[1], false);
}

@@ -590,0 +590,0 @@ break;

@@ -18,3 +18,3 @@ var toNumber = require("underscore.string/toNumber"),

function normalizeChannel(name) {
return "#" + ltrim(name, "#");
return "#" + ltrim(name.toLoweCase(), "#");
}

@@ -24,3 +24,3 @@

function normalizeUsername(username) {
return ltrim(username, "#");
return ltrim(username.toLoweCase(), "#");
}

@@ -27,0 +27,0 @@

{
"name": "tmi.js",
"version": "0.0.9",
"version": "0.0.10",
"description": "Javascript library for the Twitch Messaging Interface.",

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