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

jupyter-js-filebrowser

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyter-js-filebrowser - npm Package Compare versions

Comparing version 0.2.3 to 0.2.5

12

lib/plugin.js

@@ -16,7 +16,8 @@ // Copyright (c) Jupyter Development Team.

var FileBrowserHandler = (function () {
function FileBrowserHandler(shell) {
function FileBrowserHandler(shell, editorFactory) {
this._shell = shell;
this._editorFactory = editorFactory;
}
FileBrowserHandler.create = function (shell) {
return new FileBrowserHandler(shell);
FileBrowserHandler.create = function (shell, editorFactory) {
return new FileBrowserHandler(shell, editorFactory);
};

@@ -35,4 +36,3 @@ FileBrowserHandler.prototype.run = function () {

text: change.newValue.content };
var editorModel = new jupyter_js_editor_1.EditorViewModel(options);
var editor = new jupyter_js_editor_1.CodeMirrorWidget(editorModel);
var editor = _this._editorFactory.create(options);
_this._shell.addToMainArea(editor);

@@ -43,4 +43,4 @@ }

};
FileBrowserHandler.requires = [phosphide_1.IAppShell];
FileBrowserHandler.requires = [phosphide_1.IAppShell, jupyter_js_editor_1.IEditorFactory];
return FileBrowserHandler;
})();
{
"name": "jupyter-js-filebrowser",
"version": "0.2.3",
"version": "0.2.5",
"description": "File browser widget for Jupyter",

@@ -32,3 +32,3 @@ "main": "lib/index.js",

"istanbul-instrumenter-loader": "^0.1.3",
"jupyter-js-editor": "^0.2.0",
"jupyter-js-editor": "^0.1.4",
"jupyter-js-services": "^0.3.0-alpha",

@@ -35,0 +35,0 @@ "karma": "^0.13.9",

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