Closed folletto closed 7 years ago
Difference in PDF files:
Note that there was no rendered difference in the PDF files... still, worth checking. ;)
Verify with npm ls pdfkit that the library version is 0.1.3 and pdfkit is 0.8.3
Looks right to me. Also seeing no changes on the generated files. Thanks for taking care of this @folletto !
During #254 we noticed that when @iamthomasbishop tried to build, he got also all the PDF re-generated as different. This shouldn't happen — so after fixing the PR we tried to identify the issue.
Apparently, SVG-to-PDFKit updated to 0.1.3, thus changing some calculations on how the PDF was generated.
As it seems it's not a deterministic calculation, this PR:
svg-to-pdfkit
to 0.1.3svg-to-pdfkit
library to a specific version, so when we decide to update it's manual and won't risk confusing PRs.To test
npm install
thengrunt
npm ls pdfkit
that the library version is0.1.3
and pdfkit is0.8.3
(Note: the "react" error in
npm ls
is not an issue).