Socket
Socket
Sign inDemoInstall

elastic-builder

Package Overview
Dependencies
11
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.12.0 to 2.13.0

19

lib/queries/term-level-queries/regexp-query.js

@@ -75,2 +75,21 @@ 'use strict';

/**
* Allow case insensitive matching or not (added in 7.10.0).
* Defaults to false.
*
* @example
* const qry = esb.regexpQuery('name.first', 's.*y')
* .caseInsensitive(true);
*
* @param {boolean} caseInsensitive
* @returns {RegexpQuery} returns `this` so that calls can be chained.
*/
}, {
key: 'caseInsensitive',
value: function caseInsensitive(_caseInsensitive) {
this._queryOpts.case_insensitive = _caseInsensitive;
return this;
}
/**
* Limit on how many automaton states regexp queries are allowed to create.

@@ -77,0 +96,0 @@ * This protects against too-difficult (e.g. exponentially hard) regexps.

2

package.json
{
"name": "elastic-builder",
"version": "2.12.0",
"version": "2.13.0",
"description": "A JavaScript implementation of the elasticsearch Query DSL",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -48,2 +48,18 @@ 'use strict';

/**
* Allow case insensitive matching or not (added in 7.10.0).
* Defaults to false.
*
* @example
* const qry = esb.regexpQuery('name.first', 's.*y')
* .caseInsensitive(true);
*
* @param {boolean} caseInsensitive
* @returns {RegexpQuery} returns `this` so that calls can be chained.
*/
caseInsensitive(caseInsensitive) {
this._queryOpts.case_insensitive = caseInsensitive;
return this;
}
/**
* Limit on how many automaton states regexp queries are allowed to create.

@@ -50,0 +66,0 @@ * This protects against too-difficult (e.g. exponentially hard) regexps.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc