Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 689f4f6

Browse files
authored
Merge pull request #13 from ian-r-rose/jlabv0.32
Updates for JupyterLab v0.32
2 parents 8522d62 + 5c66899 commit 689f4f6

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Here is an animation showing the extension's use, with a notebook from the
1212

1313
## Prerequisites
1414

15-
* JupyterLab v0.31
15+
* JupyterLab v0.32
1616

1717
## Installation
1818

package.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-toc",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": false,
55
"description": "Table of Contents extension for JupyterLab",
66
"keywords": [
@@ -30,27 +30,30 @@
3030
"watch": "tsc -w"
3131
},
3232
"dependencies": {
33-
"@jupyterlab/application": "^0.15.0",
34-
"@jupyterlab/apputils": "^0.15.5",
35-
"@jupyterlab/cells": "^0.15.4",
36-
"@jupyterlab/coreutils": "^1.0.10",
37-
"@jupyterlab/docmanager": "^0.15.5",
38-
"@jupyterlab/fileeditor": "^0.15.4",
39-
"@jupyterlab/notebook": "^0.15.7",
40-
"@jupyterlab/rendermime": "^0.15.4",
33+
"@jupyterlab/application": "^0.16.0",
34+
"@jupyterlab/apputils": "^0.16.2",
35+
"@jupyterlab/cells": "^0.16",
36+
"@jupyterlab/coreutils": "^1.0",
37+
"@jupyterlab/docmanager": "^0.16",
38+
"@jupyterlab/fileeditor": "^0.16",
39+
"@jupyterlab/notebook": "^0.16",
40+
"@jupyterlab/rendermime": "^0.16",
4141
"@phosphor/algorithm": "^1.1.2",
4242
"@phosphor/coreutils": "^1.3.0",
4343
"@phosphor/messaging": "^1.2.2",
4444
"@phosphor/widgets": "^1.5.0",
45-
"react": "^16.2.0",
46-
"react-dom": "^16.2.0"
45+
"react": "~16.2.0",
46+
"react-dom": "~16.2.0"
4747
},
4848
"devDependencies": {
49-
"@types/react": "^16.0.40",
50-
"@types/react-dom": "^16.0.4",
49+
"@types/react": "~16.0.19",
50+
"@types/react-dom": "~16.0.5",
5151
"rimraf": "^2.6.1",
5252
"typescript": "~2.6.0"
5353
},
54+
"resolutions": {
55+
"@types/react": "~16.0.19"
56+
},
5457
"jupyterlab": {
5558
"extension": "lib/extension.js"
5659
}

src/generators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function createMarkdownGenerator(
9191
// one of a few markdown variants.
9292
let mime = editor.model.mimeType;
9393
return (
94-
mime === 'text/x-ipthongfm' ||
94+
mime === 'text/x-ipythongfm' ||
9595
mime === 'text/x-markdown' ||
9696
mime === 'text/x-gfm' ||
9797
mime === 'text/markdown'

0 commit comments

Comments
 (0)