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

serverless-slack

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-slack - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

2

package.json
{
"name": "serverless-slack",
"description": "A Slack App Framework for AWS Lambda / Serverless.js",
"version": "1.0.23",
"version": "1.0.24",
"main": "src/index.js",

@@ -6,0 +6,0 @@ "author": "John Agan <john@slack-corp.com>",

@@ -46,3 +46,2 @@ 'use strict';

else if (event && event.item) return event.item.channel;
else if (auth.incoming_webhook) return auth.incoming_webhook.channel_id;
}

@@ -77,5 +76,9 @@

if (!ephemeral) message.response_type = 'in_channel';
return this.send(this.response_url, message);
return this.send(this.response_url, message);
// fallback when not ephemeral
// incoming webhooks
} else if (this.auth.incoming_webhook && !this.channel && !message.channel) {
return this.send(this.auth.incoming_webhook.url, message);
// fallback
} else {

@@ -82,0 +85,0 @@ return this.say(message);

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