@chialab/pdfjs-lib 1.0.0-alpha.3 → 1.0.0-alpha.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/dist/browser/index.js +2 -3
- package/dist/node/index.js +2 -3
- package/package.json +4 -3
package/dist/browser/index.js
CHANGED
|
@@ -24609,9 +24609,8 @@ PDFPageProxy.prototype.getAnnotations = async function(params) {
|
|
|
24609
24609
|
height * scale,
|
|
24610
24610
|
0,
|
|
24611
24611
|
0,
|
|
24612
|
-
|
|
24613
|
-
|
|
24614
|
-
isNodeJS ? viewport.height : height * scale
|
|
24612
|
+
width * scale,
|
|
24613
|
+
height * scale
|
|
24615
24614
|
);
|
|
24616
24615
|
annotation.graphics = await canvasToData(croppedCanvasContext.canvas);
|
|
24617
24616
|
} catch (e) {
|
package/dist/node/index.js
CHANGED
|
@@ -24919,9 +24919,8 @@ PDFPageProxy.prototype.getAnnotations = async function(params) {
|
|
|
24919
24919
|
height * scale,
|
|
24920
24920
|
0,
|
|
24921
24921
|
0,
|
|
24922
|
-
|
|
24923
|
-
|
|
24924
|
-
isNodeJS ? viewport.height : height * scale
|
|
24922
|
+
width * scale,
|
|
24923
|
+
height * scale
|
|
24925
24924
|
);
|
|
24926
24925
|
annotation.graphics = await canvasToData(croppedCanvasContext.canvas);
|
|
24927
24926
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chialab/pdfjs-lib",
|
|
3
3
|
"description": "A custom Mozilla's PDF.js build with better Node support and extras.",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Chialab <dev@chialab.it>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@napi-rs/canvas": "^0.1.
|
|
30
|
+
"@napi-rs/canvas": "^0.1.68"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@biomejs/biome": "^1.9.4",
|
|
@@ -38,5 +38,6 @@
|
|
|
38
38
|
"publint": "^0.3.7",
|
|
39
39
|
"rimraf": "^6.0.1",
|
|
40
40
|
"typescript": "^5.7.3"
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
|
|
42
43
|
}
|