Skip to content

deps(npm): bump docx from 9.14.0 to 9.15.2 in /web - #650

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/docx-9.15.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/docx-9.15.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps docx from 9.14.0 to 9.15.2.

Release notes

Sourced from docx's releases.

9.15.2 fixes the published types and clarifies a packer option in the docs. Since 9.13.0, the types carried a declaration from one of docx's own tests that added glob to import.meta in every project that installed docx, so projects that declare import.meta.glob themselves, such as Next.js 16.4 apps, failed to type-check with TS2300: Duplicate identifier 'glob'. The types no longer change any global (#3879). The docs now say which values the packers' prettify argument takes.

What's Changed

New Contributors

Full Changelog: dolanmiu/docx@9.15.1...9.15.2

9.15.1 adds guides for questions raised in issues, and fixes image names, placeholders that patchDocument skipped, and text boxes in WPS Office. The docs now show how to style a list's numbers and bullets (#2328), number a list in legal style, for 1.1 under a level in Chinese counting (#3425), put space between images in a paragraph (#3021), and put a full-page background image behind the text without the header pushing the text down (#2349). They explain that a table row of exact height never splits across pages (#1615), that a table goes next to paragraphs and never in a paragraph's children (#2711), and how a hanging paragraph's left differs from the Left that Word's Paragraph dialog shows (#2448). The checkbox options now give their real type, their defaults and what alias does (#3007), createMathAccentCharacter is described as an n-ary operator's character, with a pointer to MathAccent for accents (#2511), and the README's browser example now uses the current docx rather than playgrounds on docx 7.1.0 (#2853). On the fixes side, images are now written to the package as image1.png, image2.jpg and so on, as Word names them, rather than under a hash of their data, which Word for the web showed as an empty box (#496). patchDocument and patchDetector now find placeholders in a link's text, in a content control and in text typed with Track Changes on, which they used to skip without an error (#2679). A text box of auto height is now written 1in tall, so WPS Office fits it to its text (#3171), and ImportedXmlComponent.fromXmlString no longer wraps its XML in an <undefined> element (#3862).

What's Changed

Full Changelog: dolanmiu/docx@9.15.0...9.15.1

9.15.0 adds new ways to fill in templates and keep their look, and makes the browser bundle smaller. ImagePatch lets patchDocument swap the image of a picture that's already in a template, keeping its size, position, text wrapping and effects, with the placeholder in the picture's alt text (#3072). With trimPlaceholders: true, placeholders typed with spaces inside their braces, such as {{ name }}, are patched too (#3112). readTheme reads the theme of a Word document or template, so a new document's styles keep its fonts and colors, and theme now takes the theme's fonts for other scripts (#878). paragraph.with() makes a new paragraph from an existing one with some of its options changed (#3330). The browser bundle is about 29 KB smaller, as docx now zips with fflate, hashes with its own SHA-1 and SHA-256, and leaves out stream code it doesn't use (#3834). On the fixes side, Word now shows Update Table on a table of contents that docx writes (#2598), and a table with relativeVerticalPosition: INLINE is now written in line with the text, as Word does, rather than floating (#331). Text with control characters that XML 1.0 doesn't allow, such as a vertical tab, no longer makes a document Word can't open, and an image whose alt text has only a description now gets the empty name the XML requires. When Packer.toStream can't zip, as in a browser, the failure now comes on the stream's error event rather than as an unhandled rejection.

What's Changed

... (truncated)

Commits
  • aa47895 chore: Version bump to 9.15.2 (#3883)
  • a986bd6 fix: keep spec files' global declarations out of the published types (#3880)
  • 5639a7f build(deps-dev): bump glob from 13.0.6 to 14.0.3 (#3878)
  • dcd8765 build(deps-dev): bump eslint from 10.13.0 to 10.14.0 (#3881)
  • 7833f0d build(deps-dev): bump @​microsoft/api-extractor from 7.60.0 to 7.60.1 (#3882)
  • e7543fe build(deps): bump @​types/node from 26.6.5 to 26.6.6 (#3877)
  • 6957076 docs: clarify packer prettify argument values (#3876)
  • 11c85a2 chore: Version bump to 9.15.1 (#3875)
  • ea6bff0 docs: say a hanging paragraph's left is where the lines after the first start...
  • a69a60b chore: sweep other merged branches in post-merge cleanup (#3873)
  • 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 show <dependency name> 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)

Bumps [docx](https://github.com/dolanmiu/docx) from 9.14.0 to 9.15.2.
- [Release notes](https://github.com/dolanmiu/docx/releases)
- [Commits](dolanmiu/docx@9.14.0...9.15.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 9, 2026

This branch has not been deployed

No deployments
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