Socket
Socket
Sign inDemoInstall

slack-node

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-node - npm Package Compare versions

Comparing version 0.0.92 to 0.0.93

10

lib/lib/slack.seed.js

@@ -59,10 +59,6 @@ // Generated by CoffeeScript 1.7.1

}, function(err, body, response) {
if (err || response !== "ok") {
return callback(err, {
status: "fail",
response: response
});
}
return callback(err, {
status: "ok",
status: err || response !== "ok" ? "fail" : "ok",
statusCode: body.statusCode,
headers: body.headers,
response: response

@@ -69,0 +65,0 @@ });

@@ -31,3 +31,3 @@ // Generated by CoffeeScript 1.7.1

});
return it(',should send a correct response', function(done) {
it(',should send a correct response', function(done) {
return slack.webhook({

@@ -43,2 +43,14 @@ channel: "#general",

});
return it(',should have status code and headers', function(done) {
return slack.webhook({
channel: "#general",
username: "webhookbot",
text: "This is posted to #general and comes from a bot named webhookbot.",
"icon_emoji": ":ghost:"
}, function(err, response) {
response.statusCode.should.be.a.Number;
response.headers.should.be.an.Object;
return done();
});
});
});

@@ -45,0 +57,0 @@

{
"name": "slack-node",
"version": "0.0.92",
"version": "0.0.93",
"description": "slack for node verision, full support",

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

@@ -82,2 +82,5 @@ slack-node-sdk

* 0.0.93
* return header and status
* 0.0.92

@@ -84,0 +87,0 @@ * merge slack emoji for webhook

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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