Skip to content

Commit

Permalink
Update dependencies and address security advisory. (#282)
Browse files Browse the repository at this point in the history
* Update dependencies.

* Add security warning.

* Version bump 0.6.1.

* Upgrade distro on Travis
  • Loading branch information
westy92 authored Aug 15, 2020
1 parent 96e7ddd commit 3e281d6
Show file tree
Hide file tree
Showing 5 changed files with 5,706 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ clone_depth: 5

environment:
matrix:
- nodejs_version: 13
- nodejs_version: 14
- nodejs_version: 12
- nodejs_version: 10

Expand Down
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ if: tag IS blank
os:
- linux
- osx
dist: trusty
dist: xenial
sudo: required

services:
- xvfb

git:
depth: 5

Expand All @@ -26,7 +29,7 @@ after_success:

language: node_js
node_js:
- 13
- 14
- 12
- 10

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ HTML to PDF converter via Chrome/Chromium.
npm install --save html-pdf-chrome
```

## Security

This library is **_NOT_** meant to accept untrusted user input. Doing so may have serious security risks such as Server-Side Request Forgery (SSRF).

## Usage

__Note:__ It is _strongly_ recommended that you keep Chrome running side-by-side with Node.js. There is significant overhead starting up Chrome for each PDF generation which can be easily avoided.
Expand Down
Loading

0 comments on commit 3e281d6

Please sign in to comment.