46 lines
841 B
JSON
46 lines
841 B
JSON
{
|
|
"name": "is-safe-filename",
|
|
"version": "0.1.1",
|
|
"description": "Check if a filename is safe to use in a path join operation",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/is-safe-filename",
|
|
"funding": "https://github.com/sponsors/sindresorhus",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava && tsc index.d.ts"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"filename",
|
|
"safe",
|
|
"secure",
|
|
"path",
|
|
"traversal",
|
|
"security",
|
|
"validate",
|
|
"check",
|
|
"local"
|
|
],
|
|
"devDependencies": {
|
|
"ava": "^6.2.0",
|
|
"typescript": "^5.7.3",
|
|
"xo": "^0.60.0"
|
|
}
|
|
}
|