@react-fabric/monaco 1.0.0-beta.49 → 1.0.0-beta.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -90,7 +90,7 @@ var CodeEditor = function CodeEditor(_ref) {
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
}, [required, language]);
|
|
93
|
-
var disposeRef = react.useRef();
|
|
93
|
+
var disposeRef = react.useRef(null);
|
|
94
94
|
var schemaUri = react.useCallback(function (monaco) {
|
|
95
95
|
if (language === "json" && schema) {
|
|
96
96
|
var _monaco$languages;
|
|
@@ -90,7 +90,7 @@ var CodeEditor = function CodeEditor(_ref) {
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
}, [required, language]);
|
|
93
|
-
var disposeRef = useRef();
|
|
93
|
+
var disposeRef = useRef(null);
|
|
94
94
|
var schemaUri = useCallback(function (monaco) {
|
|
95
95
|
if (language === "json" && schema) {
|
|
96
96
|
var _monaco$languages;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/monaco",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.51",
|
|
4
4
|
"description": "RUF: Monaco editor",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"watch": "npm-run-all -p watch:rollup watch:dts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
39
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
38
|
+
"@react-fabric/core": "^1.0.0-beta.51",
|
|
39
|
+
"@react-fabric/utilities": "^1.0.0-beta.50",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"monaco-editor": "^0.52.2",
|
|
42
42
|
"react-monaco-editor": "^0.58.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"i18next": "^
|
|
45
|
+
"i18next": "^25.2.1",
|
|
46
46
|
"react": "^19.0.0",
|
|
47
47
|
"react-dom": "^19.0.0",
|
|
48
|
-
"react-i18next": "^15.
|
|
48
|
+
"react-i18next": "^15.5.2"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18.12.0",
|
|
52
52
|
"npm": ">=8.19.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "a1b04de4663045f82992bff2aef8db26608eac74"
|
|
55
55
|
}
|
|
@@ -156,7 +156,7 @@ export const CodeEditor = ({
|
|
|
156
156
|
[required, language],
|
|
157
157
|
);
|
|
158
158
|
|
|
159
|
-
const disposeRef = useRef<AnyObject>();
|
|
159
|
+
const disposeRef = useRef<AnyObject>(null);
|
|
160
160
|
const schemaUri = useCallback(
|
|
161
161
|
(monaco: typeof monacoEditor) => {
|
|
162
162
|
if (language === "json" && schema) {
|