Socket
Socket
Sign inDemoInstall

@slack/client

Package Overview
Dependencies
67
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0-beta.1 to 2.3.0-beta.2

8

lib/clients/rtm/client.js

@@ -14,2 +14,3 @@ /**

var isUndefined = require('lodash').isUndefined;
var forEach = require('lodash').forEach;
var noop = require('lodash').noop;

@@ -676,9 +677,8 @@ var keys = require('lodash').keys;

var _handleWsSendResponse = bind(this._handleWsSendResponse, this, msgId);
// NOTE: this is done before we clone and add the id property to the message, so that if the
// message is retried it'll definitely get a new id
this._pendingMessages[msgId] = message;
var wsMsg = cloneDeep(message);
wsMsg.id = msgId;
// Track the message from the client's perspective
this._pendingMessages[msgId] = message;
jsonMessage = JSON.stringify(wsMsg);

@@ -685,0 +685,0 @@ this.logger('debug', 'sending message via ws: ' + jsonMessage);

{
"name": "@slack/client",
"version": "2.3.0-beta.1",
"version": "2.3.0-beta.2",
"description": "A library for creating a Slack client",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc