Skip to content

Commit

Permalink
deps: update zlib to 1.2.13.1-motley-dfc48fc
Browse files Browse the repository at this point in the history
PR-URL: #50456
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
nodejs-github-bot authored Nov 1, 2023
1 parent a3e09b3 commit 538d0c2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion deps/zlib/google/zip_reader_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class ZipReaderTest : public PlatformTest {

static base::FilePath GetTestDataDirectory() {
base::FilePath path;
CHECK(base::PathService::Get(base::DIR_SOURCE_ROOT, &path));
CHECK(base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &path));
return path.AppendASCII("third_party")
.AppendASCII("zlib")
.AppendASCII("google")
Expand Down
4 changes: 2 additions & 2 deletions deps/zlib/google/zip_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class VirtualFileSystem : public zip::FileAccessor {

info->is_directory = !files_.count(path);
info->last_modified =
base::Time::FromDoubleT(172097977); // Some random date.
base::Time::FromSecondsSinceUnixEpoch(172097977); // Some random date.

return true;
}
Expand Down Expand Up @@ -256,7 +256,7 @@ class ZipTest : public PlatformTest {

static base::FilePath GetDataDirectory() {
base::FilePath path;
bool success = base::PathService::Get(base::DIR_SOURCE_ROOT, &path);
bool success = base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &path);
EXPECT_TRUE(success);
return std::move(path)
.AppendASCII("third_party")
Expand Down
6 changes: 3 additions & 3 deletions doc/contributing/maintaining/maintaining-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This a list of all the dependencies:
* [undici 5.27.0][]
* [uvwasi 0.0.19][]
* [V8 11.8.172.12][]
* [zlib 1.2.13.1-motley-fef5869][]
* [zlib 1.2.13.1-motley-dfc48fc][]

Any code which meets one or more of these conditions should
be managed as a dependency:
Expand Down Expand Up @@ -311,7 +311,7 @@ See [maintaining-web-assembly][] for more informations.
high-performance JavaScript and WebAssembly engine, written in C++.
See [maintaining-V8][] for more informations.

### zlib 1.2.13.1-motley-fef5869
### zlib 1.2.13.1-motley-dfc48fc

The [zlib](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib)
dependency lossless data-compression library,
Expand Down Expand Up @@ -349,4 +349,4 @@ performance improvements not currently available in standard zlib.
[update-openssl-action]: ../../../.github/workflows/update-openssl.yml
[uvwasi 0.0.19]: #uvwasi-0019
[v8 11.8.172.12]: #v8-11817212
[zlib 1.2.13.1-motley-fef5869]: #zlib-12131-motley-fef5869
[zlib 1.2.13.1-motley-dfc48fc]: #zlib-12131-motley-dfc48fc
2 changes: 1 addition & 1 deletion src/zlib_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-zlib.sh
#ifndef SRC_ZLIB_VERSION_H_
#define SRC_ZLIB_VERSION_H_
#define ZLIB_VERSION "1.2.13.1-motley-fef5869"
#define ZLIB_VERSION "1.2.13.1-motley-dfc48fc"
#endif // SRC_ZLIB_VERSION_H_

0 comments on commit 538d0c2

Please sign in to comment.