Skip to content

chore(deps): update dependency @napi-rs/canvas to v1#2676

Merged
ghostdevv merged 1 commit intomainfrom
renovate/napi-rs-canvas-1.x
May 4, 2026
Merged

chore(deps): update dependency @napi-rs/canvas to v1#2676
ghostdevv merged 1 commit intomainfrom
renovate/napi-rs-canvas-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 4, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@napi-rs/canvas 0.1.971.0.0 age confidence

Release Notes

Brooooooklyn/canvas (@​napi-rs/canvas)

v1.0.0

Compare Source

Bug Fixes

0.1.99 (2026-04-18)

Bug Fixes
  • drawImage gray halo on transparent PNG edges with imageSmoothingEnabled (#​1252) (a748f3f)

0.1.98 (2026-04-15)

Features

0.1.97 (2026-03-16)

Bug Fixes
  • use signed integers for canvas APIs that accept negative coordinates (#​1227) (fa7c7c1)

0.1.96 (2026-03-05)

Bug Fixes
  • prevent memory leak when drawing canvas onto another via drawImage() (#​1222) (85ef08b)

0.1.95 (2026-02-24)

Bug Fixes
  • snapshot pixel data in putImageData for deferred rendering mode (#​1213) (c2526ac)

0.1.94 (2026-02-20)

Bug Fixes
  • putImageData incorrectly blending pixels due to Mitchell cubic resampler (#​1211) (d83e648)

0.1.93 (2026-02-17)

Features

0.1.92 (2026-02-12)

Bug Fixes
  • putImageData bypassed deferred rendering PageRecorder (#​1206) (ae938a3)
Features
  • add node-canvas compatibility layer (@napi-rs/canvas/node-canvas) (#​1203) (2ab43b6)

0.1.91 (2026-02-09)

Bug Fixes
  • clip with nested transforms intersects in device space (#​1202) (7e87f9e)
  • plug native memory leaks in SVG canvas, bitmap shader, and stream allocations (#​1201) (60a34e8)

0.1.90 (2026-02-05)

Bug Fixes
  • add Drop impl for SkPictureRecorder to prevent memory leak (#​1199) (dd4f96c)
  • copy font data in GlobalFonts.register to prevent buffer invalidation (#​1194) (fa5b40a)
  • prevent memory leaks in encode_stream callback and SkPixmap (#​1200) (c21e2ea)
Features

0.1.89 (2026-01-28)

Bug Fixes
Features
  • implement deferred rendering with incremental layer caching (#​1193) (4643bfe)

0.1.88 (2025-12-27)

Bug Fixes
  • should throw TypeError if drawImage param mismatched (#​1190) (386ac90)

0.1.87 (2025-12-26)

Bug Fixes
  • image: make Buffer load synchronous and add decode() method (#​1186) (d418593)
  • make Image class HTML spec compliant for jsdom integration (#​1184) (a6d3993)
Features

0.1.86 (2025-12-21)

Bug Fixes
  • RTL text fillText(maxWidth) x positioning calculation error (#​1179) (4db0dac)
Features

0.1.85 (2025-12-19)

Bug Fixes
  • initial black color string should be [#​000000](https://redirect.github.com/Brooooooklyn/canvas/issues/000000) rather than [#​000](https://redirect.github.com/Brooooooklyn/canvas/issues/000) (#​1174) (c45020a)
Features

0.1.84 (2025-12-06)

Features

0.1.83 (2025-11-27)

Features

0.1.82 (2025-11-11)

Features

0.1.81 (2025-10-26)

Features

0.1.80 (2025-09-13)

Bug Fixes

0.1.79 (2025-09-08)

Bug Fixes

0.1.78 (2025-08-28)

Bug Fixes
  • canvas pattern live reference issue causing incorrect rendering (#​1107) (255b16e)
Features

0.1.77 (2025-08-08)

Bug Fixes

0.1.76 (2025-08-01)

0.1.75 (2025-08-01)

Bug Fixes
Features
  • implement toBlob and convertToBlob (a7f259f)

0.1.74 (2025-07-17)

Bug Fixes
Features

0.1.73 (2025-06-29)

Bug Fixes

0.1.72 (2025-06-25)

Bug Fixes

0.1.71 (2025-06-08)

Bug Fixes
Features

0.1.70 (2025-05-02)

Bug Fixes
Features

0.1.69 (2025-04-04)

Bug Fixes
Features

0.1.68 (2025-03-04)

Bug Fixes

0.1.67 (2025-02-08)

Bug Fixes

0.1.66 (2025-02-02)

Bug Fixes
Features
Performance Improvements

0.1.65 (2024-12-02)

Bug Fixes

0.1.64 (2024-11-25)

Bug Fixes

0.1.63 (2024-11-23)

Bug Fixes
Features

0.1.62 (2024-11-15)

Bug Fixes
  • align the imageSmoothingQuality behavior with chrome (#​942) (991edbb)
Features

0.1.61 (2024-11-13)

Features
  • after clearing, the bitmap should be cleared, and the width and height should be reset to the initial values. (#​937) (e2a86fe)

0.1.60 (2024-11-07)

Bug Fixes

0.1.59 (2024-10-27)

Bug Fixes
Features

0.1.58 (2024-10-14)

Bug Fixes

0.1.57 (2024-10-14)

Bug Fixes
Features

0.1.56 (2024-09-19)

Bug Fixes

0.1.55 (2024-09-04)

Bug Fixes
Features

0.1.54 (2024-08-17)

Bug Fixes
Features

0.1.53 (2024-06-09)

Bug Fixes
Features

0.1.52 (2024-04-17)

Bug Fixes
Features

0.1.51 (2024-03-04)

Bug Fixes
  • deps: update rust crate base64 to 0.22 (84fd52f)
  • remove postinstall script for gnu/musl platform (#​797) (d37da08)

0.1.50 (2024-02-26)

Features

0.1.49 (2024-02-22)

Bug Fixes
Features

0.1.48 (2024-02-21)

Bug Fixes

0.1.47 (2024-02-19)

Bug Fixes

0.1.46 (2024-02-19)

Bug Fixes

0.1.45 (2024-02-05)

Bug Fixes
Features

0.1.44 (2023-08-22)

Bug Fixes
  • file extensions in loadFontsFromDir() are no longer case-sensitive (9342e33)

0.1.43 (2023-08-11)

0.1.42 (2023-08-08)

Bug Fixes
Features

0.1.41 (2023-05-22)

Bug Fixes

0.1.40 (2023-04-09)

Features

0.1.39 (2023-03-14)

Bug Fixes

0.1.38 (2023-03-11)

Bug Fixes
  • deps: update rust crate infer to 0.13 (bad913c)
Features

0.1.37 (2023-02-27)

Bug Fixes

0.1.36 (2023-02-21)

Bug Fixes
  • recalc paint_x according to align if maxWidth is set (#​639) (7f74567)

0.1.35 (2023-02-16)

Bug Fixes

0.1.34 (2023-01-12)

Bug Fixes
  • wrong text baseline calculation in drawText and measureText (#​606) (bba0296)

0.1.33 (2023-01-08)

Bug Fixes
  • maxWidth overflow paint_x position should power the scale ratio (#​603) (17c7902)

0.1.32 (2023-01-07)

Bug Fixes
Features

0.1.31 (2023-01-02)

Bug Fixes
  • missing canvas property on Context2D (#​597) (b0a351a)
  • multiple define on cached native object in jest (88f5ee9)
Features

0.1.30 (2022-09-22)

Bug Fixes

0.1.29 (2022-08-26)

Bug Fixes
  • data url should be standard base64 (a59cb40)
  • drawImage alpha should not effect by fillStyle (41a6f29)
  • isBufferLike in load-image.js (#​536) (c6ad306)
Features

0.1.28 (2022-08-16)

Bug Fixes
  • adjust Node.js external memory while creating Canvas (77ecc52)

0.1.27 (2022-08-14)

Bug Fixes

0.1.26 (2022-08-07)

Bug Fixes
  • loadImage: redirect handler (dbbf826)
  • miss applying image_smoothing_enabled and image_smoothing_quality (815bc91)
  • shadow color was not applied correctly (4054e44)
  • test snapshots diff on arm64 (21983c2)
  • the quality of toDataURL should between 0 and 1 (27e87df)
Features

0.1.25 (2022-06-30)

Bug Fixes
  • missing load-image.js in package.json (ddb2419)

0.1.24 (2022-06-30)

Bug Fixes
  • ctx.filter should store in state and be able to save/restore (b85ee7b)
  • parameters for drawImage(canvas) (2392263)
  • skia async prop deprecated in future release (088e628)
  • use premultiplied surface as default (f13c1a3)
  • wrong text metrics if text contains chars not including in current font-family (cfcca26)
Features

0.1.23 (2022-06-23)

0.1.22 (2022-06-02)

Bug Fixes
  • do nothing if lineTo parameters invalid (0ddeb7c)
  • svg image transparent background should be preserved (531bde8)
  • width in TextMetrics when text is ending with spaces (5961fd2)
  • y offset when textBaseline is bottom (26fdc3c)
Features

0.1.21 (2022-03-10)

Bug Fixes
  • BlendMode::Source should be copy instead of source (a010fba)
  • prevent segmentation fault if mesuring empty text (2117ddb)
  • should not throw if fill/stroke style is invalid (0d12337)
  • stroke/fill text should treat \n as space (4c9ac1e)

0.1.20 (2022-02-15)

Bug Fixes
  • Fix the issue of arc to + bezier to + quad to at empty path case (33f8558)
  • scoot method for path empty case (a1eb529)
  • the quality default value case of encode(type, quality) method (#​418) (c4950ea)
Features

0.1.19 (2021-12-31)

Bug Fixes
  • text align and font fallback (d80ac6b)

0.1.18 (2021-12-30)

Bug Fixes
  • reduce install size for linux glibc/musl (8e6c7e8)
Features
  • upgrade skia to chrome/m98 (99e3635)

0.1.17 (2021-12-12)

0.1.16 (2021-12-12)

Bug Fixes
  • make methods on ctx configurable & writable (affe82d)
Features

0.1.15 (2021-11-11)

Bug Fixes
  • vercel/nft and webpack compatible issue (f2e23f5)

0.1.14 (2021-10-26)

Bug Fixes
  • Now generating avif images is 10x+ faster. (407d1d1)
  • Use different quality for WebP and JPEG formats, which is more in line with the browser's default values. (fdefa5d)
Features
  • The option to generate avif removes alphaQuality and calculates it internally. (8de6e95)
  • Add a new SVG generation avif example. ([04d401a](https://redi

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment May 4, 2026 10:38pm
npmx.dev Ready Ready Preview, Comment May 4, 2026 10:38pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored May 4, 2026 10:38pm

Request Review

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 4, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedohash@​2.0.1110010010080100
Addeddefu@​6.1.41008510088100
Addedobug@​2.1.110010010085100
Addedsemver@​7.7.410010010086100
Updated@​napi-rs/​canvas@​0.1.97 ⏵ 1.0.098 +1100100 +197 +2100

View full report

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 4, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: pnpm-lock.yamlnpm/entities@4.5.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@4.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

e18e dependency analysis

No dependency warnings found.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@ghostdevv ghostdevv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

congratulations on v1 🎉

@ghostdevv ghostdevv added this pull request to the merge queue May 4, 2026
Merged via the queue into main with commit 018097e May 4, 2026
25 checks passed
@ghostdevv ghostdevv deleted the renovate/napi-rs-canvas-1.x branch May 4, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant