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

@codingame/monaco-languageclient-react

Package Overview
Dependencies
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-languageclient-react - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

14

dist/LanguageClient.js

@@ -72,7 +72,11 @@ import { useEffect, useRef, useState } from 'react';

clearTimeout(startTimeout);
languageClient.dispose().then(() => {
// eslint-disable-next-line no-console
console.info('Language server shut down');
}, err => {
console.error('Unable to dispose language client', err);
setTimeout(() => {
// Close in a timeout so the languageclient is not disposed at the exact same time as a model
// Or a error is displayed because it fails to send the didClose notification
languageClient.dispose().then(() => {
// eslint-disable-next-line no-console
console.info('Language server shut down');
}, err => {
console.error('Unable to dispose language client', err);
});
});

@@ -79,0 +83,0 @@ };

{
"name": "@codingame/monaco-languageclient-react",
"version": "5.0.1",
"version": "5.0.2",
"description": "Monaco Editor React component",

@@ -5,0 +5,0 @@ "scripts": {

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