Skip to content

Commit 3f51d79

Browse files
authored
deps(ui): Silence lodash warning (#107556)
upgrading figma because they have chosen violence when it comes to managing versions. fixes https://github.com/getsentry/sentry/security/dependabot/434
1 parent 4eeafb8 commit 3f51d79

File tree

4 files changed

+36
-37
lines changed

4 files changed

+36
-37
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"@types/jest": "30.0.0",
9292
"@types/js-beautify": "^1.14.3",
9393
"@types/js-cookie": "3.0.6",
94-
"@types/lodash": "^4.14.182",
94+
"@types/lodash": "^4.17.23",
9595
"@types/papaparse": "^5.3.5",
9696
"@types/prismjs": "^1.26.0",
9797
"@types/react": "19.2.1",
@@ -137,7 +137,7 @@
137137
"jsonrepair": "^3.8.0",
138138
"less": "4.3.0",
139139
"less-loader": "^12.2.0",
140-
"lodash": "^4.17.19",
140+
"lodash": "^4.17.23",
141141
"marked": "15.0.9",
142142
"marked-highlight": "2.2.1",
143143
"mobx": "6.13.7",
@@ -187,7 +187,7 @@
187187
"@codecov/webpack-plugin": "^1.9.0",
188188
"@emotion/eslint-plugin": "^11.12.0",
189189
"@eslint/js": "9.32.0",
190-
"@figma/code-connect": "^1.3.12",
190+
"@figma/code-connect": "^1.3.13",
191191
"@ianvs/prettier-plugin-sort-imports": "4.6.1",
192192
"@prettier/plugin-oxc": "0.0.4",
193193
"@sentry-internal/rrweb-types": "2.40.0",

pnpm-lock.yaml

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

static/app/views/insights/common/components/chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ export function computeAxisMax(data: Series[], stacked?: boolean) {
604604
}
605605

606606
const power = Math.log10(maxValue);
607-
const magnitude = min([max([10 ** (power - Math.floor(power)), 0]), 10]) as number;
607+
const magnitude = min([max([10 ** (power - Math.floor(power)), 0]), 10]);
608608

609609
let scale: number;
610610
if (magnitude <= 2.5) {

static/app/views/performance/charts/chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function computeAxisMax(data: Series[]) {
4343
}
4444

4545
const power = Math.log10(maxValue);
46-
const magnitude = min([max([10 ** (power - Math.floor(power)), 0]), 10]) as number;
46+
const magnitude = min([max([10 ** (power - Math.floor(power)), 0]), 10]);
4747

4848
let scale: number;
4949
if (magnitude <= 2.5) {

0 commit comments

Comments
 (0)