Santize filenames when files are loaded with loadAsync, to avoid "zip slip" attacks. The original filename is available on each zip entry as unsafeOriginalName. See the documentation. Many thanks to McCaulay Hudson for reporting.
v3.7.1 2021-08-05
Fix build of dist files.
Note: this version ensures the changes from 3.7.0 are actually included in the dist files. Thanks to Evan W for reporting.
v3.7.0 2021-07-23
Fix: Use a null prototype object for this.files (see #766)
This change might break existing code if it uses prototype methods on the .files property of a zip object, for example zip.files.toString(). This approach is taken to prevent files in the zip overriding object methods that would exist on a normal object.
Change browser module resolution to support Angular packager (see #614).
v3.2.2 2019-07-04
No public changes, but a number of testing dependencies have been updated.
Tested browsers are now: Internet Explorer 11, Chrome (most recent) and Firefox (most recent). Other browsers (specifically Safari) are still supported however testing them on Saucelabs is broken and so they were removed from the test matrix.
v3.2.1 2019-03-22
Corrected built dist files
v3.2.0 2019-02-21
Update dependencies to reduce bundle size (see #532).
Fix deprecated Buffer constructor usage and add safeguards (see #506).
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/scratchfoundation/scratch-parser/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps jszip from 3.1.5 to 3.8.0.
Changelog
Sourced from jszip's changelog.
Commits
3b98cfc
3.8.02edab36
Sanitize filenames withloadAsync
to prevent zip slip attacks1f631b0
Update contributing459ff79
Add tests for utils that remove leading slashd4702a7
Merge pull request #541 from PatricSteffen/patch-12ebb7e8
Merge pull request #737 from satoshicano/update-types-JSZipLoadOptions85c4989
Merge pull request #796 from Stuk/ghci40cc7f4
Add dependency caching5ee321e
Install deps needed for Playwright on Github Actionseeb841e
Remove code and dependencies used for SaucelabsYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show