@uiw/react-codemirror
Advanced tools
Comparing version 4.19.4 to 4.19.5
@@ -177,2 +177,5 @@ "use strict"; | ||
(0, _react.useEffect)(function () { | ||
if (value === undefined) { | ||
return; | ||
} | ||
var currentValue = view ? view.state.doc.toString() : ''; | ||
@@ -179,0 +182,0 @@ if (view && value !== currentValue) { |
@@ -145,2 +145,5 @@ import { useEffect, useState } from 'react'; | ||
useEffect(() => { | ||
if (value === undefined) { | ||
return; | ||
} | ||
var currentValue = view ? view.state.doc.toString() : ''; | ||
@@ -147,0 +150,0 @@ if (view && value !== currentValue) { |
{ | ||
"name": "@uiw/react-codemirror", | ||
"version": "4.19.4", | ||
"version": "4.19.5", | ||
"description": "CodeMirror component for React.", | ||
@@ -43,3 +43,3 @@ "homepage": "https://uiwjs.github.io/react-codemirror", | ||
"@codemirror/theme-one-dark": "^6.0.0", | ||
"@uiw/codemirror-extensions-basic-setup": "4.19.4", | ||
"@uiw/codemirror-extensions-basic-setup": "4.19.5", | ||
"codemirror": "^6.0.0" | ||
@@ -46,0 +46,0 @@ }, |
@@ -184,2 +184,5 @@ import { useEffect, useState } from 'react'; | ||
useEffect(() => { | ||
if (value === undefined) { | ||
return; | ||
} | ||
const currentValue = view ? view.state.doc.toString() : ''; | ||
@@ -186,0 +189,0 @@ if (view && value !== currentValue) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
729435
12132
+ Added@uiw/codemirror-extensions-basic-setup@4.19.5(transitive)
- Removed@uiw/codemirror-extensions-basic-setup@4.19.4(transitive)