Comparing version 0.0.8 to 0.0.9
@@ -6,3 +6,9 @@ var getUrls = require('get-urls'); | ||
SteemEmbed.getUrls = function (text) { | ||
return getUrls(text); | ||
var urls = []; | ||
try { | ||
urls = getUrls(text); | ||
} catch (e) { | ||
console.log(e); | ||
} | ||
return urls; | ||
}; | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "embedjs", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Extract embed information for all the media links in your texts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
24924
145