get-own-property-descriptors-polyfill
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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 | ||
] | ||
} |
4023
12