82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"name": "sql-escaper",
|
|
"version": "1.3.3",
|
|
"description": "🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).",
|
|
"main": "./lib/index.js",
|
|
"module": "./lib/index.mjs",
|
|
"types": "./lib/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mysqljs/sql-escaper.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/mysqljs/sql-escaper/issues"
|
|
},
|
|
"author": "https://github.com/mysqljs",
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/mysqljs/sql-escaper?sponsor=1"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"engines": {
|
|
"node": ">=12.0.0",
|
|
"bun": ">=1.0.0",
|
|
"deno": ">=2.0.0"
|
|
},
|
|
"scripts": {
|
|
"benchmark": "cd benchmark && npm ci && bash index.sh",
|
|
"build:esm": "esbuild src/index.ts --outfile=lib/index.mjs --platform=node --target=node12 --format=esm",
|
|
"build": "rm -rf ./lib && tsc && npm run build:esm",
|
|
"test:node": "poku",
|
|
"test:bun": "bun poku",
|
|
"test:deno": "deno run -A npm:poku",
|
|
"test:coverage": "mcr --import tsx --config mcr.config.ts npm run test:node",
|
|
"lint": "biome lint && prettier --check .",
|
|
"lint:fix": "biome lint --write && prettier --write .github/workflows/*.yml .",
|
|
"update": "pu minor && npm i && (npm audit fix || true) && npm run lint:fix"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
"@types/node": "^25.2.0",
|
|
"esbuild": "^0.27.2",
|
|
"monocart-coverage-reports": "^2.12.9",
|
|
"packages-update": "^2.0.0",
|
|
"poku": "^3.0.3-canary.13a996a9",
|
|
"prettier": "^3.8.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./lib/index.d.ts",
|
|
"default": "./lib/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./lib/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
}
|
|
}
|
|
},
|
|
"keywords": [
|
|
"sql",
|
|
"escape",
|
|
"format",
|
|
"sqlstring",
|
|
"sql-injection",
|
|
"sanitize",
|
|
"query",
|
|
"mysql",
|
|
"node",
|
|
"nodejs",
|
|
"bun",
|
|
"deno",
|
|
"typescript",
|
|
"fast"
|
|
]
|
|
}
|