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

@slack/webhook

Package Overview
Dependencies
Maintainers
15
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/webhook - npm Package Compare versions

Comparing version 5.0.4 to 6.0.0

1

dist/errors.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.httpErrorWithOriginal = exports.requestErrorWithOriginal = exports.ErrorCode = void 0;
/**

@@ -4,0 +5,0 @@ * A dictionary of codes for errors produced by this package

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.IncomingWebhook = void 0;
const axios_1 = __importDefault(require("axios"));

@@ -8,0 +9,0 @@ const errors_1 = require("./errors");

5

dist/index.js
"use strict";
/// <reference lib="es2017" />
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorCode = exports.IncomingWebhook = void 0;
var IncomingWebhook_1 = require("./IncomingWebhook");
exports.IncomingWebhook = IncomingWebhook_1.IncomingWebhook;
Object.defineProperty(exports, "IncomingWebhook", { enumerable: true, get: function () { return IncomingWebhook_1.IncomingWebhook; } });
var errors_1 = require("./errors");
exports.ErrorCode = errors_1.ErrorCode;
Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return errors_1.ErrorCode; } });
//# sourceMappingURL=index.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUserAgent = exports.addAppMetadata = void 0;
const os = __importStar(require("os"));

@@ -11,0 +24,0 @@ const packageJson = require('../package.json'); // tslint:disable-line:no-require-imports no-var-requires

{
"name": "@slack/webhook",
"version": "5.0.4",
"version": "6.0.0",
"description": "Official library for using the Slack Platform's Incoming Webhooks",

@@ -21,4 +21,4 @@ "author": "Slack Technologies, Inc.",

"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.5.1"
"node": ">= 12.13.0",
"npm": ">= 6.12.0"
},

@@ -44,3 +44,3 @@ "repository": "slackapi/node-slack-sdk",

"@slack/types": "^1.2.1",
"@types/node": ">=8.9.0",
"@types/node": ">=12.0.0",
"axios": "^0.21.1"

@@ -63,4 +63,4 @@ },

"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.3.3333"
"typescript": "^4.1.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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