Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/update to html2canvas-pro #688

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61,961 changes: 32,245 additions & 29,716 deletions dist/html2pdf.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/html2pdf.bundle.min.js

Large diffs are not rendered by default.

2,674 changes: 555 additions & 2,119 deletions dist/html2pdf.bundle.min.js.LICENSE.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/html2pdf.bundle.min.js.map

Large diffs are not rendered by default.

17,287 changes: 13,694 additions & 3,593 deletions dist/html2pdf.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/html2pdf.min.js

Large diffs are not rendered by default.

423 changes: 388 additions & 35 deletions dist/html2pdf.min.js.LICENSE.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/html2pdf.min.js.map

Large diffs are not rendered by default.

11,184 changes: 3,229 additions & 7,955 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html2pdf.js",
"version": "0.10.1",
"version": "0.10.2",
"description": "Client-side HTML-to-PDF rendering using pure JS",
"main": "dist/html2pdf.js",
"files": [
Expand Down Expand Up @@ -31,6 +31,7 @@
"dependencies": {
"es6-promise": "^4.2.5",
"html2canvas": "^1.0.0",
"html2canvas-pro": "^1.4.3",
"jspdf": "^2.3.1"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { jsPDF } from 'jspdf';
import * as html2canvas from 'html2canvas';
// import * as html2canvas from 'html2canvas';
import * as html2canvas from 'html2canvas-pro';
import { objType, createElement, cloneNode, toPx } from './utils.js';
import es6promise from 'es6-promise';
var Promise = es6promise.Promise;
Expand Down