Closed user753 closed 5 years ago
https://github.com/theKashey/proxyequal/blob/35c3d4998aa52125451442e2232c00d68c43c350/src/shouldInstrument.js#L39 constructor could be undefined, for example
Object.create(null)
In my case graphql package could return such object. Something like
graphql
export function shouldInstrument(obj) { const name = obj.constructor === undefined && typeof obj === 'object ? 'Object' : constructor.name; }
should fix it
👍
released v2.1.2
https://github.com/theKashey/proxyequal/blob/35c3d4998aa52125451442e2232c00d68c43c350/src/shouldInstrument.js#L39 constructor could be undefined, for example
In my case
graphql
package could return such object. Something likeshould fix it