From a422a7dc9ac55cda1af99352988a21f16da04c4d Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 1 Nov 2024 10:18:56 -0400 Subject: [PATCH] Upgrade @nestjs/swagger peer dependency --- packages/nestjs-zod/package.json | 4 ++-- pnpm-lock.yaml | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/packages/nestjs-zod/package.json b/packages/nestjs-zod/package.json index 04ec7ee..54c7828 100755 --- a/packages/nestjs-zod/package.json +++ b/packages/nestjs-zod/package.json @@ -43,7 +43,7 @@ "@golevelup/ts-jest": "^0.3.3", "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.1", "@types/jest": "^29.5.2", "@types/merge-deep": "^3.0.0", "@types/node": "^22.7.5", @@ -64,7 +64,7 @@ "peerDependencies": { "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^7.4.2 || ^8.0.0", "zod": ">= 3.14.3" }, "peerDependenciesMeta": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1846800..7636171 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,8 +125,8 @@ importers: specifier: ^10.0.0 version: 10.4.4(@nestjs/common@10.4.4)(@nestjs/platform-express@10.4.4)(reflect-metadata@0.2.2)(rxjs@7.8.1) '@nestjs/swagger': - specifier: ^7.4.2 - version: 7.4.2(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) + specifier: ^8.0.1 + version: 8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2) '@types/jest': specifier: ^29.5.2 version: 29.5.13 @@ -1313,6 +1313,34 @@ packages: reflect-metadata: 0.2.2 swagger-ui-dist: 5.17.14 + /@nestjs/swagger@8.0.1(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(reflect-metadata@0.2.2): + resolution: {integrity: sha512-kW0dlsZXXWQgSSJHvk0fzg6kHvLcJ6trpbfvj5UN8DWIyCdCS/MGNshDE3P82xxKcg/pLZH7z41qYpFiawkGvQ==} + peerDependencies: + '@fastify/static': ^6.0.0 || ^7.0.0 + '@nestjs/common': ^9.0.0 || ^10.0.0 + '@nestjs/core': ^9.0.0 || ^10.0.0 + class-transformer: '*' + class-validator: '*' + reflect-metadata: ^0.1.12 || ^0.2.0 + peerDependenciesMeta: + '@fastify/static': + optional: true + class-transformer: + optional: true + class-validator: + optional: true + dependencies: + '@microsoft/tsdoc': 0.15.0 + '@nestjs/common': 10.4.4(reflect-metadata@0.2.2)(rxjs@7.8.1) + '@nestjs/core': 10.4.4(@nestjs/common@10.4.4)(@nestjs/platform-express@10.4.4)(reflect-metadata@0.2.2)(rxjs@7.8.1) + '@nestjs/mapped-types': 2.0.5(@nestjs/common@10.4.4)(reflect-metadata@0.2.2) + js-yaml: 4.1.0 + lodash: 4.17.21 + path-to-regexp: 3.3.0 + reflect-metadata: 0.2.2 + swagger-ui-dist: 5.17.14 + dev: true + /@nestjs/testing@10.4.4(@nestjs/common@10.4.4)(@nestjs/core@10.4.4)(@nestjs/platform-express@10.4.4): resolution: {integrity: sha512-qRGFj51A5RM7JqA8pcyEwSLA3Y0dle/PAZ8oxP0suimoCusRY3Tk7wYqutZdCNj1ATb678SDaUZDHk2pwSv9/g==} peerDependencies: