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

nestjs-slack-webhook

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-slack-webhook - npm Package Compare versions

Comparing version 8.2.1 to 8.2.2

2

__tests__/injectSlack.test.ts

@@ -14,3 +14,3 @@ import { Injectable } from "@nestjs/common";

public constructor(
@InjectSlack() public readonly slackClient: IncomingWebhook
@InjectSlack() public readonly slackClient: IncomingWebhook,
) {}

@@ -17,0 +17,0 @@ }

@@ -9,3 +9,3 @@ "use strict";

provide: slackConstants_1.SLACK_TOKEN,
useValue: getSlackClient_1.getSlackClient(options),
useValue: (0, getSlackClient_1.getSlackClient)(options),
};

@@ -12,0 +12,0 @@ }

"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]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -7,5 +7,5 @@ "use strict";

function InjectSlack() {
return common_1.Inject(slackConstants_1.SLACK_TOKEN);
return (0, common_1.Inject)(slackConstants_1.SLACK_TOKEN);
}
exports.InjectSlack = InjectSlack;
//# sourceMappingURL=injectSlack.js.map

@@ -17,3 +17,3 @@ "use strict";

static forRoot(options) {
const provider = createSlackProvider_1.createSlackProvider(options);
const provider = (0, createSlackProvider_1.createSlackProvider)(options);
return {

@@ -29,3 +29,3 @@ exports: [provider],

provide: slackConstants_1.SLACK_TOKEN,
useFactory: (slackOptions) => getSlackClient_1.getSlackClient(slackOptions),
useFactory: (slackOptions) => (0, getSlackClient_1.getSlackClient)(slackOptions),
};

@@ -74,6 +74,6 @@ return {

SlackCoreModule = SlackCoreModule_1 = __decorate([
common_1.Global(),
common_1.Module({})
(0, common_1.Global)(),
(0, common_1.Module)({})
], SlackCoreModule);
exports.SlackCoreModule = SlackCoreModule;
//# sourceMappingURL=slackCoreModule.js.map

@@ -28,5 +28,5 @@ "use strict";

SlackModule = SlackModule_1 = __decorate([
common_1.Module({})
(0, common_1.Module)({})
], SlackModule);
exports.SlackModule = SlackModule;
//# sourceMappingURL=slackModule.js.map
{
"name": "nestjs-slack-webhook",
"version": "8.2.1",
"version": "8.2.2",
"description": "Nest.js + slack-webhook",

@@ -29,5 +29,5 @@ "license": "MIT",

"devDependencies": {
"@nestjs/testing": "8.2.5"
"@nestjs/testing": "8.4.3"
},
"types": "lib/index.d.ts"
}

@@ -6,3 +6,4 @@ # nestjs-slack-webhook

Nest.js + [Slack Incoming Webhook](https://github.com/slackapi/node-slack-sdk/tree/main/packages/webhook)
Nest.js +
[Slack Incoming Webhook](https://github.com/slackapi/node-slack-sdk/tree/main/packages/webhook)

@@ -34,4 +35,3 @@ ## Install

constructor(
@InjectSlack()
private readonly slack: IncomingWebhook
@InjectSlack() private readonly slack: IncomingWebhook,
) {}

@@ -38,0 +38,0 @@ }

@@ -8,3 +8,3 @@ import { Provider } from "@nestjs/common";

export function createSlackProvider(
options: SlackOptions
options: SlackOptions,
): Provider<IncomingWebhook> {

@@ -11,0 +11,0 @@ return {

@@ -56,3 +56,3 @@ import { DynamicModule, Global, Module, Provider } from "@nestjs/common";

private static createAsyncOptionsProvider(
options: SlackAsyncOptions
options: SlackAsyncOptions,
): Provider {

@@ -59,0 +59,0 @@ if (options.useFactory) {

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

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