Skip to content

Commit 1877f22

Browse files
nodejs-github-bottargos
authored andcommitted
deps: update simdjson to 3.9.4
PR-URL: #53467 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 1b84964 commit 1877f22

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

deps/simdjson/simdjson.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2024-05-30 10:52:38 -0400. Do not edit! */
1+
/* auto-generated on 2024-06-11 14:08:20 -0400. Do not edit! */
22
/* including simdjson.cpp: */
33
/* begin file simdjson.cpp */
44
#define SIMDJSON_SRC_SIMDJSON_CPP
@@ -84,6 +84,9 @@
8484
#include <strings.h>
8585
#endif
8686

87+
// We are using size_t without namespace std:: throughout the project
88+
using std::size_t;
89+
8790
#ifdef _MSC_VER
8891
#define SIMDJSON_VISUAL_STUDIO 1
8992
/**
@@ -527,13 +530,13 @@ SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
527530
// Distributed under the Boost Software License, Version 1.0.
528531
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
529532

530-
// #pragma once // We remove #pragma once here as it generates a warning in some cases. We rely on the include guard.
533+
#pragma once
531534

532535
#ifndef NONSTD_SV_LITE_H_INCLUDED
533536
#define NONSTD_SV_LITE_H_INCLUDED
534537

535538
#define string_view_lite_MAJOR 1
536-
#define string_view_lite_MINOR 7
539+
#define string_view_lite_MINOR 8
537540
#define string_view_lite_PATCH 0
538541

539542
#define string_view_lite_VERSION nssv_STRINGIFY(string_view_lite_MAJOR) "." nssv_STRINGIFY(string_view_lite_MINOR) "." nssv_STRINGIFY(string_view_lite_PATCH)
@@ -655,6 +658,8 @@ SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
655658

656659
#if nssv_CONFIG_CONVERSION_STD_STRING_FREE_FUNCTIONS
657660

661+
#include <string>
662+
658663
namespace nonstd {
659664

660665
template< class CharT, class Traits, class Allocator = std::allocator<CharT> >

deps/simdjson/simdjson.h

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2024-05-30 10:52:38 -0400. Do not edit! */
1+
/* auto-generated on 2024-06-11 14:08:20 -0400. Do not edit! */
22
/* including simdjson.h: */
33
/* begin file simdjson.h */
44
#ifndef SIMDJSON_H
@@ -104,6 +104,9 @@
104104
#include <strings.h>
105105
#endif
106106

107+
// We are using size_t without namespace std:: throughout the project
108+
using std::size_t;
109+
107110
#ifdef _MSC_VER
108111
#define SIMDJSON_VISUAL_STUDIO 1
109112
/**
@@ -547,13 +550,13 @@ SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
547550
// Distributed under the Boost Software License, Version 1.0.
548551
// (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
549552

550-
// #pragma once // We remove #pragma once here as it generates a warning in some cases. We rely on the include guard.
553+
#pragma once
551554

552555
#ifndef NONSTD_SV_LITE_H_INCLUDED
553556
#define NONSTD_SV_LITE_H_INCLUDED
554557

555558
#define string_view_lite_MAJOR 1
556-
#define string_view_lite_MINOR 7
559+
#define string_view_lite_MINOR 8
557560
#define string_view_lite_PATCH 0
558561

559562
#define string_view_lite_VERSION nssv_STRINGIFY(string_view_lite_MAJOR) "." nssv_STRINGIFY(string_view_lite_MINOR) "." nssv_STRINGIFY(string_view_lite_PATCH)
@@ -675,6 +678,8 @@ SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
675678

676679
#if nssv_CONFIG_CONVERSION_STD_STRING_FREE_FUNCTIONS
677680

681+
#include <string>
682+
678683
namespace nonstd {
679684

680685
template< class CharT, class Traits, class Allocator = std::allocator<CharT> >
@@ -2346,7 +2351,7 @@ namespace std {
23462351
#define SIMDJSON_SIMDJSON_VERSION_H
23472352

23482353
/** The version of simdjson being used (major.minor.revision) */
2349-
#define SIMDJSON_VERSION "3.9.3"
2354+
#define SIMDJSON_VERSION "3.9.4"
23502355

23512356
namespace simdjson {
23522357
enum {
@@ -2361,7 +2366,7 @@ enum {
23612366
/**
23622367
* The revision (major.minor.REVISION) of simdjson being used.
23632368
*/
2364-
SIMDJSON_VERSION_REVISION = 3
2369+
SIMDJSON_VERSION_REVISION = 4
23652370
};
23662371
} // namespace simdjson
23672372

0 commit comments

Comments
 (0)