mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-07 04:58:41 +00:00
Bump fantomas from 6.3.16 to 7.0.0 (#326)
* Bump fantomas from 6.3.16 to 7.0.0 Bumps [fantomas](https://github.com/fsprojects/fantomas) from 6.3.16 to 7.0.0. - [Release notes](https://github.com/fsprojects/fantomas/releases) - [Changelog](https://github.com/fsprojects/fantomas/blob/main/CHANGELOG.md) - [Commits](https://github.com/fsprojects/fantomas/compare/v6.3.16...v7.0.0) --- updated-dependencies: - dependency-name: fantomas dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Deps * Format --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Smaug123 <3138005+Smaug123@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"isRoot": true,
|
"isRoot": true,
|
||||||
"tools": {
|
"tools": {
|
||||||
"fantomas": {
|
"fantomas": {
|
||||||
"version": "6.3.16",
|
"version": "7.0.0",
|
||||||
"commands": [
|
"commands": [
|
||||||
"fantomas"
|
"fantomas"
|
||||||
]
|
]
|
||||||
|
@@ -26769,8 +26769,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"admin/cron/{task}"
|
"admin/cron/{task}".Replace ("{task}", task.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{task}", task.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -26902,8 +26901,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"admin/hooks/{id}"
|
"admin/hooks/{id}".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -26945,8 +26943,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"admin/hooks/{id}"
|
"admin/hooks/{id}".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -27584,8 +27581,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"amdin/hooks/{id}"
|
"amdin/hooks/{id}".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -28008,8 +28004,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"org/{org}/repos"
|
"org/{org}/repos".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -28292,8 +28287,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("orgs/{org}/hooks"
|
("orgs/{org}/hooks".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "orgs/{org}/hooks".IndexOf (char 63) >= 0 then
|
+ (if "orgs/{org}/hooks".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -28345,8 +28339,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"orgs/{org}/hooks"
|
"orgs/{org}/hooks".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -28538,8 +28531,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("orgs/{org}/labels"
|
("orgs/{org}/labels".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "orgs/{org}/labels".IndexOf (char 63) >= 0 then
|
+ (if "orgs/{org}/labels".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -28591,8 +28583,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"orgs/{org}/labels"
|
"orgs/{org}/labels".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -28784,8 +28775,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("orgs/{org}/members"
|
("orgs/{org}/members".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "orgs/{org}/members".IndexOf (char 63) >= 0 then
|
+ (if "orgs/{org}/members".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -29086,8 +29076,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("orgs/{org}/repos"
|
("orgs/{org}/repos".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "orgs/{org}/repos".IndexOf (char 63) >= 0 then
|
+ (if "orgs/{org}/repos".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -29142,8 +29131,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"orgs/{org}/repos"
|
"orgs/{org}/repos".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -29197,8 +29185,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("orgs/{org}/teams"
|
("orgs/{org}/teams".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "orgs/{org}/teams".IndexOf (char 63) >= 0 then
|
+ (if "orgs/{org}/teams".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -29250,8 +29237,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"orgs/{org}/teams"
|
"orgs/{org}/teams".Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{org}", org.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -39381,8 +39367,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"repositories/{id}"
|
"repositories/{id}".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -39745,8 +39730,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("teams/{id}/members"
|
("teams/{id}/members".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "teams/{id}/members".IndexOf (char 63) >= 0 then
|
+ (if "teams/{id}/members".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -39918,8 +39902,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
("teams/{id}/repos"
|
("teams/{id}/repos".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString)
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString)
|
|
||||||
+ (if "teams/{id}/repos".IndexOf (char 63) >= 0 then
|
+ (if "teams/{id}/repos".IndexOf (char 63) >= 0 then
|
||||||
"&"
|
"&"
|
||||||
else
|
else
|
||||||
@@ -40807,8 +40790,7 @@ module Gitea =
|
|||||||
System.Uri ("/api/v1/", System.UriKind.Relative)
|
System.Uri ("/api/v1/", System.UriKind.Relative)
|
||||||
),
|
),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"user/gpg_keys/{id}"
|
"user/gpg_keys/{id}".Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{id}", id.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@@ -160,8 +160,7 @@ module PureGymApi =
|
|||||||
| null -> System.Uri "https://whatnot.com/"
|
| null -> System.Uri "https://whatnot.com/"
|
||||||
| v -> v),
|
| v -> v),
|
||||||
System.Uri (
|
System.Uri (
|
||||||
"v1/gyms/{gym}"
|
"v1/gyms/{gym}".Replace ("{gym}", gym.ToString () |> System.Uri.EscapeDataString),
|
||||||
.Replace ("{gym}", gym.ToString () |> System.Uri.EscapeDataString),
|
|
||||||
System.UriKind.Relative
|
System.UriKind.Relative
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@@ -351,10 +351,7 @@ module internal JsonParseGenerator =
|
|||||||
let getParseOptions (fieldAttrs : SynAttribute list) =
|
let getParseOptions (fieldAttrs : SynAttribute list) =
|
||||||
(JsonParseOption.None, fieldAttrs)
|
(JsonParseOption.None, fieldAttrs)
|
||||||
||> List.fold (fun options attr ->
|
||> List.fold (fun options attr ->
|
||||||
if
|
if (SynLongIdent.toString attr.TypeName).EndsWith ("JsonNumberHandling", StringComparison.Ordinal) then
|
||||||
(SynLongIdent.toString attr.TypeName)
|
|
||||||
.EndsWith ("JsonNumberHandling", StringComparison.Ordinal)
|
|
||||||
then
|
|
||||||
let qualifiedEnumValue =
|
let qualifiedEnumValue =
|
||||||
match SynExpr.stripOptionalParen attr.ArgExpr with
|
match SynExpr.stripOptionalParen attr.ArgExpr with
|
||||||
| SynExpr.LongIdent (_, SynLongIdent (ident, _, _), _, _) when isJsonNumberHandling ident ->
|
| SynExpr.LongIdent (_, SynLongIdent (ident, _, _), _, _) when isJsonNumberHandling ident ->
|
||||||
@@ -384,15 +381,13 @@ module internal JsonParseGenerator =
|
|||||||
let propertyNameAttr =
|
let propertyNameAttr =
|
||||||
fieldData.Attrs
|
fieldData.Attrs
|
||||||
|> List.tryFind (fun attr ->
|
|> List.tryFind (fun attr ->
|
||||||
(SynLongIdent.toString attr.TypeName)
|
(SynLongIdent.toString attr.TypeName).EndsWith ("JsonPropertyName", StringComparison.Ordinal)
|
||||||
.EndsWith ("JsonPropertyName", StringComparison.Ordinal)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
let extensionDataAttr =
|
let extensionDataAttr =
|
||||||
fieldData.Attrs
|
fieldData.Attrs
|
||||||
|> List.tryFind (fun attr ->
|
|> List.tryFind (fun attr ->
|
||||||
(SynLongIdent.toString attr.TypeName)
|
(SynLongIdent.toString attr.TypeName).EndsWith ("JsonExtensionData", StringComparison.Ordinal)
|
||||||
.EndsWith ("JsonExtensionData", StringComparison.Ordinal)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
let propertyName =
|
let propertyName =
|
||||||
|
@@ -180,8 +180,7 @@ module internal JsonSerializeGenerator =
|
|||||||
let propertyNameAttr =
|
let propertyNameAttr =
|
||||||
attrs
|
attrs
|
||||||
|> List.tryFind (fun attr ->
|
|> List.tryFind (fun attr ->
|
||||||
(SynLongIdent.toString attr.TypeName)
|
(SynLongIdent.toString attr.TypeName).EndsWith ("JsonPropertyName", StringComparison.Ordinal)
|
||||||
.EndsWith ("JsonPropertyName", StringComparison.Ordinal)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
match propertyNameAttr with
|
match propertyNameAttr with
|
||||||
@@ -198,8 +197,7 @@ module internal JsonSerializeGenerator =
|
|||||||
let getIsJsonExtension (attrs : SynAttribute list) : bool =
|
let getIsJsonExtension (attrs : SynAttribute list) : bool =
|
||||||
attrs
|
attrs
|
||||||
|> List.tryFind (fun attr ->
|
|> List.tryFind (fun attr ->
|
||||||
(SynLongIdent.toString attr.TypeName)
|
(SynLongIdent.toString attr.TypeName).EndsWith ("JsonExtensionData", StringComparison.Ordinal)
|
||||||
.EndsWith ("JsonExtensionData", StringComparison.Ordinal)
|
|
||||||
)
|
)
|
||||||
|> Option.isSome
|
|> Option.isSome
|
||||||
|
|
||||||
|
@@ -6,8 +6,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pname": "fantomas",
|
"pname": "fantomas",
|
||||||
"version": "6.3.16",
|
"version": "7.0.0",
|
||||||
"hash": "sha256-4tRdYf+/Q1iedx+DDuIKVGlIWQdr6erM51VdKzZkhCs="
|
"hash": "sha256-v4bXmvjZOYxl5RSIHuqVfDzBQdRz5SrmzZtD6SeEYTY="
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pname": "Fantomas.Core",
|
"pname": "Fantomas.Core",
|
||||||
|
Reference in New Issue
Block a user