@promptshield/sanitizer
Advanced tools
+2
-2
@@ -5,3 +5,3 @@ { | ||
| "private": false, | ||
| "version": "0.0.0", | ||
| "version": "0.0.1", | ||
| "description": "PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.", | ||
@@ -91,3 +91,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@promptshield/core": "0.0.0" | ||
| "@promptshield/core": "0.1.0" | ||
| }, | ||
@@ -94,0 +94,0 @@ "scripts": { |
+8
-1
| # @promptshield/sanitizer <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 40px"/> | ||
|  | ||
| <img alt="PromptShield Banner" src="https://raw.githubusercontent.com/promptshield-io/promptshield/main/banner.gif" /> | ||
@@ -47,2 +47,5 @@ <p className="flex gap-2"> | ||
| <details> | ||
| <summary>View complete usage and exact removal rules</summary> | ||
| ```ts | ||
@@ -70,2 +73,6 @@ import { sanitize, sanitizeStrict } from "@promptshield/sanitizer"; | ||
| </details> | ||
| > 📚 **Deep Dives**: For the exact execution order of the sanitization pipeline and understanding `applyFixes`, see the [Documentation section](https://promptshield.js.org/docs/sanitizer). | ||
| --- | ||
@@ -72,0 +79,0 @@ |
14403
2.08%85
8.97%+ Added
- Removed
Updated