Skip to content

Commit

Permalink
chore: replace deprecated lodash per method packages with main lodash…
Browse files Browse the repository at this point in the history
… package (#693)
  • Loading branch information
Lukas742 authored Sep 25, 2020
1 parent 3d9a5ed commit 825a629
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@babel/runtime": "7.11.0",
"lodash.debounce": "^4.0.8",
"lodash": "^4.17.20",
"react-content-loader": "5.1.0",
"recharts": "2.0.0-beta.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/hooks/useObserveXAxisHeights.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import debounce from 'lodash.debounce';
import debounce from 'lodash/debounce';
import { RefObject, useEffect, useRef, useState } from 'react';

const defaultAxisHeight = 30;
Expand Down
2 changes: 1 addition & 1 deletion packages/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@babel/runtime": "7.11.0",
"@ui5/webcomponents-react-base": "^0.10.1",
"lodash.debounce": "^4.0.8",
"lodash": "^4.17.20",
"react-content-loader": "5.1.0",
"react-jss": "10.1.1",
"react-table": "7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/AnalyticalTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TableScaleWidthMode } from '@ui5/webcomponents-react/lib/TableScaleWidt
import { TableSelectionBehavior } from '@ui5/webcomponents-react/lib/TableSelectionBehavior';
import { TableSelectionMode } from '@ui5/webcomponents-react/lib/TableSelectionMode';
import { ValueState } from '@ui5/webcomponents-react/lib/ValueState';
import debounce from 'lodash.debounce';
import debounce from 'lodash/debounce';
import React, {
ComponentType,
CSSProperties,
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/ObjectPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ToolbarDesign } from '@ui5/webcomponents-react/lib/ToolbarDesign';
import { ToolbarSpacer } from '@ui5/webcomponents-react/lib/ToolbarSpacer';
import { ToolbarStyle } from '@ui5/webcomponents-react/lib/ToolbarStyle';
import { CommonProps } from '@ui5/webcomponents-react/interfaces/CommonProps';
import debounce from 'lodash.debounce';
import debounce from 'lodash/debounce';
import React, {
ComponentType,
FC,
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13514,6 +13514,11 @@ lodash@^4.17.19:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==

lodash@^4.17.20:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

log-symbols@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4"
Expand Down

0 comments on commit 825a629

Please sign in to comment.