Skip to content

Bump mammoth from 1.12.0 to 1.13.0 - #266

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mammoth-1.12.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mammoth-1.12.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps mammoth from 1.12.0 to 1.13.0.

Changelog

Sourced from mammoth's changelog.

1.13.0

  • Replace the use of bluebird with native promises.

    This is arguably a breaking change: however, the return value of functions such as convertToHtml() was only documented as a promise, rather than as a bluebird promise.

    The only exception is that the docs previously used .done(): therefore, when returning promises from the API to external users, a done method is added.

    Any callers that rely on bluebird promises can convert the returned promise into a bluebird promise using bluebird.Promise.resolve().

  • Read the children of w:customXml elements.

  • Handle paragraphs and runs that have been moved and tracked as a revision.

  • Improve escaping in Markdown writer. This avoids some cases where source documents could inject arbitrary HTML into the converted document.

1.12.3

  • Avoid excessive backtracking when parsing an unterminated string with many escape sequences. The previous behaviour would allow maliciously crafted documents to cause a denial of service.

    Note that it is still strongly recommended to process untrusted documents in a separate thread with a timeout to avoid potential similar issues.

  • Handle complex field separator and end characters without corresponding start characters.

1.12.2

  • Avoid prototype pollution when reading the styles defined in a document. This avoids an issue where a maliciously crafted document could be used to set externalFileAccess to true.

1.12.1

  • Fix: on Windows, when an image's content type includes a backslash in the subpart, files may be written outside of the directory set by --output-dir.

  • Detect and ignore numbering levels that use numStyleLink to refer to themselves.

Commits
  • 791a189 Bump version to 1.13.0
  • 4abdfe2 Clarify implication of markdown escaping
  • 8e6e755 Escape markdown image alt text and src
  • 9463f5c Escape markdown link hrefs
  • d302d07 Escape HTML IDs in markdown writer
  • 671dbb6 Handle paragraphs and runs that have been moved and tracked as a revision
  • d157374 Read the children of w:customXml elements
  • 2a489fb Mark up code fragment in README
  • adc5749 Update dingbat-to-unicode to 1.0.2
  • c0dce8c Remove dependency on path-is-absolute
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 21, 2026
@dependabot
dependabot Bot requested a review from TimoFrank as a code owner September 21, 2026 04:21
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 21, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mammoth-1.12.3 branch 3 times, most recently from 7bcb8ce to a6880b7 Compare September 22, 2026 18:53
@dependabot dependabot Bot changed the title Bump mammoth from 1.12.0 to 1.12.3 Bump mammoth from 1.12.0 to 1.13.0 Sep 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mammoth-1.12.3 branch from a6880b7 to f694269 Compare September 30, 2026 07:51
Bumps [mammoth](https://github.com/mwilliamson/mammoth.js) from 1.12.0 to 1.13.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.12.0...1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mammoth-1.12.3 branch from f694269 to 660fcc7 Compare September 30, 2026 11:34
@dependabot @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #288.

@dependabot dependabot Bot closed this Oct 5, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/mammoth-1.12.3 branch October 5, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants