peterus / platformio_dependabot

MIT License
6 stars 4 forks source link

Added compatibility with Semver #6

Closed Laxilef closed 3 months ago

Laxilef commented 3 months ago

This PR solves issue #4 It works correctly with version forms:

bblanchon/ArduinoJson@^6.0.0
bblanchon/ArduinoJson@>6.0.0
bblanchon/ArduinoJson@>=6.0.0
bblanchon/ArduinoJson@<6.0.0
bblanchon/ArduinoJson@<=6.0.0
bblanchon/ArduinoJson@~6.0.0

With spaces or without spaces:

bblanchon/ArduinoJson @ ^6.0.0
bblanchon/ArduinoJson@^6.0.0
bblanchon/ArduinoJson @ 6.0.0
bblanchon/ArduinoJson@6.0.0

But not compatible with complex conditions. If no changes have been made to the file, then the PR is not created.

peterus commented 3 months ago

@Laxilef thank you very much for the PR! This is a great update 👍