Socket
Socket
Sign inDemoInstall

@jupyterlab/ui-components

Package Overview
Dependencies
Maintainers
10
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/ui-components - npm Package Compare versions

Comparing version 4.2.0-beta.0 to 4.2.0-beta.1

11

lib/components/toolbar.js

@@ -405,4 +405,15 @@ // Copyright (c) Jupyter Development Team.

else {
// Insert the widget in the toolbar at axpected index if possible, otherwise
// before the popup opener. This position may change when invoking the resizer
// at the end of this function.
const j = Math.max(0, Math.min(index, this.layout.widgets.length - 1));
status = super.insertItem(j, name, widget);
if (j !== index) {
// This happens if the widget has been inserted at a wrong position:
// - not enough widgets in the toolbar to insert it at the expected index
// - the widget at the expected index should be in the popup
// In the first situation, the stored index should be changed to match a
// realistic index.
index = Math.max(0, Math.min(index, this._widgetPositions.size));
}
}

@@ -409,0 +420,0 @@ // Save the widgets position when a widget is inserted or moved.

16

package.json
{
"name": "@jupyterlab/ui-components",
"version": "4.2.0-beta.0",
"version": "4.2.0-beta.1",
"description": "JupyterLab - UI components written in React",

@@ -46,8 +46,8 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"@jupyter/web-components": "^0.15.2",
"@jupyterlab/coreutils": "^6.2.0-beta.0",
"@jupyterlab/observables": "^5.2.0-beta.0",
"@jupyterlab/rendermime-interfaces": "^3.10.0-beta.0",
"@jupyterlab/translation": "^4.2.0-beta.0",
"@jupyterlab/coreutils": "^6.2.0-beta.1",
"@jupyterlab/observables": "^5.2.0-beta.1",
"@jupyterlab/rendermime-interfaces": "^3.10.0-beta.1",
"@jupyterlab/translation": "^4.2.0-beta.1",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.2.0",
"@lumino/commands": "^2.3.0",
"@lumino/coreutils": "^2.1.2",

@@ -60,3 +60,3 @@ "@lumino/disposable": "^2.1.2",

"@lumino/virtualdom": "^2.0.1",
"@lumino/widgets": "^2.3.1",
"@lumino/widgets": "^2.3.2",
"@rjsf/core": "^5.13.4",

@@ -69,3 +69,3 @@ "@rjsf/utils": "^5.13.4",

"devDependencies": {
"@jupyterlab/testing": "^4.2.0-beta.0",
"@jupyterlab/testing": "^4.2.0-beta.1",
"@types/jest": "^29.2.0",

@@ -72,0 +72,0 @@ "@types/react": "^18.0.26",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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