Socket
Socket
Sign inDemoInstall

xtend

Package Overview
Dependencies
5
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.5 to 2.0.6

has-keys.js

4

index.js
var Keys = require("object-keys")
var isObject = require("is-object")
var hasKeys = require("./has-keys")

@@ -12,3 +12,3 @@ module.exports = extend

if (!isObject(source)) {
if (!hasKeys(source)) {
continue

@@ -15,0 +15,0 @@ }

@@ -1,2 +0,2 @@

var isObject = require("is-object")
var hasKeys = require("./has-keys")

@@ -9,3 +9,3 @@ module.exports = extend

sources.forEach(function (source) {
if (!isObject(source)) {
if (!hasKeys(source)) {
return

@@ -12,0 +12,0 @@ }

{
"name": "xtend",
"version": "2.0.5",
"version": "2.0.6",
"description": "extend like a boss",

@@ -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