Commit Graph
4 Commits
Author SHA1 Message Date
Hsiao-nan Cheung 03ebcc2984 supporting: Update Newtonsoft.Json to 11.0.2, Newtonsoft.Json.Schema to 3.0.10 (#3043)
- Update supporting\validator\bin\Newtonsoft.Json to 11.0.2
  - **HIGHLIGHT**: support for regex operator in JSON Paths
  - Latest Newtonsoft.Json version is 12.0.1, which has some compatibility issues with Json.Schema 3.0.10 and PowerShell Core 6.1.12 (On my PC)
- Update supporting\validator\bin\Newtonsoft.Json.Schema to 3.0.10
- Use .NET 4.5 instead of .NET 4.0, since Scoop's requirements is [.NET Framework 4.5+](https://github.com/lukesampson/scoop#requirements)
- Modify `json_path()` to escape `$version` substitutions when `$jsonpath` has regex

**EXAMPLE OF JPATH REGEX**
```json
"checkver": {
    "url": "https://dist.nuget.org/index.json",
    "jp": "$..versions[?(@.displayName =~ /.*recommended.*/)].version"
}
```
2019-02-16 22:20:37 +01:00
Richard Kuhnt f0a15886f2 Update validator.exe and shim.exe (#2024)
* Update Newtonsoft.Json and improve validator build process

* Improve shimexe build process and create deterministic builds
2018-02-20 18:48:02 +01:00
Richard Kuhnt 2ae8be3d14 Fix newline in validator.csproj 2017-09-10 18:04:03 +02:00
Richard Kuhnt 99820e8ce3 Update json validator
* Update Newtonsoft.Json to version 10.0.3
* Update Newtonsoft.Json.Schema to version 3.0.3
* Add Microsoft.Net.Compiles dependency
* Improve build/update process
* Use deterministic builds for Scoop.Validator.dll and validator.exe
2017-09-10 18:04:03 +02:00