diff --git a/.azure/variables/main.yml b/.azure/variables/main.yml index 36cc240..ca529c7 100644 --- a/.azure/variables/main.yml +++ b/.azure/variables/main.yml @@ -5,6 +5,9 @@ variables: - name: NEXT_PUBLIC_DEPOT_ROOT value: https://raw.githubusercontent.com/RaenonX-DL/dragalia-data-depot/main readonly: true + - name: NEXT_PUBLIC_AUDIO_ROOT + value: https://raw.githubusercontent.com/RaenonX-DL/dragalia-data-audio/main + readonly: true - name: CI value: true readonly: true diff --git a/package-lock.json b/package-lock.json index 9abd093..6f80ee1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,23 +1,22 @@ { "name": "dragalia-site-back-2", - "version": "2.14.0", + "version": "2.15.0b", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "2.14.0", + "version": "2.15.0b", "license": "ISC", "dependencies": { "dotenv": "^10.0.0", - "fastify": "^3.21.0", + "fastify": "^3.21.5", "fastify-cors": "^6.0.2", "fastify-helmet": "^5.3.2", "mongodb": "^4.1.1", "mongodb-memory-server": "^7.4.0", "newrelic": "^8.3.0", "node-fetch": "^2.6.2", - "pm2": "^5.1.1", - "uuid": "^8.3.2" + "pm2": "^5.1.1" }, "devDependencies": { "@types/jest": "^27.0.1", @@ -4222,9 +4221,9 @@ "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" }, "node_modules/fastify": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.21.0.tgz", - "integrity": "sha512-hc9p0meCV8PXIQzg8BwXekhCmJm5LHfeJi7U3mKQTMu7pQT24CL756jUxM9sOLEbBpQoD82PejVPW2lfLiXJsw==", + "version": "3.21.5", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.21.5.tgz", + "integrity": "sha512-yJINZ9m6PqCpLzTvQwau6Qfb1axNKiAi2k/spUY7160+u8HJd7+bXnJfThHikycQaI4crOMyQZ1UiJ8zEqJtOg==", "dependencies": { "@fastify/ajv-compiler": "^1.0.0", "abstract-logging": "^2.0.0", @@ -7798,12 +7797,13 @@ } }, "node_modules/pino": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.0.tgz", - "integrity": "sha512-mRXSTfa34tbfrWqCIp1sUpZLqBhcoaGapoyxfEwaWwJGMpLijlRdDKIQUyvq4M3DUfFH5vEglwSw8POZYwbThA==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.2.tgz", + "integrity": "sha512-vmD/cabJ4xKqo9GVuAoAEeQhra8XJ7YydPV/JyIP+0zDtFTu5JSKdtt8eksGVWKtTSrNGcRrzJ4/IzvUWep3FA==", "dependencies": { "fast-redact": "^3.0.0", "fast-safe-stringify": "^2.0.8", + "fastify-warning": "^0.2.0", "flatstr": "^1.0.12", "pino-std-serializers": "^3.1.0", "quick-format-unescaped": "^4.0.3", @@ -13288,9 +13288,9 @@ "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==" }, "fastify": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.21.0.tgz", - "integrity": "sha512-hc9p0meCV8PXIQzg8BwXekhCmJm5LHfeJi7U3mKQTMu7pQT24CL756jUxM9sOLEbBpQoD82PejVPW2lfLiXJsw==", + "version": "3.21.5", + "resolved": "https://registry.npmjs.org/fastify/-/fastify-3.21.5.tgz", + "integrity": "sha512-yJINZ9m6PqCpLzTvQwau6Qfb1axNKiAi2k/spUY7160+u8HJd7+bXnJfThHikycQaI4crOMyQZ1UiJ8zEqJtOg==", "requires": { "@fastify/ajv-compiler": "^1.0.0", "abstract-logging": "^2.0.0", @@ -16000,12 +16000,13 @@ "dev": true }, "pino": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.0.tgz", - "integrity": "sha512-mRXSTfa34tbfrWqCIp1sUpZLqBhcoaGapoyxfEwaWwJGMpLijlRdDKIQUyvq4M3DUfFH5vEglwSw8POZYwbThA==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.2.tgz", + "integrity": "sha512-vmD/cabJ4xKqo9GVuAoAEeQhra8XJ7YydPV/JyIP+0zDtFTu5JSKdtt8eksGVWKtTSrNGcRrzJ4/IzvUWep3FA==", "requires": { "fast-redact": "^3.0.0", "fast-safe-stringify": "^2.0.8", + "fastify-warning": "^0.2.0", "flatstr": "^1.0.12", "pino-std-serializers": "^3.1.0", "quick-format-unescaped": "^4.0.3", diff --git a/package.json b/package.json index 4556101..3e206a8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "RaenonX", "name": "dragalia-site-back-2", "description": "Renewed backend for Dragalia Lost info website by OM.", - "version": "2.14.0", + "version": "2.15.0-beta.1", "engines": { "node": "14.x", "npm": "^7.12.0" @@ -24,15 +24,14 @@ }, "dependencies": { "dotenv": "^10.0.0", - "fastify": "^3.21.0", + "fastify": "^3.21.5", "fastify-cors": "^6.0.2", "fastify-helmet": "^5.3.2", "mongodb": "^4.1.1", "mongodb-memory-server": "^7.4.0", "newrelic": "^8.3.0", "node-fetch": "^2.6.2", - "pm2": "^5.1.1", - "uuid": "^8.3.2" + "pm2": "^5.1.1" }, "devDependencies": { "@types/jest": "^27.0.1", diff --git a/src/api-def b/src/api-def index b639bb2..01ccf67 160000 --- a/src/api-def +++ b/src/api-def @@ -1 +1 @@ -Subproject commit b639bb257eade27eddbb828a9ba7b1a831230737 +Subproject commit 01ccf6757977aba1f839bcc60c09ca246ee4ac29 diff --git a/src/main.ts b/src/main.ts index 807097d..05d8c94 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,11 +17,7 @@ if (isProduction()) { mongoUri: process.env.MONGO_URL || '', logger: isProduction() ? true : - { - prettyPrint: { - translateTime: true, - }, - }, + {prettyPrint: {translateTime: true}}, })).app; await initHttp(app); diff --git a/test/data/resources b/test/data/resources index 69c60f0..e3740e0 160000 --- a/test/data/resources +++ b/test/data/resources @@ -1 +1 @@ -Subproject commit 69c60f0fd74213676477ccb50248100e55f750a9 +Subproject commit e3740e0bf4db4cdfb48e702aa8c52d48f7a20db4