48 lines
1.0 KiB
JSON
48 lines
1.0 KiB
JSON
{
|
|
"name": "is-unsafe",
|
|
"version": "1.0.1",
|
|
"description": "Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across HTML, XML, SVG, SQL, SHELL, and REGEX contexts",
|
|
"main": "src/index.js",
|
|
"type": "module",
|
|
"types": "./src/index.d.ts",
|
|
"scripts": {
|
|
"test": "jasmine **/*.spec.js",
|
|
"test:watch": "nodemon --exec 'npm test' --watch src --watch specs"
|
|
},
|
|
"keywords": [
|
|
"xss",
|
|
"sql-injection",
|
|
"security",
|
|
"safe",
|
|
"predicate",
|
|
"sanitizer",
|
|
"xml",
|
|
"svg",
|
|
"html",
|
|
"shell-injection",
|
|
"redos",
|
|
"unsafe",
|
|
"validator",
|
|
"log",
|
|
"nosql"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/NaturalIntelligence/is-unsafe"
|
|
},
|
|
"author": "Amit Gupta (https://solothought.work/)",
|
|
"license": "MIT",
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
}
|
|
],
|
|
"devDependencies": {
|
|
"jasmine": "^5.1.0"
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"README.md"
|
|
]
|
|
} |