Socket
Socket
Sign inDemoInstall

@jupyterlab/services

Package Overview
Dependencies
Maintainers
4
Versions
387
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/services - npm Package Compare versions

Comparing version 0.37.0 to 0.38.0

8

lib/terminal/default.d.ts

@@ -44,3 +44,3 @@ import { ISignal } from 'phosphor/lib/core/signaling';

/**
* A promise that fulfills when the manager is ready.
* A promise that fulfills when the session is ready.
*/

@@ -61,2 +61,8 @@ readonly ready: Promise<void>;

/**
* Reconnect to the terminal.
*
* @returns A promise that resolves when the terminal has reconnected.
*/
reconnect(): Promise<void>;
/**
* Shut down the terminal session.

@@ -63,0 +69,0 @@ */

@@ -91,3 +91,3 @@ // Copyright (c) Jupyter Development Team.

/**
* A promise that fulfills when the manager is ready.
* A promise that fulfills when the session is ready.
*/

@@ -143,2 +143,11 @@ get: function () {

/**
* Reconnect to the terminal.
*
* @returns A promise that resolves when the terminal has reconnected.
*/
DefaultTerminalSession.prototype.reconnect = function () {
this._readyPromise = this._initializeSocket();
return this._readyPromise;
};
/**
* Shut down the terminal session.

@@ -159,2 +168,6 @@ */

var name = this._name;
if (this._ws) {
this._ws.close();
}
this._isReady = false;
this._url = Private.getTermUrl(this._baseUrl, this._name);

@@ -161,0 +174,0 @@ Private.running[this._url] = this;

@@ -52,2 +52,8 @@ import { IIterator } from 'phosphor/lib/algorithm/iteration';

/**
* Reconnect to the terminal.
*
* @returns A promise that resolves when the terminal has reconnected.
*/
reconnect(): Promise<void>;
/**
* Shut down the terminal session.

@@ -54,0 +60,0 @@ */

2

package.json
{
"name": "@jupyterlab/services",
"version": "0.37.0",
"version": "0.38.0",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc