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.4.3 to 0.4.4

26

lib/handler.js

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

FileHandler.prototype.createWidget = function (path) {
var widget = new phosphor_codemirror_1.CodeMirrorWidget();
var widget = new FocusedCodeMirrorWidget();
widget.title.text = path.split('/').pop();

@@ -181,2 +181,26 @@ return widget;

/**
* A code mirror widget that takes focus.
*/
var FocusedCodeMirrorWidget = (function (_super) {
__extends(FocusedCodeMirrorWidget, _super);
function FocusedCodeMirrorWidget() {
_super.apply(this, arguments);
}
/**
* A message handler invoked on an `'after-attach'` message.
*/
FocusedCodeMirrorWidget.prototype.onAfterAttach = function (msg) {
_super.prototype.onAfterAttach.call(this, msg);
this.editor.focus();
};
/**
* A message handler invoked on an `'after-show'` message.
*/
FocusedCodeMirrorWidget.prototype.onAfterShow = function (msg) {
_super.prototype.onAfterShow.call(this, msg);
this.editor.focus();
};
return FocusedCodeMirrorWidget;
})(phosphor_codemirror_1.CodeMirrorWidget);
/**
* Load a codemirror mode by name.

@@ -183,0 +207,0 @@ */

2

package.json
{
"name": "jupyter-js-filebrowser",
"version": "0.4.3",
"version": "0.4.4",
"description": "File browser widget for Jupyter",

@@ -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