You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
17
Versions
795
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

to
1.17.5-edit

src/modules/doc/markdownEditor/markdownEditor.css

1

lwc.config.json

@@ -21,2 +21,3 @@ {

"doc/headingAnchor",
"doc/markdownEditor",
"doc/overview",

@@ -23,0 +24,0 @@ "doc/phase",

4

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.17.2",
"version": "1.17.5-edit",
"description": "Docs Lightning web components for DSC",

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

},
"gitHead": "456b8ad8b3162df223f9809e66a454cb66b4add0"
"gitHead": "4629fdd9ca18a13480044ad43515b91945d16aad"
}

@@ -14,4 +14,3 @@ /* eslint-disable @lwc/lwc/no-document-query */

PageReference,
TocMap,
ContentData
TocMap
} from "./types";

@@ -77,4 +76,3 @@ import { SearchSyncer } from "docUtils/searchSyncer";

private language?: DocLanguage | null = null;
private displayContent = false;
private display404 = false;
private loaded = false;
private _pageHeader?: Header;

@@ -192,9 +190,3 @@ private pdfUrl = "";

);
this.fetchDocument().then((content: any) => {
if (content) {
this.displayContent = true;
} else {
this.display404 = true;
}
});
this.fetchDocument().then(() => (this.loaded = true));
window.addEventListener("popstate", this.handlePopState);

@@ -477,3 +469,3 @@

async fetchDocument(): Promise<string> {
async fetchDocument(): Promise<void> {
this.setState({

@@ -492,3 +484,3 @@ isFetchingDocument: true

});
return "";
return;
}

@@ -525,7 +517,7 @@

try {
const moreData = await this.fetchContent();
await this.fetchContent();
this.setState({
isFetchingDocument: false
});
return moreData.content;
return;
} catch (error) {

@@ -544,6 +536,5 @@ this.pageReference.contentDocumentId = `${data.id}.htm`;

});
return data.content;
}
async fetchContent(): Promise<ContentData> {
async fetchContent(): Promise<void> {
this.setState({

@@ -572,3 +563,2 @@ isFetchingContent: true

});
return data;
}

@@ -575,0 +565,0 @@

Sorry, the diff of this file is not supported yet