File tree 4 files changed +151
-104
lines changed
4 files changed +151
-104
lines changed Original file line number Diff line number Diff line change 75
75
"@lumino/domutils" : " ^1.2.3" ,
76
76
"@lumino/messaging" : " ^1.4.3" ,
77
77
"@lumino/widgets" : " ^1.16.1" ,
78
- "pdfjs-dist" : " 2.0.943" ,
79
- "react" : " ^17.0.1" ,
80
- "react-dom" : " ^17.0.1"
78
+ "pdfjs-dist" : " 2.4.456" ,
79
+ "react" : " ^17.0.2" ,
80
+ "react-dom" : " ^17.0.2" ,
81
+ "yjs" : " ^13.6.1"
81
82
},
82
83
"devDependencies" : {
83
84
"@jupyterlab/builder" : " ^3.6.3" ,
84
- "@types/react" : " ^16.9.16 " ,
85
- "@types/react-dom" : " ^16.9.4 " ,
85
+ "@types/react" : " ^17.0.2 " ,
86
+ "@types/react-dom" : " ^17.0.2 " ,
86
87
"@typescript-eslint/eslint-plugin" : " ^4.13.0" ,
87
88
"@typescript-eslint/parser" : " ^4.13.0" ,
88
89
"eslint" : " ^7.5.0" ,
99
100
"tslint-plugin-prettier" : " ^2.0.1" ,
100
101
"typescript" : " ~5.0.4"
101
102
},
102
- "resolutions" : {
103
- "@types/react" : " ~18.2.6"
104
- },
105
103
"jupyterlab" : {
106
104
"extension" : " lib/index.js" ,
107
105
"schemaDir" : " schema" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class ErrorPanel extends Widget {
46
46
}
47
47
}
48
48
49
- export interface ILatexProps extends React . Props < LatexError > {
49
+ export interface ILatexProps {
50
50
text : string ;
51
51
}
52
52
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ export class PDFJSViewer extends Widget {
235
235
} ;
236
236
237
237
this . _getDocument ( this . _objectUrl )
238
+ . promise
238
239
. then ( ( pdfDocument : any ) => {
239
240
this . _pdfDocument = pdfDocument ;
240
241
this . _viewer ! . setDocument ( pdfDocument ) ;
You can’t perform that action at this time.
0 commit comments