UNPKG

redos-detector

Version:

A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.

72 lines (71 loc) 2.09 kB
{ "name": "redos-detector", "description": "A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.", "main": "dist/redos-detector.js", "bin": { "redos-detector": "bin.js" }, "module": "dist/redos-detector.mjs", "types": "dist/redos-detector.d.ts", "files": [ "dist", "bin.js" ], "keywords": [ "regex", "redos", "pattern", "parser" ], "scripts": { "build": "rm -rf dist && rollup --config rollup.config.mjs", "watch": "rollup --config rollup.config.mjs --watch", "lint": "eslint --ext .ts --max-warnings 0 --cache src", "prettier": "prettier --write .", "prettier:check": "prettier --check .", "test": "node --expose-gc ./node_modules/.bin/jest", "test:ci": "node --expose-gc ./node_modules/.bin/jest --coverage", "prepare": "husky install", "lint-staged": "lint-staged" }, "engines": { "node": ">=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/tjenkinson/redos-detector.git" }, "author": "Tom Jenkinson <tom@tjenkinson.me>", "license": "MIT", "bugs": { "url": "https://github.com/tjenkinson/redos-detector/issues" }, "homepage": "https://github.com/tjenkinson/redos-detector#readme", "dependencies": { "regjsparser": "0.12.0" }, "devDependencies": { "@rollup/plugin-commonjs": "25.0.8", "@rollup/plugin-node-resolve": "15.3.1", "@rollup/plugin-typescript": "11.1.6", "@types/jest": "29.5.14", "@types/node": "20.17.10", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", "commander": "12.1.0", "eslint": "8.57.1", "eslint-config-prettier": "9.1.0", "eslint-plugin-redos-detector": "3.1.0", "forkable-iterator": "1.1.2", "husky": "8.0.3", "jest": "29.7.0", "lint-staged": "15.2.11", "micromatch": "4.0.8", "prettier": "3.4.2", "rollup": "4.29.1", "ts-jest": "29.2.5", "tslib": "2.8.1", "typescript": "5.7.2" }, "version": "6.1.2" }