
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@jesscss/plugin-less-compat
Advanced tools
A Less compatibility bridge for Jess.
Jess accepts typed AST-v2 Fn values here
and provides the shared Jess-owned bridge for Less-style plugin function
registration and Less-shaped function values.
The public compiler does not support Less 4 visitors, post-processors, file manager plugins, or a full Less tree AST adapter.
Fn values from @jesscss/core; their
bodies receive typed values and FnCtx capabilities.install(less, manager, functions) through plugins. The bridge supplies a
Less-shaped functions.functionRegistry and the supported less.tree
constructor facades, then lazily adapts function arguments and return values at
the Jess boundary.For example, migrate a Less functionRegistry.add('increment', fn) contribution
to a typed function and register it through functions:
import { Compiler } from 'jess';
import { defineFunction, makeDimension } from '@jesscss/core';
import lessCompatPlugin from '@jesscss/plugin-less-compat';
const increment = defineFunction('increment', {
params: [{ type: 'Dimension' }] as const,
body: value => makeDimension(value.number + 1, value.unit)
});
const compiler = new Compiler({
compile: { plugins: [lessCompatPlugin({ functions: [increment] })] }
});
For legacy Less function plugins:
const legacyPlugin = {
install(less, _manager, functions) {
functions.add('increment', value =>
new less.tree.Dimension(value.value + 1, value.unit)
);
}
};
const compiler = new Compiler({
compile: { plugins: [lessCompatPlugin({ plugins: [legacyPlugin] })] }
});
Less-shaped values are boundary values only. Jess owns their conversion back into typed AST-v2 values. The current bridge supports function registration and value conversion; it does not install a broad Less tree facade for visitors or prototype-patching plugins.
Alpha / experimental. The supported public routes are native function contribution and Less plugin function bridging. If you need Less visitors, post-processors, file managers, or broad Less tree AST mutation support today, use Less.js directly.
The programmatic plugin/compiler API is not yet stabilized — the jess CLI
is the documented public surface for the alpha. Watch the
docs site for the API once it settles. Current
design notes live in DESIGN.md.
FAQs
Less.js compatibility layer for Jess - enables Less plugins and visitors to work with Jess AST
The npm package @jesscss/plugin-less-compat receives a total of 686 weekly downloads. As such, @jesscss/plugin-less-compat popularity was classified as not popular.
We found that @jesscss/plugin-less-compat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.