Skip to content

Commit

Permalink
update dependencies (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktaletsk authored May 19, 2023
1 parent 977aa81 commit 22c68c6
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 104 deletions.
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@
"@lumino/domutils": "^1.2.3",
"@lumino/messaging": "^1.4.3",
"@lumino/widgets": "^1.16.1",
"pdfjs-dist": "2.0.943",
"react": "^17.0.1",
"react-dom": "^17.0.1"
"pdfjs-dist": "2.4.456",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"yjs": "^13.6.1"
},
"devDependencies": {
"@jupyterlab/builder": "^3.6.3",
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"eslint": "^7.5.0",
Expand All @@ -99,9 +100,6 @@
"tslint-plugin-prettier": "^2.0.1",
"typescript": "~5.0.4"
},
"resolutions": {
"@types/react": "~18.2.6"
},
"jupyterlab": {
"extension": "lib/index.js",
"schemaDir": "schema",
Expand Down
2 changes: 1 addition & 1 deletion src/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ErrorPanel extends Widget {
}
}

export interface ILatexProps extends React.Props<LatexError> {
export interface ILatexProps {
text: string;
}

Expand Down
1 change: 1 addition & 0 deletions src/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export class PDFJSViewer extends Widget {
};

this._getDocument(this._objectUrl)
.promise
.then((pdfDocument: any) => {
this._pdfDocument = pdfDocument;
this._viewer!.setDocument(pdfDocument);
Expand Down
Loading

0 comments on commit 22c68c6

Please sign in to comment.