From 162b23fc6fe6987f6799d4cbb7ba903d4c56eb78 Mon Sep 17 00:00:00 2001 From: Niggl Date: Wed, 20 Jan 2021 04:25:48 +0100 Subject: [PATCH] Fixed old import from class-transformer (#56) * Fixed old import from class-transformer Since class-transformer@0.3.2 the `class-transformer/metadata/MetadataStorage` got moved to `class-transformer/types/MetadataStorage`. https://uiwjs.github.io/npm-unpkg/#/pkg/class-transformer@0.3.1 https://uiwjs.github.io/npm-unpkg/#/pkg/class-transformer@0.3.2 * Pinned class-transformer to 0.3.2 (latest) Some package managers do stupid stuff. * Pinned it to a version that works * Switched back to the old input * Added previously known-good versions As requested by @epiphone Co-authored-by: Aleksi Pekkala Co-authored-by: Aleksi Pekkala --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 15dd4e3..7051b74 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "typescript": "^4.1.3" }, "peerDependencies": { - "class-transformer": "^0.2.3", + "class-transformer": "0.2.3 - 0.3.1", "class-validator": "^0.12.0" } }