Skip to content

Commit 4abd68a

Browse files
deps: update simdutf to 3.2.17
1 parent 05baf5d commit 4abd68a

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

deps/simdutf/simdutf.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-08-04 13:27:03 -0400. Do not edit! */
1+
/* auto-generated on 2023-08-11 13:30:54 -0400. Do not edit! */
22
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/src, filename=simdutf.cpp
33
/* begin file src/simdutf.cpp */
44
#include "simdutf.h"
@@ -14116,6 +14116,7 @@ result generic_validate_utf8_with_errors(const uint8_t * input, size_t length) {
1411614116
reader.advance();
1411714117
c.check_eof();
1411814118
if (c.errors()) {
14119+
if (count != 0) { count--; } // Sometimes the error is only detected in the next chunk
1411914120
result res = scalar::utf8::rewind_and_validate_with_errors(reinterpret_cast<const char*>(input), reinterpret_cast<const char*>(input) + count, length - count);
1412014121
res.count += count;
1412114122
return res;
@@ -21759,6 +21760,7 @@ result generic_validate_utf8_with_errors(const uint8_t * input, size_t length) {
2175921760
reader.advance();
2176021761
c.check_eof();
2176121762
if (c.errors()) {
21763+
if (count != 0) { count--; } // Sometimes the error is only detected in the next chunk
2176221764
result res = scalar::utf8::rewind_and_validate_with_errors(reinterpret_cast<const char*>(input), reinterpret_cast<const char*>(input) + count, length - count);
2176321765
res.count += count;
2176421766
return res;
@@ -23536,6 +23538,7 @@ result generic_validate_utf8_with_errors(const uint8_t * input, size_t length) {
2353623538
reader.advance();
2353723539
c.check_eof();
2353823540
if (c.errors()) {
23541+
if (count != 0) { count--; } // Sometimes the error is only detected in the next chunk
2353923542
result res = scalar::utf8::rewind_and_validate_with_errors(reinterpret_cast<const char*>(input), reinterpret_cast<const char*>(input) + count, length - count);
2354023543
res.count += count;
2354123544
return res;
@@ -27214,6 +27217,7 @@ result generic_validate_utf8_with_errors(const uint8_t * input, size_t length) {
2721427217
reader.advance();
2721527218
c.check_eof();
2721627219
if (c.errors()) {
27220+
if (count != 0) { count--; } // Sometimes the error is only detected in the next chunk
2721727221
result res = scalar::utf8::rewind_and_validate_with_errors(reinterpret_cast<const char*>(input), reinterpret_cast<const char*>(input) + count, length - count);
2721827222
res.count += count;
2721927223
return res;

deps/simdutf/simdutf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-08-04 13:27:03 -0400. Do not edit! */
1+
/* auto-generated on 2023-08-11 13:30:54 -0400. Do not edit! */
22
// dofile: invoked with prepath=/Users/dlemire/CVS/github/simdutf/include, filename=simdutf.h
33
/* begin file include/simdutf.h */
44
#ifndef SIMDUTF_H
@@ -576,7 +576,7 @@ SIMDUTF_DISABLE_UNDESIRED_WARNINGS
576576
#define SIMDUTF_SIMDUTF_VERSION_H
577577
578578
/** The version of simdutf being used (major.minor.revision) */
579-
#define SIMDUTF_VERSION "3.2.15"
579+
#define SIMDUTF_VERSION "3.2.17"
580580
581581
namespace simdutf {
582582
enum {
@@ -591,7 +591,7 @@ enum {
591591
/**
592592
* The revision (major.minor.REVISION) of simdutf being used.
593593
*/
594-
SIMDUTF_VERSION_REVISION = 15
594+
SIMDUTF_VERSION_REVISION = 17
595595
};
596596
} // namespace simdutf
597597

doc/contributing/maintaining/maintaining-dependencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This a list of all the dependencies:
2727
* [npm 9.6.7][]
2828
* [openssl 3.0.8][]
2929
* [postject 1.0.0-alpha.6][]
30-
* [simdutf 3.2.15][]
30+
* [simdutf 3.2.17][]
3131
* [undici 5.22.1][]
3232
* [uvwasi 0.0.16][]
3333
* [V8 11.3.244.8][]
@@ -286,7 +286,7 @@ See [maintaining-openssl][] for more informations.
286286
The [postject](https://github.com/nodejs/postject) dependency is used for the
287287
[Single Executable strategic initiative](https://github.com/nodejs/single-executable).
288288

289-
### simdutf 3.2.15
289+
### simdutf 3.2.17
290290

291291
The [simdutf](https://github.com/simdutf/simdutf) dependency is
292292
a C++ library for fast UTF-8 decoding and encoding.
@@ -344,7 +344,7 @@ performance improvements not currently available in standard zlib.
344344
[npm 9.6.7]: #npm-967
345345
[openssl 3.0.8]: #openssl-308
346346
[postject 1.0.0-alpha.6]: #postject-100-alpha6
347-
[simdutf 3.2.15]: #simdutf-3215
347+
[simdutf 3.2.17]: #simdutf-3217
348348
[undici 5.22.1]: #undici-5221
349349
[update-openssl-action]: ../../../.github/workflows/update-openssl.yml
350350
[uvwasi 0.0.16]: #uvwasi-0016

0 commit comments

Comments
 (0)