grbsk/ng2-idle

@ng-idle/keepalive@10.0.0 requires @ng-idle/core^11.0.0

Closed this issue · 1 comments

Describe the bug
When adding @ng-idle/core@10.0.0 and @ng-idle/keepalive@10.0.0 I am getting an npm warning that @ng-idle/keepalive requires @ng-idle/core version ^11.0.0

To Reproduce

npm install @ng-idle/core@10.0.0 @ng-idle/keepalive@10.0.0

this results in:

image

Expected behavior
I would expect two libraries that are built from the same repo to depend on themselves.

Please tell us about your environment

  • Mobile or Desktop: Windows 10
  • Browser: -
  • Version: -
  • Angular version: 10.1.0
  • NodeJS version: 14.7.4
  • Language (TypeScript x.x, ES5, ES2015, etc.): -

Additional context
I have looked into the node module for @ng-idle/keepalive@10.0.0 and sure enough I found the issue:
image

Workaround
Use the force option with npm

This should be fixed in the 11.x releases which are fully backward compatible with the 9.x and 10.x releases.