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

elasticsearch-concise-query

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch-concise-query - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

2

dist/index.d.ts

@@ -6,2 +6,3 @@ import React from 'react';

results: never[];
query: IQueryRequestBody;
};

@@ -24,2 +25,3 @@ componentDidMount(): void;

results: never[];
query: IQueryRequestBody;
};

@@ -26,0 +28,0 @@ componentDidMount(): void;

9

dist/index.js

@@ -37,3 +37,6 @@ "use strict";

var _this = _super !== null && _super.apply(this, arguments) || this;
_this.state = { results: [] };
_this.state = {
results: [],
query: build_1.default(queries, config)
};
_this.sendQuery = function (index) {

@@ -43,3 +46,3 @@ return fetch(index + "_search", {

headers: { 'content-type': 'application/json' },
body: JSON.stringify(build_1.default(queries, config))
body: JSON.stringify(_this.state.query)
})

@@ -65,3 +68,3 @@ .then(function (res) { return res.json(); })

class_1.prototype.render = function () {
return (react_1.default.createElement(Component, __assign({}, this.props, { results: this.state.results })));
return (react_1.default.createElement(Component, __assign({}, this.props, { query: this.state.query, results: this.state.results })));
};

@@ -68,0 +71,0 @@ return class_1;

{
"name": "elasticsearch-concise-query",
"version": "1.0.0",
"version": "1.0.1",
"description": "A highly configurable and syntactically concise Elasticsearch query builder",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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