diff --git a/package-lock.json b/package-lock.json index 91b0d0f..0995e61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "dotenv": "^8.2.0", "express": "^4.17.1", "guid-typescript": "^1.0.9", - "mariadb": "^2.5.3", + "mariadb": "^3.0.2", "random-words": "^1.1.1", "swagger-jsdoc": "^6.1.0", "swagger-ui-express": "^4.3.0", @@ -3706,11 +3706,6 @@ "triple-beam": "^1.3.0" } }, - "node_modules/long": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", - "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" - }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -3758,20 +3753,19 @@ } }, "node_modules/mariadb": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/mariadb/-/mariadb-2.5.6.tgz", - "integrity": "sha512-zBx7loYY5GzLl8Y6AKxGXfY9DUYIIdGrmEORPOK9FEu0pg5ZLBKCGJuucHwKADxTBxKY7eM4rxndqxRcnMZKIw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mariadb/-/mariadb-3.0.2.tgz", + "integrity": "sha512-dVjiQZ6RW0IXFnX+T/ZEmnqs724DgkQsXqfCyInXn0XxVfO2Px6KbS4M3Ny6UiBg0zJ93SHHvfVBgYO4ZnFvvw==", "dependencies": { - "@types/geojson": "^7946.0.8", - "@types/node": "^17.0.10", - "denque": "^2.0.1", + "@types/geojson": "^7946.0.10", + "@types/node": "^17.0.45", + "denque": "^2.1.0", "iconv-lite": "^0.6.3", - "long": "^5.2.0", - "moment-timezone": "^0.5.34", - "please-upgrade-node": "^3.2.0" + "lru-cache": "^7.14.0", + "moment-timezone": "^0.5.38" }, "engines": { - "node": ">= 10.13" + "node": ">= 12" } }, "node_modules/mariadb/node_modules/@types/node": { @@ -3790,6 +3784,14 @@ "node": ">=0.10.0" } }, + "node_modules/mariadb/node_modules/lru-cache": { + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", + "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", + "engines": { + "node": ">=12" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -4270,14 +4272,6 @@ "node": ">=8" } }, - "node_modules/please-upgrade-node": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", - "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", - "dependencies": { - "semver-compare": "^1.0.0" - } - }, "node_modules/pretty-format": { "version": "28.1.3", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", @@ -4528,11 +4522,6 @@ "node": ">=10" } }, - "node_modules/semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==" - }, "node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -8463,11 +8452,6 @@ "triple-beam": "^1.3.0" } }, - "long": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", - "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" - }, "lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -8508,17 +8492,16 @@ } }, "mariadb": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/mariadb/-/mariadb-2.5.6.tgz", - "integrity": "sha512-zBx7loYY5GzLl8Y6AKxGXfY9DUYIIdGrmEORPOK9FEu0pg5ZLBKCGJuucHwKADxTBxKY7eM4rxndqxRcnMZKIw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mariadb/-/mariadb-3.0.2.tgz", + "integrity": "sha512-dVjiQZ6RW0IXFnX+T/ZEmnqs724DgkQsXqfCyInXn0XxVfO2Px6KbS4M3Ny6UiBg0zJ93SHHvfVBgYO4ZnFvvw==", "requires": { - "@types/geojson": "^7946.0.8", - "@types/node": "^17.0.10", - "denque": "^2.0.1", + "@types/geojson": "^7946.0.10", + "@types/node": "^17.0.45", + "denque": "^2.1.0", "iconv-lite": "^0.6.3", - "long": "^5.2.0", - "moment-timezone": "^0.5.34", - "please-upgrade-node": "^3.2.0" + "lru-cache": "^7.14.0", + "moment-timezone": "^0.5.38" }, "dependencies": { "@types/node": { @@ -8533,6 +8516,11 @@ "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } + }, + "lru-cache": { + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", + "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==" } } }, @@ -8885,14 +8873,6 @@ "find-up": "^4.0.0" } }, - "please-upgrade-node": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", - "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", - "requires": { - "semver-compare": "^1.0.0" - } - }, "pretty-format": { "version": "28.1.3", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.3.tgz", @@ -9090,11 +9070,6 @@ } } }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==" - }, "send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", diff --git a/package.json b/package.json index eb788c2..53d6a34 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dotenv": "^8.2.0", "express": "^4.17.1", "guid-typescript": "^1.0.9", - "mariadb": "2.5.3", + "mariadb": "^3.0.2", "random-words": "^1.1.1", "swagger-jsdoc": "^6.1.0", "swagger-ui-express": "^4.3.0",