Socket
Socket
Sign inDemoInstall

@neovici/cosmoz-bottom-bar

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neovici/cosmoz-bottom-bar - npm Package Compare versions

Comparing version 6.2.0 to 6.3.0

23

cosmoz-bottom-bar.js

@@ -293,6 +293,21 @@ /* eslint-disable max-lines */

_getElements() {
return FlattenedNodesObserver.getFlattenedNodes(this)
.filter(this._isActionNode)
.filter((element) => !element.hidden)
.sort((a, b) => (a.dataset.index ?? 0) - (b.dataset.index ?? 0));
const elements = FlattenedNodesObserver.getFlattenedNodes(this)
.filter(this._isActionNode)
.filter((element) => !element.hidden)
.sort((a, b) => (a.dataset.index ?? 0) - (b.dataset.index ?? 0)),
topPriorityAction = elements.reduce(
(top, element) => {
return parseInt(top.dataset.priority ?? 0, 10) >=
parseInt(element.dataset.priority ?? 0, 10)
? top
: element;
},
{ dataset: { priority: '-1000' } },
[]
);
return [
topPriorityAction,
...elements.filter((e) => e !== topPriorityAction),
];
}

@@ -299,0 +314,0 @@ /**

2

package.json
{
"name": "@neovici/cosmoz-bottom-bar",
"version": "6.2.0",
"version": "6.3.0",
"description": "A responsive bottom-bar that can house buttons/actions and a menu for the buttons that won't fit the available width.",

@@ -5,0 +5,0 @@ "keywords": [

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