open-loop-killer
Version:
Inject timeout protection into JavaScript loops to prevent infinite loops. Supports while, for, do-while, for-in, and for-of loops with customizable timeout and error messages.
49 lines (48 loc) • 1.22 kB
JSON
{
"name": "open-loop-killer",
"version": "1.2.0",
"description": "Inject timeout protection into JavaScript loops to prevent infinite loops. Supports while, for, do-while, for-in, and for-of loops with customizable timeout and error messages.",
"keywords": [
"infinite-loop",
"loop-protection",
"timeout",
"code-safety",
"sandbox",
"security",
"ast",
"code-injection",
"untrusted-code",
"loop-killer",
"for-in",
"for-of",
"while-loop",
"for-loop"
],
"repository": "github:dantemessy/openloopkiller",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "mocha test/**/*.test.js",
"test:types": "tsc --noEmit test/types.test.ts"
},
"author": {
"name": "DanTe",
"url": "https://github.com/dantemessy"
},
"license": "MIT",
"dependencies": {
"escodegen": "^2.1.0",
"esprima": "^4.0.1"
},
"devDependencies": {
"mocha": "^10.0.0",
"chai": "^4.5.0",
"typescript": "^5.3.0",
"@types/node": "^20.10.0",
"@types/estree": "^1.0.5"
},
"bugs": {
"url": "https://github.com/dantemessy/openloopkiller/issues"
},
"homepage": "https://github.com/dantemessy/openloopkiller#readme"
}