Skip to content

Commit 57bfe53

Browse files
nodejs-github-bottargos
authored andcommitted
deps: update zlib to 1.2.13.1-motley-dfc48fc
PR-URL: #50456 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 3606a0a commit 57bfe53

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
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

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This a list of all the dependencies:
3131
* [undici 5.27.0][]
3232
* [uvwasi 0.0.19][]
3333
* [V8 11.8.172.12][]
34-
* [zlib 1.2.13.1-motley-fef5869][]
34+
* [zlib 1.2.13.1-motley-dfc48fc][]
3535

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

314-
### zlib 1.2.13.1-motley-fef5869
314+
### zlib 1.2.13.1-motley-dfc48fc
315315

316316
The [zlib](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib)
317317
dependency lossless data-compression library,
@@ -349,4 +349,4 @@ performance improvements not currently available in standard zlib.
349349
[update-openssl-action]: ../../../.github/workflows/update-openssl.yml
350350
[uvwasi 0.0.19]: #uvwasi-0019
351351
[v8 11.8.172.12]: #v8-11817212
352-
[zlib 1.2.13.1-motley-fef5869]: #zlib-12131-motley-fef5869
352+
[zlib 1.2.13.1-motley-dfc48fc]: #zlib-12131-motley-dfc48fc

src/zlib_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// Refer to tools/dep_updaters/update-zlib.sh
33
#ifndef SRC_ZLIB_VERSION_H_
44
#define SRC_ZLIB_VERSION_H_
5-
#define ZLIB_VERSION "1.2.13.1-motley-fef5869"
5+
#define ZLIB_VERSION "1.2.13.1-motley-dfc48fc"
66
#endif // SRC_ZLIB_VERSION_H_

0 commit comments

Comments
 (0)