UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 447 B
const e=e=>{if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},t=(r,i)=>{if(i===void 0)return r;if(Array.isArray(i)){let e=Array.isArray(r)?r:[];return i.forEach((n,r)=>{e[r]=t(e[r],n)}),e}if(e(i)){let t=e(r)?r:{};return n(t,i)}return i},n=(e,n)=>{let r=e;for(let[e,i]of Object.entries(n))r[e]=t(r[e],i);return e};export{n as default}; //# sourceMappingURL=deep-merge.mjs.map