diff --git a/packages/app/api-common/package.json b/packages/app/api-common/package.json index e041ef07..ea596271 100644 --- a/packages/app/api-common/package.json +++ b/packages/app/api-common/package.json @@ -33,14 +33,14 @@ "package-version": "echo $npm_package_version" }, "peerDependencies": { - "zod": "^3.22.0" + "zod": "^3.23.8" }, "devDependencies": { "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "@vitest/coverage-v8": "^1.4.0", - "prettier": "3.2.5", + "@vitest/coverage-v8": "^1.6.0", + "prettier": "3.3.1", "rimraf": "^5.0.5", "typescript": "5.4.5", "vite": "^5.2.12", diff --git a/packages/app/backend-http-client/package.json b/packages/app/backend-http-client/package.json index 72876786..a0fb53d0 100644 --- a/packages/app/backend-http-client/package.json +++ b/packages/app/backend-http-client/package.json @@ -35,22 +35,22 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@lokalise/node-core": "^9.18.0", - "undici": "^6.17.0", + "@lokalise/node-core": "^10.0.0", + "undici": "^6.18.2", "undici-retry": "^5.0.3", "zod": "^3.23.8" }, "devDependencies": { "@lokalise/prettier-config": "latest", - "@types/node": "^20.12.11", - "@typescript-eslint/eslint-plugin": "^7.8.0", - "@typescript-eslint/parser": "^7.8.0", + "@types/node": "^20.14.2", + "@typescript-eslint/eslint-plugin": "^7.12.0", + "@typescript-eslint/parser": "^7.12.0", "@vitest/coverage-v8": "1.6.0", "auto-changelog": "^2.4.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-vitest": "0.4.1", - "prettier": "^3.2.5", + "prettier": "^3.3.1", "typescript": "^5.4.5", "vitest": "1.6.0" }, diff --git a/packages/app/backend-http-client/src/client/httpClient.spec.ts b/packages/app/backend-http-client/src/client/httpClient.spec.ts index 67eeaf01..70e74d77 100644 --- a/packages/app/backend-http-client/src/client/httpClient.spec.ts +++ b/packages/app/backend-http-client/src/client/httpClient.spec.ts @@ -1,4 +1,3 @@ -import { JSON_HEADERS } from '@lokalise/node-core' import type { Interceptable } from 'undici' import { Client, MockAgent, setGlobalDispatcher } from 'undici' import { isInternalRequestError } from 'undici-retry' @@ -7,6 +6,7 @@ import { z } from 'zod' import type { HttpRequestContext } from './httpClient' import { + JSON_HEADERS, UNKNOWN_RESPONSE_SCHEMA, NO_CONTENT_RESPONSE_SCHEMA, buildClient, diff --git a/packages/app/backend-http-client/src/client/httpClient.ts b/packages/app/backend-http-client/src/client/httpClient.ts index 733129bb..59dc644b 100644 --- a/packages/app/backend-http-client/src/client/httpClient.ts +++ b/packages/app/backend-http-client/src/client/httpClient.ts @@ -1,6 +1,6 @@ import type { Readable } from 'stream' -import { copyWithoutUndefined, ResponseStatusError } from '@lokalise/node-core' +import { copyWithoutUndefined } from '@lokalise/node-core' import type { DefiniteEither, MayOmit } from '@lokalise/node-core' import { Client } from 'undici' import type { FormData } from 'undici' @@ -14,6 +14,8 @@ import type { } from 'undici-retry' import { z } from 'zod' +import { ResponseStatusError } from '../errors/ResponseStatusError' + // eslint-disable-next-line @typescript-eslint/no-explicit-any type RecordObject = Record diff --git a/packages/app/background-jobs-common/package.json b/packages/app/background-jobs-common/package.json index db05ad48..d1b68df9 100644 --- a/packages/app/background-jobs-common/package.json +++ b/packages/app/background-jobs-common/package.json @@ -35,24 +35,24 @@ }, "dependencies": { "@lokalise/id-utils": "1.0.0", - "@lokalise/node-core": "^9.17.0", - "pino": "^9.0.0", + "@lokalise/node-core": "^9.22.0", + "pino": "^9.1.0", "ts-deepmerge": "^7.0.0" }, "peerDependencies": { - "bullmq": "^5.4.6" + "bullmq": "^5.7.15" }, "devDependencies": { - "@types/node": "^20.12.7", + "@types/node": "^20.14.2", "@lokalise/eslint-config": "latest", - "@lokalise/fastify-extras": "^20.0.0", + "@lokalise/fastify-extras": "^21.0.0", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "@vitest/coverage-v8": "^1.5.0", - "bullmq": "^5.4.6", - "ioredis": "^5.3.2", - "prettier": "3.2.5", - "rimraf": "^5.0.5", + "@vitest/coverage-v8": "^1.6.0", + "bullmq": "^5.7.15", + "ioredis": "^5.4.1", + "prettier": "3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", "vitest": "^1.6.0" }, diff --git a/packages/app/context-plugins/package.json b/packages/app/context-plugins/package.json index 37e784ec..3a836e8b 100644 --- a/packages/app/context-plugins/package.json +++ b/packages/app/context-plugins/package.json @@ -31,7 +31,7 @@ "package-version": "echo $npm_package_version" }, "dependencies": { - "@lokalise/node-core": "^9.17.0", + "@lokalise/node-core": "^10.0.0", "@opentelemetry/api": "1.8.0", "@opentelemetry/exporter-trace-otlp-grpc": "0.50.0", "@opentelemetry/instrumentation": "0.50.0", @@ -50,13 +50,12 @@ "devDependencies": { "@fastify/request-context": "^5.1.0", "@lokalise/eslint-config": "latest", - "@lokalise/node-core": "^9.20.0", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", "@prisma/instrumentation": "^5.13.0", - "@types/node": "^20.12.13", - "@typescript-eslint/eslint-plugin": "^7.11.0", - "@typescript-eslint/parser": "^7.11.0", + "@types/node": "^20.14.2", + "@typescript-eslint/eslint-plugin": "^7.12.0", + "@typescript-eslint/parser": "^7.12.0", "@vitest/coverage-v8": "1.6.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.1", @@ -64,7 +63,7 @@ "fastify": "^4.27.0", "pino": "^9.1.0", "pino-pretty": "^11.1.0", - "prettier": "^3.2.5", + "prettier": "^3.3.1", "rimraf": "^5.0.1", "typescript": "^5.4.5", "vitest": "1.6.0" diff --git a/packages/app/error-utils/package.json b/packages/app/error-utils/package.json index 9703b2de..c204db91 100644 --- a/packages/app/error-utils/package.json +++ b/packages/app/error-utils/package.json @@ -25,18 +25,18 @@ "package-version": "echo $npm_package_version" }, "dependencies": { - "@bugsnag/js": "^7.22.4" + "@bugsnag/js": "^7.23.0" }, "devDependencies": { "@lokalise/eslint-config": "latest", - "@lokalise/node-core": "^9.6.1", + "@lokalise/node-core": "^10.0.0", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", "@vitest/coverage-v8": "^1.6.0", - "prettier": "^3.2.5", - "rimraf": "^5.0.1", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "^1.6.0" }, "prettier": "@lokalise/prettier-config" diff --git a/packages/app/events-common/package.json b/packages/app/events-common/package.json index 65035743..986c64e9 100644 --- a/packages/app/events-common/package.json +++ b/packages/app/events-common/package.json @@ -32,18 +32,18 @@ "package-version": "echo $npm_package_version" }, "peerDependencies": { - "zod": "^3.22.0" + "zod": "^3.23.8" }, "devDependencies": { "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "@message-queue-toolkit/sns": "^15.1.0", - "@vitest/coverage-v8": "^1.1.3", - "prettier": "3.2.5", - "rimraf": "^5.0.1", + "@message-queue-toolkit/sns": "^15.3.0", + "@vitest/coverage-v8": "^1.6.0", + "prettier": "3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "1.6.0" }, "prettier": "@lokalise/prettier-config" diff --git a/packages/app/id-utils/package.json b/packages/app/id-utils/package.json index 196e2ccd..83485cc8 100644 --- a/packages/app/id-utils/package.json +++ b/packages/app/id-utils/package.json @@ -35,17 +35,17 @@ }, "dependencies": { "ulid-uuid-converter": "^1.0.4", - "ulidx": "^2.1.0" + "ulidx": "^2.3.0" }, "devDependencies": { "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "@vitest/coverage-v8": "^1.1.3", - "prettier": "^3.2.5", - "rimraf": "^5.0.1", + "@vitest/coverage-v8": "^1.6.0", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "^1.6.0" }, "prettier": "@lokalise/prettier-config" diff --git a/packages/app/non-translatable-markup/package.json b/packages/app/non-translatable-markup/package.json index 5d274a1a..b177cee3 100644 --- a/packages/app/non-translatable-markup/package.json +++ b/packages/app/non-translatable-markup/package.json @@ -35,17 +35,17 @@ "package-version": "echo $npm_package_version" }, "peerDependencies": { - "zod": "^3.22.0" + "zod": "^3.23.8" }, "devDependencies": { "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "@vitest/coverage-v8": "^1.1.3", - "prettier": "3.2.5", - "rimraf": "^5.0.1", + "@vitest/coverage-v8": "^1.6.0", + "prettier": "3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "^1.6.0" }, "prettier": "@lokalise/prettier-config" diff --git a/packages/app/prisma-utils/package.json b/packages/app/prisma-utils/package.json index f3f3433a..864e4a87 100644 --- a/packages/app/prisma-utils/package.json +++ b/packages/app/prisma-utils/package.json @@ -42,7 +42,7 @@ "package-version": "echo $npm_package_version" }, "dependencies": { - "@lokalise/node-core": "^9.16.0" + "@lokalise/node-core": "^10.0.0" }, "peerDependencies": { "prisma": "^5.14.0", @@ -53,14 +53,14 @@ "@lokalise/eslint-config": "*", "@lokalise/prettier-config": "*", "@lokalise/package-vite-config": "*", - "@vitest/coverage-v8": "^1.5.3", + "@vitest/coverage-v8": "^1.6.0", "cross-env": "^7.0.3", "dotenv-cli": "^7.4.1", "prisma": "^5.14.0", - "prettier": "^3.2.5", - "rimraf": "^5.0.1", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "^1.6.0" }, "prettier": "@lokalise/prettier-config" diff --git a/packages/app/supported-languages/package.json b/packages/app/supported-languages/package.json index 868a2426..8398a467 100644 --- a/packages/app/supported-languages/package.json +++ b/packages/app/supported-languages/package.json @@ -41,9 +41,9 @@ "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@rollup/plugin-typescript": "^11.1.3", - "@vitest/coverage-v8": "^1.1.3", - "prettier": "^3.2.5", - "rimraf": "^5.0.1", + "@vitest/coverage-v8": "^1.6.0", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "rollup": "^4.4.1", "typescript": "5.4.5", "vitest": "^1.6.0" diff --git a/packages/app/websockets-common/package.json b/packages/app/websockets-common/package.json index c03dbf64..59f916a8 100644 --- a/packages/app/websockets-common/package.json +++ b/packages/app/websockets-common/package.json @@ -35,16 +35,16 @@ "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", "@lokalise/package-vite-config": "latest", - "eslint": "^8.53.0", - "prettier": "^3.2.5", - "rimraf": "^5.0.1", + "eslint": "^8.57.0", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "typescript": "~5.4.5", - "vite": "^5.2.12", + "vite": "^5.2.13", "vitest": "1.6.0" }, "dependencies": { - "socket.io": "^4.7.2", - "zod": "^3.22.0" + "socket.io": "^4.7.5", + "zod": "^3.23.8" }, "prettier": "@lokalise/prettier-config" } diff --git a/packages/dev/eslint-config/package.json b/packages/dev/eslint-config/package.json index dda09e16..84543314 100644 --- a/packages/dev/eslint-config/package.json +++ b/packages/dev/eslint-config/package.json @@ -24,12 +24,12 @@ }, "dependencies": { "@lokalise/eslint-config-frontend": "^4.6.0", - "@tanstack/eslint-plugin-query": "^5.28.6", - "@typescript-eslint/parser": "^7.3.1" + "@tanstack/eslint-plugin-query": "^5.35.6", + "@typescript-eslint/parser": "^7.12.0" }, "devDependencies": { "@lokalise/prettier-config": "latest", - "prettier": "^3.2.5" + "prettier": "^3.3.1" }, "prettier": "@lokalise/prettier-config" } diff --git a/packages/dev/package-vite-config/package.json b/packages/dev/package-vite-config/package.json index 2e8fb9eb..1cc79042 100644 --- a/packages/dev/package-vite-config/package.json +++ b/packages/dev/package-vite-config/package.json @@ -36,16 +36,16 @@ "package-version": "echo $npm_package_version" }, "dependencies": { - "vite": "5.2.12", + "vite": "5.2.13", "vite-plugin-dts": "3.9.1", "vitest": "^1.6.0" }, "devDependencies": { "@lokalise/eslint-config": "latest", "@lokalise/prettier-config": "latest", - "eslint": "^8.51.0", - "prettier": "^3.2.5", - "rimraf": "^5.0.5", + "eslint": "^8.57.0", + "prettier": "^3.3.1", + "rimraf": "^5.0.7", "typescript": "5.4.5" }, "prettier": "@lokalise/prettier-config"