Skip to content

fix: Package updates and fix flows with new versions#60

Merged
ehanoc merged 2 commits intodevelopfrom
chore/pkg-updates
Dec 26, 2025
Merged

fix: Package updates and fix flows with new versions#60
ehanoc merged 2 commits intodevelopfrom
chore/pkg-updates

Conversation

@ehanoc
Copy link
Copy Markdown
Contributor

@ehanoc ehanoc commented Dec 26, 2025

What

  • npm package updates and small fixes due to updates

Signed-off-by: ehanoc <ehanoc@protonmail>
@ehanoc ehanoc self-assigned this Dec 26, 2025
@ehanoc ehanoc added the enhancement New feature or request label Dec 26, 2025
@ehanoc ehanoc requested a review from Copilot December 26, 2025 00:07
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Dec 26, 2025

Deploying liquid-auth with  Cloudflare Pages  Cloudflare Pages

Latest commit: 278c91a
Status: ✅  Deploy successful!
Preview URL: https://c21f7381.liquid-auth.pages.dev
Branch Preview URL: https://chore-pkg-updates.liquid-auth.pages.dev

View logs

Copy link
Copy Markdown

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 updates npm package dependencies to their latest versions and implements necessary code changes to maintain compatibility with the new versions. The changes address breaking API changes in major version bumps including Sentry v10, mongoose v9, ua-parser-js v2, and @simplewebauthn/server v13.

Key Changes

  • Updated Sentry SDK from v7 to v10 with new integration API (nodeProfilingIntegration() replacing ProfilingIntegration class)
  • Updated test assertions from deprecated toThrowError to standard toThrow method
  • Modified UAParser import from default to named export for v2 compatibility

Reviewed changes

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

Show a summary per file
File Description
src/signals/signals.gateway.spec.ts Updated test assertion method from toThrowError to toThrow
src/main.ts Migrated Sentry integration to v10 API, removing HTTP tracing (now automatic) and updating profiling integration
src/auth/auth.service.ts Removed FilterQuery type import and annotation from search method
src/assertion/assertion.service.ts Added explicit Uint8Array wrapper for publicKey to satisfy @simplewebauthn/server v13 type requirements
src/app.service.ts Changed UAParser from default import to named import for v2 compatibility
package.json Updated 32 dependencies and 22 devDependencies to latest versions, including major version bumps for Sentry, mongoose, algosdk, connect-mongo, redis, and ua-parser-js

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

Comment thread src/main.ts Outdated
Comment thread src/auth/auth.service.ts
Signed-off-by: ehanoc <ehanoc@protonmail>
Copy link
Copy Markdown

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

Copilot reviewed 9 out of 10 changed files in this pull request and generated 5 comments.


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

Comment thread src/main.ts
new Sentry.Integrations.Http({ tracing: true }),
new ProfilingIntegration(),
],
integrations: [nodeProfilingIntegration()],
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

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

The HTTP tracing integration has been removed during the Sentry upgrade. In the previous version, new Sentry.Integrations.Http({ tracing: true }) was included to enable HTTP calls tracing. With Sentry v10, HTTP tracing should be automatically enabled, but if you need to customize it, you should use httpIntegration() from '@sentry/node'. Verify that HTTP tracing is working as expected after this change, or explicitly add the integration if needed.

Copilot uses AI. Check for mistakes.
Comment thread eslint.config.mjs
Comment thread eslint.config.mjs
Comment thread eslint.config.mjs
Comment thread eslint.config.mjs
@ehanoc ehanoc merged commit 6326848 into develop Dec 26, 2025
9 checks passed
@PhearZero PhearZero deleted the chore/pkg-updates branch March 25, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants