Commit Graph
16 Commits
Author SHA1 Message Date
Hsiao-nan Cheung 76c3bcd70c builds(json): Update Newton.Json to 13.0.1 (#5026) 2022-07-01 22:29:48 +08:00
Hsiao-nan Cheung d056d542db fix(core): Use Invoke-Command instead of Invoke-Expression (#4941) 2022-05-26 10:54:34 +08:00
Hsiao-nan Cheung ef3bf14547 feat(supporting): Update Json to 12.0.3, Json.Schema to 3.0.14 (#3352) 2021-11-13 21:42:00 +08:00
Richard Kuhnt 23e44f6ee3 validator/shimexe: Add -Fast Switch to build scripts 2019-02-24 13:20:44 +01:00
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
Vladimir Chebotarev 2d9f964068 Enabled applications which require elevated privileges. (#2053) 2018-03-13 13:07:20 +01:00
Vladimir Chebotarev a8b181071a Enabled wide characters forwarding in shims. (#2106) 2018-03-12 18:12:48 +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
Roy Ivy III 6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Luke Sampson de2cf3f5dd shims should now pass arguments exactly as they receive them, without stripping '\' (fixes #382) 2015-06-03 22:31:29 +10:00
Luke Sampson 24c64c9161 fix shimexe argument passing 2014-02-20 22:47:53 +10:00
Luke Sampson 1cece993f4 fix shimexe not passing arguments 2014-02-20 22:36:27 +10:00
Luke Sampson 3dd2928218 use win32 functions for shimexe 2014-01-26 13:23:50 +10:00
Luke Sampson da0b109755 shimexe: for programs that exit quickly, make sure any remaining output on stderr or stdout is pumped to the right output stream 2014-01-12 16:22:03 +10:00
Luke Sampson 3b90306472 allow alias and arguments for shims 2014-01-12 15:46:59 +10:00
Luke Sampson 5c52166fcd add .exe shims for programs that only look for .exes (e.g. tar calling gzip) 2014-01-05 16:25:16 +10:00