FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deps: update simdjson to 4.6.7 · nodejs/node@4cb6b13 · GitHub

/ node Public

Commit 4cb6b13

Browse files
authored andcommitted
deps: update simdjson to 4.6.7
PR-URL: #65318 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 3619dc0 commit 4cb6b13

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

‎deps/simdjson/simdjson.cpp‎

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2026-07-30 16:20:13 -0400. version 4.6.6 Do not edit! */
1+
/* auto-generated on 2026-08-14 12:14:27 -0400. version 4.6.7 Do not edit! */
22
/* including simdjson.cpp: */
33
/* begin file simdjson.cpp */
44
#define SIMDJSON_SRC_SIMDJSON_CPP
@@ -15228,6 +15228,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
1522815228
const uint8_t *p = value;
1522915229
if (*p == '-') p++;
1523015230
while (numberparsing::is_digit(*p)) p++;
15231+
// The digit run must be terminated by a structural or whitespace character; otherwise the
15232+
// token is malformed (e.g. "123456789123456789123x").
15233+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
1523115234
size_t len = size_t(p - value);
1523215235
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
1523315236
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -21620,6 +21623,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
2162021623
const uint8_t *p = value;
2162121624
if (*p == '-') p++;
2162221625
while (numberparsing::is_digit(*p)) p++;
21626+
// The digit run must be terminated by a structural or whitespace character; otherwise the
21627+
// token is malformed (e.g. "123456789123456789123x").
21628+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
2162321629
size_t len = size_t(p - value);
2162421630
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
2162521631
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -28007,6 +28013,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
2800728013
const uint8_t *p = value;
2800828014
if (*p == '-') p++;
2800928015
while (numberparsing::is_digit(*p)) p++;
28016+
// The digit run must be terminated by a structural or whitespace character; otherwise the
28017+
// token is malformed (e.g. "123456789123456789123x").
28018+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
2801028019
size_t len = size_t(p - value);
2801128020
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
2801228021
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -34665,6 +34674,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
3466534674
const uint8_t *p = value;
3466634675
if (*p == '-') p++;
3466734676
while (numberparsing::is_digit(*p)) p++;
34677+
// The digit run must be terminated by a structural or whitespace character; otherwise the
34678+
// token is malformed (e.g. "123456789123456789123x").
34679+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
3466834680
size_t len = size_t(p - value);
3466934681
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
3467034682
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -41885,6 +41897,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
4188541897
const uint8_t *p = value;
4188641898
if (*p == '-') p++;
4188741899
while (numberparsing::is_digit(*p)) p++;
41900+
// The digit run must be terminated by a structural or whitespace character; otherwise the
41901+
// token is malformed (e.g. "123456789123456789123x").
41902+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
4188841903
size_t len = size_t(p - value);
4188941904
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
4189041905
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -48136,6 +48151,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
4813648151
const uint8_t *p = value;
4813748152
if (*p == '-') p++;
4813848153
while (numberparsing::is_digit(*p)) p++;
48154+
// The digit run must be terminated by a structural or whitespace character; otherwise the
48155+
// token is malformed (e.g. "123456789123456789123x").
48156+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
4813948157
size_t len = size_t(p - value);
4814048158
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
4814148159
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -54291,6 +54309,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
5429154309
const uint8_t *p = value;
5429254310
if (*p == '-') p++;
5429354311
while (numberparsing::is_digit(*p)) p++;
54312+
// The digit run must be terminated by a structural or whitespace character; otherwise the
54313+
// token is malformed (e.g. "123456789123456789123x").
54314+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
5429454315
size_t len = size_t(p - value);
5429554316
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
5429654317
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -60865,6 +60886,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
6086560886
const uint8_t *p = value;
6086660887
if (*p == '-') p++;
6086760888
while (numberparsing::is_digit(*p)) p++;
60889+
// The digit run must be terminated by a structural or whitespace character; otherwise the
60890+
// token is malformed (e.g. "123456789123456789123x").
60891+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
6086860892
size_t len = size_t(p - value);
6086960893
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
6087060894
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);
@@ -64733,6 +64757,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_
6473364757
const uint8_t *p = value;
6473464758
if (*p == '-') p++;
6473564759
while (numberparsing::is_digit(*p)) p++;
64760+
// The digit run must be terminated by a structural or whitespace character; otherwise the
64761+
// token is malformed (e.g. "123456789123456789123x").
64762+
if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; }
6473664763
size_t len = size_t(p - value);
6473764764
tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT);
6473864765
uint8_t *dst = current_string_buf_loc + sizeof(uint32_t);

‎deps/simdjson/simdjson.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2026-07-30 16:20:13 -0400. version 4.6.6 Do not edit! */
1+
/* auto-generated on 2026-08-14 12:14:27 -0400. version 4.6.7 Do not edit! */
22
/* including simdjson.h: */
33
/* begin file simdjson.h */
44
#ifndef SIMDJSON_H
@@ -2538,7 +2538,7 @@ namespace std {
25382538
#define SIMDJSON_SIMDJSON_VERSION_H
25392539

25402540
/** The version of simdjson being used (major.minor.revision) */
2541-
#define SIMDJSON_VERSION "4.6.6"
2541+
#define SIMDJSON_VERSION "4.6.7"
25422542

25432543
namespace simdjson {
25442544
enum {
@@ -2553,7 +2553,7 @@ enum {
25532553
/**
25542554
* The revision (major.minor.REVISION) of simdjson being used.
25552555
*/
2556-
SIMDJSON_VERSION_REVISION = 6
2556+
SIMDJSON_VERSION_REVISION = 7
25572557
};
25582558
} // namespace simdjson
25592559

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL