Commit Graph
4078 Commits
Author SHA1 Message Date
DolanandClaude Opus 5.5 e7b568f4e6 feat(shapes): custom shapes with several paths, holes, text areas and connection points (#3539)
- `paths` draws a custom shape from several paths, each filled with the
  shape's fill, not at all, or lighter or darker, and with or without its line
- A closed part of a path inside another is a hole, whichever way round it
  is drawn: parts are turned round so both fill rules cut the same holes
- `textArea` sets where a custom shape's text goes, and "fitText" fits it
- `connectionPoints` gives a custom shape its own connection points
- Connection sites and text areas are guides that keep their share of the
  shape when it is resized, as PowerPoint writes freeforms
- Demo 120, with a reference render, and docs in shapes.md


Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 16:10:17 +01:00
4fd78fc206 fix(patcher): patch repeated document placeholders in reverse order (#3540)
* fix(patcher): patch repeated document placeholders in reverse order

A PatchType.DOCUMENT patch splices each matching paragraph out of its
parent, which shifts the indices of later siblings. The replacer applied
the splices in traversal order using paths collected before the first
splice, so every later occurrence was patched at a stale index: an
unrelated element was deleted, the inserted content was duplicated, and
the real placeholder was left for the recursive pass.

Apply document patches in reverse document order, innermost first, so
each splice only moves elements that have already been patched.

Fixes #3504

* fix(patcher): patch nested paragraphs, multi-text runs and repeated placeholders correctly

- Patch paragraphs in reverse traversal order for paragraph patches too. A
  paragraph patch moves the runs after the placeholder, so a placeholder in a
  text box inside a matched paragraph was patched at a stale path and threw.
- Reverse the breadth-first traversal instead of sorting, and skip document
  patch matches inside another match, which were formatted and thrown away.
- Give each w:t in a run the right start and end, and replace the start of a
  placeholder by its position in that w:t. A placeholder in a run's second
  w:t threw TokenNotFoundError, and a start that also came earlier in the
  same w:t replaced the wrong text.
- Mark the split with U+FFFF, which cannot be in XML, instead of a ɵ, which
  can be in the document's own text.
- With keepOriginalStyles, only give the placeholder's w:rPr to inserted runs,
  and merge it into a run's own w:rPr instead of adding a second one. Keep the
  formatting of the text after the placeholder when keepOriginalStyles is
  false.
- Patch every occurrence in one pass without searching the inserted content,
  so a patch that contains its own placeholder no longer loops forever.
  recursive now picks between every occurrence in a paragraph and only the
  first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 16:10:05 +01:00
DolanandClaude Opus 5.5 be95a8c1bb feat: theme colours for the page background, and templates' themes in patchDocument (#3538)
- Document's background.color takes a ThemeColor, written with w:themeColor,
  w:themeTint or w:themeShade and the hex colour it comes to. The released
  themeColor, themeTint and themeShade strings still work, and are deprecated.
- patchDocument reads the template's theme colours (a:srgbClr, a:sysClr), so
  theme colours in patches get the template's hex value rather than Office's.
- Demo 119 has a page background in a theme colour. Docs updated.


Claude-Session: https://claude.ai/code/session_01TmyffPd5QMJYjXiMBQ3EnZ

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 00:46:30 +01:00
Dolan 764d5423f3 feat: theme colours for text, underlines, borders and shading (#3537) 2026-09-24 23:34:57 +01:00
Dolan 811e5d9b97 feat: write a theme part, with theme fonts for text and theme colours for shapes (#3536) 2026-09-24 20:23:52 +01:00
Dolan 91cd6398e2 feat(shapes): text in document styles, swimlanes, routing, descriptions, percentages and text flows (#3535) 2026-09-24 18:46:00 +01:00
Dolan 494ed78138 feat: shapes in docx/shapes and watermarks in docx/watermarks (#3534) 2026-09-24 15:38:43 +01:00
Dolan bf7eb857df feat(shapes): automatic layout, text sizing, connector polish and visual regression tests (#3533) 2026-09-24 13:18:04 +01:00
Dolan 859ea7ec7b feat(shapes): effects, pattern and picture fills, text layout, custom shapes and richer diagrams (#3523) 2026-09-24 11:52:04 +01:00
DolanandClaude Opus 5.5 ee37e5b38c feat(shapes): connectors and drawing canvases (#3522)
Shapes in a ShapeGroupRun or the new ShapeCanvasRun can have an `id`, and a
child with `type: "connector"` joins two of them:

    { type: "connector", from: "start", to: { id: "step", side: "top" }, route: "elbow" }

The connector is drawn from one shape to the other, so it needs no size or
position. It attaches at the shapes' connection sites (a:stCxn/a:endCxn),
choosing the facing sides unless a side is given, and routes as Word does:
a straight line, or elbow and curved connectors that leave and arrive at right
angles and loop around shapes when they have to.

Word only keeps connectors attached when shapes move on a drawing canvas, so
ShapeCanvasRun writes a wpc:wpc canvas with an optional background and outline.

Connection sites come from the preset shape definitions of ECMA-376:
scripts/generate-preset-shape-geometry.ts extracts each shape's sites and the
guides they depend on, and a small evaluator calculates them for a shape's size
and adjustments. A test also checks the adjustments table against the
definitions.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 09:36:03 +01:00
Dolan MiuandClaude Opus 5.5 576e76ac26 feat(shapes): name shape types, dashes and arrowhead sizes in plain English
OOXML abbreviates or numbers many names (roundRect, snip2DiagRect, ribbon2,
bentConnector3, sysDot, lgDash, sm/med/lg). The public API now uses names
that say what each value is, and maps them to OOXML names when writing XML:

- 49 of the 187 preset shape types, e.g. rectangle, roundedRectangle,
  diagonalSnippedCornersRectangle, ribbonUp, elbowConnector, lineCallout
- Line dashes: longDash, shortDot, shortDashDot, ...
- Arrowhead sizes: small, medium, large
- Gradient path: rectangle

Passing an OOXML shape name throws an error that suggests the new name.
A new Shape Types docs page lists every shape with its OOXML name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 02:19:02 +01:00
Dolan 3bd3afd6e4 feat: add shapes with ShapeRun and ShapeGroupRun (#3521)
* feat: Add shapes

* Make API more friendly
2026-09-24 01:54:16 +01:00
6d73c49d14 feat: Watermarks (#3221)
* watermark added

* fix: resolve final eslint identifier denylist error for string key

* fix: resolve verbatimModuleSyntax errors by using type-only imports

* style: format watermark files with prettier

* style: format watermark files with prettier

* fix: bypass prettier and eslint conflict using computed property for string key

* fix: replace explicit any with unknown array in mock context

* fix: replace explicit any with unknown array in mock context

* fix: replace explicit any with unknown array in mock context

* feat: add text and image watermarks on a generic VML drawing layer

Adds TextWatermark and ImageWatermark, inline elements that go inside a
header paragraph and emit the same markup Word writes for its own
watermarks (WordArt shape type 136 for text, picture frame type 75 for
images, PowerPlusWaterMarkObject / WordPictureWatermark ids), so Word
recognizes them and can remove or replace them from Design > Watermark.

The watermarks are built on a new src/file/vml module: typed builders for
w:pict, v:shape, v:shapetype, v:fill, v:stroke, v:textpath, v:imagedata,
v:path, v:formulas, v:handles and o:lock, plus the Word preset shape types.
The existing Textbox now uses the same builders, and future VML drawing
features can compose them too.

Compared with the original draft, rotation is written in degrees in the
shape style as Word does (not 65536-based fixed point), the shape type
definition is included, colours are normalized for VML, the default height
keeps letters in proportion for the text length, and image watermarks
register their media and header relationship like ImageRun.

Also adds docs/usage/watermarks.md, a sidebar entry, a cross-link from the
headers and footers page, and two demos.

Resolves #3017

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: unknown <yusuf.unal@nordisglobal.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 21:38:41 +01:00
Dolan d8397106f4 fix: Inquirer list deprecation (#3520) 2026-09-23 21:32:08 +01:00
c6df9df4b8 fix(styles): stop emitting an implicit ListParagraph pStyle inside style definitions (#3519)
* test: paragraphStyles should not set `w:pStyle` as it is already a style

* fix(styles): stop emitting an implicit ListParagraph pStyle inside style definitions

`ParagraphProperties` adds `<w:pStyle w:val="ListParagraph"/>` whenever a paragraph has
`numbering` (or `bullet`) and names no style of its own. That is right for document
paragraphs, but the same class also builds the `w:pPr` of paragraph styles, numbering
levels and document defaults, so a custom paragraph style with `numbering` ended up
declaring `ListParagraph` as its own paragraph style. A definition inherits through
`basedOn`, not `pStyle`, and Word was reported to fall back to `ListParagraph` when
applying such a style.

Add an `implicitListParagraphStyle` config flag to `ParagraphProperties` (default `true`)
and pass `false` from `StyleForParagraph`, `LevelBase` and `ParagraphPropertiesDefaults`.
Document paragraphs, textboxes and revision tracking keep the existing behaviour.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Alexander Nortung <alexander.nortung@oakdigital.dk>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 18:09:12 +01:00
DolanandClaude Fable 5.1 0e09be861d docs: fix "Get Started" cover link and GitHub corner overlap (#3518)
The cover page linked to "#Welcome", but the README heading was renamed to
"Welcome to docx", so docsify resolved it to "#/?id=welcome" which matches
nothing. Point it at the current heading id instead.

Also lift the GitHub corner above the cover page. The theme gives both
".cover-main" and ".github-corner" z-index 1 and the cover is rendered later
in the DOM, so once scrolled the cover overlapped the corner and made the
link unclickable.

Fixes #3477

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 17:55:04 +01:00
99517e0c1c fix(table): emit numeric pct widths in fiftieths of a percent (#3476)
* fix(table): emit numeric pct widths in fiftieths of a percent

createTableWidthElement wrote a numeric PERCENTAGE size as a "50%" string.
Both that string and the fiftieths-of-a-percent integer (50% = 2500) are
valid under ST_MeasurementOrPercent, but Word writes the integer, and
stricter consumers — Google Docs and Apple Pages/QuickLook/Mail — misread
the string form and collapse table columns to one character.

Emit the integer (Math.round(size * 50)) for numeric pct sizes to match
Word's output. Callers who want the literal percent string can still pass a
Percentage (e.g. "50%"), which is left untouched. Adds table-width.spec.ts
and updates the two specs that asserted the old string output.

* fix(table): derive tblGrid from table and cell widths so tables render in Google Docs and Pages

Writing pct widths as fiftieths of a percent (previous commit) is correct but
does not fix #1457 on its own. Google Docs, Apple Pages, QuickLook and other
consumers lay a table out from w:tblGrid alone and ignore w:tblW / w:tcW
percentages, while docx wrote a placeholder grid of 100 twips per column
whenever columnWidths was omitted. Every percentage-width table therefore
collapsed to one character per column in those readers (#1457, #349, #216,
#3015). Word recomputes the layout from the preferred widths, which is why it
was never affected.

When columnWidths is omitted the grid is now derived, in twips, the way Word
writes it after laying the table out:

- percentages resolve against the text width of the section the table is in
  (page width minus margins and gutter, per column in multi-column sections),
  or against the parent cell for nested tables, at serialization time
- dxa and universal-measure widths are used as they are
- columns without a width share what is left of the table width equally
- column spans and the continuation cells inserted for rowSpan are honoured

Explicit columnWidths are written unchanged. Tables formatted without a
document (bare Formatter, patcher) resolve against the default A4 page, and
formatting a table more than once is idempotent.

New: SectionProperties.AvailableTextWidth, Body.getSectionPropertiesFor,
universalMeasureToTwips, Table.ColumnWidths and Table.getCellWidth. Adds a
demo, documents columnWidths, and applies the review nits on table-width.spec.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* test: use a cspell-friendly malformed measure in the universalMeasureToTwips spec

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 17:29:48 +01:00
b478051706 fix: allocate bookmark numeric ids per document (#3502)
* fix: allocate bookmark numeric ids per document

* test: cover the bookmark id getter and explicit end id

* fix: reserve explicitly supplied bookmark ids

* fix: draw bookmark ids from one shared counter at construction

Resolving ids lazily from `context.file.BookmarkIds` in `prepForXml` broke
three things that worked before:

- `prepForXml` pushed a new attributes object each time it ran. Headers and
  footers are formatted twice per compile, so any bookmark in one was written
  with duplicate `w:id`/`w:name` attributes and Word could not open the file.
  Packing the same Document twice corrupted document.xml the same way.
- `patchDocument` and `Formatter` with the default context have no
  `BookmarkIds`, so formatting a Bookmark there threw.
- An explicit `BookmarkStart(name, id)` was never linked to its name, so
  `BookmarkEnd(name)` allocated a different id and the pair did not match.

Give each Bookmark its id once, when it is constructed, from a single
process-wide counter (`bookmarkUniqueNumericId`). The root cause of #3478
was only that every Bookmark held its own generator, so they all wrote
`w:id="1"`; sharing one generator fixes that while keeping serialization
free of side effects and independent of the document context.

`BookmarkStart` and `BookmarkEnd` go back to their released signatures,
and the `BookmarkIds` registry and `File.BookmarkIds` getter are removed.
A compiler test now checks ids across the body, header and footer over
two compiles.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test: cover patching in a bookmark with patchDocument

The patcher formats with a stand-in file, which is where the earlier
context-based bookmark ids threw. Check that a patched-in bookmark is
written with a start and end that share one id.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 16:46:12 +01:00
Salman Shaikh 5a9806ce09 Add support for cropping images (#3505)
* feat: add image crop option

* test: source rectangle tests
2026-09-23 15:35:53 +01:00
Dolan Miu 7909e4a3db chore: Version bump 9.7.2 2026-09-23 14:27:01 +01:00
d97520abce build(deps-dev): bump eslint from 9.39.2 to 10.11.0 (#3516)
* build(deps-dev): bump eslint from 9.39.2 to 10.11.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.39.2 to 10.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.39.2...v10.11.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: Fix lint for ESLint 10

ESLint 10 no longer pulls in @eslint/js or globals transitively, so the
config failed to load. Add both as explicit devDependencies.

eslint-plugin-import 2.x crashes on ESLint 10 (it reads the removed
context.parserOptions) and has no release supporting it. Replace it with
eslint-plugin-import-x, the maintained fork, using the resolver-next API
with the TypeScript and Node resolvers. Rule configuration is unchanged
apart from the import/ -> import-x/ prefix.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:23:39 +01:00
f734656001 build(deps-dev): bump prettier from 3.8.3 to 3.9.8 (#3509)
* build(deps-dev): bump prettier from 3.8.3 to 3.9.8

Bumps [prettier](https://github.com/prettier/prettier) from 3.8.3 to 3.9.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.9.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.9.8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* style(docs): reformat code samples for prettier 3.9

Prettier 3.9 keeps arrays and objects containing only a block comment
on a single line (e.g. `[/* ... */]`), which failed the Prettier CI check.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:03:29 +01:00
dependabot[bot] 2aaa1e634a build(deps-dev): bump the npm_and_yarn group across 1 directory with 5 updates (#3517)
Bumps the npm_and_yarn group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) | `0.16.6` | `0.16.8` |
| [baseline-browser-mapping](https://github.com/web-platform-dx/baseline-browser-mapping) | `2.10.32` | `2.11.25` |
| [browserslist](https://github.com/browserslist/browserslist) | `4.28.2` | `4.29.0` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.3.1` | `4.3.2` |
| [smol-toml](https://github.com/squirrelchat/smol-toml) | `1.6.1` | `1.9.0` |



Updates `@humanfs/node` from 0.16.6 to 0.16.8
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

Updates `baseline-browser-mapping` from 2.10.32 to 2.11.25
- [Release notes](https://github.com/web-platform-dx/baseline-browser-mapping/releases)
- [Commits](https://github.com/web-platform-dx/baseline-browser-mapping/compare/v2.10.32...v2.11.25)

Updates `browserslist` from 4.28.2 to 4.29.0
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.28.2...4.29.0)

Updates `js-yaml` from 4.3.1 to 4.3.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2)

Updates `smol-toml` from 1.6.1 to 1.9.0
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/compare/v1.6.1...v1.9.0)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: baseline-browser-mapping
  dependency-version: 2.11.25
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: browserslist
  dependency-version: 4.29.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: smol-toml
  dependency-version: 1.9.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:59:39 +01:00
dependabot[bot] d4236680c9 build(deps-dev): bump @microsoft/api-extractor from 7.58.12 to 7.59.1 (#3513)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.58.12 to 7.59.1.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/HEAD/apps/api-extractor)

---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
  dependency-version: 7.59.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:46:07 +01:00
dependabot[bot] fc9efd0e3a build(deps-dev): bump tsx from 4.22.4 to 4.23.15 (#3512)
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.22.4 to 4.23.15.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.22.4...v4.23.15)

---
updated-dependencies:
- dependency-name: tsx
  dependency-version: 4.23.15
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:45:57 +01:00
dependabot[bot] 5a40169963 build(deps): bump nanoid from 5.1.11 to 6.0.1 (#3510)
Bumps [nanoid](https://github.com/ai/nanoid) from 5.1.11 to 6.0.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.1.11...6.0.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:45:45 +01:00
dependabot[bot] 09b91b21cd build(deps-dev): bump unzipper from 0.12.3 to 0.12.5 (#3511)
Bumps [unzipper](https://github.com/ZJONSSON/node-unzipper) from 0.12.3 to 0.12.5.
- [Release notes](https://github.com/ZJONSSON/node-unzipper/releases)
- [Commits](https://github.com/ZJONSSON/node-unzipper/commits)

---
updated-dependencies:
- dependency-name: unzipper
  dependency-version: 0.12.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:45:38 +01:00
dependabot[bot] e0c0cd0640 build(deps-dev): bump typedoc from 0.28.19 to 0.28.20 (#3514)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.28.19 to 0.28.20.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.28.19...v0.28.20)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-version: 0.28.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:45:28 +01:00
dependabot[bot] c470eee68a build(deps-dev): bump inquirer from 14.0.0 to 14.2.2 (#3515)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 14.0.0 to 14.2.2.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.0.0...inquirer@14.2.2)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-version: 14.2.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:45:19 +01:00
dependabot[bot] 21c8c93a72 build(deps-dev): bump @microsoft/api-extractor from 7.58.7 to 7.58.12 (#3483)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.58.7 to 7.58.12.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.58.12/apps/api-extractor)

---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
  dependency-version: 7.58.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:37:01 +01:00
dependabot[bot] 48ca25049f build(deps-dev): bump eslint-import-resolver-typescript (#3466)
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 4.4.4 to 4.4.5.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.4.4...v4.4.5)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-version: 4.4.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:36:43 +01:00
dependabot[bot] b64f4ff513 build(deps-dev): bump typescript-eslint from 8.60.0 to 8.70.0 (#3486)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.60.0 to 8.70.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.70.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.66.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:36:20 +01:00
dependabot[bot] 31de5fd620 build(deps-dev): bump vite-plugin-dts from 5.0.1 to 5.0.3 (#3487)
Bumps [vite-plugin-dts](https://github.com/qmhc/unplugin-dts/tree/HEAD/packages/vite-plugin-dts) from 5.0.1 to 5.0.3.
- [Release notes](https://github.com/qmhc/unplugin-dts/releases)
- [Changelog](https://github.com/qmhc/unplugin-dts/blob/main/packages/vite-plugin-dts/CHANGELOG.md)
- [Commits](https://github.com/qmhc/unplugin-dts/commits/vite-plugin-dts@5.0.3/packages/vite-plugin-dts)

---
updated-dependencies:
- dependency-name: vite-plugin-dts
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:22:07 +01:00
dependabot[bot] fb4e8b67fe build(deps-dev): bump @typescript-eslint/parser from 8.60.0 to 8.66.0 (#3485)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.60.0 to 8.66.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.66.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.66.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:21:43 +01:00
dependabot[bot] ad2caf364c build(deps): bump the npm_and_yarn group across 1 directory with 9 updates (#3482)
Bumps the npm_and_yarn group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [brace-expansion](https://github.com/juliangruber/brace-expansion) | `1.1.11` | `1.1.18` |
| [fast-uri](https://github.com/fastify/fast-uri) | `3.1.2` | `3.1.5` |
| [got](https://github.com/sindresorhus/got) | `9.6.0` | `removed` |
| [js-yaml](https://github.com/nodeca/js-yaml) | `4.1.1` | `4.3.1` |
| [linkify-it](https://github.com/markdown-it/linkify-it) | `5.0.0` | `5.0.2` |
| [markdown-it](https://github.com/markdown-it/markdown-it) | `14.1.1` | `14.3.0` |
| [postcss](https://github.com/postcss/postcss) | `8.5.15` | `8.5.26` |
| [undici](https://github.com/nodejs/undici) | `7.26.0` | `7.29.0` |
| [ws](https://github.com/websockets/ws) | `7.5.10` | `7.5.13` |



Updates `brace-expansion` from 1.1.11 to 1.1.18
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.18)

Updates `fast-uri` from 3.1.2 to 3.1.5
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.5)

Removes `got`

Updates `js-yaml` from 4.1.1 to 4.3.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.1...4.3.1)

Updates `linkify-it` from 5.0.0 to 5.0.2
- [Changelog](https://github.com/markdown-it/linkify-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/linkify-it/compare/5.0.0...5.0.2)

Updates `markdown-it` from 14.1.1 to 14.3.0
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.1...14.3.0)

Updates `postcss` from 8.5.15 to 8.5.26
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.15...8.5.26)

Updates `undici` from 7.26.0 to 7.29.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.26.0...v7.29.0)

Updates `ws` from 7.5.10 to 7.5.13
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.10...7.5.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: got
  dependency-version:
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.3.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: linkify-it
  dependency-version: 5.0.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: markdown-it
  dependency-version: 14.3.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-version: 8.5.26
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: undici
  dependency-version: 7.29.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-version: 7.5.13
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 11:20:51 +01:00
dependabot[bot] fda088d1da build(deps-dev): bump tsx from 4.22.3 to 4.22.4 (#3464)
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.22.3 to 4.22.4.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.22.3...v4.22.4)

---
updated-dependencies:
- dependency-name: tsx
  dependency-version: 4.22.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 11:23:49 +01:00
dependabot[bot] 780b719114 build(deps-dev): bump esbuild (#3469)
Bumps the npm_and_yarn group with 1 update in the / directory: [esbuild](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.27.3 to 0.28.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.27.3...v0.28.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 11:23:38 +01:00
dependabot[bot] d6e2e4937a build(deps-dev): bump vite from 8.0.14 to 8.0.16 (#3467)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.14 to 8.0.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-07 11:21:55 +01:00
Alex Casillas fd7d936c2c feat: emit word/commentsIds.xml with durable comment ids (w16cid) (#3472)
* feat: emit word/commentsIds.xml with durable comment ids (w16cid)

* test(comments): assert commentsIds XML shape and cover mixed durable/non-durable
2026-08-07 11:21:39 +01:00
DolanandDolan Miu 309b972e10 chore: Upgrade actions (#3458)
Co-authored-by: Dolan Miu <>
2026-06-01 22:27:30 +01:00
DolanandDolan Miu 4934d310c7 chore: Upgrade node-version in GitHub Actions workflow (#3457)
Co-authored-by: Dolan Miu <>
9.7.1
2026-05-27 16:43:25 +01:00
dependabot[bot] a17c867b1c build(deps-dev): bump typescript-eslint from 8.59.4 to 8.60.0 (#3455)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.59.4 to 8.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.60.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 15:57:50 +01:00
DolanandDolan Miu 28ae793f5f Fix/bundle types issue (#3456)
* fix: add @microsoft/api-extractor to fix bundled type declarations

* Version bump

---------

Co-authored-by: Dolan Miu <>
2026-05-27 15:57:26 +01:00
dependabot[bot] 12347dd0da build(deps-dev): bump @typescript-eslint/parser from 8.59.4 to 8.60.0 (#3454)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.59.4 to 8.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.60.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 15:51:39 +01:00
dependabot[bot] 7797f50d41 build(deps-dev): bump @typescript-eslint/eslint-plugin (#3450)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.59.4 to 8.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.60.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.60.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:27:56 +01:00
dependabot[bot] e61edc0c04 build(deps-dev): bump typedoc from 0.28.18 to 0.28.19 (#3452)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.28.18 to 0.28.19.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.28.18...v0.28.19)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-version: 0.28.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:27:31 +01:00
dependabot[bot] 0d185a10b8 build(deps-dev): bump inquirer from 13.4.3 to 14.0.0 (#3451)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 13.4.3 to 14.0.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.4.3...inquirer@14.0.0)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-version: 14.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:27:20 +01:00
dependabot[bot] e757cff8f0 build(deps-dev): bump jsdom from 29.0.1 to 29.1.1 (#3449)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 29.0.1 to 29.1.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](https://github.com/jsdom/jsdom/compare/v29.0.1...v29.1.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 29.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:26:37 +01:00
dependabot[bot] 3958b5a71a build(deps-dev): bump eslint-plugin-unicorn from 63.0.0 to 64.0.0 (#3448)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 63.0.0 to 64.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v63.0.0...v64.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 64.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:26:26 +01:00
dependabot[bot] 1be2d5196a build(deps-dev): bump pre-commit from 1.2.2 to 2.0.0 (#3447)
Bumps [pre-commit](https://github.com/observing/pre-commit) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/observing/pre-commit/releases)
- [Changelog](https://github.com/observing/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/observing/pre-commit/commits)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 01:26:01 +01:00