Socket
Socket
Sign inDemoInstall

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
13
Versions
625
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.300-alpha.2 to 1.3.300-alpha.3

2

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.3.300-alpha.2",
"version": "1.3.300-alpha.3",
"description": "Docs Lightning web components for DSC",

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

@@ -346,4 +346,6 @@ /* eslint-disable @lwc/lwc/no-document-query */

for (const headingElement of headingElements as any) {
// Sometimes elements hash is not being set when slot content is wrapped with div
// Sometimes elements hash and header is not being set when slot content is wrapped with div
headingElement.hash = headingElement.attributes.hash?.nodeValue;
headingElement.header =
headingElement.attributes.header?.nodeValue;
}

@@ -350,0 +352,0 @@

@@ -16,13 +16,6 @@ import { LightningElement, api } from "lwc";

export default class Heading extends LightningElement {
@api header: string = "";
@api hash: string | null = null;
@api
get header(): string {
return this._header;
}
set header(value: string) {
this._header = value;
}
@api
private get ariaLevel(): string {

@@ -56,3 +49,2 @@ // Really Dark Magic (TM)

private _header: string = "";
private _ariaLevel: string | null = null;

@@ -59,0 +51,0 @@ private _displayLevel: string | null = null;

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