New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jupyter-js-services

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyter-js-services - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

lib/isession.d.ts

@@ -85,2 +85,6 @@ import { IDisposable } from 'phosphor-disposable';

/**
* A signal emitted when the kernel changes.
*/
kernelChanged: ISignal<INotebookSession, IKernel>;
/**
* A signal emitted when the session status changes.

@@ -87,0 +91,0 @@ */

30

lib/session.js

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

if (!sessionIds.length) {
return typedThrow('No running session with id: ' + id);
return Private.typedThrow('No running session with id: ' + id);
}

@@ -195,2 +195,12 @@ return Private.createSession(sessionIds[0], options);

});
Object.defineProperty(NotebookSession.prototype, "kernelChanged", {
/**
* A signal emitted when the kernel changes.
*/
get: function () {
return Private.kernelChangedSignal.bind(this);
},
enumerable: true,
configurable: true
});
Object.defineProperty(NotebookSession.prototype, "statusChanged", {

@@ -370,2 +380,3 @@ /**

_this._kernel = kernel;
_this.kernelChanged.emit(kernel);
return kernel;

@@ -442,2 +453,6 @@ });

/**
* A signal emitted when the kernel changes.
*/
Private.kernelChangedSignal = new phosphor_signaling_1.Signal();
/**
* A signal emitted when the session kernel status changes.

@@ -520,8 +535,9 @@ */

Private.onSessionError = onSessionError;
/**
* Throw a typed error.
*/
function typedThrow(msg) {
throw new Error(msg);
}
Private.typedThrow = typedThrow;
})(Private || (Private = {}));
/**
* Throw a typed error.
*/
function typedThrow(msg) {
throw new Error(msg);
}
{
"name": "jupyter-js-services",
"version": "0.6.0",
"version": "0.6.1",
"description": "Client APIs for the Jupyter services REST APIs",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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