@github/paste-markdown
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -292,4 +292,5 @@ function insertText(textarea, text) { | ||
} | ||
const URL_REGEX = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\/?\s*?$/i; | ||
function isURL(url) { | ||
return /^https?:\/\//i.test(url); | ||
return URL_REGEX.test(url); | ||
} | ||
@@ -296,0 +297,0 @@ |
@@ -298,4 +298,5 @@ (function (global, factory) { | ||
} | ||
const URL_REGEX = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\/?\s*?$/i; | ||
function isURL(url) { | ||
return /^https?:\/\//i.test(url); | ||
return URL_REGEX.test(url); | ||
} | ||
@@ -302,0 +303,0 @@ |
{ | ||
"name": "@github/paste-markdown", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Paste spreadsheet cells as a Markdown table.", | ||
@@ -5,0 +5,0 @@ "repository": "github/paste-markdown", |
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
36120
880