@jupyter-notebook/terminal-extension 7.7.0-alpha.1 → 7.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/lib/index.js +2 -2
  2. package/package.json +5 -5
package/lib/index.js 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
  import { IRouter, } from '@jupyterlab/application';
4
- import { PageConfig, URLExt } from '@jupyterlab/coreutils';
4
+ import { URLExt } from '@jupyterlab/coreutils';
5
5
  import { ITerminalTracker } from '@jupyterlab/terminal';
6
6
  import { INotebookPathOpener, defaultNotebookPathOpener, } from '@jupyter-notebook/application';
7
7
  import { find } from '@lumino/algorithm';
@@ -59,7 +59,7 @@ const redirect = {
59
59
  optional: [INotebookPathOpener],
60
60
  autoStart: true,
61
61
  activate: (app, tracker, notebookPathOpener) => {
62
- const baseUrl = PageConfig.getBaseUrl();
62
+ const baseUrl = app.serviceManager.serverSettings.baseUrl;
63
63
  const opener = notebookPathOpener !== null && notebookPathOpener !== void 0 ? notebookPathOpener : defaultNotebookPathOpener;
64
64
  tracker.widgetAdded.connect((send, terminal) => {
65
65
  const widget = find(app.shell.widgets('main'), (w) => w.id === terminal.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/terminal-extension",
3
- "version": "7.7.0-alpha.1",
3
+ "version": "7.7.0-alpha.2",
4
4
  "description": "Jupyter Notebook - Terminal Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -38,10 +38,10 @@
38
38
  "watch": "tsc -b --watch"
39
39
  },
40
40
  "dependencies": {
41
- "@jupyter-notebook/application": "^7.7.0-alpha.1",
42
- "@jupyterlab/application": "~4.7.0-alpha.1",
43
- "@jupyterlab/coreutils": "~6.7.0-alpha.1",
44
- "@jupyterlab/terminal": "~4.7.0-alpha.1",
41
+ "@jupyter-notebook/application": "^7.7.0-alpha.2",
42
+ "@jupyterlab/application": "~4.7.0-alpha.2",
43
+ "@jupyterlab/coreutils": "~6.7.0-alpha.2",
44
+ "@jupyterlab/terminal": "~4.7.0-alpha.2",
45
45
  "@lumino/algorithm": "^2.0.4"
46
46
  },
47
47
  "devDependencies": {