@jupyterlab/codeeditor 4.6.0-beta.0 → 4.6.0-beta.1
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.
- package/package.json +11 -11
- package/src/jsoneditor.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/codeeditor",
|
|
3
|
-
"version": "4.6.0-beta.
|
|
3
|
+
"version": "4.6.0-beta.1",
|
|
4
4
|
"description": "JupyterLab - Abstract Code Editor",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -42,24 +42,24 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@codemirror/state": "^6.5.4",
|
|
45
|
-
"@jupyter/ydoc": "^
|
|
46
|
-
"@jupyterlab/apputils": "^4.7.0-beta.
|
|
47
|
-
"@jupyterlab/coreutils": "^6.6.0-beta.
|
|
48
|
-
"@jupyterlab/nbformat": "^4.6.0-beta.
|
|
49
|
-
"@jupyterlab/observables": "^5.6.0-beta.
|
|
50
|
-
"@jupyterlab/statusbar": "^4.6.0-beta.
|
|
51
|
-
"@jupyterlab/translation": "^4.6.0-beta.
|
|
52
|
-
"@jupyterlab/ui-components": "^4.6.0-beta.
|
|
45
|
+
"@jupyter/ydoc": "^4.0.0-a3",
|
|
46
|
+
"@jupyterlab/apputils": "^4.7.0-beta.1",
|
|
47
|
+
"@jupyterlab/coreutils": "^6.6.0-beta.1",
|
|
48
|
+
"@jupyterlab/nbformat": "^4.6.0-beta.1",
|
|
49
|
+
"@jupyterlab/observables": "^5.6.0-beta.1",
|
|
50
|
+
"@jupyterlab/statusbar": "^4.6.0-beta.1",
|
|
51
|
+
"@jupyterlab/translation": "^4.6.0-beta.1",
|
|
52
|
+
"@jupyterlab/ui-components": "^4.6.0-beta.1",
|
|
53
53
|
"@lumino/coreutils": "^2.2.2",
|
|
54
54
|
"@lumino/disposable": "^2.1.5",
|
|
55
55
|
"@lumino/dragdrop": "^2.1.8",
|
|
56
56
|
"@lumino/messaging": "^2.0.4",
|
|
57
57
|
"@lumino/signaling": "^2.1.5",
|
|
58
|
-
"@lumino/widgets": "^2.
|
|
58
|
+
"@lumino/widgets": "^2.8.0",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@jupyterlab/testing": "^4.6.0-beta.
|
|
62
|
+
"@jupyterlab/testing": "^4.6.0-beta.1",
|
|
63
63
|
"@types/jest": "^29.2.0",
|
|
64
64
|
"jest": "^29.2.0",
|
|
65
65
|
"rimraf": "~5.0.5",
|
package/src/jsoneditor.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
4
|
import type { IObservableJSON } from '@jupyterlab/observables';
|
|
5
|
-
import type {
|
|
5
|
+
import type { ISharedFile, SourceChange } from '@jupyter/ydoc';
|
|
6
6
|
import type { ITranslator, TranslationBundle } from '@jupyterlab/translation';
|
|
7
7
|
import { nullTranslator } from '@jupyterlab/translation';
|
|
8
8
|
import { checkIcon, undoIcon } from '@jupyterlab/ui-components';
|
|
@@ -219,7 +219,7 @@ export class JSONEditor extends Widget {
|
|
|
219
219
|
/**
|
|
220
220
|
* Handle change events.
|
|
221
221
|
*/
|
|
222
|
-
private _onModelChanged(model:
|
|
222
|
+
private _onModelChanged(model: ISharedFile, change: SourceChange): void {
|
|
223
223
|
if (change.sourceChange) {
|
|
224
224
|
let valid = true;
|
|
225
225
|
try {
|