Scan your whole stack
From OX Research Newsroom
Are you using @veryfront/ext-bundler-swc?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1289-rc.26326
@veryfront/ext-bundler-swc was last scanned on 23 Nov 2026 at version 0.1.1289-rc.26326. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1289-rc.26326 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.1289-rc.26319 | 23 Nov 2026 | Not shown |
| 0.1.1289-rc.26316 | 23 Nov 2026 | No rules fired |
| 0.1.1289-rc.26306 | 23 Nov 2026 | Not shown |
| 0.1.1289-rc.26293 | 23 Nov 2026 | Not shown |
Findings for v0.1.1289-rc.26326. 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.1.1289-rc.26326; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Category: Build | Contract:
Bundler| Explicit
Adds an opt-in SWC TypeScript transform before Veryfront's esbuild graph bundler. Use it for libraries that require legacy TypeScript decorator metadata, such as class-validator, TypeORM, and constructor-based dependency injection.
The default Veryfront bundler remains esbuild. Projects that do not select this extension keep the existing output and standard decorator behavior.
deno add npm:@veryfront/ext-bundler-swc
npm install @veryfront/ext-bundler-swc
Register the extension explicitly in veryfront.config.ts:
import { defineConfig } from "veryfront";
import extSwc from "@veryfront/ext-bundler-swc";
export default defineConfig({
extensions: [extSwc()],
});
Enable both legacy decorator flags in tsconfig.json:
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
Veryfront follows inherited TypeScript configuration. The extension embeds
reflect-metadata before an opted-in decorated module runs, including prepared
worker modules and compiled runtime routes.
Trusted host execution can follow configuration outside the project directory.
Isolated preparation accepts parent and package configuration only when it stays
inside the project boundary, including project-owned node_modules. Copy an
external shared configuration into the project before using it in an isolated
runtime.
If experimentalDecorators is false or absent, the extension delegates source
unchanged to esbuild when Veryfront already needs a bundle or transform. Local
Deno routes keep their normal direct-import path. If only
experimentalDecorators is true, SWC emits legacy decorators without runtime
type metadata.
experimentalDecorators: true switches the TypeScript transform for the whole
project boundary, not just for decorated files. Every .ts and .tsx module in
the build graph is compiled by SWC instead of esbuild, so the emitted JavaScript
can differ in places that have nothing to do with decorators. Examples include
enum declaration merging and class-field initialization.
The extension reads only experimentalDecorators and
emitDecoratorMetadata from tsconfig.json. Veryfront bundle settings still
control the target and JSX transform. Other TypeScript emit settings, such as
useDefineForClassFields, are not forwarded to SWC.
The legacy SWC path does not compose source maps yet. A bundle or transform that enables legacy decorators and requests a source map fails with an actionable error instead of returning a map to generated JavaScript. Flags-off calls continue to delegate source maps to esbuild.
When legacy decorators are enabled, local Deno API routes use per-route bundles so their source passes through SWC. Two route bundles do not share module-level state from a common imported project file. Put shared clients, pools, caches, and registries behind a framework service or extension instead of relying on a cross-route module singleton.
Treat turning the flag on as a transform swap, not as an addition. Re-run your
test suite after enabling it. Leaving experimentalDecorators false or absent
does not force local routes through bundling and keeps existing bundler calls on
the esbuild delegate.
The extension uses @swc/wasm, so one package works across Deno, Node.js, Bun,
and supported compiled binaries. It delegates module resolution, plugins,
incremental contexts, and final output generation to
@veryfront/ext-bundler-esbuild.
The WASM and reflection runtime stay in this explicit extension package. They
do not become dependencies of core or the default veryfront package. The SWC
WASM asset is about 20 MB, so distributions and compiled binaries that embed
the explicit extension must account for that size.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.