Skip to content

Commit

Permalink
chore: removing mysql package, because mysql_native_password authenti…
Browse files Browse the repository at this point in the history
…cation plugin is no longer enabled by default since mysql 8.4
  • Loading branch information
masfahru committed May 23, 2024
1 parent 02bd959 commit 9be0f91
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Object-Relational Mapping (ORM) is a powerful technique that allows you to inter
- [Kysely](./src/mysql/kysely.ts)
- [Mariadb](./src/mysql/mariadb.ts)
- [MikroORM](./src/mysql/mikro.ts)
- [MySQL](./src/mysql/mysql.ts)
- [MySQL2](./src/mysql/mysql2.ts)
- [Prisma](./src/mysql/prisma.ts)
- [Sequelize](./src/mysql/sequelize.ts)
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"type": "module",
"devDependencies": {
"@pgtyped/cli": "^2.3.0",
"@types/mysql": "^2.15.26",
"@types/pg": "^8.11.5",
"@types/pg-pool": "^2.0.6",
"bun-types": "latest"
Expand All @@ -24,7 +23,6 @@
"kysely": "^0.27.3",
"mariadb": "^3.3.0",
"mitata": "^0.1.11",
"mysql": "^2.18.1",
"mysql2": "^3.9.7",
"pg": "^8.11.5",
"pg-pool": "^3.6.2",
Expand Down
6 changes: 0 additions & 6 deletions src/mysql/all.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { prismaClose, prismaMySqlGetUser } from './prisma';
import { sequelizeClose, sequelizeMySqlGetUser } from './sequelize';
import { mikroClose, mikroMySqlGetUser } from './mikro';
import { typeormClose, typeormMySqlGetUser } from './typeorm';
import { mySqlClose, mySqlGetUser } from './mysql';

describe('[MySQL] unit tests', () => {
const checkUnit = async (fun: (id: number) => Promise<any>) => {
Expand Down Expand Up @@ -41,11 +40,6 @@ describe('[MySQL] unit tests', () => {
await mikroClose();
});

it('MySQL', async () => {
await checkUnit(mySqlGetUser);
mySqlClose();
});

it('MySQL2', async () => {
await checkUnit(mySql2GetUser);
await mySql2Close();
Expand Down
1 change: 0 additions & 1 deletion src/mysql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export * from './drizzle';
export * from './knex';
export * from './kysely';
export * from './mariadb';
export * from './mysql';
export * from './mysql2';
export * from './prisma';
export * from './sequelize';
Expand Down
29 changes: 0 additions & 29 deletions src/mysql/mysql.ts

This file was deleted.

0 comments on commit 9be0f91

Please sign in to comment.