Skip to content

Conversation

@Jak-Ch-ll
Copy link
Contributor

While checking out the tests I stumbled over the deprecation warning for toMatchTypeOf. The docs don't say anything about that so I dug a bit deeper and found out that the method was deprecated quite a while ago in v1.2.0.

The docs have only been updated recently: vitest-dev/vitest#8387, but that change has not been released yet and can only be seen in the docs for v4: https://main.vitest.dev/api/expect-typeof.html#tomatchtypeof.

I also tried if I can replace any of the usages with toMatchObjectType, but that gave me the error that it only works on object types. I'm guessing that the type of data might be too complex for that.

@nserver-dokploy
Copy link

🚨 Preview Deployment Blocked - Security Protection

Your pull request was blocked from triggering preview deployments

Why was this blocked?

  • User: Jak-Ch-ll
  • Repository: nuxt-open-fetch
  • Permission Level: read
  • Required Level: write, maintain, or admin

How to resolve this:

Option 1: Get Collaborator Access (Recommended)
Ask a repository maintainer to invite you as a collaborator with write permissions or higher.

Option 2: Request Permission Override
Ask a repository administrator to disable security validation for this specific application if appropriate.

For Repository Administrators:

To disable this security check (⚠️ not recommended for public repositories):
Enter to preview settings and disable the security check.


This security measure protects against malicious code execution in preview deployments. Only trusted collaborators should have the ability to trigger deployments.

🛡️ Learn more about this security feature

This protection prevents unauthorized users from:

  • Executing malicious code on the deployment server
  • Accessing environment variables and secrets
  • Potentially compromising the infrastructure

Preview deployments are powerful but require trust. Only users with repository write access can trigger them.

@Norbiros Norbiros merged commit 0f8029b into Norbiros:main Oct 12, 2025
2 checks passed
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