Skip to content

Commit b4dba50

Browse files
pleymorYaminyamAdrien Laugueux
authoredJul 6, 2022
Fix/vulnerabilities cheerio (#115)
* chore: Bump cheerio from 0.22.0 to 1.0.0-rc.10 * ⬆️ 🔒 Bump cheerio from 0.22.0 to 1.0.0-rc.10 * 🔥 Delete .nvmrc in list-stylesheets * 🔥 Delete .nvmrc in extract-css * 🔥 Delete .nvmrc in style-data * Delete .nvmrc * ✅ use `js-beautify` to beautify html in tests * 🚨 fix some lint issues `eslint --fix index.js lib/ packages/` Co-authored-by: siontama <siontama@naver.com> Co-authored-by: Adrien Laugueux <adrien.laugueux@southpigalle.io>
1 parent 21fb57e commit b4dba50

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+13771
-1243
lines changed
 

‎lib/inline-css.js

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ module.exports = (html, css, options) => {
8383
// skip invalid selector
8484
return false;
8585
}
86+
return undefined;
8687
});
8788

8889
// flatten array if nested

‎lib/inlineContent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function inlineContent(src, options) {
2424
return reject(e);
2525
}
2626

27-
resolve(content);
27+
return resolve(content);
2828
});
2929
});
3030

0 commit comments

Comments
 (0)
Please sign in to comment.