Socket
Socket
Sign inDemoInstall

@slack/bolt

Package Overview
Dependencies
194
Maintainers
12
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-nextGen.5 to 4.0.0-nextGen.6

1

dist/SlackFunction.d.ts
import { AllMiddlewareArgs, AnyMiddlewareArgs, Middleware, SlackAction, SlackActionMiddlewareArgs, SlackEventMiddlewareArgs, SlackViewAction, SlackViewMiddlewareArgs } from './types';
import { ActionConstraints, ViewConstraints } from './App';
export declare const manifestUtil: any;
export declare const getManifestDataUtil: any;
export interface SlackFunctionExecutedMiddlewareArgs extends SlackEventMiddlewareArgs<'function_executed'> {

@@ -5,0 +6,0 @@ complete: CompleteFunction;

6

dist/SlackFunction.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.hasHandler = exports.findMatchingManifestDefinition = exports.hasMatchingManifestDefinition = exports.hasCallbackId = exports.errorIfInvalidConstraintKeys = exports.validate = exports.passConstraint = exports.isFunctionInteractivityEvent = exports.isFunctionExecutedEvent = exports.SlackFunction = exports.manifestUtil = void 0;
exports.hasHandler = exports.findMatchingManifestDefinition = exports.hasMatchingManifestDefinition = exports.hasCallbackId = exports.errorIfInvalidConstraintKeys = exports.validate = exports.passConstraint = exports.isFunctionInteractivityEvent = exports.isFunctionExecutedEvent = exports.SlackFunction = exports.getManifestDataUtil = exports.manifestUtil = void 0;
const util_1 = __importDefault(require("util"));

@@ -13,2 +13,4 @@ const logger_1 = require("@slack/logger");

exports.manifestUtil = require('./cli/hook-utils/manifest');
// eslint-disable-next-line
exports.getManifestDataUtil = require('./cli/hook-utils/get-manifest-data');
/**

@@ -394,3 +396,3 @@ * *SlackFunction*

// call the hook to get the manifest
const manifest = exports.manifestUtil.getManifestData(process.cwd());
const manifest = exports.getManifestDataUtil.getManifestData(process.cwd());
// manifest file must exist in the project

@@ -397,0 +399,0 @@ if (!('functions' in manifest)) {

{
"name": "@slack/bolt",
"version": "4.0.0-nextGen.5",
"version": "4.0.0-nextGen.6",
"description": "A framework for building Slack apps, fast.",

@@ -5,0 +5,0 @@ "author": "Slack Technologies, LLC",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc