diff --git a/package-lock.json b/package-lock.json index c9aa59424..94eabfdfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "kafkajs": "^2.2.4", "lint-staged": "14.0.1", "mongoose": "7.6.5", - "mysql2": "3.6.1", + "mysql2": "3.9.0", "nats": "2.16.0", "portfinder": "1.0.32", "prettier": "3.1.0", @@ -2100,6 +2100,46 @@ } } }, + "node_modules/@mikro-orm/mysql/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@mikro-orm/mysql/node_modules/lru-cache": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", + "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", + "dev": true, + "engines": { + "node": ">=16.14" + } + }, + "node_modules/@mikro-orm/mysql/node_modules/mysql2": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.1.tgz", + "integrity": "sha512-O7FXjLtNkjcMBpLURwkXIhyVbX9i4lq4nNRCykPNOXfceq94kJ0miagmTEGCZieuO8JtwtXaZ41U6KT4eF9y3g==", + "dev": true, + "dependencies": { + "denque": "^2.1.0", + "generate-function": "^2.3.1", + "iconv-lite": "^0.6.3", + "long": "^5.2.1", + "lru-cache": "^8.0.0", + "named-placeholders": "^1.1.3", + "seq-queue": "^0.0.5", + "sqlstring": "^2.3.2" + }, + "engines": { + "node": ">= 8.0" + } + }, "node_modules/@mikro-orm/nestjs": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/@mikro-orm/nestjs/-/nestjs-5.2.2.tgz", @@ -14819,9 +14859,9 @@ } }, "node_modules/mysql2": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.1.tgz", - "integrity": "sha512-O7FXjLtNkjcMBpLURwkXIhyVbX9i4lq4nNRCykPNOXfceq94kJ0miagmTEGCZieuO8JtwtXaZ41U6KT4eF9y3g==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.9.0.tgz", + "integrity": "sha512-yS7FtbnO9sYqUZbjaiUwflh1bJAENJ3DQ9aHEYj9G+Hi15+FP7UKaTDNe6SeXx/LpkU6coAQ6vIYQaAmsFA+qQ==", "dev": true, "dependencies": { "denque": "^2.1.0", @@ -22719,6 +22759,39 @@ "requires": { "@mikro-orm/knex": "~5.8.1", "mysql2": "3.6.1" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "lru-cache": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-8.0.5.tgz", + "integrity": "sha512-MhWWlVnuab1RG5/zMRRcVGXZLCXrZTgfwMikgzCegsPnG62yDQo5JnqKkrK4jO5iKqDAZGItAqN5CtKBCBWRUA==", + "dev": true + }, + "mysql2": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.1.tgz", + "integrity": "sha512-O7FXjLtNkjcMBpLURwkXIhyVbX9i4lq4nNRCykPNOXfceq94kJ0miagmTEGCZieuO8JtwtXaZ41U6KT4eF9y3g==", + "dev": true, + "requires": { + "denque": "^2.1.0", + "generate-function": "^2.3.1", + "iconv-lite": "^0.6.3", + "long": "^5.2.1", + "lru-cache": "^8.0.0", + "named-placeholders": "^1.1.3", + "seq-queue": "^0.0.5", + "sqlstring": "^2.3.2" + } + } } }, "@mikro-orm/nestjs": { @@ -32294,9 +32367,9 @@ "dev": true }, "mysql2": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.1.tgz", - "integrity": "sha512-O7FXjLtNkjcMBpLURwkXIhyVbX9i4lq4nNRCykPNOXfceq94kJ0miagmTEGCZieuO8JtwtXaZ41U6KT4eF9y3g==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.9.0.tgz", + "integrity": "sha512-yS7FtbnO9sYqUZbjaiUwflh1bJAENJ3DQ9aHEYj9G+Hi15+FP7UKaTDNe6SeXx/LpkU6coAQ6vIYQaAmsFA+qQ==", "dev": true, "requires": { "denque": "^2.1.0", diff --git a/package.json b/package.json index d31257344..51309fed1 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "kafkajs": "^2.2.4", "lint-staged": "14.0.1", "mongoose": "7.6.5", - "mysql2": "3.6.1", + "mysql2": "3.9.0", "nats": "2.16.0", "portfinder": "1.0.32", "prettier": "3.1.0", diff --git a/sample/007-sequelize-app/package-lock.json b/sample/007-sequelize-app/package-lock.json index 42427acd4..fbca48369 100644 --- a/sample/007-sequelize-app/package-lock.json +++ b/sample/007-sequelize-app/package-lock.json @@ -14,7 +14,7 @@ "@nestjs/platform-express": "10.3.0", "@nestjs/sequelize": "10.0.0", "@nestjs/terminus": "10.2.0", - "mysql2": "3.6.5", + "mysql2": "3.9.0", "reflect-metadata": "0.1.14", "rimraf": "5.0.5", "rxjs": "7.8.1", @@ -6205,9 +6205,9 @@ } }, "node_modules/mysql2": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.6.5.tgz", - "integrity": "sha512-pS/KqIb0xlXmtmqEuTvBXTmLoQ5LmAz5NW/r8UyQ1ldvnprNEj3P9GbmuQQ2J0A4LO+ynotGi6TbscPa8OUb+w==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.9.0.tgz", + "integrity": "sha512-yS7FtbnO9sYqUZbjaiUwflh1bJAENJ3DQ9aHEYj9G+Hi15+FP7UKaTDNe6SeXx/LpkU6coAQ6vIYQaAmsFA+qQ==", "dependencies": { "denque": "^2.1.0", "generate-function": "^2.3.1", diff --git a/sample/007-sequelize-app/package.json b/sample/007-sequelize-app/package.json index db194a2b0..0bfd6081c 100644 --- a/sample/007-sequelize-app/package.json +++ b/sample/007-sequelize-app/package.json @@ -20,7 +20,7 @@ "@nestjs/platform-express": "10.3.0", "@nestjs/sequelize": "10.0.0", "@nestjs/terminus": "10.2.0", - "mysql2": "3.6.5", + "mysql2": "3.9.0", "reflect-metadata": "0.1.14", "rimraf": "5.0.5", "rxjs": "7.8.1",