update deps

This commit is contained in:
rhiannon morris 2023-06-05 17:48:09 +02:00
parent 3aee53faa1
commit 2910daf0c6
4 changed files with 10 additions and 5 deletions

View file

@ -14,13 +14,13 @@ common deps
NondecreasingIndentation, NondecreasingIndentation,
ViewPatterns ViewPatterns
build-depends: build-depends:
base >= 4.14.2.0 && < 4.17, base >= 4.14.2.0 && < 4.18,
HsYAML ^>= 0.2.1.0, HsYAML ^>= 0.2.1.0,
bytestring ^>= 0.10.12.0, bytestring ^>= 0.11.4.0,
containers ^>= 0.6.4.1, containers ^>= 0.6.4.1,
filemanip, filemanip,
filepath ^>= 1.4.2.1, filepath ^>= 1.4.2.1,
pandoc-types ^>= 1.22, pandoc-types ^>= 1.23,
text ^>= 1.2.4.1, text ^>= 1.2.4.1,
time ^>= 1.9.3 time ^>= 1.9.3
ghc-options: -Wall ghc-options: -Wall

View file

@ -52,6 +52,5 @@ inlineText _ = Nothing
blockText :: Block -> Maybe Text blockText :: Block -> Maybe Text
blockText (Plain is) = foldMap inlineText is blockText (Plain is) = foldMap inlineText is
blockText (Para is) = foldMap inlineText is blockText (Para is) = foldMap inlineText is
blockText Null = Just ""
blockText (RawBlock _ txt) = Just txt blockText (RawBlock _ txt) = Just txt
blockText _ = Nothing blockText _ = Nothing

View file

@ -11,3 +11,9 @@ source-repository-package
type: git type: git
location: https://git.rhiannon.website/rhi/svg-builder location: https://git.rhiannon.website/rhi/svg-builder
tag: 1cbcd594d3009f9fd71f253b52ac82673bf5482e tag: 1cbcd594d3009f9fd71f253b52ac82673bf5482e
allow-newer:
svg-builder:base,
svg-builder:bytestring
constraints: pandoc-types == 1.23

2
lang

@ -1 +1 @@
Subproject commit d23e0435aae964c4ed9dd74a7c15f3e6c8e1f254 Subproject commit f6d10672d2c621a9b812142289124e72b869d265