slackify-markdown
Advanced tools
Comparing version 1.0.4 to 1.1.0
{ | ||
"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 [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15921
5
420
+ Addedis-url@^1.2.4
+ Addedis-url@1.2.4(transitive)