Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jupyterlab/docmanager

Package Overview
Dependencies
Maintainers
7
Versions
384
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/docmanager - npm Package Compare versions

Comparing version 0.14.1 to 0.15.0

6

lib/manager.d.ts

@@ -154,3 +154,3 @@ import { DocumentRegistry } from '@jupyterlab/docregistry';

*/
open(path: string, widgetName?: string, kernel?: Partial<Kernel.IModel>): DocumentRegistry.IReadyWidget | undefined;
open(path: string, widgetName?: string, kernel?: Partial<Kernel.IModel>, options?: DocumentRegistry.IOpenOptions): DocumentRegistry.IReadyWidget | undefined;
/**

@@ -172,3 +172,3 @@ * Open a file and return the widget used to view it.

*/
openOrReveal(path: string, widgetName?: string, kernel?: Partial<Kernel.IModel>): DocumentRegistry.IReadyWidget | undefined;
openOrReveal(path: string, widgetName?: string, kernel?: Partial<Kernel.IModel>, options?: DocumentRegistry.IOpenOptions): DocumentRegistry.IReadyWidget | undefined;
/**

@@ -224,3 +224,3 @@ * Overwrite a file.

*/
private _createOrOpenDocument(which, path, widgetName?, kernel?);
private _createOrOpenDocument(which, path, widgetName?, kernel?, options?);
/**

@@ -227,0 +227,0 @@ * Handle an activateRequested signal from the widget manager.

@@ -233,5 +233,5 @@ "use strict";

*/
DocumentManager.prototype.open = function (path, widgetName, kernel) {
DocumentManager.prototype.open = function (path, widgetName, kernel, options) {
if (widgetName === void 0) { widgetName = 'default'; }
return this._createOrOpenDocument('open', path, widgetName, kernel);
return this._createOrOpenDocument('open', path, widgetName, kernel, options);
};

@@ -254,10 +254,10 @@ /**

*/
DocumentManager.prototype.openOrReveal = function (path, widgetName, kernel) {
DocumentManager.prototype.openOrReveal = function (path, widgetName, kernel, options) {
if (widgetName === void 0) { widgetName = 'default'; }
var widget = this.findWidget(path, widgetName);
if (widget) {
this._opener.open(widget);
this._opener.open(widget, options || {});
return widget;
}
return this.open(path, widgetName, kernel);
return this.open(path, widgetName, kernel, options || {});
};

@@ -367,3 +367,3 @@ /**

*/
DocumentManager.prototype._createOrOpenDocument = function (which, path, widgetName, kernel) {
DocumentManager.prototype._createOrOpenDocument = function (which, path, widgetName, kernel, options) {
if (widgetName === void 0) { widgetName = 'default'; }

@@ -399,3 +399,3 @@ var widgetFactory = this._widgetFactoryFor(path, widgetName);

var widget = this._widgetManager.createWidget(widgetFactory, context);
this._opener.open(widget);
this._opener.open(widget, options || {});
return widget;

@@ -402,0 +402,0 @@ };

{
"name": "@jupyterlab/docmanager",
"version": "0.14.1",
"version": "0.15.0",
"description": "JupyterLab - Document Manager",

@@ -32,6 +32,6 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"dependencies": {
"@jupyterlab/apputils": "^0.14.1",
"@jupyterlab/coreutils": "^1.0.1",
"@jupyterlab/docregistry": "^0.14.1",
"@jupyterlab/services": "^1.0.1",
"@jupyterlab/apputils": "^0.15.0",
"@jupyterlab/coreutils": "^1.0.2",
"@jupyterlab/docregistry": "^0.15.0",
"@jupyterlab/services": "^1.1.0",
"@phosphor/algorithm": "^1.1.2",

@@ -38,0 +38,0 @@ "@phosphor/coreutils": "^1.3.0",

Sorry, the diff of this file is not supported yet

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