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

slackify-markdown

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slackify-markdown - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

2

package.json
{
"name": "slackify-markdown",
"version": "4.3.0",
"version": "4.3.1",
"description": "Convert markdown into Slack-specific markdown",

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

const defaultHandlers = require('mdast-util-to-markdown/lib/handle');
const phrasing = require('mdast-util-to-markdown/lib/util/container-phrasing');
const { wrap, isURL } = require('./utils');
const { wrap, isURL, isPotentiallyEncoded } = require('./utils');

@@ -77,3 +77,3 @@ // fixes slack in-word formatting (e.g. hel*l*o)

|| node.title;
const url = encodeURI(node.url);
const url = isPotentiallyEncoded(node.url) ? node.url : encodeURI(node.url);
exit();

@@ -80,0 +80,0 @@

@@ -17,2 +17,6 @@ module.exports = {

},
isPotentiallyEncoded(uri) {
return uri !== decodeURIComponent(uri || '');
},
};
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