From 4ea2baf814c462670301cf3b6a3b7d6b8a38c143 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel <albert@zeitkraut.de> Date: Thu, 4 Nov 2021 12:25:27 +0100 Subject: [PATCH] Require latest hslua (2.0.1). This fixes issues with - misleading error messages when a required function parameter is omitted; - absent properties still being listed in the output of `pairs`; and - alias accessing leading to errors instead of returning `nil`, e.g. with `(pandoc.Str '').identifier`. Fixes: #7661 See also: #7657 --- pandoc.cabal | 4 ++-- stack.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index 695edb349..1d9ca19dd 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -550,8 +550,8 @@ library file-embed >= 0.0 && < 0.1, filepath >= 1.1 && < 1.5, haddock-library >= 1.10 && < 1.11, - hslua >= 2.0 && < 2.1, - hslua-marshalling >= 2.0 && < 2.1, + hslua >= 2.0.1 && < 2.1, + hslua-marshalling >= 2.0.1 && < 2.1, hslua-module-path >= 1.0 && < 1.1, hslua-module-system >= 1.0 && < 1.1, hslua-module-text >= 1.0 && < 1.1, diff --git a/stack.yaml b/stack.yaml index d03ff0e12..651c25167 100644 --- a/stack.yaml +++ b/stack.yaml @@ -12,17 +12,17 @@ extra-deps: - doctemplates-0.10 - emojis-0.1.2 - doclayout-0.3.1.1 -- hslua-2.0.0 +- hslua-2.0.1 - hslua-classes-2.0.0 -- hslua-core-2.0.0 -- hslua-marshalling-2.0.0 +- hslua-core-2.0.0.2 +- hslua-marshalling-2.0.1 - hslua-module-path-1.0.0 - hslua-module-system-1.0.0 - hslua-module-text-1.0.0 - hslua-module-version-1.0.0 -- hslua-objectorientation-2.0.0 +- hslua-objectorientation-2.0.1 - hslua-packaging-2.0.0 -- lua-2.0.0 +- lua-2.0.1 - tasty-hslua-1.0.0 - tasty-lua-1.0.0 - pandoc-types-1.22.1