Huge News!Announcing our $40M Series B led by Abstract Ventures.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.8.0 to 0.9.0

38

lib/ikernel.d.ts

@@ -288,2 +288,30 @@ import { IDisposable } from 'phosphor-disposable';

/**
* Contents of an `history_request` message.
*
* See [Messaging in Jupyter](http://jupyter-client.readthedocs.org/en/latest/messaging.html#history).
*
* **See also:** [[IHistoryReply]], [[[IKernel.history]]]
*/
export interface IHistoryRequest {
output: boolean;
raw: boolean;
hist_access_type: string;
session: number;
start: number;
stop: number;
n: number;
pattern: string;
unique: boolean;
}
/**
* Contents of an `history_reply` message.
*
* See [Messaging in Jupyter](http://jupyter-client.readthedocs.org/en/latest/messaging.html#history).
*
* **See also:** [[IHistoryRequest]], [[IKernel.history]]
*/
export interface IHistoryReply {
history: any[];
}
/**
* Contents of an `is_complete_request` message.

@@ -569,2 +597,12 @@ *

/**
* Send a `history_request` message.
*
* #### Notes
* See [Messaging in Jupyter](http://jupyter-client.readthedocs.org/en/latest/messaging.html#history).
*
* Fulfills with the `history_reply` content when the shell reply is
* received and validated.
*/
history(contents: IHistoryRequest): Promise<IHistoryReply>;
/**
* Send an `execute_request` message.

@@ -571,0 +609,0 @@ *

@@ -605,2 +605,21 @@ // Copyright (c) Jupyter Development Team.

/**
* Send a `history_request` message.
*
* #### Notes
* See [Messaging in Jupyter](http://jupyter-client.readthedocs.org/en/latest/messaging.html#history).
*
* Fulfills with the `history_reply` content when the shell reply is
* received and validated.
*/
Kernel.prototype.history = function (contents) {
var options = {
msgType: 'history_request',
channel: 'shell',
username: this._username,
session: this._clientId
};
var msg = createKernelMessage(options, contents);
return Private.sendKernelMessage(this, msg);
};
/**
* Send an `execute_request` message.

@@ -607,0 +626,0 @@ *

2

package.json
{
"name": "jupyter-js-services",
"version": "0.8.0",
"version": "0.9.0",
"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