@jupyterlab/apputils-extension
Advanced tools
Comparing version 4.0.10 to 4.0.11
@@ -164,3 +164,7 @@ // Copyright (c) Jupyter Development Team. | ||
// Navigate to new workspace. | ||
const url = URLExt.join(this._application, 'workspaces', id); | ||
const workspacesBase = URLExt.join(this._application, 'workspaces'); | ||
const url = URLExt.join(workspacesBase, id); | ||
if (!workspacesBase.startsWith(url)) { | ||
throw new Error('Can only be used for workspaces'); | ||
} | ||
if (this._router) { | ||
@@ -167,0 +171,0 @@ this._router.navigate(url, { hard: true }); |
{ | ||
"name": "@jupyterlab/apputils-extension", | ||
"version": "4.0.10", | ||
"version": "4.0.11", | ||
"description": "JupyterLab - Application Utilities Extension", | ||
@@ -41,15 +41,15 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/application": "^4.0.10", | ||
"@jupyterlab/apputils": "^4.1.10", | ||
"@jupyterlab/coreutils": "^6.0.10", | ||
"@jupyterlab/docregistry": "^4.0.10", | ||
"@jupyterlab/filebrowser": "^4.0.10", | ||
"@jupyterlab/mainmenu": "^4.0.10", | ||
"@jupyterlab/rendermime-interfaces": "^3.8.10", | ||
"@jupyterlab/services": "^7.0.10", | ||
"@jupyterlab/settingregistry": "^4.0.10", | ||
"@jupyterlab/statedb": "^4.0.10", | ||
"@jupyterlab/statusbar": "^4.0.10", | ||
"@jupyterlab/translation": "^4.0.10", | ||
"@jupyterlab/ui-components": "^4.0.10", | ||
"@jupyterlab/application": "^4.0.11", | ||
"@jupyterlab/apputils": "^4.1.11", | ||
"@jupyterlab/coreutils": "^6.0.11", | ||
"@jupyterlab/docregistry": "^4.0.11", | ||
"@jupyterlab/filebrowser": "^4.0.11", | ||
"@jupyterlab/mainmenu": "^4.0.11", | ||
"@jupyterlab/rendermime-interfaces": "^3.8.11", | ||
"@jupyterlab/services": "^7.0.11", | ||
"@jupyterlab/settingregistry": "^4.0.11", | ||
"@jupyterlab/statedb": "^4.0.11", | ||
"@jupyterlab/statusbar": "^4.0.11", | ||
"@jupyterlab/translation": "^4.0.11", | ||
"@jupyterlab/ui-components": "^4.0.11", | ||
"@lumino/algorithm": "^2.0.1", | ||
@@ -56,0 +56,0 @@ "@lumino/commands": "^2.1.3", |
@@ -213,3 +213,7 @@ // Copyright (c) Jupyter Development Team. | ||
// Navigate to new workspace. | ||
const url = URLExt.join(this._application, 'workspaces', id); | ||
const workspacesBase = URLExt.join(this._application, 'workspaces'); | ||
const url = URLExt.join(workspacesBase, id); | ||
if (!workspacesBase.startsWith(url)) { | ||
throw new Error('Can only be used for workspaces'); | ||
} | ||
if (this._router) { | ||
@@ -216,0 +220,0 @@ this._router.navigate(url, { hard: true }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
305347
6342
Updated@jupyterlab/apputils@^4.1.11
Updated@jupyterlab/mainmenu@^4.0.11
Updated@jupyterlab/services@^7.0.11
Updated@jupyterlab/statedb@^4.0.11