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

monaco-yaml

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-yaml - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

4

index.js

@@ -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

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