New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

raptor-util

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-util - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

11

extend.js

@@ -1,8 +0,11 @@

module.exports = function extend(target, source) { //A simple function to copy properties from one project to another
module.exports = function extend(target, source) { //A simple function to copy properties from one object to another
if (!target) { //Check if a target was provided, otherwise create a new empty object to return
target = {};
}
for (var propName in source) {
if (source.hasOwnProperty(propName)) { //Only look at source properties that are not inherited
target[propName] = source[propName]; //Copy the property
if (source) {
for (var propName in source) {
if (source.hasOwnProperty(propName)) { //Only look at source properties that are not inherited
target[propName] = source[propName]; //Copy the property
}
}

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

@@ -25,3 +25,3 @@ {

},
"version": "1.0.3"
"version": "1.0.4"
}
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