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.1.5 to 4.1.6

11

lib/components/toolbar.js

@@ -406,4 +406,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));
}
}

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

12

package.json
{
"name": "@jupyterlab/ui-components",
"version": "4.1.5",
"version": "4.1.6",
"description": "JupyterLab - UI components written in React",

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

"@jupyter/web-components": "^0.15.2",
"@jupyterlab/coreutils": "^6.1.5",
"@jupyterlab/observables": "^5.1.5",
"@jupyterlab/rendermime-interfaces": "^3.9.5",
"@jupyterlab/translation": "^4.1.5",
"@jupyterlab/coreutils": "^6.1.6",
"@jupyterlab/observables": "^5.1.6",
"@jupyterlab/rendermime-interfaces": "^3.9.6",
"@jupyterlab/translation": "^4.1.6",
"@lumino/algorithm": "^2.0.1",

@@ -68,3 +68,3 @@ "@lumino/commands": "^2.2.0",

"devDependencies": {
"@jupyterlab/testing": "^4.1.5",
"@jupyterlab/testing": "^4.1.6",
"@types/jest": "^29.2.0",

@@ -71,0 +71,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

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