Socket
Socket
Sign inDemoInstall

object-lib

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-lib - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

9

lib/util/mk-child.js

@@ -5,3 +5,10 @@ export default (ref) => {

}
return Array.isArray(ref) ? [] : {};
const result = Array.isArray(ref) ? [] : {};
const symbols = Object.getOwnPropertySymbols(ref);
for (let i = 0; i < symbols.length; i += 1) {
const symbol = symbols[i];
const descriptor = Object.getOwnPropertyDescriptor(ref, symbol);
Object.defineProperty(result, symbol, descriptor);
}
return result;
};

2

package.json
{
"name": "object-lib",
"type": "module",
"version": "4.0.1",
"version": "4.0.2",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "repository": {

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