mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
Fixes several regressions and issues from ef0dfaa.
Sending a single parameter would set 'single' to true, ignoring multiple
results from the database and returning 'null'.
SELECT should not trigger transactions, not the other way around.
Results should not be parsed when no callback is defined.
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"name": "oxmysql",
|
|
"version": "2.2.4",
|
|
"description": "FXServer to MySQL communication via node-mysql2",
|
|
"repository": "[email protected]:overextended/oxmysql.git",
|
|
"author": "dunak-debug <[email protected]>",
|
|
"license": "LGPL-3.0-or-later",
|
|
"main": "lib/MySQL.js",
|
|
"types": "lib/MySQL.d.ts",
|
|
"files": [
|
|
"lib/MySQL.js",
|
|
"lib/MySQL.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm build:root && pnpm build:ui",
|
|
"build:ui": "cd ./ui/ && pnpm build",
|
|
"build:root": "esbuild --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
|
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/index.ts --outfile=dist/build.js",
|
|
"lib": "tsc --project lib/tsconfig.lib.json",
|
|
"postinstall": "patch-package"
|
|
},
|
|
"dependencies": {
|
|
"@citizenfx/server": "^2.0.5132-1",
|
|
"@types/node": "^17.0.4",
|
|
"mysql2": "^2.3.3",
|
|
"named-placeholders": "^1.1.2",
|
|
"node-fetch": "^3.2.1",
|
|
"prettier": "^2.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tellus/patch-package-with-pnpm-support": "github:Tellus/patch-package-with-pnpm-support",
|
|
"esbuild": "^0.14.23",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"pretty-quick": "^3.1.3",
|
|
"typescript": "^4.6.2"
|
|
}
|
|
}
|