Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

assign-defined

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assign-defined - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js
var assignFilter = require('assign-filter')
function isDefined(value) {
return value !== undefined
}
module.exports = function(target) {

@@ -4,0 +8,0 @@ var sources = Array.prototype.slice.call(arguments, 1)

2

package.json
{
"name": "assign-defined",
"version": "1.0.1",
"version": "1.0.2",
"description": "Object.assign that skips any undefined properties from source objects",

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

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