🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

json

Package Overview
Dependencies
Maintainers
1
Versions
133
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.21.0
to
2.21.1
+4
-0
CHANGES.md

@@ -5,2 +5,6 @@ # Changes

### 2026-07-13 (2.21.1)
* Fix a compilation issue on Window and Microsoft Visual C++.
### 2026-07-12 (2.21.0)

@@ -7,0 +11,0 @@

+0
-16

@@ -18,18 +18,2 @@ # frozen_string_literal: true

def have_builtin_func(name, check_expr, opt = "", &b)
checking_for checking_message(name.funcall_style, nil, opt) do
if try_compile(<<SRC, opt, &b)
int foo;
int main() { #{check_expr}; return 0; }
SRC
$defs.push(format("-DHAVE_BUILTIN_%s", name.tr_cpp))
true
else
false
end
end
end
have_builtin_func("__builtin_clzll", "__builtin_clzll(0)")
if have_header("x86intrin.h")

@@ -36,0 +20,0 @@ have_func("_lzcnt_u64", "x86intrin.h")

# frozen_string_literal: true
module JSON
VERSION = '2.21.0'
VERSION = '2.21.1'
end