New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
0
Versions
671
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforcedevs/docs-components - npm Package Compare versions

Comparing version 1.3.345-refactor-tab-alpha1 to 1.3.345-refactor-tab-alpha2

2

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.3.345-refactor-tab-alpha1",
"version": "1.3.345-refactor-tab-alpha2",
"description": "Docs Lightning web components for DSC",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -146,2 +146,16 @@ import ContentLayout from "doc/contentLayout";

renderedCallback(): void {
/**
* Note: We are adding timeout because chrome is optimizing and not triggering recent renderedCallback though elements reference is changed
* Also we are considering recent renderedCallback
*/
this.clearRenderObserverTimer();
this.observerTimerId = setTimeout(
this.attachInteractionObserver,
OBSERVER_ATTACH_WAIT_TIME
);
this.adjustNavPosition();
window.addEventListener("scroll", this.adjustNavPosition);
window.addEventListener("resize", this.adjustNavPosition);
if (!this.hasRendered) {

@@ -166,2 +180,10 @@ this.hasRendered = true;

disconnectedCallback(): void {
this.disconnectObserver();
window.removeEventListener(
"highlightedtermchange",
this.updateHighlighted
);
window.removeEventListener("scroll", this.adjustNavPosition);
window.removeEventListener("resize", this.adjustNavPosition);
if (this.showTabBasedRNB) {

@@ -178,2 +200,6 @@ window.removeEventListener("tabchanged", this.onTabChanged);

}
this.searchSyncer.dispose();
this.clearRenderObserverTimer();
window.clearInterval(this._scrollInterval);
}

@@ -180,0 +206,0 @@

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