mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
d4a8067885
This updates the following dependencies: - `@pmmmwh/react-refresh-webpack-plugin` from `0.5.5` to `0.5.11`. - `autoprefixer` from `10.4.16` to `10.4.17`. - `copy-webpack-plugin` from `11.0.0` to `12.0.2`. - `cssnano` from `6.0.1` to `6.0.3`. - `dotenv` from `16.3.1` to `16.4.4`. - `dotenv-expand` from `10.0.0` to `11.0.3`. - `postcss` from `8.4.31` to `8.4.35`. - `sass` from `1.69.3` to `1.70.0`. - `sinon` from `16.0.3` to `16.1.3`. - `source-map-loader` from `4.0.1` to `5.0.0`. - `terser-webpack-plugin` from `5.3.9` to `5.3.10`. - `wait-on` from `7.0.1` to `7.2.0`. - `webpack` from `5.89.0` to `5.90.2`. Additionally, `npm audit fix` has been run. See #59658. Built from https://develop.svn.wordpress.org/trunk@57635 git-svn-id: http://core.svn.wordpress.org/trunk@57136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
/*! This file is auto-generated */
|
|
(()=>{"use strict";var e={923:e=>{e.exports=window.wp.isShallowEqual}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{createUndoManager:()=>a});var e=n(923),t=n.n(e);function r(e,t){const n={...e};return Object.entries(t).forEach((([e,t])=>{n[e]?n[e]={...n[e],to:t.to}:n[e]=t})),n}const i=(e,n)=>{const o=e?.findIndex((({id:e})=>"string"==typeof e?e===n.id:t()(e,n.id))),i=[...e];return-1!==o?i[o]={id:n.id,changes:r(i[o].changes,n.changes)}:i.push(n),i};function a(){let e=[],n=[],o=0;const r=()=>{e=e.slice(0,o||void 0),o=0},a=()=>{var t;const o=0===e.length?0:e.length-1;let r=null!==(t=e[o])&&void 0!==t?t:[];n.forEach((e=>{r=i(r,e)})),n=[],e[o]=r};return{addRecord(o,d=!1){const s=!o||(e=>!e.filter((({changes:e})=>Object.values(e).some((({from:e,to:n})=>"function"!=typeof e&&"function"!=typeof n&&!t()(e,n))))).length)(o);if(d){if(s)return;o.forEach((e=>{n=i(n,e)}))}else{if(r(),n.length&&a(),s)return;e.push(o)}},undo(){n.length&&(r(),a());const t=e[e.length-1+o];if(t)return o-=1,t},redo(){const t=e[e.length+o];if(t)return o+=1,t},hasUndo:()=>!!e[e.length-1+o],hasRedo:()=>!!e[e.length+o]}}})(),(window.wp=window.wp||{}).undoManager=o})(); |