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 0.1.0 to 0.1.1

9

CHANGELOG.md
# Change Log
## v0.1.1 - 2020-06-10
* Fix issue where strings passed to the 'fields()' method of a Section object would be mutated into plain text objects instead of markdown text objects.
* Fix issue where strings passed to the 'elements()' method of a Context object would be mutated into plain text objects instead of markdown text objects.
* Fix type in JSDoc for TextInput Element object (intiialValue => initialValue).
* Update tests to accommodate for these changes.
* Update description and keywords in package.json.
* Update README.md.
## v0.1.0 - 2020-06-09
* Initial Release and Commit

8

package.json
{
"name": "slack-block-builder",
"version": "0.1.0",
"description": "Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder interface, inspired by SwiftUI.",
"version": "0.1.1",
"description": "Lightweight, zero-dependency library for creating Slack messages and modals, with a builder interface inspired by SwiftUI.",
"author": {

@@ -30,6 +30,8 @@ "name": "Ray East",

"modal",
"block-kit",
"block",
"kit",
"swiftui",
"bot",
"modal",
"messages",
"message-builder",

@@ -36,0 +38,0 @@ "block-builder",

@@ -242,3 +242,3 @@ const { Button, ButtonDto } = require('./button');

* @param {string} [params.placeholder] Adds the text in place of the input before selected or interacted with
* @param {string} [params.intiialValue] Sets the default text entered into the TextInput at load
* @param {string} [params.initialValue] Sets the default text entered into the TextInput at modal load
* @param {int} [params.minLength] Sets a minimum character count in order for the user to submit the form

@@ -245,0 +245,0 @@ * @param {int} [params.maxLength] Sets a maximum character count allowed to send the form

@@ -66,3 +66,3 @@ const Objects = require('../../objects');

return array.map((item) => (typeof item === 'string'
? this.getPlainTextObject(item)
? this.getMarkdownObject(item)
: item.build()));

@@ -76,3 +76,3 @@ }

return array.map((item) => this.getPlainTextObject(item));
return array.map((item) => this.getMarkdownObject(item));
}

@@ -106,4 +106,4 @@

}
}
}
module.exports = BuilderHelper;
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