Socket
Socket
Sign inDemoInstall

js-fns

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-fns - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

4

cloneDeep/index.js

@@ -16,4 +16,4 @@ 'use strict'

if (!value || !(typeof value === 'object')) return value
var typeStr = Object.prototype.toString.call(value)
var newObj = typeStr === '[object Array]' ? [] : {}
if (value instanceof Date) return new Date(value)
var newObj = Array.isArray(value) ? [] : {}
var valueObj = value

@@ -20,0 +20,0 @@ Object.keys(valueObj).forEach(function (key) {

{
"name": "js-fns",
"version": "2.5.1",
"version": "2.5.2",
"description": "Modern JavaScript utility library focused on the build size",

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

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