@codingame/monaco-languageclient-react
Advanced tools
Comparing version 1.1.0 to 1.1.1
import { ReactElement } from 'react'; | ||
import { StatusChangeEvent } from '@codingame/monaco-languageclient-wrapper'; | ||
import { LanguageClientId, StatusChangeEvent } from '@codingame/monaco-languageclient-wrapper'; | ||
export interface LanguageClientProps { | ||
id: string; | ||
id: LanguageClientId; | ||
sessionId?: string; | ||
@@ -6,0 +6,0 @@ languageServerUrl: string; |
@@ -35,3 +35,3 @@ import { useEffect, useRef } from 'react'; | ||
}; | ||
}, [getSecurityToken, id, languageServerUrl, libraryUrls]); | ||
}, [getSecurityToken, id, languageServerUrl, libraryUrls, sessionId]); | ||
useEffect(function () { | ||
@@ -38,0 +38,0 @@ onErrorRef.current = onError; |
{ | ||
"name": "@codingame/monaco-languageclient-react", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Monaco Editor React component", | ||
"scripts": { | ||
"build": "tsc" | ||
"build": "tsc", | ||
"lint": "npx eslint src/**" | ||
}, | ||
@@ -20,25 +21,25 @@ "repository": { | ||
"dependencies": { | ||
"@codingame/monaco-languageclient-wrapper": "^1.1.0", | ||
"@codingame/monaco-languageclient-wrapper": "^1.1.8", | ||
"react": ">=16.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.16.5", | ||
"@babel/plugin-proposal-class-properties": "7.16.5", | ||
"@babel/plugin-proposal-optional-chaining": "7.16.5", | ||
"@babel/preset-env": "7.16.5", | ||
"@babel/preset-react": "7.16.5", | ||
"@babel/preset-typescript": "7.16.5", | ||
"@babel/runtime": "7.16.5", | ||
"@babel/core": "7.16.7", | ||
"@babel/plugin-proposal-class-properties": "7.16.7", | ||
"@babel/plugin-proposal-optional-chaining": "7.16.7", | ||
"@babel/preset-env": "7.16.7", | ||
"@babel/preset-react": "7.16.7", | ||
"@babel/preset-typescript": "7.16.7", | ||
"@babel/runtime": "7.16.7", | ||
"@types/deep-equal": "^1.0.1", | ||
"@types/react": "17.0.37", | ||
"@typescript-eslint/eslint-plugin": "5.8.0", | ||
"@typescript-eslint/parser": "5.8.0", | ||
"@typescript-eslint/eslint-plugin": "5.9.0", | ||
"@typescript-eslint/parser": "5.9.0", | ||
"babel-eslint": "10.1.0", | ||
"eslint": "8.5.0", | ||
"eslint": "8.6.0", | ||
"eslint-config-standard": "16.0.3", | ||
"eslint-config-standard-jsx": "10.0.0", | ||
"eslint-plugin-import": "2.25.3", | ||
"eslint-plugin-import": "2.25.4", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "6.0.0", | ||
"eslint-plugin-react": "7.27.1", | ||
"eslint-plugin-react": "7.28.0", | ||
"eslint-plugin-react-hooks": "4.3.0", | ||
@@ -45,0 +46,0 @@ "eslint-plugin-standard": "5.0.0", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7631
8
62
1