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

slack-block-builder

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-block-builder - npm Package Compare versions

Comparing version 1.2.1 to 1.3.1

4

CHANGELOG.md
# Change Log
## v1.3.1 – 2020-06-30
* Add support for markdown for the `description` property of the `Options` `Bit` object.
## v1.2.1 – 2020-06-27

@@ -4,0 +8,0 @@

8

package.json
{
"name": "slack-block-builder",
"version": "1.2.1",
"version": "1.3.1",
"description": "Maintainable code for interactive Slack messages, modals and home tabs. A must-have for the Slack Block Kit framework.",

@@ -39,3 +39,7 @@ "author": {

"slack-block-builder",
"block-kit"
"block-kit",
"blocks",
"botkit",
"bolt",
"slack-bolt"
],

@@ -42,0 +46,0 @@ "scripts": {

@@ -103,4 +103,8 @@ const { Bit } = require('./base');

const augmentedProps = {
text: isMarkdown ? BuilderHelper.getMarkdownObject(this.props.text) : BuilderHelper.getPlainTextObject(this.props.text),
description: BuilderHelper.getPlainTextObject(this.props.description),
text: isMarkdown
? BuilderHelper.getMarkdownObject(this.props.text)
: BuilderHelper.getPlainTextObject(this.props.text),
description: isMarkdown
? BuilderHelper.getMarkdownObject(this.props.description)
: BuilderHelper.getPlainTextObject(this.props.description),
};

@@ -107,0 +111,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