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.
Fix: npm 7 changed the behaviour of prepublish, causing the browser build not
to be updated before publishing to npm. We now use prepare instead of
prepublish, which has the same behaviour that prepublish previously had.
1.5.0
Only use the alt text of image elements as a fallback. If an alt attribute is
returned from the function passed to mammoth.images.imgElement, that value
will now be preferred to the alt text of the image element.
1.4.21
Ignore w:u elements when w:val is missing.
1.4.20
Emit warning instead of throwing exception when image file cannot be found for
a:blip elements.
1.4.19
Add TypeScript declarations.
1.4.18
When extracting raw text, convert tab elements to tab characters.
Handle internal hyperlinks created with complex fields.
Update JSZip to 3.2.0. This addresses CVE-2021-23413 in JSZip.
1.4.17
Handle w:num with invalid w:abstractNumId.
Update underscore to 1.13.1.
1.4.16
Convert symbols in supported fonts to corresponding Unicode characters.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/pnfo/tipitaka.app/network/alerts).
Bumps jszip and mammoth. These dependencies needed to be updated together. Updates
jszip
from 2.5.0 to 3.10.1Changelog
Sourced from jszip's changelog.
... (truncated)
Commits
0f2f1e4
3.10.1cae5510
Updates for v3.10.1179c9a0
Update changelog for 3.10.161e1df5
Add Jekyll files to gitignoref299cce
Merge pull request #852 from Stuk/metadata-ts852887a
Consolidate metadata types and expose OnUpdateCallback5be00df
Add sponsorship filesdabe864
Update package-lock for benchmarkcc554da
Merge pull request #841 from stevennyman/patch-2caefbc0
Merge pull request #834 from Stuk/benchmarkUpdates
mammoth
from 1.4.9 to 1.5.1Changelog
Sourced from mammoth's changelog.
... (truncated)
Commits
6759e89
Bump version to 1.5.1e9835cb
Use prepare instead of prepublish to update browser buildf7829ca
Bump version to 1.5.09bd9366
Fix typo in test name62ccce2
Only use the alt text of image elements as a fallbackd67ddaf
Test mammoth.images.imgElement directly93eb384
Add markdown deprecation notice to convertToMarkdown docsfc1647e
Bump version to 1.4.2152ec8fb
Ignore w:u elements when w:val is missing76cb8e7
Add node 14 and node 16 to test matrixDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/pnfo/tipitaka.app/network/alerts).