Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(checkver): improve JSONPath extraction support #4522

Merged
merged 10 commits into from
Nov 29, 2021

Commits on Nov 18, 2021

  1. feat: simplify and switch to new JSONPath

    1. Extract multiple versions
    2. Reverse versions, especially if regex is absent
    3. Support returning single value even if multiple versions were found
    This is probably required with regex mode on
    4. Simplify data extraction using JValue over JObject/JArray combination. Saves a few function calls
    pratikpc committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    7abae1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f60491 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. chore(json.ps1):Rename to single

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    feeeb1f View commit details
    Browse the repository at this point in the history
  2. chore(json.ps1):Rename reverse

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    650b3a0 View commit details
    Browse the repository at this point in the history
  3. chore(json.ps1):rename

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    e59750c View commit details
    Browse the repository at this point in the history
  4. Update lib/json.ps1

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    c55c1e1 View commit details
    Browse the repository at this point in the history
  5. Update lib/json.ps1

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    71809bb View commit details
    Browse the repository at this point in the history
  6. Update lib/json.ps1

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    9124efc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Update bin/checkver.ps1

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    8699fc9 View commit details
    Browse the repository at this point in the history
  2. Update bin/checkver.ps1

    Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
    pratikpc and niheaven committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    eaf4a19 View commit details
    Browse the repository at this point in the history