monaco-yaml
Advanced tools
Comparing version 5.2.1 to 5.2.2
@@ -49,3 +49,3 @@ // src/index.ts | ||
const diagnostics = await worker.doValidation(String(model.uri)); | ||
return diagnostics == null ? void 0 : diagnostics.map((diagnostic) => toMarkerData(diagnostic)); | ||
return diagnostics == null ? void 0 : diagnostics.map(toMarkerData); | ||
}, | ||
@@ -131,3 +131,3 @@ async doReset(model) { | ||
return { | ||
actions: codeActions.map((codeAction) => toCodeAction(codeAction)), | ||
actions: codeActions.map(toCodeAction), | ||
dispose() { | ||
@@ -134,0 +134,0 @@ } |
{ | ||
"name": "monaco-yaml", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"description": "YAML plugin for the Monaco Editor", | ||
@@ -43,3 +43,3 @@ "homepage": "https://monaco-yaml.js.org", | ||
"jsonc-parser": "^3.0.0", | ||
"monaco-languageserver-types": "^0.3.0", | ||
"monaco-languageserver-types": "^0.4.0", | ||
"monaco-marker-data-provider": "^1.0.0", | ||
@@ -46,0 +46,0 @@ "monaco-types": "^0.1.0", |
@@ -239,3 +239,3 @@ import { | ||
return diagnostics?.map((diagnostic) => toMarkerData(diagnostic)) | ||
return diagnostics?.map(toMarkerData) | ||
}, | ||
@@ -340,3 +340,3 @@ | ||
return { | ||
actions: codeActions.map((codeAction) => toCodeAction(codeAction)), | ||
actions: codeActions.map(toCodeAction), | ||
dispose() { | ||
@@ -343,0 +343,0 @@ // This is required by the TypeScript interface, but it’s not implemented. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
678239
+ Addedmonaco-languageserver-types@0.4.0(transitive)
- Removedmonaco-languageserver-types@0.3.4(transitive)