react-instantsearch-core
Advanced tools
Comparing version 6.0.0-beta.1 to 6.0.0-beta.2
@@ -326,7 +326,7 @@ "use strict"; | ||
})); | ||
client.cache = (0, _objectSpread7.default)({}, client.cache, (0, _defineProperty2.default)({}, key, { | ||
client.cache = (0, _objectSpread7.default)({}, client.cache, (0, _defineProperty2.default)({}, key, JSON.stringify({ | ||
results: results.reduce(function (acc, result) { | ||
return acc.concat(result.rawResults); | ||
}, []) | ||
})); | ||
}))); | ||
} | ||
@@ -348,5 +348,5 @@ | ||
})); | ||
client.cache = (0, _objectSpread7.default)({}, client.cache, (0, _defineProperty2.default)({}, key, { | ||
client.cache = (0, _objectSpread7.default)({}, client.cache, (0, _defineProperty2.default)({}, key, JSON.stringify({ | ||
results: results.rawResults | ||
})); | ||
}))); | ||
} | ||
@@ -353,0 +353,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = void 0; | ||
var _default = '6.0.0-beta.1'; | ||
var _default = '6.0.0-beta.2'; | ||
exports.default = _default; |
@@ -310,7 +310,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
})); | ||
client.cache = _objectSpread({}, client.cache, _defineProperty({}, key, { | ||
client.cache = _objectSpread({}, client.cache, _defineProperty({}, key, JSON.stringify({ | ||
results: results.reduce(function (acc, result) { | ||
return acc.concat(result.rawResults); | ||
}, []) | ||
})); | ||
}))); | ||
} | ||
@@ -332,5 +332,5 @@ | ||
})); | ||
client.cache = _objectSpread({}, client.cache, _defineProperty({}, key, { | ||
client.cache = _objectSpread({}, client.cache, _defineProperty({}, key, JSON.stringify({ | ||
results: results.rawResults | ||
})); | ||
}))); | ||
} | ||
@@ -337,0 +337,0 @@ |
@@ -1,1 +0,1 @@ | ||
export default '6.0.0-beta.1'; | ||
export default '6.0.0-beta.2'; |
{ | ||
"name": "react-instantsearch-core", | ||
"version": "6.0.0-beta.1", | ||
"version": "6.0.0-beta.2", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1942238
0