text-and-plots 0.2.0.0 → 0.2.1.0
raw patch · 3 files changed
+6/−4 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG +2/−0
- src/Text/DocL/Javascript.hs +1/−1
- text-and-plots.cabal +3/−3
CHANGELOG view
@@ -1,3 +1,5 @@+- 0.2.1.0+ * Bumped base dependency. - 0.2.0.0 * Using the Text.DocL.Javascript module instead of aeson (since not everything we want to ship to C3.js is JSON encodable).
src/Text/DocL/Javascript.hs view
@@ -112,7 +112,7 @@ toObj c = toObj [c] toObjList xs = Scalar . B.toLazyText $ "\"" <> foldMap esc xs <> "\"" where- mustEscape = "\"\\>\n\r\x2028\x2029"+ mustEscape = "\"\\>\n\r\x2028\x2029" :: String esc x = if isControl x || elem x mustEscape then fromString . printf "\\u%04x" $ ord x
text-and-plots.cabal view
@@ -1,5 +1,5 @@ name: text-and-plots-version: 0.2.0.0+version: 0.2.1.0 synopsis: EDSL to create HTML documents with plots based on the C3.js library. description:@@ -27,14 +27,14 @@ source-repository this type: git location: git://github.com/andersjel/haskell-text-and-plots.git- tag: v0.2.0.0+ tag: v0.2.1.0 library exposed-modules: Text.DocL Text.DocL.Javascript build-depends:- base >=4.7.0.0 && <4.8,+ base >=4.7.0.0 && <4.9, blaze-html >=0.7.0.0 && <0.9, bytestring >=0.10.4.0 && <0.11, containers >=0.5.5.1 && <0.6,