contentful-management 10.29.3 → 10.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4290,7 +4290,8 @@ function errorHandler(errorResponse) {
4290
4290
  }
4291
4291
 
4292
4292
  var isArray = Array.isArray;
4293
- var assign = Object.assign, getPrototypeOf = Object.getPrototypeOf;
4293
+ var assign = Object.assign;
4294
+ var getPrototypeOf = Object.getPrototypeOf || (function (obj) { return obj.__proto__; });
4294
4295
  var DEFAULT_LOOSE_OPTIONS = {
4295
4296
  array: copyArrayLoose,
4296
4297
  arrayBuffer: copyArrayBuffer,
@@ -4358,7 +4359,7 @@ function errorHandler(errorResponse) {
4358
4359
  if (state.cache.has(value)) {
4359
4360
  return state.cache.get(value);
4360
4361
  }
4361
- state.prototype = value.__proto__ || getPrototypeOf(value);
4362
+ state.prototype = getPrototypeOf(value);
4362
4363
  state.Constructor = state.prototype && state.prototype.constructor;
4363
4364
  // plain objects
4364
4365
  if (!state.Constructor || state.Constructor === Object) {
@@ -4404,7 +4405,7 @@ function errorHandler(errorResponse) {
4404
4405
  exports.copyStrict = copyStrict;
4405
4406
  exports.createCopier = createCopier;
4406
4407
  exports.createStrictCopier = createStrictCopier;
4407
- exports["default"] = index;
4408
+ exports.default = index;
4408
4409
 
4409
4410
  Object.defineProperty(exports, '__esModule', { value: true });
4410
4411