Skip to content

Commit 210e3d4

Browse files
Merge pull request #1893 from johnduprey/dev
Replace lodash with lodash-es
2 parents 0e96eb8 + 8afe926 commit 210e3d4

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

package-lock.json

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
"javascript-time-ago": "^2.5.9",
5757
"jspdf": "^2.4.0",
5858
"jspdf-autotable": "^3.5.23",
59+
"lodash": "^4.17.21",
60+
"lodash-es": "^4.17.21",
5961
"moment": "^2.29.1",
6062
"prop-types": "^15.7.2",
6163
"react": "^18.2.0",

src/components/forms/RFFComponents.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { FieldArray } from 'react-final-form-arrays'
1616
import React, { useState, useMemo, useRef } from 'react'
1717
import PropTypes from 'prop-types'
1818
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
19-
import { debounce } from 'lodash'
19+
import { debounce } from 'lodash-es'
2020

2121
/*
2222
wrapper classes for React Final Form with CoreUI

src/components/tables/CippTable.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { cellGenericFormatter } from './CellGenericFormat'
2929
import { ModalService } from '../utilities'
3030
import { useLazyGenericGetRequestQuery, useLazyGenericPostRequestQuery } from 'src/store/api/app'
3131
import { ConfirmModal } from '../utilities/SharedModal'
32-
import { debounce } from 'lodash'
32+
import { debounce } from 'lodash-es'
3333
import { useSearchParams } from 'react-router-dom'
3434

3535
const FilterComponent = ({ filterText, onFilter, onClear, filterlist, onFilterPreset }) => (

0 commit comments

Comments
 (0)