Skip to content

Commit 7d82d07

Browse files
Copilotrzhao271
andauthored
Merge branch 'main' into dependabot/npm_and_yarn/multi-dae47d5549
Co-authored-by: rzhao271 <[email protected]>
2 parents 7267814 + 41c4641 commit 7d82d07

9 files changed

Lines changed: 795 additions & 639 deletions

File tree

monaco-lsp-client/src/adapters/languageFeatures/LspCompletionFeature.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,5 @@ function toMonacoDocumentation(doc: string | MarkupContent | undefined): string
197197
if (typeof doc === 'string') return doc;
198198
return {
199199
value: doc.value,
200-
isTrusted: true,
201200
};
202201
}

monaco-lsp-client/src/adapters/languageFeatures/LspHoverFeature.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ function toMonacoMarkdownString(
6868

6969
function toSingleMarkdownString(content: MarkupContent | MarkedString): monaco.IMarkdownString {
7070
if (typeof content === 'string') {
71-
return { value: content, isTrusted: true };
71+
return { value: content };
7272
}
7373
if ('kind' in content) {
7474
// MarkupContent
75-
return { value: content.value, isTrusted: true };
75+
return { value: content.value };
7676
}
7777
// MarkedString with language
78-
return { value: `\`\`\`${content.language}\n${content.value}\n\`\`\``, isTrusted: true };
78+
return { value: `\`\`\`${content.language}\n${content.value}\n\`\`\`` };
7979
}

monaco-lsp-client/src/adapters/languageFeatures/LspInlayHintsFeature.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,5 @@ function toMonacoTooltip(tooltip: string | MarkupContent | undefined): string |
207207

208208
return {
209209
value: tooltip.value,
210-
isTrusted: true,
211210
};
212211
}

monaco-lsp-client/src/adapters/languageFeatures/LspSignatureHelpFeature.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,5 @@ function toMonacoDocumentation(
9696
if (typeof doc === 'string') return doc;
9797
return {
9898
value: doc.value,
99-
isTrusted: true,
10099
};
101100
}

package-lock.json

Lines changed: 719 additions & 389 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"vscode-languageserver-textdocument": "^1.0.11",
9797
"vscode-languageserver-types": "3.17.5",
9898
"vscode-uri": "3.0.8",
99-
"webpack": "^5.76.0",
99+
"webpack": "^5.105.4",
100100
"yaserver": "^0.4.0"
101101
},
102102
"alias": {

test/smoke/package-webpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ webpack(
4343
monacoEditorPath: path.resolve(REPO_ROOT, 'out/monaco-editor')
4444
})]
4545
},
46-
(err: Error | undefined, stats: webpack.Stats | undefined) => {
46+
(err: Error | null, stats: webpack.Stats | undefined) => {
4747
if (err) {
4848
console.error(err);
4949
process.exit(1);

0 commit comments

Comments
 (0)