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

@blazingedge/update

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blazingedge/update - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

8

lib/index.js

@@ -22,2 +22,8 @@ 'use strict';

function extend(dst, src) {
for (var key in src) {
dst[key] = src[key];
}return dst;
}
//---------------------------------------------------------

@@ -35,3 +41,3 @@

if (data === original) {
data = dataIsArray ? data.slice() : Object.assign({}, data);
data = dataIsArray ? data.slice() : extend({}, data);
}

@@ -38,0 +44,0 @@

2

package.json
{
"name": "@blazingedge/update",
"version": "1.1.4",
"version": "1.1.5",
"description": "Utility for immutable deep updates of objects.",

@@ -5,0 +5,0 @@ "main": "lib",

@@ -9,2 +9,7 @@ const { isArray } = Array

function extend (dst, src) {
for (const key in src) dst[key] = src[key]
return dst
}
//---------------------------------------------------------

@@ -20,3 +25,3 @@

if (data === original) {
data = dataIsArray ? data.slice() : Object.assign({}, data)
data = dataIsArray ? data.slice() : extend({}, data)
}

@@ -23,0 +28,0 @@

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