File tree Expand file tree Collapse file tree 4 files changed +151
-104
lines changed Expand file tree Collapse file tree 4 files changed +151
-104
lines changed Original file line number Diff line number Diff line change 7575 "@lumino/domutils" : " ^1.2.3" ,
7676 "@lumino/messaging" : " ^1.4.3" ,
7777 "@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"
8182 },
8283 "devDependencies" : {
8384 "@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 " ,
8687 "@typescript-eslint/eslint-plugin" : " ^4.13.0" ,
8788 "@typescript-eslint/parser" : " ^4.13.0" ,
8889 "eslint" : " ^7.5.0" ,
99100 "tslint-plugin-prettier" : " ^2.0.1" ,
100101 "typescript" : " ~5.0.4"
101102 },
102- "resolutions" : {
103- "@types/react" : " ~18.2.6"
104- },
105103 "jupyterlab" : {
106104 "extension" : " lib/index.js" ,
107105 "schemaDir" : " schema" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class ErrorPanel extends Widget {
4646 }
4747}
4848
49- export interface ILatexProps extends React . Props < LatexError > {
49+ export interface ILatexProps {
5050 text : string ;
5151}
5252
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ export class PDFJSViewer extends Widget {
235235 } ;
236236
237237 this . _getDocument ( this . _objectUrl )
238+ . promise
238239 . then ( ( pdfDocument : any ) => {
239240 this . _pdfDocument = pdfDocument ;
240241 this . _viewer ! . setDocument ( pdfDocument ) ;
You can’t perform that action at this time.
0 commit comments