Skip to content

Commit 47e0fd2

Browse files
committed
@message-queue-toolkit/core 21.2.0
1 parent 25be6f1 commit 47e0fd2

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

packages/core/lib/payload-store/offloadedPayloadMessageSchemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { z } from 'zod'
1+
import { z } from 'zod/v3'
22

33
/**
44
* When the payload is too large to be sent in a single message, it is offloaded to a storage service and a pointer to the offloaded payload is sent instead.

packages/core/lib/queues/AbstractPublisherManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TypeOf, z } from 'zod'
1+
import type { TypeOf, z } from 'zod/v3'
22

33
import type { EventRegistry } from '../events/EventRegistry.ts'
44
import type { PublisherBaseEventType } from '../events/baseEventSchemas.ts'

packages/core/lib/queues/AbstractQueueService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '@lokalise/node-core'
1010
import { resolveGlobalErrorLogObject } from '@lokalise/node-core'
1111
import type { CommonEventDefinition } from '@message-queue-toolkit/schemas'
12-
import type { ZodSchema, ZodType } from 'zod'
12+
import type { ZodSchema, ZodType } from 'zod/v3'
1313

1414
import {
1515
MESSAGE_DEDUPLICATION_OPTIONS_SCHEMA,

packages/core/lib/queues/HandlerContainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Either } from '@lokalise/node-core'
22
import type { CommonEventDefinition } from '@message-queue-toolkit/schemas'
33
import { isCommonEventDefinition } from '@message-queue-toolkit/schemas'
4-
import type { ZodSchema } from 'zod'
4+
import type { ZodSchema } from 'zod/v3'
55

66
import type { DoNotProcessMessageError } from '../errors/DoNotProcessError.ts'
77
import type { RetryMessageLaterError } from '../errors/RetryMessageLaterError.ts'

packages/core/lib/queues/MessageSchemaContainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Either } from '@lokalise/node-core'
22
import type { CommonEventDefinition } from '@message-queue-toolkit/schemas'
3-
import type { ZodSchema } from 'zod'
3+
import type { ZodSchema } from 'zod/v3'
44

55
export type MessageSchemaContainerOptions<MessagePayloadSchemas extends object> = {
66
messageDefinitions: readonly CommonEventDefinition[]

packages/core/lib/types/MessageQueueTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { CommonLogger, TransactionObservabilityManager } from '@lokalise/node-core'
2-
import type { ZodSchema } from 'zod'
2+
import type { ZodSchema } from 'zod/v3'
33

44
import type { PublicHandlerSpy } from '../queues/HandlerSpy.ts'
55

packages/core/lib/types/queueOptionsTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { CommonLogger, ErrorReporter, ErrorResolver } from '@lokalise/node-core'
2-
import type { ZodSchema } from 'zod'
2+
import type { ZodSchema } from 'zod/v3'
33

44
import type { PayloadStoreConfig } from '../payload-store/payloadStoreTypes.ts'
55
import type { MessageHandlerConfig } from '../queues/HandlerContainer.ts'

packages/core/lib/utils/parseUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Either, ErrorResolver } from '@lokalise/node-core'
2-
import type { ZodSchema } from 'zod'
2+
import type { ZodSchema } from 'zod/v3'
33

44
import type { MessageInvalidFormatError, MessageValidationError } from '../errors/Errors.ts'
55

packages/core/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@message-queue-toolkit/core",
3-
"version": "21.1.1",
3+
"version": "21.2.0",
44
"private": false,
55
"license": "MIT",
66
"description": "Useful utilities, interfaces and base classes for message queue handling. Supports AMQP and SQS with a common abstraction on top currently",
@@ -26,26 +26,26 @@
2626
"prepublishOnly": "npm run lint && npm run build"
2727
},
2828
"dependencies": {
29-
"@lokalise/node-core": "^14.0.0",
30-
"@message-queue-toolkit/schemas": "^6.0.0",
31-
"fast-equals": "^5.0.1",
29+
"@lokalise/node-core": "^14.0.1",
30+
"@message-queue-toolkit/schemas": "^6.2.0",
31+
"fast-equals": "^5.2.2",
3232
"json-stream-stringify": "^3.1.6",
3333
"tmp": "^0.2.3",
3434
"toad-cache": "^3.7.0",
35-
"zod": "^3.23.8"
35+
"zod": "^3.25.3"
3636
},
3737
"devDependencies": {
3838
"@biomejs/biome": "1.9.4",
3939
"@lokalise/biome-config": "^2.0.0",
4040
"@lokalise/tsconfig": "^1.3.0",
41-
"@types/node": "^22.7.5",
41+
"@types/node": "^22.15.19",
4242
"@types/tmp": "^0.2.6",
43-
"@vitest/coverage-v8": "^3.0.7",
43+
"@vitest/coverage-v8": "^3.1.4",
4444
"awilix": "^12.0.1",
45-
"awilix-manager": "^6.0.0",
45+
"awilix-manager": "^6.1.0",
4646
"rimraf": "^6.0.1",
47-
"typescript": "^5.7.2",
48-
"vitest": "^3.0.7"
47+
"typescript": "^5.8.3",
48+
"vitest": "^3.1.4"
4949
},
5050
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
5151
"repository": {

packages/core/test/testContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { type Resolver, asClass } from 'awilix'
33
import { Lifetime, asFunction, createContainer } from 'awilix'
44
import { AwilixManager } from 'awilix-manager'
55
import { pino } from 'pino'
6-
import { z } from 'zod'
6+
import { z } from 'zod/v3'
77

88
import type { TransactionObservabilityManager } from '@lokalise/node-core'
99
import { enrichMessageSchemaWithBase } from '@message-queue-toolkit/schemas'

0 commit comments

Comments
 (0)