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

get-own-property-descriptors-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-own-property-descriptors-polyfill - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -8,3 +8,4 @@ 'use strict'

const descriptors = {}
const protoPropDescriptor = Object.getOwnPropertyDescriptor(obj, '__proto__')
const descriptors = protoPropDescriptor ? { ['__proto__']: protoPropDescriptor } : {}

@@ -11,0 +12,0 @@ for (const name of Object.getOwnPropertyNames(obj)) {

{
"name": "get-own-property-descriptors-polyfill",
"version": "1.0.0",
"version": "1.0.1",
"description": "A polyfill for Object.getOwnPropertyDescriptors",

@@ -35,5 +35,5 @@ "main": "index.js",

"coordinates": [
55.778266,
12.593002
55.778265,
12.593124
]
}
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