Skip to content

Commit da870a1

Browse files
chore(deps): minimatch and rollup package vulnerabilities (#8675)
* fix: package updates * fix: package upgrades * fix: minimatch package vulnerabilities * fix: ajv package vulnerabilities * fix: lint * fix: format
1 parent c554243 commit da870a1

22 files changed

+525
-1731
lines changed

apps/admin/Dockerfile.admin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
1313

1414
FROM base AS builder
1515

16-
RUN pnpm add -g turbo@2.6.3
16+
RUN pnpm add -g turbo@2.8.12
1717

1818
COPY . .
1919

apps/admin/app/entry.client.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,10 @@
44
* See the LICENSE file for details.
55
*/
66

7-
import * as Sentry from "@sentry/react-router";
87
import { startTransition, StrictMode } from "react";
98
import { hydrateRoot } from "react-dom/client";
109
import { HydratedRouter } from "react-router/dom";
1110

12-
Sentry.init({
13-
dsn: process.env.VITE_SENTRY_DSN,
14-
environment: process.env.VITE_SENTRY_ENVIRONMENT,
15-
sendDefaultPii: process.env.VITE_SENTRY_SEND_DEFAULT_PII ? process.env.VITE_SENTRY_SEND_DEFAULT_PII === "1" : false,
16-
release: process.env.VITE_APP_VERSION,
17-
tracesSampleRate: process.env.VITE_SENTRY_TRACES_SAMPLE_RATE
18-
? parseFloat(process.env.VITE_SENTRY_TRACES_SAMPLE_RATE)
19-
: 0.1,
20-
profilesSampleRate: process.env.VITE_SENTRY_PROFILES_SAMPLE_RATE
21-
? parseFloat(process.env.VITE_SENTRY_PROFILES_SAMPLE_RATE)
22-
: 0.1,
23-
replaysSessionSampleRate: process.env.VITE_SENTRY_REPLAYS_SESSION_SAMPLE_RATE
24-
? parseFloat(process.env.VITE_SENTRY_REPLAYS_SESSION_SAMPLE_RATE)
25-
: 0.1,
26-
replaysOnErrorSampleRate: process.env.VITE_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE
27-
? parseFloat(process.env.VITE_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE)
28-
: 1.0,
29-
integrations: [],
30-
});
31-
3211
startTransition(() => {
3312
hydrateRoot(
3413
document,

apps/admin/app/root.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import type { ReactNode } from "react";
88
import { Links, Meta, Outlet, Scripts } from "react-router";
99
import type { LinksFunction } from "react-router";
10-
import * as Sentry from "@sentry/react-router";
1110
import appleTouchIcon from "@/app/assets/favicon/apple-touch-icon.png?url";
1211
import favicon16 from "@/app/assets/favicon/favicon-16x16.png?url";
1312
import favicon32 from "@/app/assets/favicon/favicon-32x32.png?url";
@@ -90,10 +89,6 @@ export function HydrateFallback() {
9089
}
9190

9291
export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) {
93-
if (error) {
94-
Sentry.captureException(error);
95-
}
96-
9792
return (
9893
<div>
9994
<p>Something went wrong.</p>

apps/admin/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"preview": "react-router build && serve -s build/client -l 3001",
1212
"start": "serve -s build/client -l 3001",
1313
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist && rm -rf build",
14-
"check:lint": "oxlint --max-warnings=758 .",
14+
"check:lint": "oxlint --max-warnings=759 .",
1515
"check:types": "react-router typegen && tsc --noEmit",
1616
"check:format": "oxfmt --check .",
1717
"fix:lint": "oxlint --fix .",
@@ -31,7 +31,6 @@
3131
"@plane/ui": "workspace:*",
3232
"@plane/utils": "workspace:*",
3333
"@react-router/node": "catalog:",
34-
"@sentry/react-router": "catalog:",
3534
"@tanstack/react-virtual": "^3.13.12",
3635
"@tanstack/virtual-core": "^3.13.12",
3736
"axios": "catalog:",

apps/live/Dockerfile.live

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apk update
1515
RUN apk add --no-cache libc6-compat
1616
# Set working directory
1717
WORKDIR /app
18-
ARG TURBO_VERSION=2.6.3
18+
ARG TURBO_VERSION=2.8.12
1919
RUN corepack enable pnpm && pnpm add -g turbo@${TURBO_VERSION}
2020
COPY . .
2121
RUN turbo prune --scope=live --docker

apps/live/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
"@plane/types": "workspace:*",
4343
"@react-pdf/renderer": "^4.3.0",
4444
"@react-pdf/types": "^2.9.2",
45-
"@sentry/node": "catalog:",
46-
"@sentry/profiling-node": "catalog:",
4745
"@tiptap/core": "catalog:",
4846
"@tiptap/html": "catalog:",
4947
"axios": "catalog:",

apps/live/src/instrument.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/live/src/start.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
* See the LICENSE file for details.
55
*/
66

7-
import { setupSentry } from "./instrument";
8-
setupSentry();
9-
107
import { logger } from "@plane/logger";
118
import { AppError } from "@/lib/errors";
129
import { Server } from "./server";

apps/space/Dockerfile.space

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN corepack enable pnpm
1313

1414
FROM base AS builder
1515

16-
RUN pnpm add -g turbo@2.6.3
16+
RUN pnpm add -g turbo@2.8.12
1717

1818
COPY . .
1919

apps/space/app/entry.client.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,10 @@
44
* See the LICENSE file for details.
55
*/
66

7-
import * as Sentry from "@sentry/react-router";
87
import { startTransition, StrictMode } from "react";
98
import { hydrateRoot } from "react-dom/client";
109
import { HydratedRouter } from "react-router/dom";
1110

12-
Sentry.init({
13-
dsn: process.env.VITE_SENTRY_DSN,
14-
environment: process.env.VITE_SENTRY_ENVIRONMENT,
15-
sendDefaultPii: process.env.VITE_SENTRY_SEND_DEFAULT_PII ? process.env.VITE_SENTRY_SEND_DEFAULT_PII === "1" : false,
16-
release: process.env.VITE_APP_VERSION,
17-
tracesSampleRate: process.env.VITE_SENTRY_TRACES_SAMPLE_RATE
18-
? parseFloat(process.env.VITE_SENTRY_TRACES_SAMPLE_RATE)
19-
: 0.1,
20-
profilesSampleRate: process.env.VITE_SENTRY_PROFILES_SAMPLE_RATE
21-
? parseFloat(process.env.VITE_SENTRY_PROFILES_SAMPLE_RATE)
22-
: 0.1,
23-
replaysSessionSampleRate: process.env.VITE_SENTRY_REPLAYS_SESSION_SAMPLE_RATE
24-
? parseFloat(process.env.VITE_SENTRY_REPLAYS_SESSION_SAMPLE_RATE)
25-
: 0.1,
26-
replaysOnErrorSampleRate: process.env.VITE_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE
27-
? parseFloat(process.env.VITE_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE)
28-
: 1.0,
29-
integrations: [],
30-
});
31-
3211
startTransition(() => {
3312
hydrateRoot(
3413
document,

0 commit comments

Comments
 (0)