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

pure-assign

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pure-assign - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

dist/index.js

@@ -21,3 +21,3 @@ "use strict";

function pureAssign(baseObject, updates) {
for (let key in updates) {
for (var key in updates) {
if (Object.prototype.hasOwnProperty.call(updates, key)

@@ -24,0 +24,0 @@ && (!(key in baseObject)

{
"name": "pure-assign",
"version": "0.1.2",
"version": "0.1.3",
"description": "Drop-in replacement for Object.assign() for \"updating\" immutable objects.",

@@ -5,0 +5,0 @@ "main": "dist/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