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

@ecl/vanilla-component-inpage-navigation

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecl/vanilla-component-inpage-navigation - npm Package Compare versions

Comparing version 4.6.5 to 4.7.0

8

inpage-navigation.js

@@ -442,3 +442,9 @@ import Stickyfill from 'stickyfilljs';

if (viewportWidth < 996) {
topPosition = this.toggleElement.getBoundingClientRect().bottom + 16;
const toggleWrapper = this.toggleElement.parentElement;
if (toggleWrapper) {
// EC has currently a negative margin set on the wrapper.
topPosition =
toggleWrapper.getBoundingClientRect().bottom +
parseFloat(window.getComputedStyle(toggleWrapper).marginBottom);
}
} else if (listTitle) {

@@ -445,0 +451,0 @@ // If we have a title in desktop

10

package.json

@@ -5,3 +5,3 @@ {

"license": "EUPL-1.2",
"version": "4.6.5",
"version": "4.7.0",
"description": "ECL In-page Navigation",

@@ -13,5 +13,5 @@ "main": "inpage-navigation.js",

"dependencies": {
"@ecl/dom-utils": "4.6.5",
"@ecl/vanilla-layout-grid": "4.6.5",
"focus-trap": "7.5.4",
"@ecl/dom-utils": "4.7.0",
"@ecl/vanilla-layout-grid": "4.7.0",
"focus-trap": "7.6.0",
"gumshoejs": "5.1.2",

@@ -36,3 +36,3 @@ "stickyfilljs": "2.1.0"

],
"gitHead": "71a79686cbc3f9569cba0fa5e06fceb5a28ccb38"
"gitHead": "63d4038a18f52a1cc111992bea3add56eb5fa969"
}
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