You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a Deprecation warning when i put an image on my pdf
this line cause me this error:
(node:127) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
When the file extension is .jpg there is no error.
pdfkit version: 0.14.0
Node version: 20.11.0
Operating System: macOS 14.3.1
Run in a lambda with serverless offline
The text was updated successfully, but these errors were encountered:
Code sample
Bug Report
I got a Deprecation warning when i put an image on my pdf
this line cause me this error:
(node:127) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
When the file extension is .jpg there is no error.
Run in a lambda with serverless offline
The text was updated successfully, but these errors were encountered: