rthaut / deviantART-Filter

A browser extension that allows you to filter DeviantArt by user, keyword, and/or category.
https://rthaut.github.io/deviantART-Filter/
GNU General Public License v3.0
31 stars 1 forks source link

Update dependency html-to-text to v5 #92

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
html-to-text devDependencies major ^4.0.0 -> ^5.0.0 source

Release Notes

werk85/node-html-to-text ### [`v5.1.1`](https://togithub.com/werk85/node-html-to-text/blob/master/CHANGELOG.md#Version-511) [Compare Source](https://togithub.com/werk85/node-html-to-text/compare/5.1.0...5.1.1) - `preserveNewLines` whitespace issue fixed [#​162](https://togithub.com/werk85/node-html-to-text/pull/162) ### [`v5.1.0`](https://togithub.com/werk85/node-html-to-text/blob/master/CHANGELOG.md#Version-510) [Compare Source](https://togithub.com/werk85/node-html-to-text/compare/5.0.0...5.1.0) - Hard-coded CLI options removed [#​173](https://togithub.com/werk85/node-html-to-text/pull/173) ### [`v5.0.0`](https://togithub.com/werk85/node-html-to-text/blob/master/CHANGELOG.md#Version-500) [Compare Source](https://togithub.com/werk85/node-html-to-text/compare/d1e30770094fd9776f42bfeaf3192839c45cedf8...5.0.0) ##### BREAKING CHANGES ##### fromFile removed The function `fromFile` is removed. It was the main reason `html-to-text` could not be used in the browser [#​164](https://togithub.com/werk85/node-html-to-text/pull/164). You can get the `fromFile` functionality back by using the following code ```js const fs = require('fs'); const { fromString } = require('html-to-text'); // Callback version const fromFile = (file, options, callback) => { if (!callback) { callback = options; options = {}; } fs.readFile(file, 'utf8', (err, str) => { if (err) return callback(err); callback(null, fromString(str, options)); }); }; // Promise version const fromFile = (file, option) => fs.promises.readFile(file, 'utf8').then(html => fromString(html, options)); // Sync version const fromFileSync = (file, options) => fromString(fs.readFileSync(file, 'utf8'), options); ``` ##### Supported NodeJS Versions Node versions < 6 are no longer supported.

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.