Erster Commit
This commit is contained in:
+81
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"name": "sql-escaper",
|
||||
"version": "1.5.1",
|
||||
"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 -r=\"compact\"",
|
||||
"test:bun": "bun --bun poku -r=\"compact\" test",
|
||||
"test:coverage": "mcr --import tsx --config mcr.config.ts npm run test:node",
|
||||
"lint": "biome lint --error-on-warnings && 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.1",
|
||||
"@js-temporal/polyfill": "^0.5.1",
|
||||
"@types/node": "^26.1.1",
|
||||
"esbuild": "^0.28.1",
|
||||
"monocart-coverage-reports": "^2.12.12",
|
||||
"packages-update": "^2.0.0",
|
||||
"poku": "^4.5.0",
|
||||
"prettier": "^3.9.5",
|
||||
"tsx": "^4.23.0",
|
||||
"typescript": "^7.0.2"
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user