jupyter-specta 0.4.1 → 0.4.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.
@@ -1,3 +1,4 @@
1
1
  import '@jupyterlab/logconsole';
2
2
  import '@jupyterlab/console';
3
3
  import '@jupyterlite/apputils';
4
+ import 'mock-socket';
@@ -1,3 +1,4 @@
1
1
  import '@jupyterlab/logconsole';
2
2
  import '@jupyterlab/console';
3
3
  import '@jupyterlite/apputils';
4
+ import 'mock-socket';
@@ -78,6 +78,9 @@ export class AppModel {
78
78
  switch (cellModel.type) {
79
79
  case 'code': {
80
80
  let sourceCell;
81
+ cellModel.sharedModel.transact(() => {
82
+ cellModel.clearExecution();
83
+ }, false);
81
84
  if (cellConfig.showSource) {
82
85
  sourceCell = new CodeCell({
83
86
  model: cellModel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyter-specta",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/trungleduc/specta",
@@ -88,11 +88,12 @@
88
88
  "@jupyterlab/translation-extension": "^4.5.0",
89
89
  "@jupyterlab/ui-components": "^4.5.0",
90
90
  "@jupyterlab/ui-components-extension": "^4.5.0",
91
- "@jupyterlite/application": "^0.7.0",
92
- "@jupyterlite/application-extension": "^0.7.0",
93
- "@jupyterlite/apputils": "^0.7.0",
94
- "@jupyterlite/iframe-extension": "^0.7.0",
95
- "@jupyterlite/services-extension": "^0.7.0",
91
+ "@jupyterlite/application": "^0.7.1",
92
+ "@jupyterlite/application-extension": "^0.7.1",
93
+ "@jupyterlite/apputils": "^0.7.1",
94
+ "@jupyterlite/iframe-extension": "^0.7.1",
95
+ "@jupyterlite/services-extension": "^0.7.1",
96
+ "@jupyterlite/apputils-extension": "0.7.1",
96
97
  "@lumino/algorithm": "^2.0.0",
97
98
  "@lumino/application": "^2.0.0",
98
99
  "@lumino/commands": "^2.0.0",
@@ -110,6 +111,7 @@
110
111
  "@lumino/widgets": "^2.0.0",
111
112
  "@types/reveal.js": "^5.2.0",
112
113
  "@voila-dashboards/voila": "^0.5.5",
114
+ "mock-socket": "^9.3.1",
113
115
  "react": "^18.3.0",
114
116
  "react-dom": "^18.3.0",
115
117
  "reveal.js": "^5.2.1"