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

boolean-query-editor

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boolean-query-editor - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

69

dist/BooleanQueryEditor.js

@@ -25,49 +25,65 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.queryState = null, _this.getTermRange = function () {
return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.queryState = null, _this.focus = function () {
var _this2;
return (_this2 = _this).__getTermRange__REACT_HOT_LOADER__.apply(_this2, arguments);
}, _this.getQueryState = function () {
return (_this2 = _this).__focus__REACT_HOT_LOADER__.apply(_this2, arguments);
}, _this.blur = function () {
var _this3;
return (_this3 = _this).__getQueryState__REACT_HOT_LOADER__.apply(_this3, arguments);
}, _this.onChange = function () {
return (_this3 = _this).__blur__REACT_HOT_LOADER__.apply(_this3, arguments);
}, _this.getTermRange = function () {
var _this4;
return (_this4 = _this).__onChange__REACT_HOT_LOADER__.apply(_this4, arguments);
}, _this.onEscape = function () {
return (_this4 = _this).__getTermRange__REACT_HOT_LOADER__.apply(_this4, arguments);
}, _this.getQueryState = function () {
var _this5;
return (_this5 = _this).__onEscape__REACT_HOT_LOADER__.apply(_this5, arguments);
}, _this.onArrow = function () {
return (_this5 = _this).__getQueryState__REACT_HOT_LOADER__.apply(_this5, arguments);
}, _this.onChange = function () {
var _this6;
return (_this6 = _this).__onArrow__REACT_HOT_LOADER__.apply(_this6, arguments);
}, _this.onUpArrow = function () {
return (_this6 = _this).__onChange__REACT_HOT_LOADER__.apply(_this6, arguments);
}, _this.onEscape = function () {
var _this7;
return (_this7 = _this).__onUpArrow__REACT_HOT_LOADER__.apply(_this7, arguments);
}, _this.onDownArrow = function () {
return (_this7 = _this).__onEscape__REACT_HOT_LOADER__.apply(_this7, arguments);
}, _this.onArrow = function () {
var _this8;
return (_this8 = _this).__onDownArrow__REACT_HOT_LOADER__.apply(_this8, arguments);
}, _this.handleReturn = function () {
return (_this8 = _this).__onArrow__REACT_HOT_LOADER__.apply(_this8, arguments);
}, _this.onUpArrow = function () {
var _this9;
return (_this9 = _this).__handleReturn__REACT_HOT_LOADER__.apply(_this9, arguments);
}, _this.handlePastedText = function () {
return (_this9 = _this).__onUpArrow__REACT_HOT_LOADER__.apply(_this9, arguments);
}, _this.onDownArrow = function () {
var _this10;
return (_this10 = _this).__handlePastedText__REACT_HOT_LOADER__.apply(_this10, arguments);
}, _this.handleKeyCommand = function () {
return (_this10 = _this).__onDownArrow__REACT_HOT_LOADER__.apply(_this10, arguments);
}, _this.handleReturn = function () {
var _this11;
return (_this11 = _this).__handleKeyCommand__REACT_HOT_LOADER__.apply(_this11, arguments);
}, _this.keyBindingFn = function () {
return (_this11 = _this).__handleReturn__REACT_HOT_LOADER__.apply(_this11, arguments);
}, _this.handlePastedText = function () {
var _this12;
return (_this12 = _this).__keyBindingFn__REACT_HOT_LOADER__.apply(_this12, arguments);
return (_this12 = _this).__handlePastedText__REACT_HOT_LOADER__.apply(_this12, arguments);
}, _this.handleKeyCommand = function () {
var _this13;
return (_this13 = _this).__handleKeyCommand__REACT_HOT_LOADER__.apply(_this13, arguments);
}, _this.keyBindingFn = function () {
var _this14;
return (_this14 = _this).__keyBindingFn__REACT_HOT_LOADER__.apply(_this14, arguments);
}, _temp), _possibleConstructorReturn(_this, _ret);
}
BooleanQueryEditor.prototype.__focus__REACT_HOT_LOADER__ = function __focus__REACT_HOT_LOADER__() {
this.ref.focus();
};
BooleanQueryEditor.prototype.__blur__REACT_HOT_LOADER__ = function __blur__REACT_HOT_LOADER__() {
this.ref.blur();
};
BooleanQueryEditor.prototype.__getTermRange__REACT_HOT_LOADER__ = function __getTermRange__REACT_HOT_LOADER__() {

@@ -116,3 +132,3 @@ var selection = window.getSelection();

BooleanQueryEditor.prototype.__onChange__REACT_HOT_LOADER__ = function __onChange__REACT_HOT_LOADER__(editorState) {
var _this13 = this;
var _this15 = this;

@@ -122,3 +138,3 @@ this.props.onChange(editorState);

window.requestAnimationFrame(function () {
_this13.props.onQueryChange(_this13.getQueryState());
_this15.props.onQueryChange(_this15.getQueryState());
});

@@ -197,2 +213,4 @@ };

BooleanQueryEditor.prototype.render = function render() {
var _this16 = this;
var editorState = this.props.editorState;

@@ -202,2 +220,5 @@

return React.createElement(Editor, {
ref: function ref(_ref) {
_this16.ref = _ref;
},
editorState: editorState,

@@ -204,0 +225,0 @@ onChange: this.onChange,

{
"name": "boolean-query-editor",
"version": "1.1.1",
"version": "1.1.2",
"description": "Boolean query editor",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

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