Closed ltxhhz closed 1 month ago
The changes in this pull request involve updates to the config/binaries.ts
file, specifically for the skia-canvas
binary. The distUrl
has been modified to point to a new location on GitHub for releases. Additionally, the requiredNapiVersions
property within the options for this binary has been commented out, indicating a change in its necessity or usage. No other binaries were affected by these modifications.
File | Change Summary |
---|---|
config/binaries.ts | Updated distUrl for skia-canvas from https://skia-canvas.s3.us-east-1.amazonaws.com to https://github.com/samizdatco/skia-canvas/releases ; commented out requiredNapiVersions in options for skia-canvas . |
In the land of code where rabbits play,
A new path forskia-canvas
leads the way.
From S3 to GitHub, a hop and a skip,
With options refined, we take a new trip.
Let's celebrate changes, both big and small,
For in our code garden, there's room for us all! 🐇✨
config/binaries.ts (1)
`139-142`: **Review changes to skia-canvas configuration** The changes to the `skia-canvas` configuration look good overall, but there are a couple of points to consider: 1. The `distUrl` has been updated to use the official GitHub releases page instead of a custom S3 bucket. This is generally a good practice as it ensures we're using the official distribution channel. 2. The `requiredNapiVersions` option has been commented out. While this might allow for broader compatibility, it could potentially lead to unexpected behavior if the binary relies on specific Node.js API versions. To ensure these changes don't introduce any issues, please run the following verification steps: Additionally, it would be beneficial to test this change with different Node.js versions to ensure compatibility hasn't been affected by commenting out `requiredNapiVersions`.
closes https://github.com/cnpm/cnpmcore/issues/710
Summary by CodeRabbit
New Features
skia-canvas
binary to enhance accessibility.Bug Fixes
requiredNapiVersions
for theskia-canvas
binary, streamlining its usage.