-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.1 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"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"
]
}