Skip to content

Commit

Permalink
Fixed old import from class-transformer (epiphone#56)
Browse files Browse the repository at this point in the history
* Fixed old import from class-transformer

Since [email protected] the `class-transformer/metadata/MetadataStorage` got moved to `class-transformer/types/MetadataStorage`.
https://uiwjs.github.io/npm-unpkg/#/pkg/[email protected]
https://uiwjs.github.io/npm-unpkg/#/pkg/[email protected]

* 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 <[email protected]>

Co-authored-by: Aleksi Pekkala <[email protected]>
  • Loading branch information
nicolaiort and epiphone authored Jan 20, 2021
1 parent 074e8de commit 162b23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 162b23f

Please sign in to comment.