fix(deps): update dependency array-move to v4 (#5713)

* fix(deps): update dependency array-move to v4

* Update withFileControl.js

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2021-08-16 18:53:13 +03:00
committed by GitHub
parent 40f61bb457
commit ca06a0b23e
3 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
"array-move": "3.0.1",
"array-move": "4.0.0",
"common-tags": "^1.8.0",
"react-sortable-hoc": "^2.0.0"
},

View File

@ -10,7 +10,7 @@ import { oneLine } from 'common-tags';
import { lengths, components, buttons, borders, effects, shadows } from 'netlify-cms-ui-default';
import { basename } from 'netlify-cms-lib-util';
import { SortableContainer, SortableElement } from 'react-sortable-hoc';
import arrayMove from 'array-move';
import { arrayMoveImmutable as arrayMove } from 'array-move';
const MAX_DISPLAY_LENGTH = 50;