From 8d49bdcffa02dbd0e1cf2f0b91a2986eb5519bc7 Mon Sep 17 00:00:00 2001 From: Qjuh <76154676+Qjuh@users.noreply.github.com> Date: Tue, 29 Apr 2025 23:16:51 +0200 Subject: [PATCH] chore: patch zlib-sync devDependency --- patches/zlib-sync@0.1.9.patch | 20 ++++++++++++++++++++ pnpm-lock.yaml | 17 ++++++++++------- pnpm-workspace.yaml | 1 + 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 patches/zlib-sync@0.1.9.patch diff --git a/patches/zlib-sync@0.1.9.patch b/patches/zlib-sync@0.1.9.patch new file mode 100644 index 000000000000..309c75aba0e6 --- /dev/null +++ b/patches/zlib-sync@0.1.9.patch @@ -0,0 +1,20 @@ +diff --git a/deps/zlib/zutil.h b/deps/zlib/zutil.h +index b079ea6a80..61484c819a 100644 +--- a/deps/zlib/zutil.h ++++ b/deps/zlib/zutil.h +@@ -132,15 +132,6 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ + + #if defined(MACOS) || defined(TARGET_OS_MAC) + # define OS_CODE 7 +-# ifndef Z_SOLO +-# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os +-# include /* for fdopen */ +-# else +-# ifndef fdopen +-# define fdopen(fd,mode) NULL /* No fdopen() */ +-# endif +-# endif +-# endif + #endif + + #ifdef __acorn diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3cffef9a7ccf..c05d1fe16d04 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ patchedDependencies: '@microsoft/tsdoc-config@0.16.2': hash: cda37396c30a2865185c82c3ac8d7d5a0b1c5eebab1dbca7a3c29e3c17d96247 path: patches/@microsoft__tsdoc-config@0.16.2.patch + zlib-sync@0.1.9: + hash: 007a185cbadea59f7c6ad9a250eb9b4236e521823eef9b975822bf3438420d81 + path: patches/zlib-sync@0.1.9.patch importers: @@ -1088,7 +1091,7 @@ importers: version: 5.0.0 eslint-plugin-import: specifier: ^2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4)(eslint@9.25.1(jiti@2.4.2)) + version: 2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4(eslint-plugin-import-x@4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-plugin-import@2.31.0)(eslint@9.25.1(jiti@2.4.2)))(eslint@9.25.1(jiti@2.4.2)) eslint-plugin-jsdoc: specifier: ^50.6.11 version: 50.6.11(eslint@9.25.1(jiti@2.4.2)) @@ -1884,7 +1887,7 @@ importers: version: 3.1.1(@edge-runtime/vm@3.2.0)(@types/debug@4.1.12)(@types/node@22.15.2)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(tsx@4.19.2)(yaml@2.7.1) zlib-sync: specifier: ^0.1.9 - version: 0.1.9 + version: 0.1.9(patch_hash=007a185cbadea59f7c6ad9a250eb9b4236e521823eef9b975822bf3438420d81) packages: @@ -23106,7 +23109,7 @@ snapshots: tinyglobby: 0.2.13 unrs-resolver: 1.7.2 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4)(eslint@9.25.1(jiti@2.4.2)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4(eslint-plugin-import-x@4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-plugin-import@2.31.0)(eslint@9.25.1(jiti@2.4.2)))(eslint@9.25.1(jiti@2.4.2)) eslint-plugin-import-x: 4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3) transitivePeerDependencies: - supports-color @@ -23132,7 +23135,7 @@ snapshots: - bluebird - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@4.3.4)(eslint@9.25.1(jiti@2.4.2)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@4.3.4(eslint-plugin-import-x@4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-plugin-import@2.31.0)(eslint@9.25.1(jiti@2.4.2)))(eslint@9.25.1(jiti@2.4.2)): dependencies: debug: 3.2.7 optionalDependencies: @@ -23209,7 +23212,7 @@ snapshots: - supports-color - typescript - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4)(eslint@9.25.1(jiti@2.4.2)): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-typescript@4.3.4(eslint-plugin-import-x@4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-plugin-import@2.31.0)(eslint@9.25.1(jiti@2.4.2)))(eslint@9.25.1(jiti@2.4.2)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -23220,7 +23223,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.25.1(jiti@2.4.2) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@4.3.4)(eslint@9.25.1(jiti@2.4.2)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.29.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@4.3.4(eslint-plugin-import-x@4.10.0(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3))(eslint-plugin-import@2.31.0)(eslint@9.25.1(jiti@2.4.2)))(eslint@9.25.1(jiti@2.4.2)) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -29900,7 +29903,7 @@ snapshots: optionalDependencies: commander: 9.5.0 - zlib-sync@0.1.9: + zlib-sync@0.1.9(patch_hash=007a185cbadea59f7c6ad9a250eb9b4236e521823eef9b975822bf3438420d81): dependencies: nan: 2.22.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e0ef40569b46..51d07f7eeb8a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -30,3 +30,4 @@ publicHoistPattern: patchedDependencies: '@microsoft/tsdoc-config@0.16.2': patches/@microsoft__tsdoc-config@0.16.2.patch + 'zlib-sync@0.1.9': patches/zlib-sync@0.1.9.patch