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

react-instantsearch-core

Package Overview
Dependencies
Maintainers
31
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-instantsearch-core - npm Package Compare versions

Comparing version 5.3.1 to 5.3.2

2

dist/cjs/connectors/connectHierarchicalMenu.js

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

* @propType {string} [separator='>'] - Specifies the level separator used in the data.
* @propType {string[]} [rootPath=null] - The already selected and hidden path.
* @propType {string} [rootPath=null] - The path to use if the first level is not the root level.
* @propType {boolean} [showParentLevel=true] - Flag to set if the parent level should be displayed.

@@ -147,0 +147,0 @@ * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.

@@ -281,4 +281,9 @@ 'use strict';

query = _ref2.query,
maxFacetHits = _ref2.maxFacetHits;
_ref2$maxFacetHits = _ref2.maxFacetHits,
maxFacetHits = _ref2$maxFacetHits === undefined ? 10 : _ref2$maxFacetHits;
// The values 1, 100 are the min / max values that the engine accepts.
// see: https://www.algolia.com/doc/api-reference/api-parameters/maxFacetHits
var maxFacetHitsWithinRange = Math.max(1, Math.min(maxFacetHits, 100));
store.setState(_extends({}, store.getState(), {

@@ -288,3 +293,3 @@ searchingForFacetValues: true

helper.searchForFacetValues(facetName, query, maxFacetHits).then(function (content) {
helper.searchForFacetValues(facetName, query, maxFacetHitsWithinRange).then(function (content) {
var _extends2;

@@ -291,0 +296,0 @@

@@ -6,2 +6,2 @@ 'use strict';

});
exports.default = '5.3.1';
exports.default = '5.3.2';

@@ -128,3 +128,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

* @propType {string} [separator='>'] - Specifies the level separator used in the data.
* @propType {string[]} [rootPath=null] - The already selected and hidden path.
* @propType {string} [rootPath=null] - The path to use if the first level is not the root level.
* @propType {boolean} [showParentLevel=true] - Flag to set if the parent level should be displayed.

@@ -131,0 +131,0 @@ * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.

@@ -254,4 +254,9 @@ import _find from 'lodash/find';

query = _ref2.query,
maxFacetHits = _ref2.maxFacetHits;
_ref2$maxFacetHits = _ref2.maxFacetHits,
maxFacetHits = _ref2$maxFacetHits === undefined ? 10 : _ref2$maxFacetHits;
// The values 1, 100 are the min / max values that the engine accepts.
// see: https://www.algolia.com/doc/api-reference/api-parameters/maxFacetHits
var maxFacetHitsWithinRange = Math.max(1, Math.min(maxFacetHits, 100));
store.setState(_extends({}, store.getState(), {

@@ -261,3 +266,3 @@ searchingForFacetValues: true

helper.searchForFacetValues(facetName, query, maxFacetHits).then(function (content) {
helper.searchForFacetValues(facetName, query, maxFacetHitsWithinRange).then(function (content) {
var _extends2;

@@ -264,0 +269,0 @@

@@ -1,1 +0,1 @@

export default '5.3.1';
export default '5.3.2';
{
"name": "react-instantsearch-core",
"version": "5.3.1",
"version": "5.3.2",
"description": "⚡ Lightning-fast search for React, by Algolia",

@@ -55,16 +55,16 @@ "main": "dist/cjs/index.js",

"babel-preset-stage-2": "6.24.1",
"enzyme": "3.6.0",
"enzyme-adapter-react-16": "1.5.0",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.6.0",
"enzyme-to-json": "3.3.4",
"jest": "23.6.0",
"react": "16.5.2",
"react-dom": "16.5.2",
"react-test-renderer": "16.5.2",
"rollup": "0.66.2",
"react": "16.6.0",
"react-dom": "16.6.0",
"react-test-renderer": "16.6.0",
"rollup": "0.66.6",
"rollup-plugin-babel": "3.0.7",
"rollup-plugin-commonjs": "9.1.8",
"rollup-plugin-filesize": "4.0.1",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-filesize": "5.0.1",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-replace": "2.0.0",
"rollup-plugin-replace": "2.1.0",
"rollup-plugin-uglify": "6.0.0"

@@ -71,0 +71,0 @@ },

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

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 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