Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-ace

Package Overview
Dependencies
Maintainers
1
Versions
102
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.0 to 6.1.1

.nyc_output/448e83ebe7ec1e820cd6fccf92841f7c.json

10

CHANGELOG.md

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

## 6.1.1
* Fixes typo in `console.warn`
* Adds style property to typings
## 6.1.0
* Onchange support in diff editor
* Debounce Prop support in split editor
## 6.0.0

@@ -10,0 +20,0 @@

2

lib/ace.js

@@ -132,3 +132,3 @@ 'use strict';

} else if (this.props[option]) {
console.warn('ReaceAce: editor option ' + option + ' was activated but not found. Did you need to import a related tool or did you possibly mispell the option?');
console.warn('ReactAce: editor option ' + option + ' was activated but not found. Did you need to import a related tool or did you possibly mispell the option?');
}

@@ -135,0 +135,0 @@ }

{
"name": "react-ace",
"version": "6.1.0",
"version": "6.1.1",
"description": "A react component for Ace Editor",

@@ -50,4 +50,4 @@ "main": "lib/index.js",

"rimraf": "2.6.2",
"sinon": "5.0.0",
"webpack": "4.6.0",
"sinon": "5.0.6",
"webpack": "4.8.1",
"webpack-cli": "^2.0.9",

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

@@ -90,3 +90,3 @@ import ace from 'brace'

} else if (this.props[option]) {
console.warn(`ReaceAce: editor option ${option} was activated but not found. Did you need to import a related tool or did you possibly mispell the option?`)
console.warn(`ReactAce: editor option ${option} was activated but not found. Did you need to import a related tool or did you possibly mispell the option?`)
}

@@ -93,0 +93,0 @@ }

@@ -30,3 +30,3 @@ import { expect } from 'chai';

expect(wrapper).to.exist;
expect(console.warn.calledWith('ReaceAce: editor option enableBasicAutocompletion was activated but not found. Did you need to import a related tool or did you possibly mispell the option?') ).to.be.true;
expect(console.warn.calledWith('ReactAce: editor option enableBasicAutocompletion was activated but not found. Did you need to import a related tool or did you possibly mispell the option?') ).to.be.true;
stub.restore();

@@ -361,3 +361,3 @@ });

expect(onChangeCallback.getCall(0).args[1].action).to.eq('insert');
onChangeCallback.reset();
onChangeCallback.resetHistory();
wrapper.instance().editor.setValue(expectText2, 1);

@@ -364,0 +364,0 @@ wrapper.instance().editor.setValue(expectText, 1);

@@ -5,3 +5,3 @@ // Type definitions for react-ace 4.1.3

import { Component } from 'react'
import { Component, CSSProperties } from 'react'

@@ -167,4 +167,5 @@ export interface Annotation {

markers?: Array<Marker>
style?: CSSProperties
}
export default class AceEditor extends Component<AceEditorProps, {}> {}

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