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

mehdown

Package Overview
Dependencies
Maintainers
6
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mehdown - npm Package Compare versions

Comparing version 2.43.1 to 2.44.0

17

lib/index.js

@@ -14,2 +14,3 @@ const url = require('url');

const randomPuppy = require('random-puppy');
const relToAbs = require('rel-to-abs');
const request = require('request');

@@ -19,3 +20,2 @@ const roll = require('roll');

const textify = require('textify');
const woot = require('./plugins/woot');
const whatDog = require('what-dog');

@@ -709,2 +709,5 @@ const xkcd = require('./plugins/xkcd');

exports.html = {
convertRelativeUrlsToAbsoluteUrls: function(html, baseUrl) {
return relToAbs.convert(html, baseUrl);
},
convertToLazyLoadedImages: function(html) {

@@ -933,3 +936,2 @@ var imgElements = exports.html.getElementsByTagName(html, 'img');

md.use(require('./plugins/vine'));
md.use(woot.markdown);
md.use(xkcd.markdown);

@@ -946,11 +948,2 @@ md.use(require('./plugins/youtube'));

function(callback) {
woot.postMarkdown(html, function(err, _html) {
if (!err && _html) {
html = _html;
}
callback();
});
},
function(callback) {
xkcd.postMarkdown(html, function(err, _html) {

@@ -1059,2 +1052,2 @@ if (!err && _html) {

return `<iframe allowfullscreen class="youtube" frameborder="0" src="${embedUrl}"></iframe>`;
};
};

@@ -16,2 +16,2 @@ const usernameRegExp = /^\w{1,15}/;

}
};
};
{
"dependencies": {
"async": "2.6.x",
"cheerio": "0.22.x",
"emojione": "3.1.7",

@@ -15,2 +14,3 @@ "flip": "1.0.x",

"random-puppy": "1.1.x",
"rel-to-abs": "~0.1.0",
"request": "~2.88.0",

@@ -40,3 +40,3 @@ "roll": "1.2.x",

},
"version": "2.43.1"
"version": "2.44.0"
}
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