Skip to content

Commit f0da591

Browse files
nodejs-github-botrichardlau
authored andcommitted
deps: update zlib to 1.2.13.1-motley-dfc48fc
PR-URL: #50456 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 16d28a8 commit f0da591

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

deps/zlib/google/zip_reader_unittest.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class ZipReaderTest : public PlatformTest {
157157

158158
static base::FilePath GetTestDataDirectory() {
159159
base::FilePath path;
160-
CHECK(base::PathService::Get(base::DIR_SOURCE_ROOT, &path));
160+
CHECK(base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &path));
161161
return path.AppendASCII("third_party")
162162
.AppendASCII("zlib")
163163
.AppendASCII("google")

deps/zlib/google/zip_unittest.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class VirtualFileSystem : public zip::FileAccessor {
206206

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

211211
return true;
212212
}
@@ -256,7 +256,7 @@ class ZipTest : public PlatformTest {
256256

257257
static base::FilePath GetDataDirectory() {
258258
base::FilePath path;
259-
bool success = base::PathService::Get(base::DIR_SOURCE_ROOT, &path);
259+
bool success = base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &path);
260260
EXPECT_TRUE(success);
261261
return std::move(path)
262262
.AppendASCII("third_party")

doc/contributing/maintaining/maintaining-dependencies.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ This a list of all the dependencies:
3030
* [uv][]
3131
* [uvwasi 0.0.19][]
3232
* [V8][]
33-
* [zlib 1.2.13.1-motley-fef5869][]
33+
* [zlib 1.2.13.1-motley-dfc48fc][]
34+
* [V8 11.8.172.12][]
3435

3536
Any code which meets one or more of these conditions should
3637
be managed as a dependency:
@@ -304,7 +305,7 @@ See [maintaining-web-assembly][] for more informations.
304305
high-performance JavaScript and WebAssembly engine, written in C++.
305306
See [maintaining-V8][] for more informations.
306307

307-
### zlib 1.2.13.1-motley-fef5869
308+
### zlib 1.2.13.1-motley-dfc48fc
308309

309310
The [zlib](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib)
310311
dependency lossless data-compression library,
@@ -341,4 +342,4 @@ performance improvements not currently available in standard zlib.
341342
[uv]: #uv
342343
[uvwasi 0.0.19]: #uvwasi-0019
343344
[v8]: #v8
344-
[zlib 1.2.13.1-motley-fef5869]: #zlib-12131-motley-fef5869
345+
[zlib 1.2.13.1-motley-dfc48fc]: #zlib-12131-motley-dfc48fc

0 commit comments

Comments
 (0)