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

object-assign

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-assign - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

5

object-assign.js

@@ -13,3 +13,3 @@ /*!

if (val == null) {
throw new TypeError();
throw new TypeError('Object.assign can not be called with null or undefined');
}

@@ -25,5 +25,4 @@

var keys = Object.keys(from);
var i = keys.length;
while (i--) {
for (var i = 0; i < keys.length; i++) {
try {

@@ -30,0 +29,0 @@ to[keys[i]] = from[keys[i]];

2

package.json
{
"name": "object-assign",
"version": "0.1.2",
"version": "0.2.0",
"description": "ES6 Object.assign() ponyfill",

@@ -5,0 +5,0 @@ "license": "MIT",

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