on master help sign in
Update to newer version of aeson-pretty dependency
c127a71Evan Czaplicki
elm-compiler.cabal+2−2
@@ -139,7 +139,7 @@ Library
139
139
140 Build-depends:
140 Build-depends:
141 aeson >= 0.11,
141 aeson >= 0.11,
142− aeson-pretty < 0.8,
142+ aeson-pretty >= 0.8 && < 0.9,
143 ansi-terminal >= 0.6.2.1 && < 0.7,
143 ansi-terminal >= 0.6.2.1 && < 0.7,
144 ansi-wl-pprint >= 0.6.7 && < 0.7,
144 ansi-wl-pprint >= 0.6.7 && < 0.7,
145 base >=4.2 && <5,
145 base >=4.2 && <5,
@@ -185,7 +185,7 @@ Test-Suite compiler-tests
185 HUnit >= 1.1 && < 2,
185 HUnit >= 1.1 && < 2,
186 QuickCheck >= 2 && < 3,
186 QuickCheck >= 2 && < 3,
187 aeson >= 0.11,
187 aeson >= 0.11,
188− aeson-pretty < 0.8,
188+ aeson-pretty >= 0.8 && < 0.9,
189 ansi-terminal >= 0.6.2.1 && < 0.7,
189 ansi-terminal >= 0.6.2.1 && < 0.7,
190 ansi-wl-pprint >= 0.6.7 && < 0.7,
190 ansi-wl-pprint >= 0.6.7 && < 0.7,
191 base >=4.2 && <5,
191 base >=4.2 && <5,
src/Elm/Docs.hs+3−2
@@ -99,9 +99,10 @@ prettyJson value =
99
99
100config :: Json.Config
100config :: Json.Config
101config =
101config =
102− Json.Config
102+ Json.Config
103− { Json.confIndent = 2
103+ { Json.confIndent = Json.Tab
104 , Json.confCompare = Json.keyOrder keys
104 , Json.confCompare = Json.keyOrder keys
105+ , Json.confNumFormat = Json.Generic
105 }
106 }
106 where
107 where
107 keys =
108 keys =