diff --git a/package.json b/package.json index d0544ef..7a1cd57 100644 --- a/package.json +++ b/package.json @@ -25,19 +25,19 @@ "postinstall": "patch-package && pnpm bootstrap" }, "dependencies": { - "@citizenfx/server": "2.0.5132-1", "@milahu/patch-package": "^6.4.14", - "@types/node": "^17.0.45", - "mysql2": "3.10.1", + "mysql2": "3.10.2", "named-placeholders": "^1.1.3", - "node-fetch": "^3.3.2", - "prettier": "^2.8.8" + "node-fetch": "^3.3.2" }, "devDependencies": { + "@citizenfx/server": "2.0.5132-1", + "@types/node": "^17.0.45", + "prettier": "^2.8.8", "esbuild": "^0.21.5", "lerna": "^4.0.0", "postinstall-postinstall": "^2.1.0", "pretty-quick": "^3.3.1", - "typescript": "^5.4.5" + "typescript": "^5.5.3" } -} \ No newline at end of file +} diff --git a/patches/mysql2+3.10.1.patch b/patches/mysql2+3.10.2.patch similarity index 99% rename from patches/mysql2+3.10.1.patch rename to patches/mysql2+3.10.2.patch index 02ee701..f210a51 100644 --- a/patches/mysql2+3.10.1.patch +++ b/patches/mysql2+3.10.2.patch @@ -1,7 +1,7 @@ # generated by patch-package 6.4.14 # # declared package: -# mysql2: 3.10.1 +# mysql2: 3.10.2 # diff --git a/node_modules/mysql2/lib/connection.js b/node_modules/mysql2/lib/connection.js index 113fc7d..3a997a4 100644 @@ -128,7 +128,7 @@ index daf1df9..0862ce1 100644 case 'number': type = Types.DOUBLE; diff --git a/node_modules/mysql2/lib/parsers/binary_parser.js b/node_modules/mysql2/lib/parsers/binary_parser.js -index bf0995d..9d52cc4 100644 +index c80bf96..da453ca 100644 --- a/node_modules/mysql2/lib/parsers/binary_parser.js +++ b/node_modules/mysql2/lib/parsers/binary_parser.js @@ -75,7 +75,7 @@ function readCodeFor(field, config, options, fieldNum) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dad08f5..dd71c19 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,28 +8,25 @@ importers: .: dependencies: - '@citizenfx/server': - specifier: 2.0.5132-1 - version: 2.0.5132-1 '@milahu/patch-package': specifier: ^6.4.14 version: 6.4.14 - '@types/node': - specifier: ^17.0.45 - version: 17.0.45 mysql2: - specifier: 3.10.1 - version: 3.10.1 + specifier: 3.10.2 + version: 3.10.2 named-placeholders: specifier: ^1.1.3 version: 1.1.3 node-fetch: specifier: ^3.3.2 version: 3.3.2 - prettier: - specifier: ^2.8.8 - version: 2.8.8 devDependencies: + '@citizenfx/server': + specifier: 2.0.5132-1 + version: 2.0.5132-1 + '@types/node': + specifier: ^17.0.45 + version: 17.0.45 esbuild: specifier: ^0.21.5 version: 0.21.5 @@ -39,12 +36,15 @@ importers: postinstall-postinstall: specifier: ^2.1.0 version: 2.1.0 + prettier: + specifier: ^2.8.8 + version: 2.8.8 pretty-quick: specifier: ^3.3.1 version: 3.3.1(prettier@2.8.8) typescript: - specifier: ^5.4.5 - version: 5.4.5 + specifier: ^5.5.3 + version: 5.5.3 packages: @@ -1461,8 +1461,9 @@ packages: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true - is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + is-core-module@2.14.0: + resolution: {integrity: sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==} + engines: {node: '>= 0.4'} is-data-view@1.0.1: resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==} @@ -1832,8 +1833,8 @@ packages: mute-stream@0.0.8: resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} - mysql2@3.10.1: - resolution: {integrity: sha512-6zo1T3GILsXMCex3YEu7hCz2OXLUarxFsxvFcUHWMpkPtmZLeTTWgRdc1gWyNJiYt6AxITmIf9bZDRy/jAfWew==} + mysql2@3.10.2: + resolution: {integrity: sha512-KCXPEvAkO0RcHPr362O5N8tFY2fXvbjfkPvRY/wGumh4EOemo9Hm5FjQZqv/pCmrnuxGu5OxnSENG0gTXqKMgQ==} engines: {node: '>= 8.0'} named-placeholders@1.1.3: @@ -1947,8 +1948,9 @@ packages: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} - object-inspect@1.13.1: - resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} + object-inspect@1.13.2: + resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} + engines: {node: '>= 0.4'} object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} @@ -2189,8 +2191,8 @@ packages: (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) - qs@6.12.1: - resolution: {integrity: sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==} + qs@6.12.2: + resolution: {integrity: sha512-x+NLUpx9SYrcwXtX7ob1gnkSems4i/mGZX5SlYxwIau6RrUSODO89TR/XDGGpn5RPWSYIB+aSfuSlV5+CmbTBg==} engines: {node: '>=0.6'} qs@6.5.3: @@ -2653,8 +2655,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@5.5.3: + resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==} engines: {node: '>=14.17'} hasBin: true @@ -4093,7 +4095,7 @@ snapshots: is-string: 1.0.7 is-typed-array: 1.1.13 is-weakref: 1.0.2 - object-inspect: 1.13.1 + object-inspect: 1.13.2 object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.2 @@ -4588,7 +4590,7 @@ snapshots: dependencies: ci-info: 3.9.0 - is-core-module@2.13.1: + is-core-module@2.14.0: dependencies: hasown: 2.0.2 @@ -5002,7 +5004,7 @@ snapshots: mute-stream@0.0.8: {} - mysql2@3.10.1: + mysql2@3.10.2: dependencies: denque: 2.1.0 generate-function: 2.3.1 @@ -5081,7 +5083,7 @@ snapshots: normalize-package-data@3.0.3: dependencies: hosted-git-info: 4.1.0 - is-core-module: 2.13.1 + is-core-module: 2.14.0 semver: 7.6.2 validate-npm-package-license: 3.0.4 @@ -5171,7 +5173,7 @@ snapshots: object-assign@4.1.1: {} - object-inspect@1.13.1: {} + object-inspect@1.13.2: {} object-keys@1.1.1: {} @@ -5305,7 +5307,7 @@ snapshots: dependencies: is-ssh: 1.4.0 protocols: 1.4.8 - qs: 6.12.1 + qs: 6.12.2 query-string: 6.14.1 parse-url@6.0.5: @@ -5398,7 +5400,7 @@ snapshots: q@1.5.1: {} - qs@6.12.1: + qs@6.12.2: dependencies: side-channel: 1.0.6 @@ -5547,7 +5549,7 @@ snapshots: resolve@1.22.8: dependencies: - is-core-module: 2.13.1 + is-core-module: 2.14.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -5640,7 +5642,7 @@ snapshots: call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 - object-inspect: 1.13.1 + object-inspect: 1.13.2 signal-exit@3.0.7: {} @@ -5925,7 +5927,7 @@ snapshots: typedarray@0.0.6: {} - typescript@5.4.5: {} + typescript@5.5.3: {} uglify-js@3.18.0: optional: true