mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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>
102 lines
No EOL
1.3 KiB
JSON
102 lines
No EOL
1.3 KiB
JSON
[
|
|
{
|
|
"offset": 0,
|
|
"gen": 65535,
|
|
"free": true
|
|
},
|
|
{
|
|
"offset": 1094,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 5512,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1035,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 875,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 15,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 856,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1159,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1593,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 3149,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1436,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 2412,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1282,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1768,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1200,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 1230,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 2006,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 2625,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 3381,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
},
|
|
{
|
|
"offset": 4069,
|
|
"gen": 0,
|
|
"uncompressed": true
|
|
}
|
|
] |