Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@reckona/mreact-test-utils

Latest version: v0.0.235

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: tatsuokaniwa
0 Stars
0 Forks
30 Versions
433 Downloads
TypeScript Repo language

Scan summary

@reckona/mreact-test-utils was last scanned on 24 Nov 2026 at version 0.0.235. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 30 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.0.235.
  • Downloads: 433 downloads.

Versions

30 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.235 LATEST 24 Nov 2026 No rules fired
0.0.234 22 Oct 2026 No rules fired
0.0.233 10 Oct 2026 No rules fired
0.0.232 10 Oct 2026 Not shown
0.0.231 10 Oct 2026 Not shown

No rules fired in 0.0.235

Findings

Findings for v0.0.235. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.0.235; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@reckona/mreact-test-utils

@reckona/mreact-test-utils provides compact integration-test helpers for the mreact app router and component-level reactive DOM tests. It wraps temporary app directories, request helpers, reactive update flushing, and HTML assertions.

Basic Usage

import { createAppFixture, responseText } from "@reckona/mreact-test-utils";

const fixture = await createAppFixture({
  files: {
    "page.tsx": "export default function Page() { return <main>Hello</main>; }",
  },
});

const response = await fixture.render("/");
const html = await responseText(response);

For component-level tests, mount reactive DOM output directly and use act() to flush pending reactive work:

import { bindText } from "@reckona/mreact-reactive-dom";
import { act, createCellMock, render } from "@reckona/mreact-test-utils";

const count = createCellMock(0);
const view = render(() => {
  const text = document.createTextNode("");
  bindText(text, () => count.get());
  return text;
});

await act(() => {
  count.set(1);
});

view.container.textContent;
// "1"

For unit tests that call app-router route handlers directly, use invokeRouteHandler() to translate mreact control-flow throws into the same Response objects the router boundary would produce:

import { redirect } from "@reckona/mreact-router";
import { invokeRouteHandler } from "@reckona/mreact-test-utils";

function POST(request: Request): Response {
  if (!request.headers.get("cookie")) redirect("/login");
  return Response.json({ ok: true });
}

const response = await invokeRouteHandler(POST, new Request("https://app.test/api", { method: "POST" }));
response.status;
// 303

Core APIs

  • createAppFixture() creates a temporary app and .mreact/ build output.
  • fixture.render() sends requests through the router using Request / Response.
  • fixture.write() adds or updates route files in the fixture app.
  • render() mounts reactive DOM output into a container and returns { container, rerender, unmount }.
  • act() runs sync or async mutations and waits for reactive effects to settle.
  • flushReactive() drains pending reactive effects without wrapping a mutation.
  • createCellMock() and createComputedMock() create real reactive primitives for focused unit tests.
  • invokeRouteHandler() calls a route handler and converts redirect(), notFound(), and thrown Response control flow into a Response.
  • responseText() reads a response body as a string.

Use Cases

Use this package for scenario tests that cross router, query, auth, forms, and server-action boundaries. Because this repository is a public library, test scenario names should be specific and written in English.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @reckona/mreact-test-utils

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229