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 and richardlau committed Mar 20, 2024
1 parent 16d28a8 commit f0da591
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 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
7 changes: 4 additions & 3 deletions doc/contributing/maintaining/maintaining-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ This a list of all the dependencies:
* [uv][]
* [uvwasi 0.0.19][]
* [V8][]
* [zlib 1.2.13.1-motley-fef5869][]
* [zlib 1.2.13.1-motley-dfc48fc][]
* [V8 11.8.172.12][]

Any code which meets one or more of these conditions should
be managed as a dependency:
Expand Down Expand Up @@ -304,7 +305,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 @@ -341,4 +342,4 @@ performance improvements not currently available in standard zlib.
[uv]: #uv
[uvwasi 0.0.19]: #uvwasi-0019
[v8]: #v8
[zlib 1.2.13.1-motley-fef5869]: #zlib-12131-motley-fef5869
[zlib 1.2.13.1-motley-dfc48fc]: #zlib-12131-motley-dfc48fc

0 comments on commit f0da591

Please sign in to comment.