react-ace
Advanced tools
Comparing version 5.7.0 to 5.8.0
@@ -8,2 +8,7 @@ # Changelog | ||
## 5.8.0 | ||
* Upgrade brace to 0.11 | ||
* More loose comparison for componentDidMount for default value. Closes #317 | ||
## 5.7.0 | ||
@@ -10,0 +15,0 @@ |
# Modes, Themes, and Keyboard Handlers | ||
All modes, themes, and keyboard handlers should be required through ```brace``` directly. Browserify will grab these modes / themes / keyboard handlers through ```brace``` and will be available at run time. See the example above. This prevents bloating the compiled javascript with extra modes and themes for your application. | ||
All modes, themes, and keyboard handlers should be required through [`brace`](https://github.com/thlorenz/brace) directly. Browserify will grab these [modes](https://github.com/thlorenz/brace/tree/master/mode) / [themes](https://github.com/thlorenz/brace/tree/master/theme) / [keyboard handlers](https://github.com/thlorenz/brace/tree/master/keybinding) through ```brace``` and will be available at run time. See the example above. This prevents bloating the compiled javascript with extra modes and themes for your application. | ||
@@ -39,2 +39,2 @@ ### Example Modes | ||
* vim | ||
* emacs | ||
* emacs |
@@ -99,3 +99,3 @@ 'use strict'; | ||
this.editor.setFontSize(fontSize); | ||
this.editor.setValue(defaultValue === undefined ? value : defaultValue, cursorStart); | ||
this.editor.setValue(!defaultValue ? value : defaultValue, cursorStart); | ||
this.editor.renderer.setShowGutter(showGutter); | ||
@@ -102,0 +102,0 @@ this.editor.getSession().setUseWrapMode(wrapEnabled); |
{ | ||
"name": "react-ace", | ||
"version": "5.7.0", | ||
"version": "5.8.0", | ||
"description": "A react component for Ace Editor", | ||
@@ -49,3 +49,3 @@ "main": "lib/index.js", | ||
"enzyme-adapter-react-16": "^1.0.1", | ||
"eslint": "4.11.0", | ||
"eslint": "4.12.0", | ||
"eslint-plugin-import": "^2.2.0", | ||
@@ -63,3 +63,3 @@ "eslint-plugin-jsx-a11y": "^6.0.0", | ||
"webpack": "3.8.1", | ||
"webpack-dev-server": "2.9.4" | ||
"webpack-dev-server": "2.9.5" | ||
}, | ||
@@ -74,3 +74,3 @@ "keywords": [ | ||
"dependencies": { | ||
"brace": "^0.10.0", | ||
"brace": "^0.11.0", | ||
"lodash.get": "^4.4.2", | ||
@@ -77,0 +77,0 @@ "lodash.isequal": "^4.1.1", |
@@ -57,3 +57,3 @@ import ace from 'brace' | ||
this.editor.setFontSize(fontSize); | ||
this.editor.setValue(defaultValue === undefined ? value : defaultValue, cursorStart); | ||
this.editor.setValue(!defaultValue ? value : defaultValue, cursorStart); | ||
this.editor.renderer.setShowGutter(showGutter); | ||
@@ -60,0 +60,0 @@ this.editor.getSession().setUseWrapMode(wrapEnabled); |
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2100355
39019
+ Addedbrace@0.11.1(transitive)
- Removedbrace@0.10.0(transitive)
- Removedw3c-blob@0.0.1(transitive)
Updatedbrace@^0.11.0