File tree Expand file tree Collapse file tree 6 files changed +20
-15
lines changed Expand file tree Collapse file tree 6 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 60
60
"make-cancellable-promise" : " ^1.3.1" ,
61
61
"make-event-props" : " ^1.6.0" ,
62
62
"merge-refs" : " ^1.3.0" ,
63
- "pdfjs-dist" : " 4.0.379 " ,
63
+ "pdfjs-dist" : " 4.2.67 " ,
64
64
"tiny-invariant" : " ^1.0.0" ,
65
65
"warning" : " ^4.0.0"
66
66
},
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ export default function AnnotationLayer() {
161
161
const annotationLayerParameters = {
162
162
accessibilityManager : null , // TODO: Implement this
163
163
annotationCanvasMap : null , // TODO: Implement this
164
+ annotationEditorUIManager : null , // TODO: Implement this
164
165
div : layer ,
165
166
l10n : null , // TODO: Implement this
166
167
page,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('default entry', () => {
8
8
} ) ;
9
9
10
10
it ( 'has GlobalWorkerOptions exported properly' , ( ) => {
11
- expect ( typeof pdfjs . GlobalWorkerOptions ) . toBe ( 'object ' ) ;
11
+ expect ( typeof pdfjs . GlobalWorkerOptions ) . toBe ( 'function ' ) ;
12
12
} ) ;
13
13
} ) ;
14
14
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import type {
5
5
PasswordResponses ,
6
6
} from 'pdfjs-dist' ;
7
7
import type {
8
- BinaryData ,
8
+ TypedArray ,
9
9
DocumentInitParameters ,
10
10
RefProxy ,
11
11
StructTreeNode ,
@@ -57,6 +57,8 @@ export type ScrollPageIntoViewArgs = {
57
57
pageNumber : number ;
58
58
} ;
59
59
60
+ type BinaryData = TypedArray | ArrayBuffer | number [ ] | string ;
61
+
60
62
export type Source =
61
63
| { data : BinaryData | undefined }
62
64
| { range : PDFDataRangeTransport }
Original file line number Diff line number Diff line change 1
1
import type { PDFDataRangeTransport } from 'pdfjs-dist' ;
2
- import type { BinaryData } from 'pdfjs-dist/types/src/display/api.js' ;
2
+ import type { TypedArray } from 'pdfjs-dist/types/src/display/api.js' ;
3
+
4
+ type BinaryData = TypedArray | ArrayBuffer | number [ ] | string ;
3
5
4
6
export type Source =
5
7
| { data : BinaryData | undefined }
Original file line number Diff line number Diff line change @@ -4269,10 +4269,10 @@ __metadata:
4269
4269
languageName : node
4270
4270
linkType : hard
4271
4271
4272
- " path2d-polyfill @npm:^2.0.1 " :
4273
- version : 2.0.1
4274
- resolution : " path2d-polyfill @npm:2.0.1 "
4275
- checksum : 10c0/b6d8c0764f65438cd884ef3b62c5af07d4f526b379c4c804effc26dd17936f18076941941f9e804c0df96d39720f155e9f0723e4b30feaee152ea4a441df023e
4272
+ " path2d@npm:^0. 2.0 " :
4273
+ version : 0. 2.0
4274
+ resolution : " path2d@npm:0. 2.0"
4275
+ checksum : 10c0/fcf95e10a28ef9277a8e60c1df2b5279facb5894efa6a6c5225ec86b502aead1ea8fa90a3b21a7b5864e7a0ffb1405b360dc757c88794c5965bd43aa51b3c4f1
4276
4276
languageName : node
4277
4277
linkType : hard
4278
4278
@@ -4290,18 +4290,18 @@ __metadata:
4290
4290
languageName : node
4291
4291
linkType : hard
4292
4292
4293
- " pdfjs-dist@npm:4.0.379 " :
4294
- version : 4.0.379
4295
- resolution : " pdfjs-dist@npm:4.0.379 "
4293
+ " pdfjs-dist@npm:4.2.67 " :
4294
+ version : 4.2.67
4295
+ resolution : " pdfjs-dist@npm:4.2.67 "
4296
4296
dependencies :
4297
4297
canvas : " npm:^2.11.2"
4298
- path2d-polyfill : " npm:^2.0.1 "
4298
+ path2d : " npm:^0. 2.0"
4299
4299
dependenciesMeta :
4300
4300
canvas :
4301
4301
optional : true
4302
- path2d-polyfill :
4302
+ path2d :
4303
4303
optional : true
4304
- checksum : 10c0/ac6bdc600ead7811482d5265a8b19ba40742babd0939823b31bda0fbc371d21ede86b173ef9c2adb3dbfcb27eab20e6cdba0a8811196e893d138bd280f2a7028
4304
+ checksum : 10c0/1d6d427a2253b2c15cbb168d7f95fc26428134ff61113359653c36f92475a4abd8552913b1492489933304ccc4285328b5cbcff36825ae533b8cd4c279881348
4305
4305
languageName : node
4306
4306
linkType : hard
4307
4307
@@ -4522,7 +4522,7 @@ __metadata:
4522
4522
make-event-props : " npm:^1.6.0"
4523
4523
merge-refs : " npm:^1.3.0"
4524
4524
nodemon : " npm:^3.0.0"
4525
- pdfjs-dist : " npm:4.0.379 "
4525
+ pdfjs-dist : " npm:4.2.67 "
4526
4526
prettier : " npm:^3.2.0"
4527
4527
react : " npm:^18.2.0"
4528
4528
react-dom : " npm:^18.2.0"
You can’t perform that action at this time.
0 commit comments