{arrayMove} will no longer be included in 'react-sortable-hoc', move to array-move.

This commit is contained in:
orangemug 2020-04-06 14:18:41 +01:00
parent b8739915b2
commit 44d1a7a6b0
3 changed files with 7 additions and 1 deletions

5
package-lock.json generated
View file

@ -2490,6 +2490,11 @@
"is-string": "^1.0.5"
}
},
"array-move": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/array-move/-/array-move-2.2.1.tgz",
"integrity": "sha512-qQpEHBnVT6HAFgEVUwRdHVd8TYJThrZIT5wSXpEUTPwBaYhPLclw12mEpyUvRWVdl1VwPOqnIy6LqTFN3cSeUQ=="
},
"array-union": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",

View file

@ -26,6 +26,7 @@
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
"@mapbox/mapbox-gl-style-spec": "^13.12.0",
"@mdi/react": "^1.3.0",
"array-move": "^2.2.1",
"classnames": "^2.2.6",
"codemirror": "^5.52.0",
"color": "^3.1.2",

View file

@ -4,7 +4,7 @@ import cloneDeep from 'lodash.clonedeep'
import clamp from 'lodash.clamp'
import get from 'lodash.get'
import {unset} from 'lodash'
import {arrayMove} from 'react-sortable-hoc'
import arrayMove from 'array-move'
import url from 'url'
import MapboxGlMap from './map/MapboxGlMap'