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

@jupyterlab/filebrowser

Package Overview
Dependencies
Maintainers
34
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/filebrowser - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

lib/browser.d.ts

@@ -52,2 +52,7 @@ import { Contents } from '@jupyterlab/services';

/**
* Whether to sort notebooks above other files
*/
get sortNotebooksFirst(): boolean;
set sortNotebooksFirst(value: boolean);
/**
* Create an iterator over the listing's selected items.

@@ -162,2 +167,3 @@ *

private _showFileCheckboxes;
private _sortNotebooksFirst;
}

@@ -164,0 +170,0 @@ /**

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

this._showFileCheckboxes = false;
this._sortNotebooksFirst = false;
this.addClass(FILE_BROWSER_CLASS);

@@ -148,2 +149,17 @@ this.toolbar.addClass(TOOLBAR_CLASS);

/**
* Whether to sort notebooks above other files
*/
get sortNotebooksFirst() {
return this._sortNotebooksFirst;
}
set sortNotebooksFirst(value) {
if (this.listing.setNotebooksFirstSorting) {
this.listing.setNotebooksFirstSorting(value);
this._sortNotebooksFirst = value;
}
else {
console.warn('Listing does not support sorting notebooks first');
}
}
/**
* Create an iterator over the listing's selected items.

@@ -150,0 +166,0 @@ *

@@ -190,2 +190,7 @@ import { DocumentRegistry } from '@jupyterlab/docregistry';

/**
* Update the setting to sort notebooks above files.
* This sorts the items again if the internal value is modified.
*/
setNotebooksFirstSorting(isEnabled: boolean): void;
/**
* Would this click (or other event type) hit the checkbox by default?

@@ -356,2 +361,3 @@ */

private _hiddenColumns;
private _sortNotebooksFirst;
private _focusIndex;

@@ -358,0 +364,0 @@ }

22

package.json
{
"name": "@jupyterlab/filebrowser",
"version": "4.0.0",
"version": "4.0.1",
"description": "JupyterLab - FileBrowser Widget",

@@ -45,11 +45,11 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"dependencies": {
"@jupyterlab/apputils": "^4.0.0",
"@jupyterlab/coreutils": "^6.0.0",
"@jupyterlab/docmanager": "^4.0.0",
"@jupyterlab/docregistry": "^4.0.0",
"@jupyterlab/services": "^7.0.0",
"@jupyterlab/statedb": "^4.0.0",
"@jupyterlab/statusbar": "^4.0.0",
"@jupyterlab/translation": "^4.0.0",
"@jupyterlab/ui-components": "^4.0.0",
"@jupyterlab/apputils": "^4.1.1",
"@jupyterlab/coreutils": "^6.0.1",
"@jupyterlab/docmanager": "^4.0.1",
"@jupyterlab/docregistry": "^4.0.1",
"@jupyterlab/services": "^7.0.1",
"@jupyterlab/statedb": "^4.0.1",
"@jupyterlab/statusbar": "^4.0.1",
"@jupyterlab/translation": "^4.0.1",
"@jupyterlab/ui-components": "^4.0.1",
"@lumino/algorithm": "^2.0.0",

@@ -68,3 +68,3 @@ "@lumino/coreutils": "^2.1.1",

"devDependencies": {
"@jupyterlab/testing": "^4.0.0",
"@jupyterlab/testing": "^4.0.1",
"@types/jest": "^29.2.0",

@@ -71,0 +71,0 @@ "jest": "^29.2.0",

@@ -174,2 +174,18 @@ // Copyright (c) Jupyter Development Team.

/**
* Whether to sort notebooks above other files
*/
get sortNotebooksFirst(): boolean {
return this._sortNotebooksFirst;
}
set sortNotebooksFirst(value: boolean) {
if (this.listing.setNotebooksFirstSorting) {
this.listing.setNotebooksFirstSorting(value);
this._sortNotebooksFirst = value;
} else {
console.warn('Listing does not support sorting notebooks first');
}
}
/**
* Create an iterator over the listing's selected items.

@@ -394,2 +410,3 @@ *

private _showFileCheckboxes: boolean = false;
private _sortNotebooksFirst: boolean = false;
}

@@ -396,0 +413,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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