node_modules/contentful-sdk-core/dist/es-modules/to-plain-object.js
/**
 * Mixes in a method to return just a plain object with no additional methods
 * @private
 * @param {Object} data - Any plain JSON response returned from the API
 * @return {Object} Enhanced object with toPlainObject method
 */
Mixes in a method to return just a plain object with no additional methods
@private
@param {Object} data - Any plain JSON response returned from the API
@return {Object} Enhanced object with toPlainObject method
Mixes in a method to return just a plain object with no additional methods @private @param { Object } data - Any plain JSON response returned from the API @return { Object } Enhanced object with toPlainObject method
function toPlainObject(data) {
  return Object.defineProperty(data, 'toPlainObject', {
    enumerable: false,
    configurable: false,
    writable: false,
    value: function value() {
      return cloneDeep(this);
    }
  });
}
function toPlainObject ( data ) { return Object . defineProperty ( data , 'toPlainObject' , { enumerable : false , configurable : false , writable : false , value : function value ( ) { return cloneDeep ( this ) ; } } ) ; }
Mixes in a method to return just a plain object with no additional methods
 @private
 @param {Object} data - Any plain JSON response returned from the API
 @return {Object} Enhanced object with toPlainObject method
Mixes in a method to return just a plain object with no additional methods @private @param { Object } data - Any plain JSON response returned from the API @return { Object } Enhanced object with toPlainObject method