From 910296b745ae6d634f2764a913ed54d81a2d4222 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 17 Feb 2022 15:44:00 +0100 Subject: [PATCH] Lua: Use pandoc-lua-marshal 0.1.5. - Allow any type of callable object as argument to List functions `filter`, `map`, and `find_if`. These previously required the argument to be of type `function`, which was too restrictive. - Inline: the type of Image captions is now `Inlines` instead of `List`. --- pandoc.cabal | 2 +- stack.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index 376c9a41c..ca1222339 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -498,7 +498,7 @@ library mtl >= 2.2 && < 2.3, network >= 2.6, network-uri >= 2.6 && < 2.8, - pandoc-lua-marshal >= 0.1.3.1 && < 0.2, + pandoc-lua-marshal >= 0.1.5 && < 0.2, pandoc-types >= 1.22.1 && < 1.23, parsec >= 3.1 && < 3.2, pretty >= 1.1 && < 1.2, diff --git a/stack.yaml b/stack.yaml index 834aec0a2..547bd2a3e 100644 --- a/stack.yaml +++ b/stack.yaml @@ -29,7 +29,7 @@ extra-deps: - lua-arbitrary-1.0.0 - tasty-hslua-1.0.1 - tasty-lua-1.0.1 -- pandoc-lua-marshal-0.1.4 +- pandoc-lua-marshal-0.1.5 - pandoc-types-1.22.1 - aeson-pretty-0.8.9 - unicode-transforms-0.4.0@rev:1