Repository navigation
fix(deps): update dependency react-native-zip-archive to v9 - #1001
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.1.1→^9.5.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
mockingbot/react-native-zip-archive (react-native-zip-archive)
v9.5.2Compare Source
Changed
AGENTS.mdandCLAUDE.md. They were onmasterafter 9.5.1 was published, so 9.5.1 does not contain them (#391).maintenance-7). 7.1.2 has the Zip Slip backport but does not compile on Android (#390, #394).Added
npm run test:docs-sync(scripts/check-docs-sync.sh) keeps README and AGENTS.md aligned (#391).v9.5.1Compare Source
Fixed
isTurboModulefollowsBuildConfig.IS_NEW_ARCHITECTURE_ENABLED) soNativeModules.RNZipArchiveis non-null on old-arch apps (RNZA-5, #385)Added
.github/workflows/old-arch.yml(RNZA-5). RN 0.82+ cannot opt out of New Architecture.Changed
v9.5.0Compare Source
Added
unzipperand JavaZipInputStream; WinZip-AES extra field0x9901fails the job (#383, RNZA-16, #333 / #323 class)AbortSignalonzip/zipWithPassword/unzip/unzipWithPassword/unzipAssetsvia an options object ({ signal, compressionLevel?, entries? }) (#383)ZipErrorwith a stable.code(ERR_CANCELLED,ERR_INVALID_ARGS, …) — implemented as a factory so Metro does not need@babel/runtimehelpers when bundling the library (#383)package.json"types": "index.d.ts"so TypeScript and reactnative.directoryhasTypesresolve (#383)Changed
maintenance-7), not 7.1.1 (#383)v9.4.1Compare Source
Fixed
unzip/unzipWithPassword/unzipAssetsnow use the same minizip extract path as selective extract — rejects Zip Slip entries withERR_UNSAFE_PATHand skips symlink entries instead of materializing them (#357 parity with Android)v9.4.0Compare Source
Added
unzipAssetsreads archives from the main app bundle (parity with Androidassets/) (#368)Changed
charsetarguments now reject withERR_UNSUPPORTEDinstead of being silently ignored (#368)getUncompressedSizerejects on failure (previously resolved-1) for parity with AndroidFixed
unzip/unzipAssetsemit 0% progress on failure (matches Android) instead of a 100% event before rejectv9.0.2Compare Source
Fixed
unzip/unzipWithPasswordno longer extract symlink entries — zip4j's defaultextractSymbolicLinks=trueallowed a crafted archive to plant a symlink resolving outside the destination directory (#357, thanks @kimdu0)zip/zipWithPasswordwith a files array now add directory items recursively with entry paths relative to the listed directory, matching Android (previously directories produced empty entries and their contents were silently dropped) (#339, thanks @trustytrojan)v9.0.1Compare Source
Fixed
zip/zipWithPasswordpromises — fixes zipped data occasionally reading as 0 bytes when used immediately afterzip(...)(#355, thanks @jamesthomp)v9.0.0Compare Source
Changed (Breaking)
unzip/unzipWithPasswordon both platforms (previously byte-level with within-file granularity on Android, effectively start/end-only on iOS)unzipprogress events now report the zip entry name infilePathinstead of the full destination pathzip/zipWithPasswordwith a files array now emits per-file progress events (previously only 0% and 100%)Added
unzip,unzipWithPassword,unzipAssets)ZipSecurityutility with JUnit regression testsFixed
StreamUtil.copyminSdkVersionfallback now matches the documented API 23 minimumindex.d.ts; move thereact-nativeimport to the top levelRNZipArchive.hfilePathupdates during unzip (previously dispatched a stale progress value)react-native,react-native-screens,react-native-gesture-handler,react-native-safe-area-contextto match playground-expo (fixes CI codegen failure from floatingreact-native-screens4.26.x)v8.0.1Compare Source
Fixed
_methodQueueivar with staticdispatch_onceto fix build on RN 0.83+ with New Architecture (#347)Added
playground-rn: bare React Native 0.83.9 test app with New Architectureplayground-expo: Expo SDK 55.0.24 test app with New Architecture${APP_ID}env var for cross-app reusetest:e2e:expo:ios,test:e2e:expo:android,test:e2e:rn:ios,test:e2e:rn:androidChanged
EncryptionMethodsenum from JS entry pointpackage.jsonconnect-metro,debug-zip)v8.0.0Compare Source
Added
assets.yaml)listFilesRecursiveutility for displaying nested extracted filesChanged
Fixed
unzipAssetsnow handles compressed assets (fallback fromopenFd()toInputStream.available())processZipnull check forf.listFiles()to prevent NPEzipFolderWithPasswordencryption default consistency (empty string → standard ZipCrypto)#ifdef RCT_NEW_ARCH_ENABLEDguardsunzipWithPasswordresolves withdestDirectorystring instead of arrayreturnstatements afterpromise.reject()in multiple methodsupdateProgress(1,1)moved outside loop inprocessZipRemoved
v7.1.3Compare Source
What's Changed
Full Changelog: mockingbot/react-native-zip-archive@v7.1.2...v7.1.3
v7.1.2Compare Source
What's Changed
Full Changelog: mockingbot/react-native-zip-archive@v7.1.0...v7.1.2
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.