File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6464 "react-dom" : " >=16.8"
6565 },
6666 "dependencies" : {
67- "html2canvas" : " ^1.4.1 " ,
67+ "html2canvas-pro " : " ^1.5.8 " ,
6868 "jspdf" : " ^3.0.1"
6969 },
7070 "publishConfig" : {
Original file line number Diff line number Diff line change 11import { useRef , useCallback } from "react" ;
2- import html2canvas from "html2canvas" ;
2+ import html2canvas from "html2canvas-pro " ;
33
44import Converter from "./converter" ;
55import { Options , TargetElementFinder , UsePDFResult } from "./types" ;
Original file line number Diff line number Diff line change 11import { MutableRefObject } from "react" ;
22import { jsPDFOptions } from "jspdf" ;
3- import { Options as Html2CanvasOptions } from "html2canvas" ;
3+ import { Options as Html2CanvasOptions } from "html2canvas-pro " ;
44import { Margin , Resolution } from "./constants" ;
55
66export type DetailedMargin = {
Original file line number Diff line number Diff line change @@ -3176,7 +3176,15 @@ html-encoding-sniffer@^4.0.0:
31763176 dependencies :
31773177 whatwg-encoding "^3.1.1"
31783178
3179- html2canvas@^1.0.0-rc.5, html2canvas@^1.4.1 :
3179+ html2canvas-pro@^1.5.8 :
3180+ version "1.5.8"
3181+ resolved "https://registry.yarnpkg.com/html2canvas-pro/-/html2canvas-pro-1.5.8.tgz#d40ba9732c455943fc269f0606895ac00bb0c864"
3182+ integrity sha512-bVGAU7IvhBwBlRAmX6QhekX8lsaxmYoF6zIwf/HNlHscjx+KN8jw/U4PQRYqeEVm9+m13hcS1l5ChJB9/e29Lw==
3183+ dependencies :
3184+ css-line-break "^2.1.0"
3185+ text-segmentation "^1.0.3"
3186+
3187+ html2canvas@^1.0.0-rc.5 :
31803188 version "1.4.1"
31813189 resolved "https://registry.yarnpkg.com/html2canvas/-/html2canvas-1.4.1.tgz#7cef1888311b5011d507794a066041b14669a543"
31823190 integrity sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==
You can’t perform that action at this time.
0 commit comments