Find peer dependency version Beta

e.g. react-dom
e.g. react
e.g. 16.0.0, ^2.0.2

Use the form above to search compatible versions of related NPM packages.

Last searches

Package Peer dependency Peer dependency version Compatible Package versions
nestjs-typeorm-paginate @nestjs/common 8.4.5 2.5.4 - 4.0.4
@reduxjs/toolkit react 17.0.2 1.0.3 - 2.2.3
typescript react 17.0.2 1.0.0 - 5.4.5
react-dom react 17.0.2 17.0.2 - 17.0.2
karma-jasmine karma-jasmine-html-reporter 1.7.0 1.0.0 - 5.1.0
karma-jasmine jasmine-core 3.6.0 1.0.0 - 5.1.0
jasmine-core karma-jasmine ^4.0.2 2.0.0 - 5.1.2
jasmine-core karma-jasmine 4.0.2 2.0.0 - 5.1.2
ngrx-store-localstorage @ngrx/store 12.5.1 12.0.0 - 12.0.1
@ngrx/store-devtools @angular/core 12.2.17 3.0.0 - 17.2.0
Package Peer dependency
nestjs-typeorm-paginate @ 2.5.4 - 4.0.4 @nestjs/common @ 8.4.5
@reduxjs/toolkit @ 1.0.3 - 2.2.3 react @ 17.0.2
typescript @ 1.0.0 - 5.4.5 react @ 17.0.2
react-dom @ 17.0.2 - 17.0.2 react @ 17.0.2
karma-jasmine @ 1.0.0 - 5.1.0 karma-jasmine-html-reporter @ 1.7.0
karma-jasmine @ 1.0.0 - 5.1.0 jasmine-core @ 3.6.0
jasmine-core @ 2.0.0 - 5.1.2 karma-jasmine @ ^4.0.2
jasmine-core @ 2.0.0 - 5.1.2 karma-jasmine @ 4.0.2
ngrx-store-localstorage @ 12.0.0 - 12.0.1 @ngrx/store @ 12.5.1
@ngrx/store-devtools @ 3.0.0 - 17.2.0 @angular/core @ 12.2.17

About

The problem: When installing related packages, one package might rely the other to have a compatible API, module directory structure and/or configuration. However, quite often related packages are developed by separate owners or teams. As a package evolves, APIs are improved and dependent packages need to be updated to stay compatible, otherwise they would break. A solution is to specify in the dependent package, the compatible versions of related packages. This is done by specifying compatible version of related packages in package.json file under peerDependencies. For example the react-dom package would specify the compatible version of react under peerDependencies.

The compatible version of related packages used to be installed by default when using NPM. However, Starting from NPM version 3, compatible versions of peer dependencies are not installed by default. Rather, the latest version of the target package is installed. This requires additional effort from developers.

Detecting this problem: Quite often developers run npm i command without checking installation outputs. If you are the exception, You will notice the UNMET PEER DEPENDENCY message when the latest version of your package is installed, but is not compatible with another package you installed earlier. You usually don't want to upgrade the first package. For example if you use a specific version of webpack you do not want to be forced to upgrade version just to use webpack-cli. Instead you want to know which is the most relevant version of webpack-cli for you current version of webpack.

If you ever faced these issues mentioned above, this tool comes to help. Simply add your main package name, main package version and peer dependency package name to get a list of possible version.

Thank for using our tool. Hope you find it useful.