@jupyterlab/debugger 4.6.0-alpha.2 → 4.6.0-alpha.4
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/lib/config.d.ts +1 -1
- package/lib/dialogs/evaluate.d.ts +2 -2
- package/lib/dialogs/evaluate.js.map +1 -1
- package/lib/displayregistry.d.ts +1 -1
- package/lib/factory.d.ts +3 -2
- package/lib/factory.js.map +1 -1
- package/lib/handler.d.ts +9 -9
- package/lib/handler.js.map +1 -1
- package/lib/handlers/console.d.ts +4 -4
- package/lib/handlers/console.js.map +1 -1
- package/lib/handlers/editor.d.ts +5 -5
- package/lib/handlers/editor.js.map +1 -1
- package/lib/handlers/file.d.ts +5 -5
- package/lib/handlers/file.js.map +1 -1
- package/lib/handlers/notebook.d.ts +4 -4
- package/lib/handlers/notebook.js.map +1 -1
- package/lib/handlers/pausedoverlay.d.ts +3 -3
- package/lib/handlers/pausedoverlay.js.map +1 -1
- package/lib/hash.js +2 -1
- package/lib/hash.js.map +1 -1
- package/lib/model.d.ts +3 -3
- package/lib/model.js.map +1 -1
- package/lib/panels/breakpoints/body.d.ts +2 -2
- package/lib/panels/breakpoints/body.js.map +1 -1
- package/lib/panels/breakpoints/index.d.ts +4 -4
- package/lib/panels/breakpoints/index.js.map +1 -1
- package/lib/panels/breakpoints/model.d.ts +3 -2
- package/lib/panels/breakpoints/model.js.map +1 -1
- package/lib/panels/breakpoints/pauseonexceptions.d.ts +2 -2
- package/lib/panels/callstack/body.d.ts +1 -1
- package/lib/panels/callstack/index.d.ts +4 -4
- package/lib/panels/callstack/index.js.map +1 -1
- package/lib/panels/callstack/model.d.ts +4 -4
- package/lib/panels/callstack/model.js.map +1 -1
- package/lib/panels/kernelSources/body.d.ts +2 -2
- package/lib/panels/kernelSources/body.js.map +1 -1
- package/lib/panels/kernelSources/filter.d.ts +2 -2
- package/lib/panels/kernelSources/index.d.ts +2 -2
- package/lib/panels/kernelSources/index.js.map +1 -1
- package/lib/panels/kernelSources/model.d.ts +2 -2
- package/lib/panels/kernelSources/model.js.map +1 -1
- package/lib/panels/sources/body.d.ts +2 -2
- package/lib/panels/sources/body.js.map +1 -1
- package/lib/panels/sources/index.d.ts +3 -3
- package/lib/panels/sources/index.js.map +1 -1
- package/lib/panels/sources/model.d.ts +3 -3
- package/lib/panels/sources/model.js.map +1 -1
- package/lib/panels/sources/sourcepath.d.ts +2 -2
- package/lib/panels/variables/grid.d.ts +5 -5
- package/lib/panels/variables/gridpanel.d.ts +4 -4
- package/lib/panels/variables/gridpanel.js +5 -2
- package/lib/panels/variables/gridpanel.js.map +1 -1
- package/lib/panels/variables/index.d.ts +5 -5
- package/lib/panels/variables/index.js +1 -0
- package/lib/panels/variables/index.js.map +1 -1
- package/lib/panels/variables/mimerenderer.d.ts +3 -3
- package/lib/panels/variables/mimerenderer.js.map +1 -1
- package/lib/panels/variables/model.d.ts +2 -2
- package/lib/panels/variables/model.js.map +1 -1
- package/lib/panels/variables/scope.d.ts +4 -4
- package/lib/panels/variables/scope.js.map +1 -1
- package/lib/panels/variables/tree.d.ts +3 -3
- package/lib/panels/variables/tree.js +1 -1
- package/lib/panels/variables/tree.js.map +1 -1
- package/lib/service.d.ts +9 -8
- package/lib/service.js +4 -5
- package/lib/service.js.map +1 -1
- package/lib/session.d.ts +5 -5
- package/lib/session.js.map +1 -1
- package/lib/sidebar.d.ts +4 -4
- package/lib/sidebar.js.map +1 -1
- package/lib/sources.d.ts +6 -6
- package/lib/sources.js.map +1 -1
- package/lib/tokens.d.ts +11 -10
- package/lib/tokens.js.map +1 -1
- package/package.json +22 -22
- package/src/config.ts +1 -1
- package/src/dialogs/evaluate.ts +4 -3
- package/src/displayregistry.ts +1 -1
- package/src/factory.ts +3 -6
- package/src/handler.ts +12 -11
- package/src/handlers/console.ts +8 -6
- package/src/handlers/editor.ts +10 -18
- package/src/handlers/file.ts +6 -5
- package/src/handlers/notebook.ts +8 -10
- package/src/handlers/pausedoverlay.ts +4 -7
- package/src/hash.ts +2 -1
- package/src/model.ts +4 -3
- package/src/panels/breakpoints/body.tsx +3 -6
- package/src/panels/breakpoints/index.ts +5 -4
- package/src/panels/breakpoints/model.ts +3 -2
- package/src/panels/breakpoints/pauseonexceptions.tsx +2 -2
- package/src/panels/callstack/body.tsx +1 -1
- package/src/panels/callstack/index.ts +5 -4
- package/src/panels/callstack/model.ts +5 -4
- package/src/panels/kernelSources/body.tsx +4 -3
- package/src/panels/kernelSources/filter.tsx +2 -2
- package/src/panels/kernelSources/index.tsx +3 -2
- package/src/panels/kernelSources/model.ts +3 -2
- package/src/panels/sources/body.ts +5 -2
- package/src/panels/sources/index.tsx +4 -3
- package/src/panels/sources/model.ts +4 -3
- package/src/panels/sources/sourcepath.tsx +2 -2
- package/src/panels/variables/grid.ts +5 -5
- package/src/panels/variables/gridpanel.ts +12 -11
- package/src/panels/variables/index.ts +7 -5
- package/src/panels/variables/mimerenderer.ts +5 -7
- package/src/panels/variables/model.ts +3 -2
- package/src/panels/variables/scope.tsx +5 -8
- package/src/panels/variables/tree.tsx +7 -6
- package/src/service.ts +15 -17
- package/src/session.ts +7 -5
- package/src/sidebar.ts +5 -4
- package/src/sources.ts +9 -6
- package/src/tokens.ts +15 -15
- package/style/variables.css +2 -0
package/lib/session.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;
|
|
1
|
+
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAK3D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM3C;;GAEG;AACH,MAAM,OAAO,eAAe;IAC1B;;;;OAIG;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CAA8C,CAAC,CAC1D,CAAC;QACJ,CAAC;QACD,MAAM,KAAK,GAAG,IAAI,eAAe,EAAgC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,CAAC,OAAO,GAAG,CAAC,GAAiC,EAAQ,EAAE;YAC3D,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC,CAAC;QACF,MAAM,MAAM,CAAC,IAAI,CAAC;QAClB,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CAoBF"}
|
package/lib/sidebar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IThemeManager } from '@jupyterlab/apputils';
|
|
2
|
-
import { IEditorServices } from '@jupyterlab/codeeditor';
|
|
3
|
-
import { ITranslator } from '@jupyterlab/translation';
|
|
1
|
+
import type { IThemeManager } from '@jupyterlab/apputils';
|
|
2
|
+
import type { IEditorServices } from '@jupyterlab/codeeditor';
|
|
3
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
4
4
|
import { SidePanel } from '@jupyterlab/ui-components';
|
|
5
5
|
import { Widget } from '@lumino/widgets';
|
|
6
6
|
import { Breakpoints as BreakpointsPanel } from './panels/breakpoints';
|
|
@@ -8,7 +8,7 @@ import { Callstack as CallstackPanel } from './panels/callstack';
|
|
|
8
8
|
import { Sources as SourcesPanel } from './panels/sources';
|
|
9
9
|
import { KernelSources as KernelSourcesPanel } from './panels/kernelSources';
|
|
10
10
|
import { Variables as VariablesPanel } from './panels/variables';
|
|
11
|
-
import { IDebugger } from './tokens';
|
|
11
|
+
import type { IDebugger } from './tokens';
|
|
12
12
|
/**
|
|
13
13
|
* A debugger sidebar.
|
|
14
14
|
*/
|
package/lib/sidebar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.js","sourceRoot":"","sources":["../src/sidebar.ts"],"names":[],"mappings":"AAAA,0CAA0C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AAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACrC,CAAC;CAuBF;AAED;;GAEG;AACH,WAAiB,eAAe;IAoC9B;;OAEG;IACH,MAAa,MAAO,SAAQ,MAAM;QAChC;;WAEG;QACH;YACE,KAAK,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YACxC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;gBAC7B,IAAI,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;YAC3C,CAAC,CAAC,CAAC;QACL,CAAC;KACF;IAVY,sBAAM,SAUlB,CAAA;AACH,CAAC,EAlDgB,eAAe,KAAf,eAAe,QAkD/B;AAED;;GAEG;AACH,IAAU,OAAO,CAYhB;AAZD,WAAU,OAAO;IACf;;OAEG;IACH,SAAgB,YAAY;QAC1B,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAE3C,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC;QACxB,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAEzC,OAAO,KAAK,CAAC;IACf,CAAC;IAPe,oBAAY,eAO3B,CAAA;AACH,CAAC,EAZS,OAAO,KAAP,OAAO,QAYhB"}
|
package/lib/sources.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JupyterFrontEnd } from '@jupyterlab/application';
|
|
2
|
-
import { IEditorServices } from '@jupyterlab/codeeditor';
|
|
3
|
-
import { IConsoleTracker } from '@jupyterlab/console';
|
|
4
|
-
import { IEditorTracker } from '@jupyterlab/fileeditor';
|
|
5
|
-
import { INotebookTracker } from '@jupyterlab/notebook';
|
|
6
|
-
import { IDebugger } from './tokens';
|
|
1
|
+
import type { JupyterFrontEnd } from '@jupyterlab/application';
|
|
2
|
+
import type { IEditorServices } from '@jupyterlab/codeeditor';
|
|
3
|
+
import type { IConsoleTracker } from '@jupyterlab/console';
|
|
4
|
+
import type { IEditorTracker } from '@jupyterlab/fileeditor';
|
|
5
|
+
import type { INotebookTracker } from '@jupyterlab/notebook';
|
|
6
|
+
import type { IDebugger } from './tokens';
|
|
7
7
|
/**
|
|
8
8
|
* The source and editor manager for a debugger instance.
|
|
9
9
|
*/
|
package/lib/sources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../src/sources.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAG3D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../src/sources.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAG3D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQ/E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D;;GAEG;AACH,MAAM,OAAO,eAAe;IAC1B;;;;OAIG;IACH,YAAY,OAAiC;;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,gBAAgB,GAAG,MAAA,OAAO,CAAC,eAAe,mCAAI,IAAI,CAAC;QACxD,IAAI,CAAC,eAAe,GAAG,MAAA,OAAO,CAAC,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,CAAC,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,sBAAsB,GAAG,IAAI,aAAa,CAE7C,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;OAMG;IACH,IAAI,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CAAC,CAAC;gBAClE,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,WAAW;aAC9B,CAAC,CACH,CAAC;YACF,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACtC,CAAC;QACH,CAAC,CAAC,CAAC;QACH,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;;;;;OAMG;IACK,UAAU,CAAC,IAAY,EAAE,MAAc;QAC7C,IAAI,CAAC;YACH,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC9C,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;CAWF"}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { CodeEditor, CodeEditorWrapper } from '@jupyterlab/codeeditor';
|
|
2
|
-
import { KernelMessage, Session } from '@jupyterlab/services';
|
|
3
|
-
import { ISharedText } from '@jupyter/ydoc';
|
|
4
|
-
import { ReadonlyJSONObject
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import type { CodeEditor, CodeEditorWrapper } from '@jupyterlab/codeeditor';
|
|
2
|
+
import type { KernelMessage, Session } from '@jupyterlab/services';
|
|
3
|
+
import type { ISharedText } from '@jupyter/ydoc';
|
|
4
|
+
import type { ReadonlyJSONObject } from '@lumino/coreutils';
|
|
5
|
+
import { Token } from '@lumino/coreutils';
|
|
6
|
+
import type { IDisposable, IObservableDisposable } from '@lumino/disposable';
|
|
7
|
+
import type { ISignal, Signal } from '@lumino/signaling';
|
|
8
|
+
import type { Panel } from '@lumino/widgets';
|
|
9
|
+
import type { DebugProtocol } from '@vscode/debugprotocol';
|
|
10
|
+
import type { DebuggerHandler } from './handler';
|
|
11
|
+
import type { IDebuggerSourceDisplayProvider } from './displayregistry';
|
|
11
12
|
/**
|
|
12
13
|
* An interface describing an application's visual debugger.
|
|
13
14
|
*/
|
package/lib/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAS3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AA+mC1C;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,KAAK,CAChC,gCAAgC,EAChC,4BAA4B,CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,sCAAsC,EACtC,iDAAiD,CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,EACvC,6CAA6C,CAC9C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,EACvC,qCAAqC,CACtC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,KAAK,CACvC,uCAAuC,EACvC,2CAA2C,CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,KAAK,CAC5C,4CAA4C,EAC5C,2BAA2B,CAC5B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,KAAK,CAC/C,+CAA+C,EAC/C,2EAA2E,CAC5E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/debugger",
|
|
3
|
-
"version": "4.6.0-alpha.
|
|
3
|
+
"version": "4.6.0-alpha.4",
|
|
4
4
|
"description": "JupyterLab - Debugger Extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -48,44 +48,44 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@codemirror/state": "^6.5.4",
|
|
51
|
-
"@codemirror/view": "^6.39.
|
|
51
|
+
"@codemirror/view": "^6.39.14",
|
|
52
52
|
"@jupyter/react-components": "^0.16.6",
|
|
53
53
|
"@jupyter/ydoc": "^3.1.0",
|
|
54
|
-
"@jupyterlab/application": "^4.6.0-alpha.
|
|
55
|
-
"@jupyterlab/apputils": "^4.7.0-alpha.
|
|
56
|
-
"@jupyterlab/cells": "^4.6.0-alpha.
|
|
57
|
-
"@jupyterlab/codeeditor": "^4.6.0-alpha.
|
|
58
|
-
"@jupyterlab/codemirror": "^4.6.0-alpha.
|
|
59
|
-
"@jupyterlab/console": "^4.6.0-alpha.
|
|
60
|
-
"@jupyterlab/coreutils": "^6.6.0-alpha.
|
|
61
|
-
"@jupyterlab/docregistry": "^4.6.0-alpha.
|
|
62
|
-
"@jupyterlab/fileeditor": "^4.6.0-alpha.
|
|
63
|
-
"@jupyterlab/notebook": "^4.6.0-alpha.
|
|
64
|
-
"@jupyterlab/observables": "^5.6.0-alpha.
|
|
65
|
-
"@jupyterlab/rendermime": "^4.6.0-alpha.
|
|
66
|
-
"@jupyterlab/services": "^7.6.0-alpha.
|
|
67
|
-
"@jupyterlab/settingregistry": "^4.6.0-alpha.
|
|
68
|
-
"@jupyterlab/translation": "^4.6.0-alpha.
|
|
69
|
-
"@jupyterlab/ui-components": "^4.6.0-alpha.
|
|
54
|
+
"@jupyterlab/application": "^4.6.0-alpha.4",
|
|
55
|
+
"@jupyterlab/apputils": "^4.7.0-alpha.4",
|
|
56
|
+
"@jupyterlab/cells": "^4.6.0-alpha.4",
|
|
57
|
+
"@jupyterlab/codeeditor": "^4.6.0-alpha.4",
|
|
58
|
+
"@jupyterlab/codemirror": "^4.6.0-alpha.4",
|
|
59
|
+
"@jupyterlab/console": "^4.6.0-alpha.4",
|
|
60
|
+
"@jupyterlab/coreutils": "^6.6.0-alpha.4",
|
|
61
|
+
"@jupyterlab/docregistry": "^4.6.0-alpha.4",
|
|
62
|
+
"@jupyterlab/fileeditor": "^4.6.0-alpha.4",
|
|
63
|
+
"@jupyterlab/notebook": "^4.6.0-alpha.4",
|
|
64
|
+
"@jupyterlab/observables": "^5.6.0-alpha.4",
|
|
65
|
+
"@jupyterlab/rendermime": "^4.6.0-alpha.4",
|
|
66
|
+
"@jupyterlab/services": "^7.6.0-alpha.4",
|
|
67
|
+
"@jupyterlab/settingregistry": "^4.6.0-alpha.4",
|
|
68
|
+
"@jupyterlab/translation": "^4.6.0-alpha.4",
|
|
69
|
+
"@jupyterlab/ui-components": "^4.6.0-alpha.4",
|
|
70
70
|
"@lumino/algorithm": "^2.0.4",
|
|
71
71
|
"@lumino/commands": "^2.3.3",
|
|
72
72
|
"@lumino/coreutils": "^2.2.2",
|
|
73
|
-
"@lumino/datagrid": "^2.5.
|
|
73
|
+
"@lumino/datagrid": "^2.5.6",
|
|
74
74
|
"@lumino/disposable": "^2.1.5",
|
|
75
75
|
"@lumino/messaging": "^2.0.4",
|
|
76
76
|
"@lumino/polling": "^2.1.5",
|
|
77
77
|
"@lumino/signaling": "^2.1.5",
|
|
78
|
-
"@lumino/widgets": "^2.7.
|
|
78
|
+
"@lumino/widgets": "^2.7.5",
|
|
79
79
|
"@vscode/debugprotocol": "^1.51.0",
|
|
80
80
|
"react": "^18.2.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@jupyterlab/testing": "^4.6.0-alpha.
|
|
83
|
+
"@jupyterlab/testing": "^4.6.0-alpha.4",
|
|
84
84
|
"@types/jest": "^29.2.0",
|
|
85
85
|
"jest": "^29.2.0",
|
|
86
86
|
"jest-canvas-mock": "^2.5.2",
|
|
87
87
|
"rimraf": "~5.0.5",
|
|
88
|
-
"typescript": "~5.
|
|
88
|
+
"typescript": "~5.9.3"
|
|
89
89
|
},
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"access": "public"
|
package/src/config.ts
CHANGED
package/src/dialogs/evaluate.ts
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
import { Dialog } from '@jupyterlab/apputils';
|
|
7
7
|
|
|
8
|
-
import { Cell
|
|
8
|
+
import type { Cell } from '@jupyterlab/cells';
|
|
9
|
+
import { CodeCell, CodeCellModel } from '@jupyterlab/cells';
|
|
9
10
|
|
|
10
|
-
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
|
|
11
|
+
import type { IRenderMimeRegistry } from '@jupyterlab/rendermime';
|
|
11
12
|
|
|
12
|
-
import { Message } from '@lumino/messaging';
|
|
13
|
+
import type { Message } from '@lumino/messaging';
|
|
13
14
|
|
|
14
15
|
import { Widget } from '@lumino/widgets';
|
|
15
16
|
|
package/src/displayregistry.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { IDebugger, IDebuggerDisplayRegistry } from './tokens';
|
|
4
|
+
import type { IDebugger, IDebuggerDisplayRegistry } from './tokens';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Interface for display providers that can format debugger source paths.
|
package/src/factory.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
IEditorServices
|
|
8
|
-
} from '@jupyterlab/codeeditor';
|
|
9
|
-
import { IDebugger } from './tokens';
|
|
4
|
+
import type { IEditorServices } from '@jupyterlab/codeeditor';
|
|
5
|
+
import { CodeEditor, CodeEditorWrapper } from '@jupyterlab/codeeditor';
|
|
6
|
+
import type { IDebugger } from './tokens';
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* A widget factory for read only editors.
|
package/src/handler.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { JupyterFrontEnd } from '@jupyterlab/application';
|
|
5
|
-
import { ISessionContext, SessionContext } from '@jupyterlab/apputils';
|
|
6
|
-
import { ConsolePanel } from '@jupyterlab/console';
|
|
7
|
-
import { IChangedArgs } from '@jupyterlab/coreutils';
|
|
8
|
-
import { DocumentWidget } from '@jupyterlab/docregistry';
|
|
9
|
-
import { FileEditor } from '@jupyterlab/fileeditor';
|
|
10
|
-
import { NotebookPanel } from '@jupyterlab/notebook';
|
|
11
|
-
import { Kernel, KernelMessage, Session } from '@jupyterlab/services';
|
|
12
|
-
import { ITranslator
|
|
4
|
+
import type { JupyterFrontEnd } from '@jupyterlab/application';
|
|
5
|
+
import type { ISessionContext, SessionContext } from '@jupyterlab/apputils';
|
|
6
|
+
import type { ConsolePanel } from '@jupyterlab/console';
|
|
7
|
+
import type { IChangedArgs } from '@jupyterlab/coreutils';
|
|
8
|
+
import type { DocumentWidget } from '@jupyterlab/docregistry';
|
|
9
|
+
import type { FileEditor } from '@jupyterlab/fileeditor';
|
|
10
|
+
import type { NotebookPanel } from '@jupyterlab/notebook';
|
|
11
|
+
import type { Kernel, KernelMessage, Session } from '@jupyterlab/services';
|
|
12
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
13
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
13
14
|
import { bugDotIcon, bugIcon, ToolbarButton } from '@jupyterlab/ui-components';
|
|
14
15
|
import { Debugger } from './debugger';
|
|
15
16
|
import { ConsoleHandler } from './handlers/console';
|
|
16
17
|
import { FileHandler } from './handlers/file';
|
|
17
18
|
import { NotebookHandler } from './handlers/notebook';
|
|
18
|
-
import { IDebugger } from './tokens';
|
|
19
|
-
import { ISettingRegistry } from '@jupyterlab/settingregistry';
|
|
19
|
+
import type { IDebugger } from './tokens';
|
|
20
|
+
import type { ISettingRegistry } from '@jupyterlab/settingregistry';
|
|
20
21
|
|
|
21
22
|
const TOOLBAR_DEBUGGER_ITEM = 'debugger-icon';
|
|
22
23
|
|
package/src/handlers/console.ts
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { CodeConsole, ConsolePanel } from '@jupyterlab/console';
|
|
4
|
+
import type { CodeConsole, ConsolePanel } from '@jupyterlab/console';
|
|
5
5
|
|
|
6
|
-
import { Cell, CodeCell } from '@jupyterlab/cells';
|
|
6
|
+
import type { Cell, CodeCell } from '@jupyterlab/cells';
|
|
7
7
|
|
|
8
|
-
import { IObservableMap
|
|
8
|
+
import type { IObservableMap } from '@jupyterlab/observables';
|
|
9
|
+
import { ObservableMap } from '@jupyterlab/observables';
|
|
9
10
|
|
|
10
|
-
import { IDisposable } from '@lumino/disposable';
|
|
11
|
+
import type { IDisposable } from '@lumino/disposable';
|
|
11
12
|
|
|
12
13
|
import { Signal } from '@lumino/signaling';
|
|
13
14
|
|
|
14
15
|
import { EditorHandler } from '../handlers/editor';
|
|
15
16
|
|
|
16
|
-
import { IDebugger } from '../tokens';
|
|
17
|
-
import { ITranslator
|
|
17
|
+
import type { IDebugger } from '../tokens';
|
|
18
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
19
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
18
20
|
import { DebuggerPausedOverlay } from './pausedoverlay';
|
|
19
21
|
|
|
20
22
|
/**
|
package/src/handlers/editor.ts
CHANGED
|
@@ -1,38 +1,31 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { CodeEditor } from '@jupyterlab/codeeditor';
|
|
4
|
+
import type { CodeEditor } from '@jupyterlab/codeeditor';
|
|
5
5
|
|
|
6
|
-
import { CodeMirrorEditor } from '@jupyterlab/codemirror';
|
|
6
|
+
import type { CodeMirrorEditor } from '@jupyterlab/codemirror';
|
|
7
7
|
|
|
8
8
|
import { ActivityMonitor } from '@jupyterlab/coreutils';
|
|
9
9
|
|
|
10
|
-
import { IDisposable } from '@lumino/disposable';
|
|
10
|
+
import type { IDisposable } from '@lumino/disposable';
|
|
11
11
|
|
|
12
12
|
import { Signal } from '@lumino/signaling';
|
|
13
13
|
|
|
14
|
-
import { ISharedText, SourceChange } from '@jupyter/ydoc';
|
|
14
|
+
import type { ISharedText, SourceChange } from '@jupyter/ydoc';
|
|
15
15
|
|
|
16
|
+
import type { Line, Range, StateEffectType } from '@codemirror/state';
|
|
16
17
|
import {
|
|
17
18
|
Compartment,
|
|
18
|
-
Line,
|
|
19
19
|
Prec,
|
|
20
|
-
Range,
|
|
21
20
|
RangeSet,
|
|
22
21
|
StateEffect,
|
|
23
|
-
StateEffectType,
|
|
24
22
|
StateField
|
|
25
23
|
} from '@codemirror/state';
|
|
26
24
|
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
gutter,
|
|
32
|
-
GutterMarker
|
|
33
|
-
} from '@codemirror/view';
|
|
34
|
-
|
|
35
|
-
import { IDebugger } from '../tokens';
|
|
25
|
+
import type { DecorationSet } from '@codemirror/view';
|
|
26
|
+
import { Decoration, EditorView, gutter, GutterMarker } from '@codemirror/view';
|
|
27
|
+
|
|
28
|
+
import type { IDebugger } from '../tokens';
|
|
36
29
|
import {
|
|
37
30
|
breakpointIcon,
|
|
38
31
|
selectedBreakpointIcon
|
|
@@ -306,8 +299,7 @@ export class EditorHandler implements IDisposable {
|
|
|
306
299
|
let clickedLine = editor.state.doc.lineAt(position);
|
|
307
300
|
let clickedLineNumber = clickedLine.number;
|
|
308
301
|
let targetLine: Line | undefined = undefined;
|
|
309
|
-
let isLineEmpty: boolean =
|
|
310
|
-
false; /* is true is the clicked line of code is empty */
|
|
302
|
+
let isLineEmpty: boolean = false; /* is true is the clicked line of code is empty */
|
|
311
303
|
if (clickedLine.text.trim() === '') {
|
|
312
304
|
isLineEmpty = true;
|
|
313
305
|
while (clickedLineNumber > 1) {
|
package/src/handlers/file.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { DocumentWidget } from '@jupyterlab/docregistry';
|
|
4
|
+
import type { DocumentWidget } from '@jupyterlab/docregistry';
|
|
5
5
|
|
|
6
|
-
import { FileEditor } from '@jupyterlab/fileeditor';
|
|
6
|
+
import type { FileEditor } from '@jupyterlab/fileeditor';
|
|
7
7
|
|
|
8
|
-
import { IDisposable } from '@lumino/disposable';
|
|
8
|
+
import type { IDisposable } from '@lumino/disposable';
|
|
9
9
|
|
|
10
10
|
import { Signal } from '@lumino/signaling';
|
|
11
11
|
|
|
12
12
|
import { EditorHandler } from '../handlers/editor';
|
|
13
13
|
|
|
14
|
-
import { IDebugger } from '../tokens';
|
|
15
|
-
import { ITranslator
|
|
14
|
+
import type { IDebugger } from '../tokens';
|
|
15
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
16
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
16
17
|
import { DebuggerPausedOverlay } from './pausedoverlay';
|
|
17
18
|
|
|
18
19
|
/**
|
package/src/handlers/notebook.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { Cell, CodeCell, ICellModel } from '@jupyterlab/cells';
|
|
5
|
-
import { NotebookPanel } from '@jupyterlab/notebook';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
ObservableMap
|
|
10
|
-
} from '@jupyterlab/observables';
|
|
11
|
-
import { IDisposable } from '@lumino/disposable';
|
|
4
|
+
import type { Cell, CodeCell, ICellModel } from '@jupyterlab/cells';
|
|
5
|
+
import type { NotebookPanel } from '@jupyterlab/notebook';
|
|
6
|
+
import type { IObservableList, IObservableMap } from '@jupyterlab/observables';
|
|
7
|
+
import { ObservableMap } from '@jupyterlab/observables';
|
|
8
|
+
import type { IDisposable } from '@lumino/disposable';
|
|
12
9
|
import { Signal } from '@lumino/signaling';
|
|
13
|
-
import { IDebugger } from '../tokens';
|
|
10
|
+
import type { IDebugger } from '../tokens';
|
|
14
11
|
import { EditorHandler } from './editor';
|
|
15
|
-
import { ITranslator
|
|
12
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
13
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
16
14
|
import { DebuggerPausedOverlay } from './pausedoverlay';
|
|
17
15
|
|
|
18
16
|
/**
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { IDisposable } from '@lumino/disposable';
|
|
5
|
-
import { IDebugger } from '../tokens';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
nullTranslator,
|
|
9
|
-
TranslationBundle
|
|
10
|
-
} from '@jupyterlab/translation';
|
|
4
|
+
import type { IDisposable } from '@lumino/disposable';
|
|
5
|
+
import type { IDebugger } from '../tokens';
|
|
6
|
+
import type { ITranslator, TranslationBundle } from '@jupyterlab/translation';
|
|
7
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
11
8
|
import { runIcon, stepOverIcon, stopIcon } from '@jupyterlab/ui-components';
|
|
12
9
|
|
|
13
10
|
/**
|
package/src/hash.ts
CHANGED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
16
16
|
|
|
17
17
|
// The implementation below uses case fallthrough as part of the algorithm.
|
|
18
|
-
/* eslint-disable no-fallthrough */
|
|
19
18
|
|
|
20
19
|
const m = 0x5bd1e995;
|
|
21
20
|
const encoder = new TextEncoder();
|
|
@@ -54,8 +53,10 @@ export function murmur2(str: string, seed: number): number {
|
|
|
54
53
|
switch (len) {
|
|
55
54
|
case 3:
|
|
56
55
|
h ^= (data[i + 2] & 0xff) << 16;
|
|
56
|
+
// eslint-disable-next-line no-fallthrough
|
|
57
57
|
case 2:
|
|
58
58
|
h ^= (data[i + 1] & 0xff) << 8;
|
|
59
|
+
// eslint-disable-next-line no-fallthrough
|
|
59
60
|
case 1:
|
|
60
61
|
h ^= data[i] & 0xff;
|
|
61
62
|
h = (h & 0xffff) * m + ((((h >>> 16) * m) & 0xffff) << 16);
|
package/src/model.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { IEditorMimeTypeService } from '@jupyterlab/codeeditor';
|
|
4
|
+
import type { IEditorMimeTypeService } from '@jupyterlab/codeeditor';
|
|
5
5
|
|
|
6
|
-
import { ISignal
|
|
6
|
+
import type { ISignal } from '@lumino/signaling';
|
|
7
|
+
import { Signal } from '@lumino/signaling';
|
|
7
8
|
|
|
8
9
|
import { DebuggerDisplayRegistry } from './displayregistry';
|
|
9
10
|
|
|
@@ -17,7 +18,7 @@ import { SourcesModel } from './panels/sources/model';
|
|
|
17
18
|
|
|
18
19
|
import { VariablesModel } from './panels/variables/model';
|
|
19
20
|
|
|
20
|
-
import { IDebugger, IDebuggerDisplayRegistry } from './tokens';
|
|
21
|
+
import type { IDebugger, IDebuggerDisplayRegistry } from './tokens';
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* A model for a debugger.
|
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
import { ReactWidget } from '@jupyterlab/ui-components';
|
|
5
5
|
import React, { useEffect, useState } from 'react';
|
|
6
|
-
import { IDebugger } from '../../tokens';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
nullTranslator,
|
|
10
|
-
TranslationBundle
|
|
11
|
-
} from '@jupyterlab/translation';
|
|
6
|
+
import type { IDebugger } from '../../tokens';
|
|
7
|
+
import type { ITranslator, TranslationBundle } from '@jupyterlab/translation';
|
|
8
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
12
9
|
import {
|
|
13
10
|
breakpointIcon,
|
|
14
11
|
selectedBreakpointIcon
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
4
|
import { Dialog, showDialog } from '@jupyterlab/apputils';
|
|
5
|
-
import { ITranslator
|
|
5
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
6
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
6
7
|
import {
|
|
7
8
|
closeAllIcon,
|
|
8
9
|
exceptionsIcon,
|
|
9
10
|
PanelWithToolbar,
|
|
10
11
|
ToolbarButton
|
|
11
12
|
} from '@jupyterlab/ui-components';
|
|
12
|
-
import { CommandRegistry } from '@lumino/commands';
|
|
13
|
+
import type { CommandRegistry } from '@lumino/commands';
|
|
13
14
|
import { Signal } from '@lumino/signaling';
|
|
14
|
-
import { Panel } from '@lumino/widgets';
|
|
15
|
-
import { IDebugger } from '../../tokens';
|
|
15
|
+
import type { Panel } from '@lumino/widgets';
|
|
16
|
+
import type { IDebugger } from '../../tokens';
|
|
16
17
|
import { BreakpointsBody } from './body';
|
|
17
18
|
import { PauseOnExceptionsWidget } from './pauseonexceptions';
|
|
18
19
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { ISignal
|
|
5
|
-
import {
|
|
4
|
+
import type { ISignal } from '@lumino/signaling';
|
|
5
|
+
import { Signal } from '@lumino/signaling';
|
|
6
|
+
import type { IDebugger, IDebuggerDisplayRegistry } from '../../tokens';
|
|
6
7
|
import { DebuggerDisplayRegistry } from '../../displayregistry';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
ToolbarButton,
|
|
8
8
|
ToolbarButtonComponent
|
|
9
9
|
} from '@jupyterlab/ui-components';
|
|
10
|
-
import { IDebugger } from '../../tokens';
|
|
11
|
-
import { Breakpoints } from './index';
|
|
10
|
+
import type { IDebugger } from '../../tokens';
|
|
11
|
+
import type { Breakpoints } from './index';
|
|
12
12
|
|
|
13
13
|
const PAUSE_ON_EXCEPTION_CLASS = 'jp-debugger-pauseOnExceptions';
|
|
14
14
|
const PAUSE_ON_EXCEPTION_BUTTON_CLASS = 'jp-PauseOnExceptions';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
|
|
4
|
-
import { ITranslator
|
|
4
|
+
import type { ITranslator } from '@jupyterlab/translation';
|
|
5
|
+
import { nullTranslator } from '@jupyterlab/translation';
|
|
5
6
|
import {
|
|
6
7
|
CommandToolbarButton,
|
|
7
8
|
PanelWithToolbar
|
|
8
9
|
} from '@jupyterlab/ui-components';
|
|
9
|
-
import { CommandRegistry } from '@lumino/commands';
|
|
10
|
-
import { Panel } from '@lumino/widgets';
|
|
11
|
-
import { IDebugger } from '../../tokens';
|
|
10
|
+
import type { CommandRegistry } from '@lumino/commands';
|
|
11
|
+
import type { Panel } from '@lumino/widgets';
|
|
12
|
+
import type { IDebugger } from '../../tokens';
|
|
12
13
|
import { CallstackBody } from './body';
|
|
13
14
|
|
|
14
15
|
/**
|