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

@analogjs/vite-plugin-angular

Latest version: v2.9.8

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: brandonroberts
3,213 Stars
340 Forks
149 Versions
3.9M Downloads
TypeScript Repo language

Scan summary

@analogjs/vite-plugin-angular was last scanned on 23 Nov 2026 at version 2.9.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 149 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 2.9.8.
  • Downloads: 3,885,537 downloads.

Versions

149 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.9.8 LATEST 23 Nov 2026 No rules fired
3.0.0-beta.59 23 Nov 2026 1 rule fired
3.0.0-beta.58 23 Nov 2026 1 rule fired
3.0.0-beta.57 23 Nov 2026 Not shown
3.0.0-beta.56 23 Nov 2026 Not shown

No rules fired in 2.9.8

Findings

Findings for v2.9.8. 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 2.9.8; other versions have their own rules, not their own score.

README

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

@analogjs/vite-plugin-angular

Vite Plugin Registry

A Vite plugin for building Angular applications

Install

With npm:

npm install @analogjs/vite-plugin-angular --save-dev

With pnpm:

pnpm install @analogjs/vite-plugin-angular --save-dev

With yarn:

yarn install @analogjs/vite-plugin-angular --dev

With bun:

bun install @analogjs/vite-plugin-angular --dev

Setup

Add the plugin to the plugins array in your Vite config

import { defineConfig } from 'vite';
import angular from '@analogjs/vite-plugin-angular';

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    mainFields: ['module'],
  },

  plugins: [angular()],
});

The angular plugin should be listed first in the plugins array.

Fast Compile Mode

fastCompile opts the plugin into a single-pass compilation path that emits Ivy instructions directly and skips Angular's template type-checking. It's intended for content-focused apps and faster dev iteration where build throughput matters more than inline type-safety feedback.

export default defineConfig({
  plugins: [angular({ fastCompile: true })],
});

When fastCompile is enabled, template and input type errors will not surface during compilation. Run ngc -p tsconfig.app.json --noEmit as a separate step in your build script to keep full type safety:

{
  "scripts": {
    "build": "ngc -p tsconfig.app.json --noEmit && vite build"
  }
}

The fast compile path currently passes ~91% of Angular's conformance suite. Behavior and output may change between minor releases.

Vendor Sourcemaps

The sourcemaps of dependencies and prebuilt libraries are preserved whenever build.sourcemap is enabled.

export default defineConfig({
  plugins: [angular()],
  build: { sourcemap: true },
});

Expect larger sourcemap files, since they now include the mappings for dependency code. The application bundles are unchanged, and builds without build.sourcemap are unaffected.

Angular's own packages are compiled through a separate path that always discards their sourcemaps, so mappings are not restored for @angular/*.

Setting up the TypeScript config

The integration needs a tsconfig.app.json at the root of the project for compilation.

Create a tsconfig.app.json in the root of the project.

{
  "extends": "./tsconfig.json",
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "noImplicitOverride": true,
    "noPropertyAccessFromIndexSignature": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "noEmit": false,
    "target": "es2020",
    "module": "es2020",
    "lib": ["es2020", "dom"],
    "skipLibCheck": true
  },
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  },
  "files": [],
  "include": ["src/**/*.ts"]
}

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 @analogjs/vite-plugin-angular

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

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

Frame 2085668439 (1)
Group 1261154229