Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
18
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.9.1 to 2.9.2

9

es/util/diff.js

@@ -8,6 +8,11 @@ import _extends from 'babel-runtime/helpers/extends';

export function wrapKeyToObject(key) {
var keyObj = void 0;
if (key && typeof key === 'object' && 'key' in key) {
return key;
keyObj = key;
} else {
keyObj = { key: key };
}
return { key: key };
return _extends({}, keyObj, {
key: String(keyObj.key)
});
}

@@ -14,0 +19,0 @@

@@ -24,6 +24,11 @@ 'use strict';

function wrapKeyToObject(key) {
var keyObj = void 0;
if (key && typeof key === 'object' && 'key' in key) {
return key;
keyObj = key;
} else {
keyObj = { key: key };
}
return { key: key };
return (0, _extends3['default'])({}, keyObj, {
key: String(keyObj.key)
});
}

@@ -30,0 +35,0 @@

{
"name": "rc-animate",
"version": "2.9.1",
"version": "2.9.2",
"description": "css-transition ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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