New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-ace

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ace - npm Package Compare versions

Comparing version 6.1.3 to 6.1.4

.nyc_output/5f799927f920083bd1ab4610e85bdc3d.json

4

CHANGELOG.md

@@ -8,2 +8,6 @@ # Changelog

## 6.1.4
* Fixes #479 Diff component does not refresh when value prop changes
## 6.1.3

@@ -10,0 +14,0 @@

@@ -50,2 +50,12 @@ 'use strict';

_createClass(DiffComponent, [{
key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(props) {
var value = props.value;
if (value !== this.state.value) {
this.setState({ value: value });
}
}
}, {
key: 'onChange',

@@ -52,0 +62,0 @@ value: function onChange(value) {

4

package.json
{
"name": "react-ace",
"version": "6.1.3",
"version": "6.1.4",
"description": "A react component for Ace Editor",

@@ -51,3 +51,3 @@ "main": "lib/index.js",

"sinon": "6.0.1",
"webpack": "4.13.0",
"webpack": "4.14.0",
"webpack-cli": "^3.0.2",

@@ -54,0 +54,0 @@ "webpack-dev-server": "^3.1.3"

@@ -16,2 +16,10 @@ import SplitEditor from './split.js';

componentWillReceiveProps(props) {
const {value} = props;
if (value !== this.state.value) {
this.setState({value});
}
}
onChange(value) {

@@ -18,0 +26,0 @@ this.setState({

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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