@jupyter-notebook/console-extension 7.0.0-alpha.9 → 7.0.0-beta.0

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/lib/index.js +5 -5
  2. package/package.json +6 -7
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Jupyter Development Team.
2
2
  // Distributed under the terms of the Modified BSD License.
3
- import { IRouter } from '@jupyterlab/application';
3
+ import { IRouter, } from '@jupyterlab/application';
4
4
  import { IConsoleTracker } from '@jupyterlab/console';
5
5
  import { PageConfig } from '@jupyterlab/coreutils';
6
6
  import { find } from '@lumino/algorithm';
@@ -28,10 +28,10 @@ const opener = {
28
28
  }
29
29
  const path = decodeURIComponent(match);
30
30
  commands.execute('console:create', { path });
31
- }
31
+ },
32
32
  });
33
33
  router.register({ command, pattern: consolePattern });
34
- }
34
+ },
35
35
  };
36
36
  /**
37
37
  * Open consoles in a new tab.
@@ -45,7 +45,7 @@ const redirect = {
45
45
  tracker.widgetAdded.connect(async (send, console) => {
46
46
  const { sessionContext } = console;
47
47
  await sessionContext.ready;
48
- const widget = find(app.shell.widgets('main'), w => w.id === console.id);
48
+ const widget = find(app.shell.widgets('main'), (w) => w.id === console.id);
49
49
  if (widget) {
50
50
  // bail if the console is already added to the main area
51
51
  return;
@@ -54,7 +54,7 @@ const redirect = {
54
54
  // the widget is not needed anymore
55
55
  console.dispose();
56
56
  });
57
- }
57
+ },
58
58
  };
59
59
  /**
60
60
  * Export the plugins as default.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/console-extension",
3
- "version": "7.0.0-alpha.9",
3
+ "version": "7.0.0-beta.0",
4
4
  "description": "Jupyter Notebook - Console Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -35,18 +35,17 @@
35
35
  "build:prod": "tsc -b",
36
36
  "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
37
  "docs": "typedoc src",
38
- "prepublishOnly": "npm run build",
39
38
  "watch": "tsc -b --watch"
40
39
  },
41
40
  "dependencies": {
42
- "@jupyterlab/application": "^4.0.0-alpha.16",
43
- "@jupyterlab/console": "^4.0.0-alpha.16",
44
- "@jupyterlab/coreutils": "^6.0.0-alpha.16",
45
- "@lumino/algorithm": "^2.0.0-alpha.6"
41
+ "@jupyterlab/application": "^4.0.0-beta.0",
42
+ "@jupyterlab/console": "^4.0.0-beta.0",
43
+ "@jupyterlab/coreutils": "^6.0.0-beta.0",
44
+ "@lumino/algorithm": "^2.0.0"
46
45
  },
47
46
  "devDependencies": {
48
47
  "rimraf": "^3.0.2",
49
- "typescript": "~4.7.3"
48
+ "typescript": "~5.0.2"
50
49
  },
51
50
  "publishConfig": {
52
51
  "access": "public"