mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
294088fb27
* make the content cache manager tests configurable * extend stream content in unit tests * [ContentCacheManagerTests] prepare for full object caching * filesystem stream for pdfjs * working?? * cleaning up * handle overflow * [misc] install pdfjs-dist * [misc] move pdfjs code into app/lib/ and scripts/, also use CamelCase * [misc] abstract the file loading and parsing of xRef tables into helper * [misc] pdfjsTests: add snapshot based tests for the Xref table parser * [misc] FSStream: throw proper error and drop commented code * [misc] FSStream: integrate throwing of MissingDataException into getter * [misc] pdfjs: fix eslint errors * [misc] pdfjs: run format_fix * [misc] pdfjs: allocate very small non empty dummy buffers explicitly * [misc] install @overleaf/o-error * [ContentCacheManager] use PDF.js Xref table instead of stream detection Co-Authored-By: Brian Gough <brian.gough@overleaf.com> * [pdfjs] parseXrefTable: handle empty PDF files gracefully Co-authored-by: Brian Gough <brian.gough@overleaf.com>
145 lines
No EOL
1.6 KiB
JSON
145 lines
No EOL
1.6 KiB
JSON
[
|
|
{
|
|
"offset": 0,
|
|
"gen": 255,
|
|
"free": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 8
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 9
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 10
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 1
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 0
|
|
},
|
|
{
|
|
"offset": 15,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 20
|
|
},
|
|
{
|
|
"offset": 33577,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 3
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 2
|
|
},
|
|
{
|
|
"offset": 1151,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 17
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 19
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 18
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 5
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 4
|
|
},
|
|
{
|
|
"offset": 2721,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 7
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 6
|
|
},
|
|
{
|
|
"offset": 5757,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 11
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 12
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 13
|
|
},
|
|
{
|
|
"offset": 9558,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 14
|
|
},
|
|
{
|
|
"offset": 18967,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 15
|
|
},
|
|
{
|
|
"offset": 26388,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 16
|
|
},
|
|
{
|
|
"offset": 8,
|
|
"gen": 21
|
|
},
|
|
{
|
|
"offset": 33354,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 34451,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
}
|
|
] |