@jupyterlab/json-extension 4.7.0-alpha.0 → 4.7.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -17
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -6,32 +6,20 @@ This extension is in the official JupyterLab distribution.
6
6
 
7
7
  ## Usage
8
8
 
9
- To render [JSON-able dict or list](https://ipython.org/ipython-doc/3/api/generated/IPython.display.html#IPython.display.JSON) in IPython:
9
+ To render [JSON-able dict or list](https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html#IPython.display.JSON) in IPython:
10
10
 
11
11
  ```python
12
12
  from IPython.display import JSON
13
13
 
14
- JSON({
15
- "string": "string",
16
- "array": [1, 2, 3],
17
- "bool": True,
18
- "object": {
19
- "foo": "bar"
20
- }
21
- })
14
+ JSON({"string": "string", "array": [1, 2, 3], "bool": True, "object": {"foo": "bar"}})
22
15
  ```
23
16
 
24
17
  To render a fully expanded tree:
25
18
 
26
19
  ```python
27
- JSON({
28
- "string": "string",
29
- "array": [1, 2, 3],
30
- "bool": True,
31
- "object": {
32
- "foo": "bar"
33
- }
34
- }, expanded=True)
20
+ JSON(
21
+ {"string": "string", "array": [1, 2, 3], "bool": True, "object": {"foo": "bar"}}, expanded=True
22
+ )
35
23
  ```
36
24
 
37
25
  To render a `.json` file, simply open it:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/json-extension",
3
- "version": "4.7.0-alpha.0",
3
+ "version": "4.7.0-alpha.2",
4
4
  "description": "JupyterLab - JSON Renderer",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -32,15 +32,15 @@
32
32
  "watch": "tsc -b --watch"
33
33
  },
34
34
  "dependencies": {
35
- "@jupyterlab/apputils": "^4.8.0-alpha.0",
36
- "@jupyterlab/codemirror": "^4.7.0-alpha.0",
37
- "@jupyterlab/rendermime-interfaces": "^3.15.0-alpha.0",
38
- "@jupyterlab/translation": "^4.7.0-alpha.0",
39
- "@jupyterlab/ui-components": "^4.7.0-alpha.0",
35
+ "@jupyterlab/apputils": "^4.8.0-alpha.2",
36
+ "@jupyterlab/codemirror": "^4.7.0-alpha.2",
37
+ "@jupyterlab/rendermime-interfaces": "^3.15.0-alpha.2",
38
+ "@jupyterlab/translation": "^4.7.0-alpha.2",
39
+ "@jupyterlab/ui-components": "^4.7.0-alpha.2",
40
40
  "@lezer/highlight": "^1.2.0",
41
- "@lumino/coreutils": "^2.2.2",
42
- "@lumino/messaging": "^2.0.4",
43
- "@lumino/widgets": "^2.8.0",
41
+ "@lumino/coreutils": "^2.2.3",
42
+ "@lumino/messaging": "^2.0.5",
43
+ "@lumino/widgets": "^2.9.0",
44
44
  "react": "^18.2.0",
45
45
  "react-dom": "^18.2.0",
46
46
  "react-highlight-words": "^0.20.0",