Skip to content

Commit

Permalink
chore: upgrade web-resource-inliner, support node v10+
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Mar 20, 2022
1 parent 6ba0098 commit 3cd75b4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["@babel/env", {
"targets": {
"node": "8"
"node": "10"
}
}]
],
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_js:
- '10'
- '12'
- '14'
- '16'
script:
npm run test-coverage
after_success:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Create, [preview][preview-email], and send custom email templates for [Node.js][
* [Options](#options)
* [Plugins](#plugins)
* [Breaking Changes](#breaking-changes)
* [v9.0.0](#v900)
* [v8.0.0](#v800)
* [v7.0.0](#v700)
* [v6.0.0](#v600)
Expand Down Expand Up @@ -842,6 +843,10 @@ We also highly recommend to add to your default `config.locals` the following:

See the [Releases](https://github.com/forwardemail/email-templates/releases) page for an up to date changelog.

### v9.0.0

This package now requires Node v10.x+ due to [web-resource-inliner](https://github.com/jrit/web-resource-inliner/blob/master/HISTORY.md#2020-07-09-v500) dependency.

### v8.0.0

We upgraded [html-to-text](https://github.com/html-to-text/node-html-to-text) to v6. As a result, automatically generated text versions of your emails will look slightly different, as per the example below:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"debug": "^4.3.4",
"get-paths": "^0.0.7",
"html-to-text": "^8.1.0",
"juice": "^7.0.0",
"juice": "^8.0.0",
"lodash": "^4.17.21",
"nodemailer": "^6.7.2",
"preview-email": "^3.0.5"
Expand Down Expand Up @@ -51,7 +51,7 @@
"xo": "^0.48.0"
},
"engines": {
"node": ">=8.3.0"
"node": ">=10.0.0"
},
"files": [
"lib",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2278,10 +2278,10 @@ commander@^4.0.1:
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==

commander@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
commander@^6.1.0:
version "6.2.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==

commander@^8.3.0:
version "8.3.0"
Expand Down Expand Up @@ -4409,13 +4409,13 @@ [email protected]:
is-promise "^2.0.0"
promise "^7.0.1"

juice@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/juice/-/juice-7.0.0.tgz#509bed6adbb6e4bbaa7fbfadac4e2e83e8c89ba3"
integrity sha512-AjKQX31KKN+uJs+zaf+GW8mBO/f/0NqSh2moTMyvwBY+4/lXIYTU8D8I2h6BAV3Xnz6GGsbalUyFqbYMe+Vh+Q==
juice@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/juice/-/juice-8.0.0.tgz#ac77d3372373409b06a875aee425b9d381f645fe"
integrity sha512-LRCfXBOqI1wt+zYR/5xwDnf+ZyiJiDt44DGZaBSAVwZWyWv3BliaiGTLS6KCvadv3uw6XGiPPFcTfY7CdF7Z/Q==
dependencies:
cheerio "^1.0.0-rc.3"
commander "^5.1.0"
commander "^6.1.0"
mensch "^0.3.4"
slick "^1.12.2"
web-resource-inliner "^5.0.0"
Expand Down

0 comments on commit 3cd75b4

Please sign in to comment.