npm - fix installing from package.json (#2924) (#2929)

correctly handle cases where a dependency does not have a `version` property because it is either missing or invalid

(cherry picked from commit a0915036f9)

Co-authored-by: Shahar Mor <shaharmor1@gmail.com>
This commit is contained in:
patchback[bot]
2021-07-02 21:59:41 +02:00
committed by GitHub
parent 58d8469759
commit 4b59174063
3 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
bugfixes:
- npm - correctly handle cases where a dependency does not have a ``version`` property because it is either missing or invalid
(https://github.com/ansible-collections/community.general/issues/2917).