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

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
32
Versions
651
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 0.55.4 to 0.55.5-alpha01

4

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "0.55.4",
"version": "0.55.5-alpha01",
"description": "Docs Lightning web components for DSC",

@@ -27,3 +27,3 @@ "license": "MIT",

},
"gitHead": "445324f9e54fc1169769990ac3e5315f133a1ca0"
"gitHead": "4629fdd9ca18a13480044ad43515b91945d16aad"
}

@@ -153,7 +153,22 @@ /* eslint-disable @lwc/lwc/no-inner-html */

const detailEls = calloutEl.querySelectorAll(
"p, div.data, ol, ul, .codeSection, .mediaBd > span.ph"
"p, div.data, ol, ul, p+.codeSection, .mediaBd > span.ph"
);
detailEls.forEach((detailEl) => {
calloutCompEl.appendChild(detailEl);
if (detailEl.innerHTML.trim() !== "") {
calloutCompEl.appendChild(detailEl);
}
});
let flag = 1;
for (let i = 0; i < detailEls.length; i++) {
flag &= detailEls[i].innerHTML.trim() === "";
}
if (flag) {
const codeEls = calloutEl.querySelectorAll(".codeSection");
codeEls.forEach((codeEl) => {
calloutCompEl.appendChild(codeEl);
});
}
const type = calloutEl.querySelector("h4").textContent;

@@ -160,0 +175,0 @@ const typeLower = type.toLowerCase();

@@ -185,7 +185,10 @@ import { api, track } from "lwc";

// Coveo is enabled and the version is greater than 51 (within the latest 3 versions)
// TODO: we need a better fix for version number check.
// TODO: we need a better fix for version number check
return !(
process.env.COVEO_ORGANIZATION_ID &&
process.env.COVEO_PUBLIC_ACCESS_TOKEN &&
parseInt(this.version.releaseVersion.replace("v", ""), 10) > 51
(!this.version?.releaseVersion ||
(this.version?.releaseVersion &&
parseInt(this.version.releaseVersion.replace("v", ""), 10) >
51))
);

@@ -196,11 +199,5 @@ }

return {
// Temporary fix for empty results on apexref page
...(this.deliverable === "apexref"
? { source: "Sitemap - Developer Docs Atlas - Apexref" }
: {
objecttype: "HTDeveloperDocumentsC",
sflocale__c: this.languageId,
sfrelease__c: this.releaseVersionId,
sfdelivarable__c: this.deliverable
})
locale: this.languageId,
version: this.releaseVersionId,
topicid: this.deliverable
};

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