Skip to content

some major node modules upgrade#454

Merged
jadeydi merged 3 commits intomainfrom
modules/major
Mar 16, 2026
Merged

some major node modules upgrade#454
jadeydi merged 3 commits intomainfrom
modules/major

Conversation

@cedricfung
Copy link
Contributor

No description provided.

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

Updates the project’s Node/tooling and cryptography dependencies, migrating the build/test/lint stack away from TSDX/Jest/legacy ESLint config toward Bunchee/Vitest/ESLint flat config, and adapting source/tests to updated @noble/* module entrypoints and byte APIs.

Changes:

  • Replace TSDX build and Jest test setup with Bunchee build scripts and Vitest configuration.
  • Upgrade major dependencies (notably @noble/*, uuid, serialize-javascript, TypeScript/ESLint toolchain) and adjust imports/API usage accordingly.
  • Update crypto/polyfill and utility code to align with newer @noble/* byte handling and Point APIs.

Reviewed changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vitest.config.js Adds Vitest config (node env, axios alias, setup files).
tsdx.config.js Removes TSDX rollup customization.
test/forge.test.ts Updates @noble/* imports to .js entrypoints.
test/crypto.ts Updates test crypto setup to define globalThis.crypto.
src/webview/client.ts Removes inline eslint suppression on prompt.
src/client/utils/uniq.ts Updates noble hash imports and normalizes inputs to Uint8Array.
src/client/utils/safe.ts Updates ed25519 usage to match new noble byte expectations and point serialization.
src/client/utils/pin.ts Updates ed25519/aes imports and shared secret/signing byte conversions.
src/client/utils/encoder.ts Minor expression parenthesization tweak.
src/client/utils/ed25519.ts Refactors to new noble curves APIs (Point/Fn/utils) and byte conversions.
src/client/utils/auth.ts Updates ed25519 signing call to use byte arrays and hex key decoding.
src/client/types/client.ts Formatting-only change to RequestConfig type.
src/blaze/utils.ts Simplifies catch (e) to catch where error is intentionally ignored.
package.json Raises Node engine requirement, switches scripts to Bunchee/Vitest, updates deps/devDeps, adjusts size limits, removes Jest config block.
jest.config.js Removes Jest config.
eslint.config.js Adds ESLint flat config replacing legacy .eslintrc*/ignore files.
babel.config.js Removes Babel test config (Jest-related).
.eslintrc.js Removes legacy ESLint config.
.eslintignore Removes legacy ignore file (handled via flat config).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

package.json Outdated
],
"engines": {
"node": ">=10"
"node": ">=20.19.0"
@jadeydi jadeydi merged commit fd2b527 into main Mar 16, 2026
6 checks passed
@jadeydi jadeydi deleted the modules/major branch March 16, 2026 08:41
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.

3 participants