alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
402 stars 114 forks source link

NPM package update #178

Open Nekliukov opened 1 year ago

Nekliukov commented 1 year ago

Hello @alafr,

I hope this message finds you well. I noticed that the latest master code has some crucial updates, but the latest npm package version was published 4 years ago. Would you be so kind as to update to the latest version at your earliest convenience?

bluewire-solutions commented 11 months ago

See #158

jove4015 commented 10 months ago

In order to use this project with Typescript, I had to install direct from github, as the version in NPM does not include the index.d.ts:

npm install alafr/SVG-to-PDFKit#master

Of course, if someone introduces a breaking commit, this will be a problem. I'm willing to risk it for now since the project seems to be a bit defunct anyway. It would be wonderful if someone with access could just publish the latest version to NPM for everyone to use.

Nekliukov commented 10 months ago

@jove4015 https://www.npmjs.com/package/patch-package solved my issue in a clean way. Just add the changes that you need manually as a diff over referenced package. It will be applied on each npm install.