Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Bump mammoth from 1.4.19 to 1.6.0 #125

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 11, 2023

Bumps mammoth from 1.4.19 to 1.6.0.

Changelog

Sourced from mammoth's changelog.

1.6.0

  • Add transformDocument to the TypeScript declarations.

  • Support merged paragraphs when revisions are tracked.

  • Use xmldom instead of sax to parse XML documents. This should remove the need to polyfill stream in the browser.

  • Adjust the internal implementation to remove the use of Buffer on the critical path, and provide APIs to read images and documents with embedded style maps without using Buffer. This should remove the need to polyfill Buffer in the browser. Since TextDecoder is now used, the minimum version of node.js is now v12.

  • Remove the use of the util module. This should remove the need to polyfill util in the browser.

1.5.1

  • 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.
Commits
  • a975f4c Bump version to 1.6.0
  • 75526ff Update NEWS
  • bb744a1 Check TypeScript declarations are valid
  • b02278f Add additional read methods to Image in TypeScript declarations
  • aabc9cf Update NEWS for removal of polyfills
  • e12c1e5 Add toArrayBuffer when embedding a style map
  • 84fffea Remove mention of polyfills in README
  • ad794b9 Document that read methods return promises
  • 20dda84 Update docs for reading images
  • 82f8d24 Support readAsBuffer() on images
  • Additional commits viewable in compare view

Dependabot compatibility score

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)
Bumps [mammoth](https://github.com/mwilliamson/mammoth.js) from 1.4.19 to 1.6.0.
- [Release notes](https://github.com/mwilliamson/mammoth.js/releases)
- [Changelog](https://github.com/mwilliamson/mammoth.js/blob/master/NEWS)
- [Commits](mwilliamson/mammoth.js@1.4.19...1.6.0)

---
updated-dependencies:
- dependency-name: mammoth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
0 participants