Skip to content

Commit ca06a0b

Browse files
renovate[bot]renovate-boterezrokah
authored
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 <[email protected]> Co-authored-by: Erez Rokah <[email protected]>
1 parent 40f61bb commit ca06a0b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/netlify-cms-widget-file/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
2424
},
2525
"dependencies": {
26-
"array-move": "3.0.1",
26+
"array-move": "4.0.0",
2727
"common-tags": "^1.8.0",
2828
"react-sortable-hoc": "^2.0.0"
2929
},

packages/netlify-cms-widget-file/src/withFileControl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { oneLine } from 'common-tags';
1010
import { lengths, components, buttons, borders, effects, shadows } from 'netlify-cms-ui-default';
1111
import { basename } from 'netlify-cms-lib-util';
1212
import { SortableContainer, SortableElement } from 'react-sortable-hoc';
13-
import arrayMove from 'array-move';
13+
import { arrayMoveImmutable as arrayMove } from 'array-move';
1414

1515
const MAX_DISPLAY_LENGTH = 50;
1616

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -4530,10 +4530,10 @@ array-includes@^3.0.3, array-includes@^3.1.2, array-includes@^3.1.3:
45304530
get-intrinsic "^1.1.1"
45314531
is-string "^1.0.5"
45324532

4533-
array-move@3.0.1:
4534-
version "3.0.1"
4535-
resolved "https://registry.yarnpkg.com/array-move/-/array-move-3.0.1.tgz#179645cc0987b65953a4fc06b6df9045e4ba9618"
4536-
integrity sha512-H3Of6NIn2nNU1gsVDqDnYKY/LCdWvCMMOWifNGhKcVQgiZ6nOek39aESOvro6zmueP07exSl93YLvkN4fZOkSg==
4533+
array-move@4.0.0:
4534+
version "4.0.0"
4535+
resolved "https://registry.yarnpkg.com/array-move/-/array-move-4.0.0.tgz#2c3730f056cc926f62a59769a5a8cda2fb6d8c55"
4536+
integrity sha512-+RY54S8OuVvg94THpneQvFRmqWdAHeqtMzgMW6JNurHxe8rsS07cHQdfGkXnTUXiBcyZ0j3SiDIxxj0RPiqCkQ==
45374537

45384538
array-union@^1.0.1:
45394539
version "1.0.2"

0 commit comments

Comments
 (0)