openSUSE / obs-service-node_modules

MIT License
7 stars 11 forks source link

Support dependencies with multiple integrity values #35

Closed marcosbc closed 1 year ago

marcosbc commented 1 year ago

Fixes #34

This PR fixes the scenario where a package-lock.json file may include dependencies with multiple integrity values, as it would cause an error on the OBS side when building. The solution involves selecting the first defined integrity and checking against that, and ignoring any other one.

AdamMajer commented 1 year ago

I've squashed these commits and merged them now. Thanks!