@file-viewer/doc 2.1.29 → 2.2.0

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/dist/msdoc/fib.js CHANGED
@@ -75,7 +75,7 @@ export function parseFibBase(reader) {
75
75
  fHasPic: Boolean(flags & 0x0008),
76
76
  cQuickSaves: (flags >> 4) & 0x0f,
77
77
  fEncrypted: Boolean(flags & 0x0100),
78
- fWhichTblStm: Boolean(flags & 0x0200) ? 1 : 0,
78
+ fWhichTblStm: flags & 0x0200 ? 1 : 0,
79
79
  fReadOnlyRecommended: Boolean(flags & 0x0400),
80
80
  fWriteReservation: Boolean(flags & 0x0800),
81
81
  fExtChar: Boolean(flags & 0x1000),
@@ -8,7 +8,6 @@ const PICF_HEADER_SIZE = 68;
8
8
  const MM_SHAPE = 0x0064;
9
9
  const MM_SHAPEFILE = 0x0066;
10
10
  const OFFICEART_CONTAINER = 0xf;
11
- const OFFICEART_TYPE_INLINE_SP_CONTAINER = 0xf004;
12
11
  const OFFICEART_FBSE = 0xf007;
13
12
  const OFFICEART_BLIP_EMF = 0xf01a;
14
13
  const OFFICEART_BLIP_WMF = 0xf01b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/doc",
3
- "version": "2.1.29",
3
+ "version": "2.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Browser-native legacy MS-DOC (.doc) parser and HTML renderer extracted from the public msdoc-viewer 0.2.0 line.",