Comparing version 2.43.1 to 2.44.0
@@ -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" | ||
} |
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
1545564
31
1679
+ Addedrel-to-abs@~0.1.0
+ Addedrel-to-abs@0.1.0(transitive)
- Removedcheerio@0.22.x
- Removedboolbase@1.0.0(transitive)
- Removedcheerio@0.22.0(transitive)
- Removedcss-select@1.2.0(transitive)
- Removedcss-what@2.1.3(transitive)
- Removeddom-serializer@0.1.1(transitive)
- Removeddomelementtype@1.3.1(transitive)
- Removeddomhandler@2.4.2(transitive)
- Removeddomutils@1.5.1(transitive)
- Removedhtmlparser2@3.10.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedlodash.assignin@4.2.0(transitive)
- Removedlodash.bind@4.2.1(transitive)
- Removedlodash.defaults@4.2.0(transitive)
- Removedlodash.filter@4.6.0(transitive)
- Removedlodash.flatten@4.4.0(transitive)
- Removedlodash.foreach@4.5.0(transitive)
- Removedlodash.map@4.6.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedlodash.pick@4.4.0(transitive)
- Removedlodash.reduce@4.6.0(transitive)
- Removedlodash.reject@4.6.0(transitive)
- Removedlodash.some@4.6.0(transitive)
- Removednth-check@1.0.2(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)