Socket
Socket
Sign inDemoInstall

@rpldy/shared

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/shared - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

4

lib/batchItem.js

@@ -43,3 +43,5 @@ "use strict";

Object.defineProperty(batchItem, BISYM, {
value: true
value: true,
//need writable to be able to keep prop when unwrapped from simple-state
writable: true
});

@@ -46,0 +48,0 @@

@@ -19,8 +19,10 @@ "use strict";

* @param obj
* @param mergeFn the merge function to use (default: utils/merge)
* @returns {Object}
*/
var _default = function _default(obj) {
return (0, _merge.isMergeObj)(obj) ? (0, _merge["default"])(Array.isArray(obj) ? [] : {}, obj) : obj;
var mergeFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _merge["default"];
return (0, _merge.isMergeObj)(obj) ? mergeFn(Array.isArray(obj) ? [] : {}, obj) : obj;
};
exports["default"] = _default;

@@ -18,2 +18,7 @@ "use strict";

var getKeys = function getKeys(obj, options) {
var keys = Object.keys(obj);
return options.withSymbols ? keys.concat(Object.getOwnPropertySymbols(obj)) : keys;
};
var getMerge = function getMerge() {

@@ -30,3 +35,3 @@ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

if (source) {
Object.keys(source).forEach(function (key) {
getKeys(source, options).forEach(function (key) {
var prop = source[key];

@@ -33,0 +38,0 @@

{
"version": "0.3.2",
"version": "0.4.0",
"name": "@rpldy/shared",

@@ -29,3 +29,3 @@ "description": "internal set of utils+types for react-uploady",

},
"gitHead": "855e4471317ca0bc82f168b217c43e3f74211364"
"gitHead": "da9538afacc43e650a5e1b8bb61594277bcecea9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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