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

react-instantsearch-core

Package Overview
Dependencies
Maintainers
7
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 6.25.0 to 6.26.0

1

dist/cjs/connectors/connectAutoComplete.js

@@ -81,2 +81,3 @@ "use strict";

displayName: 'AlgoliaAutoComplete',
$$type: 'ais.autoComplete',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -83,0 +84,0 @@ return {

@@ -90,2 +90,3 @@ "use strict";

displayName: 'AlgoliaBreadcrumb',
$$type: 'ais.breadcrumb',
propTypes: {

@@ -92,0 +93,0 @@ attributes: function attributes(props, propName, componentName) {

@@ -33,2 +33,3 @@ "use strict";

displayName: 'AlgoliaConfigure',
$$type: 'ais.configure',
getProvidedProps: function getProvidedProps() {

@@ -35,0 +36,0 @@ return {};

@@ -87,2 +87,3 @@ "use strict";

displayName: 'AlgoliaConfigureRelatedItems',
$$type: 'ais.configureRelatedItems',
defaultProps: defaultProps,

@@ -89,0 +90,0 @@ getProvidedProps: function getProvidedProps() {

@@ -34,2 +34,3 @@ "use strict";

displayName: 'AlgoliaCurrentRefinements',
$$type: 'ais.currentRefinements',
propTypes: {

@@ -36,0 +37,0 @@ transformItems: _propTypes.default.func

@@ -20,2 +20,3 @@ "use strict";

displayName: 'AlgoliaDynamicWidgets',
$$type: 'ais.dynamicWidgets',
defaultProps: {

@@ -22,0 +23,0 @@ transformItems: function transformItems(items) {

@@ -122,2 +122,3 @@ "use strict";

displayName: 'AlgoliaGeoSearch',
$$type: 'ais.geoSearch',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -124,0 +125,0 @@ var context = {

@@ -153,2 +153,3 @@ "use strict";

displayName: 'AlgoliaHierarchicalMenu',
$$type: 'ais.hierarchicalMenu',
propTypes: {

@@ -155,0 +156,0 @@ attributes: function attributes(props, propName, componentName) {

@@ -84,2 +84,3 @@ "use strict";

displayName: 'AlgoliaHighlighter',
$$type: 'ais.highlighter',
propTypes: {},

@@ -86,0 +87,0 @@ getProvidedProps: function getProvidedProps() {

@@ -74,2 +74,3 @@ "use strict";

displayName: 'AlgoliaInsights',
$$type: 'ais.insights',
getProvidedProps: function getProvidedProps(props, _, searchResults) {

@@ -76,0 +77,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -61,2 +61,3 @@ "use strict";

displayName: 'AlgoliaHits',
$$type: 'ais.hits',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -63,0 +64,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -53,2 +53,3 @@ "use strict";

displayName: 'AlgoliaHitsPerPage',
$$type: 'ais.hitsPerPage',
propTypes: {

@@ -55,0 +56,0 @@ defaultRefinement: _propTypes.default.number.isRequired,

@@ -88,2 +88,3 @@ "use strict";

displayName: 'AlgoliaInfiniteHits',
$$type: 'ais.infiniteHits',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -90,0 +91,0 @@ var _this = this;

@@ -83,2 +83,3 @@ "use strict";

displayName: 'AlgoliaMenu',
$$type: 'ais.menu',
propTypes: {

@@ -85,0 +86,0 @@ attribute: _propTypes.default.string.isRequired,

@@ -112,2 +112,3 @@ "use strict";

displayName: 'AlgoliaNumericMenu',
$$type: 'ais.numericMenu',
propTypes: {

@@ -114,0 +115,0 @@ id: _propTypes.default.string,

@@ -58,2 +58,3 @@ "use strict";

displayName: 'AlgoliaPagination',
$$type: 'ais.pagination',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -60,0 +61,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -21,2 +21,3 @@ "use strict";

displayName: 'AlgoliaPoweredBy',
$$type: 'ais.poweredBy',
getProvidedProps: function getProvidedProps() {

@@ -23,0 +24,0 @@ var hostname = typeof window === 'undefined' || typeof window.location === 'undefined' ? '' : window.location.hostname;

@@ -92,2 +92,3 @@ "use strict";

displayName: 'AlgoliaQueryRules',
$$type: 'ais.queryRules',
defaultProps: defaultProps,

@@ -94,0 +95,0 @@ getProvidedProps: function getProvidedProps(props, _1, searchResults) {

@@ -179,2 +179,3 @@ "use strict";

displayName: 'AlgoliaRange',
$$type: 'ais.range',
propTypes: {

@@ -181,0 +182,0 @@ id: _propTypes.default.string,

@@ -104,2 +104,3 @@ "use strict";

displayName: 'AlgoliaRefinementList',
$$type: 'ais.refinementList',
propTypes: {

@@ -106,0 +107,0 @@ id: _propTypes.default.string,

@@ -28,2 +28,3 @@ "use strict";

displayName: 'AlgoliaRelevantSort',
$$type: 'ais.relevantSort',
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {

@@ -30,0 +31,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -29,2 +29,3 @@ "use strict";

displayName: 'AlgoliaScrollTo',
$$type: 'ais.scrollTo',
propTypes: {

@@ -31,0 +32,0 @@ scrollOn: _propTypes.default.string

@@ -57,2 +57,3 @@ "use strict";

displayName: 'AlgoliaSearchBox',
$$type: 'ais.searchBox',
propTypes: {

@@ -59,0 +60,0 @@ defaultRefinement: _propTypes.default.string

@@ -55,2 +55,3 @@ "use strict";

displayName: 'AlgoliaSortBy',
$$type: 'ais.sortBy',
propTypes: {

@@ -57,0 +58,0 @@ defaultRefinement: _propTypes.default.string,

@@ -65,2 +65,3 @@ "use strict";

displayName: 'AlgoliaStateResults',
$$type: 'ais.stateResults',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -67,0 +68,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -25,2 +25,3 @@ "use strict";

displayName: 'AlgoliaStats',
$$type: 'ais.stats',
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {

@@ -27,0 +28,0 @@ var results = (0, _indexUtils.getResults)(searchResults, {

@@ -70,2 +70,3 @@ "use strict";

displayName: 'AlgoliaToggle',
$$type: 'ais.toggle',
propTypes: {

@@ -72,0 +73,0 @@ label: _propTypes.default.string.isRequired,

@@ -79,2 +79,3 @@ "use strict";

displayName: 'AlgoliaVoiceSearch',
$$type: 'ais.voiceSearch',
propTypes: {

@@ -81,0 +82,0 @@ defaultRefinement: _propTypes.default.string

8

dist/cjs/core/createConnector.js

@@ -70,2 +70,4 @@ "use strict";

return function (Composed) {
var additionalWidgetProperties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var Connector = /*#__PURE__*/function (_Component) {

@@ -280,2 +282,4 @@ (0, _inherits2.default)(Connector, _Component);

(0, _defineProperty2.default)(Connector, "displayName", "".concat(connectorDesc.displayName, "(").concat((0, _utils.getDisplayName)(Composed), ")"));
(0, _defineProperty2.default)(Connector, "$$type", connectorDesc.$$type);
(0, _defineProperty2.default)(Connector, "$$widgetType", additionalWidgetProperties.$$widgetType);
(0, _defineProperty2.default)(Connector, "propTypes", connectorDesc.propTypes);

@@ -289,4 +293,4 @@ (0, _defineProperty2.default)(Connector, "defaultProps", connectorDesc.defaultProps);

var createConnectorWithContext = function createConnectorWithContext(connectorDesc) {
return function (Composed) {
var Connector = createConnectorWithoutContext(connectorDesc)(Composed);
return function (Composed, additionalWidgetProperties) {
var Connector = createConnectorWithoutContext(connectorDesc)(Composed, additionalWidgetProperties);

@@ -293,0 +297,0 @@ var ConnectorWrapper = function ConnectorWrapper(props) {

@@ -32,2 +32,4 @@ "use strict";

displayName: displayName,
$$type: constructor.$$type,
$$widgetType: constructor.$$widgetType,
params: Object.keys(props).filter(function (prop) {

@@ -34,0 +36,0 @@ return !internalProps.includes(prop) && defaultProps[prop] !== props[prop] && props[prop] !== undefined;

@@ -7,3 +7,3 @@ "use strict";

exports.default = void 0;
var _default = '6.25.0';
var _default = '6.26.0';
exports.default = _default;

@@ -48,4 +48,6 @@ "use strict";

return null;
}, {
$$widgetType: 'ais.configure'
});
exports.default = _default;

@@ -24,4 +24,6 @@ "use strict";

var _default = (0, _connectConfigureRelatedItems.default)(ConfigureRelatedItems);
var _default = (0, _connectConfigureRelatedItems.default)(ConfigureRelatedItems, {
$$widgetType: 'ais.configureRelatedItems'
});
exports.default = _default;

@@ -74,4 +74,6 @@ "use strict";

var _default = (0, _connectDynamicWidgets.default)(DynamicWidgets);
var _default = (0, _connectDynamicWidgets.default)(DynamicWidgets, {
$$widgetType: 'ais.dynamicWidgets'
});
exports.default = _default;

@@ -155,2 +155,4 @@ "use strict";

(0, _defineProperty2.default)(Index, "displayName", 'AlgoliaIndex');
(0, _defineProperty2.default)(Index, "$$type", 'ais.index');
(0, _defineProperty2.default)(Index, "$$widgetType", 'ais.index');

@@ -157,0 +159,0 @@ var IndexWrapper = function IndexWrapper(props) {

@@ -14,4 +14,6 @@ "use strict";

return null;
}, {
$$widgetType: 'ais.queryRuleContext'
});
exports.default = _default;

@@ -70,2 +70,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaAutoComplete',
$$type: 'ais.autoComplete',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -72,0 +73,0 @@ return {

@@ -77,2 +77,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaBreadcrumb',
$$type: 'ais.breadcrumb',
propTypes: {

@@ -79,0 +80,0 @@ attributes: function attributes(props, propName, componentName) {

@@ -20,2 +20,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaConfigure',
$$type: 'ais.configure',
getProvidedProps: function getProvidedProps() {

@@ -22,0 +23,0 @@ return {};

@@ -74,2 +74,3 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

displayName: 'AlgoliaConfigureRelatedItems',
$$type: 'ais.configureRelatedItems',
defaultProps: defaultProps,

@@ -76,0 +77,0 @@ getProvidedProps: function getProvidedProps() {

@@ -24,2 +24,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaCurrentRefinements',
$$type: 'ais.currentRefinements',
propTypes: {

@@ -26,0 +27,0 @@ transformItems: PropTypes.func

@@ -7,2 +7,3 @@ import PropTypes from 'prop-types';

displayName: 'AlgoliaDynamicWidgets',
$$type: 'ais.dynamicWidgets',
defaultProps: {

@@ -9,0 +10,0 @@ transformItems: function transformItems(items) {

@@ -111,2 +111,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaGeoSearch',
$$type: 'ais.geoSearch',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -113,0 +114,0 @@ var context = {

@@ -139,2 +139,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaHierarchicalMenu',
$$type: 'ais.hierarchicalMenu',
propTypes: {

@@ -141,0 +142,0 @@ attributes: function attributes(props, propName, componentName) {

@@ -74,2 +74,3 @@ import createConnector from "../core/createConnector.js";

displayName: 'AlgoliaHighlighter',
$$type: 'ais.highlighter',
propTypes: {},

@@ -76,0 +77,0 @@ getProvidedProps: function getProvidedProps() {

@@ -64,2 +64,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaInsights',
$$type: 'ais.insights',
getProvidedProps: function getProvidedProps(props, _, searchResults) {

@@ -66,0 +67,0 @@ var results = getResults(searchResults, {

@@ -50,2 +50,3 @@ import createConnector from "../core/createConnector.js";

displayName: 'AlgoliaHits',
$$type: 'ais.hits',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -52,0 +53,0 @@ var results = getResults(searchResults, {

@@ -42,2 +42,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaHitsPerPage',
$$type: 'ais.hitsPerPage',
propTypes: {

@@ -44,0 +45,0 @@ defaultRefinement: PropTypes.number.isRequired,

@@ -72,2 +72,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaInfiniteHits',
$$type: 'ais.infiniteHits',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -74,0 +75,0 @@ var _this = this;

@@ -71,2 +71,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaMenu',
$$type: 'ais.menu',
propTypes: {

@@ -73,0 +74,0 @@ attribute: PropTypes.string.isRequired,

@@ -99,2 +99,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaNumericMenu',
$$type: 'ais.numericMenu',
propTypes: {

@@ -101,0 +102,0 @@ id: PropTypes.string,

@@ -49,2 +49,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaPagination',
$$type: 'ais.pagination',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -51,0 +52,0 @@ var results = getResults(searchResults, {

@@ -12,2 +12,3 @@ import createConnector from "../core/createConnector.js";

displayName: 'AlgoliaPoweredBy',
$$type: 'ais.poweredBy',
getProvidedProps: function getProvidedProps() {

@@ -14,0 +15,0 @@ var hostname = typeof window === 'undefined' || typeof window.location === 'undefined' ? '' : window.location.hostname;

@@ -80,2 +80,3 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

displayName: 'AlgoliaQueryRules',
$$type: 'ais.queryRules',
defaultProps: defaultProps,

@@ -82,0 +83,0 @@ getProvidedProps: function getProvidedProps(props, _1, searchResults) {

@@ -169,2 +169,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaRange',
$$type: 'ais.range',
propTypes: {

@@ -171,0 +172,0 @@ id: PropTypes.string,

@@ -90,2 +90,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaRefinementList',
$$type: 'ais.refinementList',
propTypes: {

@@ -92,0 +93,0 @@ id: PropTypes.string,

@@ -17,2 +17,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaRelevantSort',
$$type: 'ais.relevantSort',
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {

@@ -19,0 +20,0 @@ var results = getResults(searchResults, {

@@ -17,2 +17,3 @@ import PropTypes from 'prop-types';

displayName: 'AlgoliaScrollTo',
$$type: 'ais.scrollTo',
propTypes: {

@@ -19,0 +20,0 @@ scrollOn: PropTypes.string

@@ -47,2 +47,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaSearchBox',
$$type: 'ais.searchBox',
propTypes: {

@@ -49,0 +50,0 @@ defaultRefinement: PropTypes.string

@@ -44,2 +44,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaSortBy',
$$type: 'ais.sortBy',
propTypes: {

@@ -46,0 +47,0 @@ defaultRefinement: PropTypes.string,

@@ -55,2 +55,3 @@ import createConnector from "../core/createConnector.js";

displayName: 'AlgoliaStateResults',
$$type: 'ais.stateResults',
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {

@@ -57,0 +58,0 @@ var results = getResults(searchResults, {

@@ -15,2 +15,3 @@ import createConnector from "../core/createConnector.js";

displayName: 'AlgoliaStats',
$$type: 'ais.stats',
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {

@@ -17,0 +18,0 @@ var results = getResults(searchResults, {

@@ -59,2 +59,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaToggle',
$$type: 'ais.toggle',
propTypes: {

@@ -61,0 +62,0 @@ label: PropTypes.string.isRequired,

@@ -68,2 +68,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

displayName: 'AlgoliaVoiceSearch',
$$type: 'ais.voiceSearch',
propTypes: {

@@ -70,0 +71,0 @@ defaultRefinement: PropTypes.string

@@ -42,2 +42,4 @@ import _extends from "@babel/runtime/helpers/esm/extends";

return function (Composed) {
var additionalWidgetProperties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var Connector = /*#__PURE__*/function (_Component) {

@@ -263,2 +265,6 @@ _inherits(Connector, _Component);

_defineProperty(Connector, "$$type", connectorDesc.$$type);
_defineProperty(Connector, "$$widgetType", additionalWidgetProperties.$$widgetType);
_defineProperty(Connector, "propTypes", connectorDesc.propTypes);

@@ -275,4 +281,4 @@

var createConnectorWithContext = function createConnectorWithContext(connectorDesc) {
return function (Composed) {
var Connector = createConnectorWithoutContext(connectorDesc)(Composed);
return function (Composed, additionalWidgetProperties) {
var Connector = createConnectorWithoutContext(connectorDesc)(Composed, additionalWidgetProperties);

@@ -279,0 +285,0 @@ var ConnectorWrapper = function ConnectorWrapper(props) {

@@ -19,2 +19,4 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

displayName: displayName,
$$type: constructor.$$type,
$$widgetType: constructor.$$widgetType,
params: Object.keys(props).filter(function (prop) {

@@ -21,0 +23,0 @@ return !internalProps.includes(prop) && defaultProps[prop] !== props[prop] && props[prop] !== undefined;

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

export default '6.25.0';
export default '6.26.0';

@@ -39,2 +39,4 @@ import connectConfigure from "../connectors/connectConfigure.js";

return null;
}, {
$$widgetType: 'ais.configure'
});

@@ -13,2 +13,4 @@ import connectConfigureRelatedItems from "../connectors/connectConfigureRelatedItems.js";

};
export default connectConfigureRelatedItems(ConfigureRelatedItems);
export default connectConfigureRelatedItems(ConfigureRelatedItems, {
$$widgetType: 'ais.configureRelatedItems'
});

@@ -54,2 +54,4 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

export default connectDynamicWidgets(DynamicWidgets);
export default connectDynamicWidgets(DynamicWidgets, {
$$widgetType: 'ais.dynamicWidgets'
});

@@ -137,2 +137,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";

_defineProperty(Index, "$$type", 'ais.index');
_defineProperty(Index, "$$widgetType", 'ais.index');
var IndexWrapper = function IndexWrapper(props) {

@@ -139,0 +143,0 @@ var inferredIndexId = props.indexName;

import connectQueryRules from "../connectors/connectQueryRules.js";
export default connectQueryRules(function QueryRuleContext() {
return null;
}, {
$$widgetType: 'ais.queryRuleContext'
});
{
"name": "react-instantsearch-core",
"version": "6.25.0",
"version": "6.26.0",
"description": "⚡ Lightning-fast search for React, by Algolia",

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

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