deps: update nbytes to 0.1.4

PR-URL: https://github.com/nodejs/node/pull/62698
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Node.js GitHub Bot authored and Juan José Arboleda committed 2026-07-19 17:31:03 -05:00
1 parent faa6d4572c
commit a77a37a352
4 files changed
+28 -13

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
{
".": "0.1.3"
".": "0.1.4"
}
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## [0.1.4](https://github.com/nodejs/nbytes/compare/v0.1.3...v0.1.4) (2026-04-09)
### Bug Fixes
* **build:** add `NBYTES_ENABLE_TESTING` CMake option ([#15](https://github.com/nodejs/nbytes/issues/15)) ([e1c6be3](https://github.com/nodejs/nbytes/commit/e1c6be3ed112f2375207c7626e10961e92d3f69f))
## [0.1.3](https://github.com/nodejs/nbytes/compare/v0.1.2...v0.1.3) (2026-02-18)
+18 -10
View File
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.28)
project(nbytes VERSION 0.1.3) # x-release-please-version
project(nbytes VERSION 0.1.4) # x-release-please-version
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
@@ -12,18 +12,26 @@ option(NBYTES_DEVELOPMENT_CHECKS "Enable development checks" OFF)
include(GNUInstallDirs)
include(FetchContent)
include(CTest)
option(NBYTES_ENABLE_TESTING "Enable testing" ${BUILD_TESTING})
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
add_subdirectory(src)
enable_testing()
add_subdirectory(tests)
if (NBYTES_ENABLE_TESTING)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
URL_HASH SHA256=edd885a1ab32b6999515a880f669efadb80b3f880215f315985fa3f6eca7c4d3
FIND_PACKAGE_ARGS NAMES GTest
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
add_subdirectory(tests)
endif()
install(
FILES include/nbytes.h
+2 -2
View File
@@ -836,12 +836,12 @@ size_t SearchString(const char *haystack, size_t haystack_length,
// ============================================================================
// Version metadata
#define NBYTES_VERSION "0.1.3" // x-release-please-version
#define NBYTES_VERSION "0.1.4" // x-release-please-version
enum {
NBYTES_VERSION_MAJOR = 0, // x-release-please-major
NBYTES_VERSION_MINOR = 1, // x-release-please-minor
NBYTES_VERSION_REVISION = 3, // x-release-please-patch
NBYTES_VERSION_REVISION = 4, // x-release-please-patch
};
} // namespace nbytes