这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Brooooooklyn
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings May 19, 2025 12:12
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades NAPI-RS dependencies to the 3.0.0-beta.1 release, aligning the Rust and JavaScript-side versions. Key changes include:

  • Updating dependency versions in package.json and Cargo.toml.
  • Reordering and updating module exports in resolver files.
  • Adjusting import statements and exports for consistency.

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updated "@napi-rs/cli" version (note: still alpha version)
napi/resolver.wasi.cjs Reordered destructured imports and updated module exports
napi/resolver.wasi-browser.js Modified import order and added default export for module exports
napi/index.js Adjusted module exports with minimal formatting changes
napi/Cargo.toml Upgraded "napi", "napi-derive", and "napi-build" dependencies
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

package.json:30

  • The Cargo.toml dependencies have been updated to '3.0.0-beta.1', yet '@napi-rs/cli' in package.json remains at an alpha version. Consider verifying if this version should also be updated for consistency across the project.
"@napi-rs/cli": "3.0.0-alpha.79",

@codecov
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.84%. Comparing base (6ac9911) to head (dc5e6f5).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #525   +/-   ##
=======================================
  Coverage   93.84%   93.84%           
=======================================
  Files          13       13           
  Lines        2829     2829           
=======================================
  Hits         2655     2655           
  Misses        174      174           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link

codspeed-hq bot commented May 19, 2025

CodSpeed Performance Report

Merging #525 will not alter performance

Comparing 05-19-feat_napi_upgrade_napi-rs_to_3.0.0-beta.1 (dc5e6f5) with main (6ac9911)

Summary

✅ 3 untouched benchmarks

@Brooooooklyn Brooooooklyn merged commit 7388180 into main May 19, 2025
19 checks passed
@Brooooooklyn Brooooooklyn deleted the 05-19-feat_napi_upgrade_napi-rs_to_3.0.0-beta.1 branch May 19, 2025 12:32
@oxc-bot oxc-bot mentioned this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants