a89ee463e6
Fix style being missed on patchDocument
...
There were scenarios in which patching a document would result in loss
of style for the template runs and, possibly, their right-adjacent run
as well (post-splitting). That was due to the run style elements not
being added to the newly created runs.
This commit addresses this issue by introducing a new, optional, flag
for the `patchDocument` function: `keepOriginalStyles`. It defaults to
`false` (current behavior) and, when `true`, ensures that there is no
loss of styling.
This should address https://github.com/dolanmiu/docx/issues/2293 .
2023-10-18 12:58:01 -03:00
d5d80550e7
Version bump
8.2.3
2023-09-26 23:00:51 +01:00
23a0a59454
Use .mjs for ESM
2023-09-26 22:59:32 +01:00
ccc391607a
Merge pull request #2331 from hshoja/doc/update-style-with-xml
...
Update styling with xml docs
2023-09-11 21:04:32 +01:00
968c3aed0f
Update styling-with-xml doc
2023-09-10 15:57:48 +02:00
9c7a80729b
Merge branch 'master' of github.com:dolanmiu/docx
2023-08-06 20:10:11 +01:00
5f26ca1c94
Update numbering docs
2023-08-06 20:10:03 +01:00
3b9f80fb1a
Merge pull request #2259 from dolanmiu/feat/bump-prettier
...
Bump prettier
2023-07-21 22:13:17 +01:00
8da57bec51
Bump prettier
...
Fix new prettier issues
2023-07-21 20:11:52 +01:00
63db9f290c
Version bump
8.2.2
2023-07-20 22:44:30 +01:00
e8bd4bd6c6
Merge pull request #2256 from dolanmiu/feature/tweak-build
...
Remove default browser export
2023-07-20 22:42:56 +01:00
28d93b0c42
Remove default browser export
...
Fixes Angular issue
2023-07-20 20:46:53 +01:00
95f8e37006
Version bump
8.2.1
2023-07-19 02:10:13 +01:00
87083cb264
Merge pull request #2240 from dolanmiu/dependabot/npm_and_yarn/vite-plugin-dts-3.3.1
...
build(deps-dev): bump vite-plugin-dts from 2.3.0 to 3.3.1
2023-07-19 01:49:10 +01:00
1e8dc95c9c
Merge pull request #2227 from dolanmiu/dependabot/npm_and_yarn/vitest/ui-0.33.0
...
build(deps-dev): bump @vitest/ui from 0.32.2 to 0.33.0
2023-07-19 01:49:04 +01:00
abfa242c28
build(deps-dev): bump @vitest/ui from 0.32.2 to 0.33.0
...
Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui ) from 0.32.2 to 0.33.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.33.0/packages/ui )
---
updated-dependencies:
- dependency-name: "@vitest/ui"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 00:37:38 +00:00
56b5414152
build(deps-dev): bump vite-plugin-dts from 2.3.0 to 3.3.1
...
Bumps [vite-plugin-dts](https://github.com/qmhc/vite-plugin-dts ) from 2.3.0 to 3.3.1.
- [Release notes](https://github.com/qmhc/vite-plugin-dts/releases )
- [Changelog](https://github.com/qmhc/vite-plugin-dts/blob/main/CHANGELOG.md )
- [Commits](https://github.com/qmhc/vite-plugin-dts/compare/v2.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: vite-plugin-dts
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 00:37:28 +00:00
8f46060be2
Merge pull request #2235 from dolanmiu/dependabot/npm_and_yarn/types/node-20.4.2
...
build(deps): bump @types/node from 20.3.2 to 20.4.2
2023-07-19 01:36:41 +01:00
93b17ca2af
Merge pull request #2226 from dolanmiu/dependabot/npm_and_yarn/vitest/coverage-v8-0.33.0
...
build(deps-dev): bump @vitest/coverage-v8 from 0.32.2 to 0.33.0
2023-07-19 01:36:27 +01:00
66008115b8
build(deps-dev): bump @vitest/coverage-v8 from 0.32.2 to 0.33.0
...
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ) from 0.32.2 to 0.33.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.33.0/packages/coverage-v8 )
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 00:23:34 +00:00
55697a7c32
build(deps): bump @types/node from 20.3.2 to 20.4.2
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.3.2 to 20.4.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 00:22:54 +00:00
e9b259db6b
Merge pull request #2241 from dolanmiu/dependabot/npm_and_yarn/eslint-plugin-jsdoc-46.4.4
...
build(deps-dev): bump eslint-plugin-jsdoc from 46.4.2 to 46.4.4
2023-07-19 01:22:29 +01:00
55c51f7af1
Merge pull request #2238 from dolanmiu/dependabot/npm_and_yarn/eslint-8.45.0
...
build(deps-dev): bump eslint from 8.43.0 to 8.45.0
2023-07-19 01:22:22 +01:00
4e7fd6a6dc
Merge pull request #2242 from dolanmiu/dependabot/npm_and_yarn/esbuild/win32-x64-0.18.14
...
build(deps-dev): bump @esbuild/win32-x64 from 0.18.10 to 0.18.14
2023-07-19 01:22:06 +01:00
6294ec448f
Merge pull request #2234 from dolanmiu/dependabot/npm_and_yarn/typescript-eslint/parser-5.62.0
...
build(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.62.0
2023-07-19 01:21:48 +01:00
668198b5d1
Merge pull request #2228 from dolanmiu/dependabot/npm_and_yarn/vitest-0.33.0
...
build(deps-dev): bump vitest from 0.32.2 to 0.33.0
2023-07-19 01:21:41 +01:00
56b2ffe706
Merge pull request #2209 from dolanmiu/dependabot/npm_and_yarn/typescript-5.1.6
...
build(deps-dev): bump typescript from 5.1.3 to 5.1.6
2023-07-19 01:21:35 +01:00
2ab06ffe36
Merge pull request #2244 from dolanmiu/feature/build-fixes
...
Fix `vite` build issues
2023-07-19 01:19:15 +01:00
0c51082bb9
Add logging output to demo
2023-07-18 21:07:19 +01:00
9a9a2019f6
Do not polyfill buffer
2023-07-18 21:06:35 +01:00
d94348f5ca
Export correct type in patchDocument
2023-07-18 20:49:43 +01:00
4c10741862
build(deps-dev): bump @esbuild/win32-x64 from 0.18.10 to 0.18.14
...
Bumps [@esbuild/win32-x64](https://github.com/evanw/esbuild ) from 0.18.10 to 0.18.14.
- [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.18.10...v0.18.14 )
---
updated-dependencies:
- dependency-name: "@esbuild/win32-x64"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-18 11:17:06 +00:00
222a25e4e2
Compile umd version as .js format
2023-07-18 01:53:56 +01:00
5fd4490c4f
build(deps-dev): bump eslint-plugin-jsdoc from 46.4.2 to 46.4.4
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 46.4.2 to 46.4.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v46.4.2...v46.4.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 11:58:39 +00:00
e1cc65cb97
build(deps-dev): bump eslint from 8.43.0 to 8.45.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.43.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.45.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 11:57:25 +00:00
991f837bc1
build(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.62.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.60.1 to 5.62.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/v5.62.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-11 11:42:13 +00:00
87b3035465
build(deps-dev): bump vitest from 0.32.2 to 0.33.0
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 0.32.2 to 0.33.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.33.0/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-07 11:26:34 +00:00
4498305a6c
Remove gitter from README
2023-07-04 12:38:54 +01:00
cac7abba91
build(deps-dev): bump typescript from 5.1.3 to 5.1.6
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.1.3 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-30 11:39:27 +00:00
b9b55b2829
Version bump
8.2.0
2023-06-30 01:40:40 +01:00
11365d5be5
Merge pull request #2182 from dolanmiu/dependabot/npm_and_yarn/eslint-8.43.0
...
build(deps-dev): bump eslint from 8.42.0 to 8.43.0
2023-06-29 17:32:50 +01:00
47a5aff40c
build(deps-dev): bump eslint from 8.42.0 to 8.43.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-29 16:07:10 +00:00
721fbbac67
Merge pull request #2180 from dolanmiu/dependabot/npm_and_yarn/vitest/ui-0.32.2
...
build(deps-dev): bump @vitest/ui from 0.32.0 to 0.32.2
2023-06-29 17:05:51 +01:00
bcca50fb40
Merge pull request #2192 from dolanmiu/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.60.1
...
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.60.1
2023-06-29 17:05:45 +01:00
229d2eb689
Merge pull request #2179 from dolanmiu/dependabot/npm_and_yarn/vitest/coverage-v8-0.32.2
...
build(deps-dev): bump @vitest/coverage-v8 from 0.32.0 to 0.32.2
2023-06-29 17:05:39 +01:00
3ef80cc7b3
Merge pull request #2181 from dolanmiu/dependabot/npm_and_yarn/vitest-0.32.2
...
build(deps-dev): bump vitest from 0.32.0 to 0.32.2
2023-06-29 17:05:32 +01:00
f1f11f36e4
Merge pull request #2193 from dolanmiu/dependabot/npm_and_yarn/types/node-20.3.2
...
build(deps): bump @types/node from 20.3.1 to 20.3.2
2023-06-29 17:05:24 +01:00
28f187064e
Merge pull request #2194 from dolanmiu/dependabot/npm_and_yarn/esbuild/win32-x64-0.18.10
...
build(deps-dev): bump @esbuild/win32-x64 from 0.18.3 to 0.18.10
2023-06-29 17:05:17 +01:00
c391ca533a
Merge pull request #2195 from dolanmiu/dependabot/npm_and_yarn/typescript-eslint/parser-5.60.1
...
build(deps-dev): bump @typescript-eslint/parser from 5.59.11 to 5.60.1
2023-06-29 17:05:07 +01:00
0ca92b80f9
Merge pull request #2200 from dolanmiu/dependabot/npm_and_yarn/glob-10.3.1
...
build(deps-dev): bump glob from 10.2.7 to 10.3.1
2023-06-29 16:58:27 +01:00