@jupyterlab/services
Advanced tools
Comparing version 0.34.0 to 0.34.1
@@ -206,3 +206,3 @@ // Copyright (c) Jupyter Development Team. | ||
if (!terminal_1.TerminalSession.isAvailable()) { | ||
return Private.unavailable; | ||
return Private.unavailable(); | ||
} | ||
@@ -247,3 +247,3 @@ var baseUrl = options.baseUrl || utils.getBaseUrl(); | ||
if (!terminal_1.TerminalSession.isAvailable()) { | ||
return Private.unavailable; | ||
return Private.unavailable(); | ||
} | ||
@@ -269,3 +269,3 @@ var baseUrl = options.baseUrl || utils.getBaseUrl(); | ||
if (!terminal_1.TerminalSession.isAvailable()) { | ||
return Private.unavailable; | ||
return Private.unavailable(); | ||
} | ||
@@ -311,3 +311,3 @@ var url = Private.getBaseUrl(options.baseUrl); | ||
if (!terminal_1.TerminalSession.isAvailable()) { | ||
return Private.unavailable; | ||
return Private.unavailable(); | ||
} | ||
@@ -349,3 +349,6 @@ var url = Private.getTermUrl(options.baseUrl, name); | ||
*/ | ||
Private.unavailable = Promise.reject(new Error('Terminals Unavailable')); | ||
function unavailable() { | ||
return Promise.reject(new Error('Terminals Unavailable')); | ||
} | ||
Private.unavailable = unavailable; | ||
/** | ||
@@ -352,0 +355,0 @@ * Get the url for a terminal. |
{ | ||
"name": "@jupyterlab/services", | ||
"version": "0.34.0", | ||
"version": "0.34.1", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
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
730909
21447