🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

json

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json - rubygems Package Compare versions

Comparing version
2.19.4
to
2.19.5
+5
-1
CHANGES.md

@@ -5,5 +5,9 @@ # Changes

### 2026-05-04 (2.19.5)
* Cap the parser to emit a maximum of 5 deprecation warnings per document. Emitting more is not helpful.
### 2026-04-19 (2.19.4)
* Fix parsing of out of range floats (very large exponents that lead ot either `0.0` or `Inf`).
* Fix parsing of out of range floats (very large exponents that lead to either `0.0` or `Inf`).

@@ -10,0 +14,0 @@ ### 2026-03-25 (2.19.3)

@@ -367,2 +367,3 @@ #include "../json.h"

int current_nesting;
unsigned int emitted_deprecations;
} JSON_ParserState;

@@ -949,3 +950,8 @@

case JSON_DEPRECATED:
emit_duplicate_key_warning(state, json_find_duplicated_key(count, pairs));
// Only emit the first few deprecations to avoid spamming.
if (state->emitted_deprecations < 5) {
emit_duplicate_key_warning(state, json_find_duplicated_key(count, pairs));
state->emitted_deprecations++;
}
break;

@@ -952,0 +958,0 @@ case JSON_RAISE:

+1
-1
# frozen_string_literal: true
module JSON
VERSION = '2.19.4'
VERSION = '2.19.5'
end

Sorry, the diff of this file is too big to display