Skip to content

Commit

Permalink
chore(deps): bump penlight to 1.14.0 (#12862)
Browse files Browse the repository at this point in the history
* chore(deps): bump penlight to 1.14.0

* tests(request-transformer): now penlight template compile will preserve line number
  • Loading branch information
windmgc committed Apr 22, 2024
1 parent 31365f8 commit d554d4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LIBXSLT=1.1.39
MSGPACK_C=c-6.0.0
OPENSSL_FIPS_PROVIDER=3.0.8

KONGROCKS=v1.2.46
KONGROCKS=v1.2.47

# EE Debugging tools
CURL=8.7.1
Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/bump-penlight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "Bumped penlight to 1.14.0"
type: dependency
scope: Core
2 changes: 1 addition & 1 deletion kong-3.7.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = {
"inspect == 3.1.3",
"luasec == 1.3.2",
"luasocket == 3.0-rc1",
"penlight == 1.13.1",
"penlight == 1.14.0",
"lua-resty-http == 0.17.2",
"lua-resty-jit-uuid == 0.0.7",
"lua-ffi-zlib == 0.6",
Expand Down
2 changes: 1 addition & 1 deletion spec/03-plugins/36-request-transformer/02-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@ describe("Plugin: request-transformer(access) [#" .. strategy .. "]", function()
assert.response(r).has.status(500)
end)
it("rendering error (header) is correctly propagated in error.log, issue #25", function()
local pattern = [[error:%[string "TMP"%]:4: attempt to call global 'foo' %(a nil value%)]]
local pattern = [[error:%[string "TMP"%]:1: attempt to call global 'foo' %(a nil value%)]]
local start_count = count_log_lines(pattern)

local r = assert(client:send {
Expand Down

0 comments on commit d554d4a

Please sign in to comment.