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

vite-plugin-levelojs

Latest version: v1.1.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: motionmind
0 Stars
0 Forks
1 Versions
53 Downloads
TypeScript Repo language

Scan summary

vite-plugin-levelojs was last scanned on 27 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 27 Nov 2026.
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 53 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 27 Nov 2026 No rules fired

No rules fired in 1.1.0

Findings

Findings for v1.1.0. 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 1.1.0; other versions have their own rules, not their own score.

README

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

Here's the complete packages/vite-plugin-levelojs/README.md. Replace the entire file with this:

# vite-plugin-levelojs

Official Vite plugin for Levelo JS.

Transforms JSX and TSX into `h()` calls at compile time. No virtual DOM,
no reconciliation, no React runtime.

## Features

- JSX and TSX compilation for Levelo JS
- SVG namespace handling
- MathML namespace handling
- Source map support
- No React runtime required
- Runs before other Vite transforms (`enforce: 'pre'`)

## Installation

```bash
npm install levelojs vite-plugin-levelojs
```

Usage

// vite.config.ts
import { defineConfig } from 'vite';
import { leveloPlugin } from 'vite-plugin-levelojs';

export default defineConfig({
  plugins: [leveloPlugin()],
});

The plugin handles JSX transformation on its own. No esbuild jsxFactory or jsxFragment configuration is needed.

Importing h

The plugin does not inject the h factory. Files that use JSX must import it from levelojs:

import { h, render } from 'levelojs';

function App() {
  return <h1>Hello Levelo</h1>;
}

render(App, document.getElementById('app'));
Optional: automatic injection

If you prefer to skip the import in every file, Vite's esbuild.jsxInject adds one for you:

export default defineConfig({
  plugins: [leveloPlugin()],
  esbuild: {
    jsxInject: `import { h } from "levelojs"`,
  },
});

This works because the injected import lands at the top of the module after the Levelo transform has already run. Use it or the explicit import — not both, or you will get a duplicate h binding.

What the transform produces

<h1>Hello</h1>;

becomes:

h('h1', null, 'Hello');

Reactive expressions are wrapped as lazy getters so the renderer can bind them to the signal they read:

<span>{count()}</span>;

becomes:

h('span', null, () => count());

The getter is materialized once for the initial mount and retained for fine-grained updates. The component function is never re-executed.

Supported Files

  • .jsx
  • .tsx

API

leveloPlugin(options?)
leveloPlugin({
  include,
  exclude,
});
Option Type Description
include FilterPattern Files to include
exclude FilterPattern Files to exclude

Both follow the same syntax as Vite's createFilter.

Requirements

  • vite (peer dependency)
  • levelojs (must be installed in the consuming project)

Resources

License

MIT


That's the full file, top to bottom. Save it over the current `README.md` in `packages/vite-plugin-levelojs/`.

## Then

Confirm whether you applied the `CHANGELOG.md` update (item 5). It's in the message three turns back under "Item 5 — `levelojs/CHANGELOG.md`". If not, say so and I'll re-paste it as a single block.

Then pick a direction:

- **A** — Write tests
- **B** — Design 2 routing
- **C** — Pivot to Rust
- **D** — Docs and templates cleanup```

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 vite-plugin-levelojs

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229