@adnsistemas/pdf-lib 2.4.3 → 2.4.4
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/cjs/core/parser/PDFParser.js +2 -3
- package/cjs/core/parser/PDFParser.js.map +1 -1
- package/dist/pdf-lib.esm.js +2 -3
- package/dist/pdf-lib.esm.js.map +1 -1
- package/dist/pdf-lib.esm.min.js +1 -1
- package/dist/pdf-lib.esm.min.js.map +1 -1
- package/dist/pdf-lib.js +2 -3
- package/dist/pdf-lib.js.map +1 -1
- package/dist/pdf-lib.min.js +1 -1
- package/dist/pdf-lib.min.js.map +1 -1
- package/es/core/parser/PDFParser.js +2 -3
- package/es/core/parser/PDFParser.js.map +1 -1
- package/package.json +4 -1
- package/src/core/parser/PDFParser.ts +2 -2
package/dist/pdf-lib.js
CHANGED
|
@@ -15865,9 +15865,8 @@ end\
|
|
|
15865
15865
|
object.dict.lookup(PDFName.of('Type')) === PDFName.of('XRef')) {
|
|
15866
15866
|
PDFXRefStreamParser.forStream(object).parseIntoContext();
|
|
15867
15867
|
}
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
}
|
|
15868
|
+
// always register the object and the ref, to properly handle object numeration
|
|
15869
|
+
this.context.assign(ref, object);
|
|
15871
15870
|
return ref;
|
|
15872
15871
|
});
|
|
15873
15872
|
}
|