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

messaging-api-slack

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messaging-api-slack - npm Package Compare versions

Comparing version 0.7.2 to 0.7.4

9

lib/index.js

@@ -1,8 +0,7 @@

'use strict';
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.SlackWebhookClient = exports.SlackOAuthClient = undefined;
var _SlackWebhookClient = require('./SlackWebhookClient');var _SlackWebhookClient2 = _interopRequireDefault(_SlackWebhookClient);
var _SlackOAuthClient = require('./SlackOAuthClient');var _SlackOAuthClient2 = _interopRequireDefault(_SlackOAuthClient);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
var _SlackOAuthClient = require('./SlackOAuthClient');var _SlackOAuthClient2 = _interopRequireDefault(_SlackOAuthClient);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.
module.exports = {
SlackOAuthClient: _SlackOAuthClient2.default,
SlackWebhookClient: _SlackWebhookClient2.default };
SlackOAuthClient = _SlackOAuthClient2.default;exports.SlackWebhookClient = _SlackWebhookClient2.default;exports.default =
{ SlackOAuthClient: _SlackOAuthClient2.default, SlackWebhookClient: _SlackWebhookClient2.default };

@@ -114,3 +114,2 @@ 'use strict';Object.defineProperty(exports, "__esModule", { value: true });var _extends = Object.assign || function (target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i];for (var key in source) {if (Object.prototype.hasOwnProperty.call(source, key)) {target[key] = source[key];}}}return target;};

data = response.data,config = response.config,request = response.request;

@@ -117,0 +116,0 @@

{
"name": "messaging-api-slack",
"description": "Messaging API client for Slack",
"version": "0.7.2",
"version": "0.7.4",
"engines": {

@@ -21,8 +21,8 @@ "node": ">=6"

"dependencies": {
"axios": "^0.17.0",
"axios-error": "^0.7.0"
"axios": "^0.18.0",
"axios-error": "^0.7.4"
},
"devDependencies": {
"axios-mock-adapter": "^1.9.0"
"axios-mock-adapter": "^1.15.0"
}
}

@@ -1,2 +0,2 @@

import { SlackWebhookClient, SlackOAuthClient } from '../';
import { SlackWebhookClient, SlackOAuthClient } from '..';

@@ -3,0 +3,0 @@ it('should export api correctly', () => {

@@ -37,2 +37,3 @@ import querystring from 'querystring';

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -70,2 +71,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -104,2 +106,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -141,2 +144,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -174,2 +178,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -248,2 +253,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -319,2 +325,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -350,2 +357,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -383,2 +391,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -420,2 +429,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -491,2 +501,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -525,2 +536,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -601,2 +613,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -674,2 +687,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -706,2 +720,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -742,2 +757,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -780,2 +796,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -922,2 +939,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1021,2 +1039,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1131,2 +1150,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1143,2 +1163,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1201,2 +1222,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1251,2 +1273,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1303,2 +1326,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1369,2 +1393,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1404,2 +1429,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1434,2 +1460,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1476,2 +1503,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1489,2 +1517,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1585,2 +1614,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1676,2 +1706,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1786,2 +1817,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1798,2 +1830,3 @@ }

{
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',

@@ -1800,0 +1833,0 @@ }

@@ -6,5 +6,3 @@ /* @flow */

module.exports = {
SlackOAuthClient,
SlackWebhookClient,
};
export { SlackOAuthClient, SlackWebhookClient };
export default { SlackOAuthClient, SlackWebhookClient };

@@ -114,3 +114,2 @@ /* @flow */

);
const { data, config, request } = response;

@@ -117,0 +116,0 @@

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