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.0 to 5.0.1

7

dist/LanguageClient.js

@@ -39,5 +39,11 @@ import { useEffect, useRef, useState } from 'react';

languageClientCount++;
// As soon as a new language client is requested and we have a focus, let's become the active tab
if (window.document.hasFocus()) {
writeStorage(ACTIVE_TAB_LOCAL_STORAGE_KEY, currentTab);
}
return () => {
languageClientCount--;
};
}, []);
useEffect(() => {
setWillShutdown(false);

@@ -62,3 +68,2 @@ if (shouldShutdownLanguageClientForInactivity || shouldShutdownLanguageClientAsNotActiveTab) {

return () => {
languageClientCount--;
errorDisposable.dispose();

@@ -65,0 +70,0 @@ statusChangeDisposable.dispose();

2

package.json
{
"name": "@codingame/monaco-languageclient-react",
"version": "5.0.0",
"version": "5.0.1",
"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