diff --git a/src/examples/databases/package.json b/src/examples/databases/package.json index 96cbe0218..08f12cad2 100644 --- a/src/examples/databases/package.json +++ b/src/examples/databases/package.json @@ -33,7 +33,7 @@ "class-validator": "0.14.1", "graphql": "16.9.0", "graphweaver": "workspace:*", - "mysql2": "3.11.5", + "mysql2": "3.12.0", "pg": "8.13.1", "react": "19.0.0", "react-dom": "19.0.0", diff --git a/src/examples/rest-with-auth/package.json b/src/examples/rest-with-auth/package.json index 9fa43e031..5ac8bc57c 100644 --- a/src/examples/rest-with-auth/package.json +++ b/src/examples/rest-with-auth/package.json @@ -33,7 +33,7 @@ "got-cjs": "12.5.4", "graphql": "16.9.0", "graphweaver": "workspace:*", - "mysql2": "3.11.5", + "mysql2": "3.12.0", "react": "19.0.0" }, "devDependencies": { diff --git a/src/pnpm-lock.yaml b/src/pnpm-lock.yaml index d52780578..e62d7fab0 100644 --- a/src/pnpm-lock.yaml +++ b/src/pnpm-lock.yaml @@ -82,10 +82,10 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) graphql: specifier: 16.9.0 version: 16.9.0 @@ -177,13 +177,13 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.12.0)(pg@8.13.1) '@mikro-orm/mysql': specifier: 6.4.2 version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) '@mikro-orm/postgresql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5) + version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.12.0) class-validator: specifier: 0.14.1 version: 0.14.1 @@ -194,8 +194,8 @@ importers: specifier: workspace:* version: link:../../packages/cli mysql2: - specifier: 3.11.5 - version: 3.11.5 + specifier: 3.12.0 + version: 3.12.0 pg: specifier: 8.13.1 version: 8.13.1 @@ -281,10 +281,10 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) graphql: specifier: 16.9.0 version: 16.9.0 @@ -321,10 +321,10 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/mysql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) dotenv: specifier: 16.4.7 version: 16.4.7 @@ -373,7 +373,7 @@ importers: version: 6.4.2 '@mikro-orm/mysql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) dotenv: specifier: 16.4.7 version: 16.4.7 @@ -387,8 +387,8 @@ importers: specifier: workspace:* version: link:../../packages/cli mysql2: - specifier: 3.11.5 - version: 3.11.5 + specifier: 3.12.0 + version: 3.12.0 react: specifier: 19.0.0 version: 19.0.0 @@ -440,10 +440,10 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) '@mikro-orm/postgresql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5) + version: 6.4.2(@mikro-orm/core@6.4.2) graphql: specifier: 16.9.0 version: 16.9.0 @@ -498,10 +498,10 @@ importers: version: 6.4.2 '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) graphql: specifier: 16.9.0 version: 16.9.0 @@ -1274,7 +1274,7 @@ importers: version: 6.4.2 '@mikro-orm/postgresql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) @@ -1379,10 +1379,10 @@ importers: dependencies: '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) node-sqlite3-wasm: specifier: 0.8.28 version: 0.8.28 @@ -1441,16 +1441,16 @@ importers: optionalDependencies: '@mikro-orm/knex': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/mysql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/postgresql': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5) + version: 6.4.2(@mikro-orm/core@6.4.2) '@mikro-orm/sqlite': specifier: 6.4.2 - version: 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) + version: 6.4.2(@mikro-orm/core@6.4.2) devDependencies: '@mikro-orm/core': specifier: 6.4.2 @@ -8297,6 +8297,10 @@ packages: resolution: {integrity: sha512-0XFu8rUmFN9vC0ME36iBvCUObftiMHItrYFhlCRvFWbLgpNqtC4Br/NmZX1HNCszxT0GGy5QtP+k3Q3eCJPaYA==} engines: {node: '>= 8.0'} + mysql2@3.12.0: + resolution: {integrity: sha512-C8fWhVysZoH63tJbX8d10IAoYCyXy4fdRFz2Ihrt9jtPILYynFEKUUzpp1U7qxzDc3tMbotvaBH+sl6bFnGZiw==} + engines: {node: '>= 8.0'} + named-placeholders@1.1.3: resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} engines: {node: '>=12.0.0'} @@ -13511,6 +13515,36 @@ snapshots: mikro-orm: 6.4.2 reflect-metadata: 0.2.2 + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)': + dependencies: + '@mikro-orm/core': 6.4.2 + fs-extra: 11.2.0 + knex: 3.1.0 + sqlstring: 2.3.3 + transitivePeerDependencies: + - mysql + - mysql2 + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)': + dependencies: + '@mikro-orm/core': 6.4.2 + fs-extra: 11.2.0 + knex: 3.1.0(mysql2@3.11.5) + sqlstring: 2.3.3 + transitivePeerDependencies: + - mysql + - mysql2 + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1)': dependencies: '@mikro-orm/core': 6.4.2 @@ -13526,6 +13560,36 @@ snapshots: - supports-color - tedious + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.12.0)(pg@8.13.1)': + dependencies: + '@mikro-orm/core': 6.4.2 + fs-extra: 11.2.0 + knex: 3.1.0(mysql2@3.12.0)(pg@8.13.1) + sqlstring: 2.3.3 + transitivePeerDependencies: + - mysql + - mysql2 + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1)': + dependencies: + '@mikro-orm/core': 6.4.2 + fs-extra: 11.2.0 + knex: 3.1.0(pg@8.13.1) + sqlstring: 2.3.3 + transitivePeerDependencies: + - mysql + - mysql2 + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1)(sqlite3@5.1.7)': dependencies: '@mikro-orm/core': 6.4.2 @@ -13541,6 +13605,37 @@ snapshots: - supports-color - tedious + '@mikro-orm/knex@6.4.2(@mikro-orm/core@6.4.2)(sqlite3@5.1.7)': + dependencies: + '@mikro-orm/core': 6.4.2 + fs-extra: 11.2.0 + knex: 3.1.0(sqlite3@5.1.7) + sqlstring: 2.3.3 + transitivePeerDependencies: + - mysql + - mysql2 + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + + '@mikro-orm/mysql@6.4.2(@mikro-orm/core@6.4.2)': + dependencies: + '@mikro-orm/core': 6.4.2 + '@mikro-orm/knex': 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5) + mysql2: 3.11.5 + transitivePeerDependencies: + - better-sqlite3 + - libsql + - mariadb + - mysql + - pg + - pg-native + - sqlite3 + - supports-color + - tedious + '@mikro-orm/mysql@6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1)': dependencies: '@mikro-orm/core': 6.4.2 @@ -13557,10 +13652,10 @@ snapshots: - supports-color - tedious - '@mikro-orm/postgresql@6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)': + '@mikro-orm/postgresql@6.4.2(@mikro-orm/core@6.4.2)': dependencies: '@mikro-orm/core': 6.4.2 - '@mikro-orm/knex': 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.11.5)(pg@8.13.1) + '@mikro-orm/knex': 6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1) pg: 8.13.1 postgres-array: 3.0.2 postgres-date: 2.1.0 @@ -13576,6 +13671,44 @@ snapshots: - supports-color - tedious + '@mikro-orm/postgresql@6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.12.0)': + dependencies: + '@mikro-orm/core': 6.4.2 + '@mikro-orm/knex': 6.4.2(@mikro-orm/core@6.4.2)(mysql2@3.12.0)(pg@8.13.1) + pg: 8.13.1 + postgres-array: 3.0.2 + postgres-date: 2.1.0 + postgres-interval: 4.0.2 + transitivePeerDependencies: + - better-sqlite3 + - libsql + - mariadb + - mysql + - mysql2 + - pg-native + - sqlite3 + - supports-color + - tedious + + '@mikro-orm/sqlite@6.4.2(@mikro-orm/core@6.4.2)': + dependencies: + '@mikro-orm/core': 6.4.2 + '@mikro-orm/knex': 6.4.2(@mikro-orm/core@6.4.2)(sqlite3@5.1.7) + fs-extra: 11.2.0 + sqlite3: 5.1.7 + sqlstring-sqlite: 0.1.1 + transitivePeerDependencies: + - better-sqlite3 + - bluebird + - libsql + - mariadb + - mysql + - mysql2 + - pg + - pg-native + - supports-color + - tedious + '@mikro-orm/sqlite@6.4.2(@mikro-orm/core@6.4.2)(pg@8.13.1)': dependencies: '@mikro-orm/core': 6.4.2 @@ -18459,6 +18592,46 @@ snapshots: kleur@3.0.3: {} + knex@3.1.0: + dependencies: + colorette: 2.0.19 + commander: 10.0.1 + debug: 4.3.4 + escalade: 3.2.0 + esm: 3.2.25 + get-package-type: 0.1.0 + getopts: 2.3.0 + interpret: 2.2.0 + lodash: 4.17.21 + pg-connection-string: 2.6.2 + rechoir: 0.8.0 + resolve-from: 5.0.0 + tarn: 3.0.2 + tildify: 2.0.0 + transitivePeerDependencies: + - supports-color + + knex@3.1.0(mysql2@3.11.5): + dependencies: + colorette: 2.0.19 + commander: 10.0.1 + debug: 4.3.4 + escalade: 3.2.0 + esm: 3.2.25 + get-package-type: 0.1.0 + getopts: 2.3.0 + interpret: 2.2.0 + lodash: 4.17.21 + pg-connection-string: 2.6.2 + rechoir: 0.8.0 + resolve-from: 5.0.0 + tarn: 3.0.2 + tildify: 2.0.0 + optionalDependencies: + mysql2: 3.11.5 + transitivePeerDependencies: + - supports-color + knex@3.1.0(mysql2@3.11.5)(pg@8.13.1): dependencies: colorette: 2.0.19 @@ -18481,6 +18654,49 @@ snapshots: transitivePeerDependencies: - supports-color + knex@3.1.0(mysql2@3.12.0)(pg@8.13.1): + dependencies: + colorette: 2.0.19 + commander: 10.0.1 + debug: 4.3.4 + escalade: 3.2.0 + esm: 3.2.25 + get-package-type: 0.1.0 + getopts: 2.3.0 + interpret: 2.2.0 + lodash: 4.17.21 + pg-connection-string: 2.6.2 + rechoir: 0.8.0 + resolve-from: 5.0.0 + tarn: 3.0.2 + tildify: 2.0.0 + optionalDependencies: + mysql2: 3.12.0 + pg: 8.13.1 + transitivePeerDependencies: + - supports-color + + knex@3.1.0(pg@8.13.1): + dependencies: + colorette: 2.0.19 + commander: 10.0.1 + debug: 4.3.4 + escalade: 3.2.0 + esm: 3.2.25 + get-package-type: 0.1.0 + getopts: 2.3.0 + interpret: 2.2.0 + lodash: 4.17.21 + pg-connection-string: 2.6.2 + rechoir: 0.8.0 + resolve-from: 5.0.0 + tarn: 3.0.2 + tildify: 2.0.0 + optionalDependencies: + pg: 8.13.1 + transitivePeerDependencies: + - supports-color + knex@3.1.0(pg@8.13.1)(sqlite3@5.1.7): dependencies: colorette: 2.0.19 @@ -18503,6 +18719,27 @@ snapshots: transitivePeerDependencies: - supports-color + knex@3.1.0(sqlite3@5.1.7): + dependencies: + colorette: 2.0.19 + commander: 10.0.1 + debug: 4.3.4 + escalade: 3.2.0 + esm: 3.2.25 + get-package-type: 0.1.0 + getopts: 2.3.0 + interpret: 2.2.0 + lodash: 4.17.21 + pg-connection-string: 2.6.2 + rechoir: 0.8.0 + resolve-from: 5.0.0 + tarn: 3.0.2 + tildify: 2.0.0 + optionalDependencies: + sqlite3: 5.1.7 + transitivePeerDependencies: + - supports-color + leven@3.1.0: {} levn@0.4.1: @@ -18955,6 +19192,18 @@ snapshots: seq-queue: 0.0.5 sqlstring: 2.3.3 + mysql2@3.12.0: + dependencies: + aws-ssl-profiles: 1.1.2 + denque: 2.1.0 + generate-function: 2.3.1 + iconv-lite: 0.6.3 + long: 5.2.3 + lru.min: 1.1.1 + named-placeholders: 1.1.3 + seq-queue: 0.0.5 + sqlstring: 2.3.3 + named-placeholders@1.1.3: dependencies: lru-cache: 7.18.3