pompelmi 0.32.1 → 0.33.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/README.md +36 -2
- package/dist/pompelmi.cjs +77 -81
- package/dist/pompelmi.cjs.map +1 -1
- package/dist/pompelmi.esm.js +77 -81
- package/dist/pompelmi.esm.js.map +1 -1
- package/dist/types/scanners/common-heuristics.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CommonHeuristicsScanner
|
|
2
|
+
* CommonHeuristicsScanner
|
|
3
3
|
* Lightweight, no-deps heuristics for common risky file patterns.
|
|
4
4
|
* Returns matches as [{ rule, severity?, meta? }].
|
|
5
5
|
*/
|
|
6
6
|
export type HeuristicMatch = {
|
|
7
7
|
rule: string;
|
|
8
|
-
severity?: 'info' | 'suspicious' | 'malicious';
|
|
8
|
+
severity?: 'info' | 'low' | 'medium' | 'high' | 'critical' | 'suspicious' | 'malicious';
|
|
9
9
|
meta?: Record<string, unknown>;
|
|
10
10
|
};
|
|
11
11
|
export interface SimpleScanner {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pompelmi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
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",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@biomejs/biome": "^2.2.4",
|
|
111
111
|
"@pompelmi/core": "workspace:*",
|
|
112
112
|
"@pompelmi/engine": "workspace:*",
|
|
113
|
-
"@pompelmi/engine-heuristics": "workspace:^0.
|
|
113
|
+
"@pompelmi/engine-heuristics": "workspace:^0.2.0",
|
|
114
114
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
115
115
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
116
116
|
"@rollup/plugin-typescript": "^12.1.4",
|