rkusa / pdfjs

A Portable Document Format (PDF) generation library targeting both the server- and client-side.
MIT License
786 stars 142 forks source link

fix: remove bloated transitive dependencies #304

Closed SandZn closed 1 year ago

SandZn commented 1 year ago

Hi,

I found that three transitive dependencies are not used in your package, according to your tests. So I modified the package-lock.json file that excludes the useless dependencies. Would you consider removing useless dependencies from your package, so that developers do not need to install them when they use your package?

The three transitive dependencies are: string_decoder safe-buffer util-deprecate

rkusa commented 1 year ago

I appreciate the intent, but I don't want to maintain manual changes on the lock file - sorry.