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 1.0.4 to 1.1.0

3

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

@@ -36,2 +36,3 @@ "license": "MIT",

"dependencies": {
"is-url": "^1.2.4",
"remark-parse": "^5.0.0",

@@ -38,0 +39,0 @@ "remark-stringify": "^5.0.0",

const { Compiler } = require('remark-stringify');
const { isURL, wrap } = require('./utils');
const isURL = require('is-url');
const { wrap } = require('./utils');

@@ -4,0 +5,0 @@ // fixes slack in-word formatting (e.g. hel*l*o)

@@ -1,12 +0,2 @@

const { URL } = require('url');
module.exports = {
isURL(string) {
try {
return Boolean(new URL(string));
} catch (error) {
return false;
}
},
wrap(string, ...wrappers) {

@@ -13,0 +3,0 @@ return [

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