pompelmi 0.27.0 β†’ 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.27.1] - 2026-01-26
9
+
10
+ ### Security
11
+ - πŸ” **Critical Security Fixes**: Fixed 89 vulnerabilities (6 critical, 36 high, 35 moderate, 12 low)
12
+ - πŸ” **Dependency Updates**: Updated 26 package overrides including esbuild, vite, astro, next, body-parser, qs, lodash
13
+ - πŸ” **CVE Fixes**: Patched multiple CVEs in dependencies
14
+
15
+ ### Fixed
16
+ - πŸ› Fixed GitHub Actions workflow with correct pnpm/action-setup SHA
17
+ - πŸ› Resolved CI/CD pipeline execution errors
18
+
8
19
  ## [0.27.0] - 2026-01-26
9
20
 
10
21
  ### Added
package/README.md CHANGED
@@ -126,7 +126,7 @@ npm i pompelmi @pompelmi/express-middleware
126
126
  - **⚑ Lightning Fast** β€” In-process scanning with zero network latency. Configurable concurrency for high-throughput scenarios.
127
127
  - **🧩 Composable Scanners** β€” Mix heuristics + signatures; set `stopOn` and timeouts. Bring your own YARA rules.
128
128
  - **πŸ“¦ Deep ZIP Inspection** β€” Traversal/bomb guards, polyglot & macro hints, nested archive scanning with configurable depth limits.
129
- - **πŸ”Œ Framework Adapters** β€” Drop-in middleware for Express, Koa, Fastify, Next.js, and **NestJS** with first-class TypeScript support.
129
+ - **πŸ”Œ Framework Adapters** β€” Drop-in middleware for Express, Koa, Fastify, Next.js, Nuxt/Nitro, and **NestJS** with first-class TypeScript support.
130
130
  - **🌊 Stream-Based Processing** β€” Memory-efficient scanning with configurable buffer limits. Scan large files without loading them entirely into memory.
131
131
  - **πŸ” Polyglot Detection** β€” Advanced magic bytes analysis detects mixed-format files and embedded scripts with **30+ file signatures**.
132
132
  - **βš™οΈ CLI for CI/CD** β€” Standalone command-line tool for scanning files and directories with watch mode and multiple output formats.
@@ -194,7 +194,7 @@ pompelmi documentation is available in multiple languages to help developers wor
194
194
 
195
195
  **πŸ“¦ ZIP hardening** β€” traversal/bomb guards, polyglot & macro hints
196
196
 
197
- **πŸ”Œ Drop-in adapters** β€” Express, Koa, Fastify, Next.js, **NestJS**
197
+ **πŸ”Œ Drop-in adapters** β€” Express, Koa, Fastify, Next.js, Nuxt/Nitro, **NestJS**
198
198
 
199
199
  **🌊 Stream-based scanning** β€” memory-efficient processing with configurable buffer limits
200
200
 
@@ -220,7 +220,7 @@ pompelmi documentation is available in multiple languages to help developers wor
220
220
 
221
221
  **βš™οΈ Compose scanning** β€” run multiple scanners in parallel or sequentially with timeouts and short‑circuiting via `composeScanners()`.
222
222
 
223
- **πŸ—οΈ Framework integrations** β€” native modules for **NestJS**, Express, Koa, Next.js, and Fastify with first-class TypeScript support.
223
+ **πŸ—οΈ Framework integrations** β€” native modules for **NestJS**, Express, Koa, Next.js, Nuxt/Nitro, and Fastify with first-class TypeScript support.
224
224
 
225
225
  **πŸ”§ Production-ready CLI** β€” standalone tool for CI/CD pipelines with watch mode, multiple output formats (JSON, table, minimal).
226
226
 
@@ -228,13 +228,13 @@ pompelmi documentation is available in multiple languages to help developers wor
228
228
 
229
229
  **πŸ‘¨β€πŸ’» DX first** β€” TypeScript types, ESM/CJS builds, tiny API, adapters for popular web frameworks.
230
230
 
231
- > **SEO Keywords:** file upload security, malware detection, virus scanner, Node.js security, Express middleware, YARA integration, ZIP bomb protection, file validation, upload sanitization, threat detection, security scanner, antivirus Node.js, file scanning library, TypeScript security, Next.js security, Koa middleware, server-side validation, file integrity check, malware prevention, secure file upload
231
+ > **SEO Keywords:** file upload security, malware detection, virus scanner, Node.js security, Express middleware, YARA integration, ZIP bomb protection, file validation, upload sanitization, threat detection, security scanner, antivirus Node.js, file scanning library, TypeScript security, Next.js security, Nuxt security, Nitro security, Koa middleware, server-side validation, file integrity check, malware prevention, secure file upload
232
232
 
233
233
  ## 🧠 Why pompelmi?
234
234
 
235
235
  - **On‑device, private scanning** – no outbound calls, no data sharing.
236
236
  - **Blocks early** – runs _before_ you write to disk or persist anything.
237
- - **Fits your stack** – drop‑in adapters for Express, Koa, Next.js (Fastify plugin in alpha).
237
+ - **Fits your stack** – drop‑in adapters for Express, Koa, Next.js, Nuxt/Nitro (Fastify plugin in alpha).
238
238
  - **Defense‑in‑depth** – ZIP traversal limits, ratio caps, server‑side MIME sniffing, size caps.
239
239
  - **Pluggable detection** – bring your own engine (e.g., YARA) via a tiny `{ scan(bytes) }` contract.
240
240
 
@@ -637,7 +637,7 @@ export class UploadController {
637
637
  }
638
638
  ```
639
639
 
640
- > πŸ“– **More examples:** Check the [examples/](./examples/) directory for complete working demos including Express, Koa, Next.js, and more.
640
+ > πŸ“– **More examples:** Check the [examples/](./examples/) directory for complete working demos including Express, Koa, Next.js, Nuxt/Nitro, and more.
641
641
 
642
642
  ---
643
643
 
@@ -695,6 +695,7 @@ Use the adapter that matches your web framework. All adapters share the same pol
695
695
  <img src="https://img.shields.io/badge/Express-βœ“-000000?style=flat-square&logo=express" alt="Express">
696
696
  <img src="https://img.shields.io/badge/Koa-βœ“-33333D?style=flat-square&logo=koa" alt="Koa">
697
697
  <img src="https://img.shields.io/badge/Next.js-βœ“-000000?style=flat-square&logo=next.js" alt="Next.js">
698
+ <img src="https://img.shields.io/badge/Nuxt-βœ“-00DC82?style=flat-square&logo=nuxt.js" alt="Nuxt">
698
699
  <img src="https://img.shields.io/badge/NestJS-βœ“-E0234E?style=flat-square&logo=nestjs" alt="NestJS">
699
700
  <img src="https://img.shields.io/badge/Fastify-alpha-000000?style=flat-square&logo=fastify" alt="Fastify">
700
701
  <img src="https://img.shields.io/badge/Remix-planned-000000?style=flat-square&logo=remix" alt="Remix">
@@ -709,6 +710,7 @@ Use the adapter that matches your web framework. All adapters share the same pol
709
710
  | **Express** | `@pompelmi/express-middleware` | βœ… Stable | `npm i @pompelmi/express-middleware` |
710
711
  | **Koa** | `@pompelmi/koa-middleware` | βœ… Stable | `npm i @pompelmi/koa-middleware` |
711
712
  | **Next.js** | `@pompelmi/next-upload` | βœ… Stable | `npm i @pompelmi/next-upload` |
713
+ | **Nuxt/Nitro** | `pompelmi` (local) or remote API | βœ… Docs | [See guide](https://pompelmi.github.io/pompelmi/how-to/nuxt-nitro/) |
712
714
  | **NestJS** | `@pompelmi/nestjs-integration` | βœ… Stable | `npm i @pompelmi/nestjs-integration` |
713
715
  | **Fastify** | `@pompelmi/fastify-plugin` | πŸ”Ά Alpha | `npm i @pompelmi/fastify-plugin` |
714
716
  | **Remix** | - | πŸ”œ Planned | Coming soon |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pompelmi",
3
- "version": "0.27.0",
4
- "description": "Fast, private malware scanner for Node.js file uploads. TypeScript-first library with Express, Koa, Fastify & Next.js adapters. Features deep ZIP inspection, YARA integration, ZIP bomb protection, and real-time threat detection. Zero cloud dependencies - scan files in-process before they hit disk. Perfect for GDPR/HIPAA compliance.",
3
+ "version": "0.28.0",
4
+ "description": "Fast, private malware scanner for Node.js file uploads. TypeScript-first library with Express, Koa, Fastify, Next.js & Nuxt/Nitro adapters. Features deep ZIP inspection, YARA integration, ZIP bomb protection, and real-time threat detection. Zero cloud dependencies - scan files in-process before they hit disk. Perfect for GDPR/HIPAA compliance.",
5
5
  "main": "./dist/pompelmi.cjs",
6
6
  "module": "./dist/pompelmi.esm.js",
7
7
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "@types/koa>@types/cookies": "0.9.1",
31
31
  "pompelmi": "workspace:*",
32
32
  "@pompelmi/core": "workspace:*",
33
- "katex": "0.16.10",
33
+ "katex": "0.16.21",
34
34
  "react": "^19.2.0",
35
35
  "react-dom": "^19.2.0",
36
36
  "@types/react": "^19.2.0",