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

@schibstedspain/sui-react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schibstedspain/sui-react-hooks - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.5.0"></a>
# 1.5.0 (2019-07-24)
### Bug Fixes
* make sure legacy state hook extends the most updated state ([3467709](https://github.com/SUI-Components/schibsted-spain-components/commit/3467709))
<a name="1.4.0"></a>

@@ -7,0 +17,0 @@ # 1.4.0 (2019-07-23)

4

lib/useLegacyState/index.js

@@ -15,3 +15,5 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";

var setLegacyState = function setLegacyState(newState) {
return setState(_objectSpread({}, state, newState));
return setState(function (prevState) {
return _objectSpread({}, prevState, newState);
});
};

@@ -18,0 +20,0 @@

{
"name": "@schibstedspain/sui-react-hooks",
"version": "1.4.0",
"version": "1.5.0",
"description": "",

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

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