Skip to content

Commit 37caa89

Browse files
committed
Release 2.19.3
1 parent b575be5 commit 37caa89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
### Unreleased
44

5+
### 2026-03-25 (2.19.3)
6+
57
* Fix handling of unescaped control characters preceeded by a backslash.
68

79
### 2026-03-18 (2.19.2)

lib/json/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module JSON
4-
VERSION = '2.19.2'
4+
VERSION = '2.19.3'
55
end

test/json/json_parser_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_parse_allowed_control_chars_in_string
183183
end
184184
end
185185

186-
def test_parsse_control_char_and_backslash
186+
def test_parse_control_char_and_backslash
187187
backslash_and_control_char = "\\\t"
188188
assert_raise JSON::ParserError do
189189
JSON.parse(%("#{'a' * 30}#{backslash_and_control_char}"), allow_control_characters: true, allow_invalid_escape: false)

0 commit comments

Comments
 (0)