Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 713601e

Browse filesBrowse files
nodejs-github-botaduh95
authored andcommitted
deps: update nbytes to 0.1.4
PR-URL: #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>
1 parent 757cd21 commit 713601e
Copy full SHA for 713601e

4 files changed

+28-13Lines changed: 28 additions & 13 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.3"
2+
".": "0.1.4"
33
}
Collapse file

‎deps/nbytes/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: deps/nbytes/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.4](https://github.com/nodejs/nbytes/compare/v0.1.3...v0.1.4) (2026-04-09)
4+
5+
6+
### Bug Fixes
7+
8+
* **build:** add `NBYTES_ENABLE_TESTING` CMake option ([#15](https://github.com/nodejs/nbytes/issues/15)) ([e1c6be3](https://github.com/nodejs/nbytes/commit/e1c6be3ed112f2375207c7626e10961e92d3f69f))
9+
310
## [0.1.3](https://github.com/nodejs/nbytes/compare/v0.1.2...v0.1.3) (2026-02-18)
411

512

Collapse file

‎deps/nbytes/CMakeLists.txt‎

Copy file name to clipboardExpand all lines: deps/nbytes/CMakeLists.txt
+18-10Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.28)
2-
project(nbytes VERSION 0.1.3) # x-release-please-version
2+
project(nbytes VERSION 0.1.4) # x-release-please-version
33

44
set(CMAKE_CXX_STANDARD 20)
55
set(CMAKE_CXX_STANDARD_REQUIRED True)
@@ -12,18 +12,26 @@ option(NBYTES_DEVELOPMENT_CHECKS "Enable development checks" OFF)
1212

1313
include(GNUInstallDirs)
1414
include(FetchContent)
15+
include(CTest)
16+
17+
option(NBYTES_ENABLE_TESTING "Enable testing" ${BUILD_TESTING})
1518

16-
FetchContent_Declare(
17-
googletest
18-
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
19-
)
20-
# For Windows: Prevent overriding the parent project's compiler/linker settings
21-
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
22-
FetchContent_MakeAvailable(googletest)
2319

2420
add_subdirectory(src)
25-
enable_testing()
26-
add_subdirectory(tests)
21+
22+
if (NBYTES_ENABLE_TESTING)
23+
FetchContent_Declare(
24+
googletest
25+
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
26+
URL_HASH SHA256=edd885a1ab32b6999515a880f669efadb80b3f880215f315985fa3f6eca7c4d3
27+
FIND_PACKAGE_ARGS NAMES GTest
28+
)
29+
# For Windows: Prevent overriding the parent project's compiler/linker settings
30+
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
31+
FetchContent_MakeAvailable(googletest)
32+
33+
add_subdirectory(tests)
34+
endif()
2735

2836
install(
2937
FILES include/nbytes.h
Collapse file

‎deps/nbytes/include/nbytes.h‎

Copy file name to clipboardExpand all lines: deps/nbytes/include/nbytes.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,12 +836,12 @@ size_t SearchString(const char *haystack, size_t haystack_length,
836836

837837
// ============================================================================
838838
// Version metadata
839-
#define NBYTES_VERSION "0.1.3" // x-release-please-version
839+
#define NBYTES_VERSION "0.1.4" // x-release-please-version
840840

841841
enum {
842842
NBYTES_VERSION_MAJOR = 0, // x-release-please-major
843843
NBYTES_VERSION_MINOR = 1, // x-release-please-minor
844-
NBYTES_VERSION_REVISION = 3, // x-release-please-patch
844+
NBYTES_VERSION_REVISION = 4, // x-release-please-patch
845845
};
846846

847847
} // namespace nbytes

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.