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.
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 from 1.4.19 to 1.5.1.
Changelog
Sourced from mammoth's changelog.
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)