docx 8.2.1 → 8.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs +1 -1
- package/build/index.iife.js +1 -1
- package/build/index.js +1 -1
- package/build/index.umd.js +1 -1
- package/package.json +1 -4
package/build/index.cjs
CHANGED
|
@@ -19146,7 +19146,7 @@ const patchDocument = async (data, options2) => {
|
|
|
19146
19146
|
const binaryContentMap = /* @__PURE__ */ new Map();
|
|
19147
19147
|
for (const [key, value] of Object.entries(zipContent.files)) {
|
|
19148
19148
|
if (!key.endsWith(".xml") && !key.endsWith(".rels")) {
|
|
19149
|
-
binaryContentMap.set(key, await value.async("
|
|
19149
|
+
binaryContentMap.set(key, await value.async("uint8array"));
|
|
19150
19150
|
continue;
|
|
19151
19151
|
}
|
|
19152
19152
|
const json = toJson(await value.async("text"));
|
package/build/index.iife.js
CHANGED
|
@@ -19146,7 +19146,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19146
19146
|
const binaryContentMap = /* @__PURE__ */ new Map();
|
|
19147
19147
|
for (const [key, value] of Object.entries(zipContent.files)) {
|
|
19148
19148
|
if (!key.endsWith(".xml") && !key.endsWith(".rels")) {
|
|
19149
|
-
binaryContentMap.set(key, await value.async("
|
|
19149
|
+
binaryContentMap.set(key, await value.async("uint8array"));
|
|
19150
19150
|
continue;
|
|
19151
19151
|
}
|
|
19152
19152
|
const json = toJson(await value.async("text"));
|
package/build/index.js
CHANGED
|
@@ -19144,7 +19144,7 @@ const patchDocument = async (data, options2) => {
|
|
|
19144
19144
|
const binaryContentMap = /* @__PURE__ */ new Map();
|
|
19145
19145
|
for (const [key, value] of Object.entries(zipContent.files)) {
|
|
19146
19146
|
if (!key.endsWith(".xml") && !key.endsWith(".rels")) {
|
|
19147
|
-
binaryContentMap.set(key, await value.async("
|
|
19147
|
+
binaryContentMap.set(key, await value.async("uint8array"));
|
|
19148
19148
|
continue;
|
|
19149
19149
|
}
|
|
19150
19150
|
const json = toJson(await value.async("text"));
|
package/build/index.umd.js
CHANGED
|
@@ -19148,7 +19148,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19148
19148
|
const binaryContentMap = /* @__PURE__ */ new Map();
|
|
19149
19149
|
for (const [key, value] of Object.entries(zipContent.files)) {
|
|
19150
19150
|
if (!key.endsWith(".xml") && !key.endsWith(".rels")) {
|
|
19151
|
-
binaryContentMap.set(key, await value.async("
|
|
19151
|
+
binaryContentMap.set(key, await value.async("uint8array"));
|
|
19152
19152
|
continue;
|
|
19153
19153
|
}
|
|
19154
19154
|
const json = toJson(await value.async("text"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docx",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.2",
|
|
4
4
|
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.umd.js",
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"types": "./build/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"browser": {
|
|
12
|
-
"default": "./build/index.umd.js"
|
|
13
|
-
},
|
|
14
11
|
"require": "./build/index.cjs",
|
|
15
12
|
"types": "./build/index.d.ts",
|
|
16
13
|
"import": "./build/index.js",
|