Socket
Socket
Sign inDemoInstall

setprototypeof

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

setprototypeof - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -5,2 +5,3 @@ module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties);

obj.__proto__ = proto;
return obj;
}

@@ -12,2 +13,3 @@

}
return obj;
}

2

package.json
{
"name": "setprototypeof",
"version": "1.0.1",
"version": "1.0.2",
"description": "A small polyfill for Object.setprototypeof",

@@ -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