Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all non-major dependencies #2259

Merged
merged 2 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ARG target=client
ARG app_env=production

FROM node:20.18.0-alpine AS builder
FROM node:20.18.1-alpine AS builder
ARG target

COPY . /build
Expand All @@ -19,7 +19,7 @@ RUN npx prisma generate
RUN npm run build ${target}

### PRODUCTION ###
FROM node:20.18.0-alpine
FROM node:20.18.1-alpine
ARG target
ARG app_env

Expand Down
68 changes: 34 additions & 34 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,38 @@
"studio:test": "cross-env DATABASE_URL=$TEST_DATABASE_URL npx prisma studio"
},
"dependencies": {
"@apollo/server": "^4.11.2",
"@aws-sdk/client-s3": "^3.689.0",
"@aws-sdk/client-ses": "^3.687.0",
"@aws-sdk/credential-provider-node": "^3.687.0",
"@apollo/server": "^4.11.3",
"@aws-sdk/client-s3": "^3.722.0",
"@aws-sdk/client-ses": "^3.721.0",
"@aws-sdk/credential-provider-node": "^3.721.0",
"@golevelup/nestjs-rabbitmq": "^5.6.1",
"@nestjs-modules/mailer": "^2.0.2",
"@nestjs/apollo": "^12.2.1",
"@nestjs/axios": "^3.1.2",
"@nestjs/apollo": "^12.2.2",
"@nestjs/axios": "^3.1.3",
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.7",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.7",
"@nestjs/graphql": "^12.2.1",
"@nestjs/core": "^10.4.15",
"@nestjs/graphql": "^12.2.2",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.4.7",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/swagger": "^7.4.2",
"@opentelemetry/api": "~1.9.0",
"@opentelemetry/exporter-metrics-otlp-http": "^0.54.2",
"@opentelemetry/exporter-trace-otlp-http": "^0.54.2",
"@opentelemetry/exporter-metrics-otlp-http": "^0.57.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.57.0",
"@opentelemetry/host-metrics": "^0.35.4",
"@opentelemetry/instrumentation-express": "^0.44.0",
"@opentelemetry/instrumentation-http": "^0.54.2",
"@opentelemetry/resources": "^1.27.0",
"@opentelemetry/sdk-metrics": "^1.27.0",
"@opentelemetry/sdk-node": "^0.54.2",
"@opentelemetry/sdk-trace-node": "^1.27.0",
"@opentelemetry/semantic-conventions": "^1.27.0",
"@opentelemetry/instrumentation-express": "^0.47.0",
"@opentelemetry/instrumentation-http": "^0.57.0",
"@opentelemetry/resources": "^1.30.0",
"@opentelemetry/sdk-metrics": "^1.30.0",
"@opentelemetry/sdk-node": "^0.57.0",
"@opentelemetry/sdk-trace-node": "^1.30.0",
"@opentelemetry/semantic-conventions": "^1.28.0",
"@prisma/client": "^5.22.0",
"@prisma/instrumentation": "~5.22.0",
"argon2": "^0.41.1",
"axios": "^1.7.7",
"axios": "^1.7.9",
"cache-manager": "^5.7.6",
"cache-manager-redis-yet": "^5.1.5",
"chai-exclude": "^2.1.1",
Expand All @@ -60,14 +60,14 @@
"cross-env": "^7.0.3",
"dayjs": "^1.11.13",
"exceljs": "^4.4.0",
"express": "^4.21.1",
"express": "^4.21.2",
"generate-password": "^1.7.1",
"graphql": "^16.9.0",
"graphql": "^16.10.0",
"graphql-type-json": "^0.3.2",
"graphql-upload": "13.0.0",
"handlebars": "^4.7.8",
"nestjs-otel": "^6.1.1",
"nestjs-pino": "^4.1.0",
"nestjs-pino": "^4.2.0",
"nodemailer": "^6.9.16",
"passport": "^0.7.0",
"passport-github2": "^0.1.12",
Expand All @@ -77,26 +77,26 @@
"pino-pretty": "^11.3.0",
"reflect-metadata": "^0.2.1",
"rxjs": "^7.8.1",
"sql-formatter": "^15.4.6",
"zod": "^3.23.8"
"sql-formatter": "^15.4.8",
"zod": "^3.24.1"
},
"devDependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.3.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@nestjs/cli": "^10.4.7",
"@nestjs/cli": "^10.4.9",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.7",
"@nestjs/testing": "^10.4.15",
"@swc-node/register": "^1.10.9",
"@swc/cli": "^0.5.0",
"@swc/core": "^1.9.2",
"@swc/cli": "^0.5.2",
"@swc/core": "^1.10.4",
"@types/cache-manager": "^4.0.6",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^7.1.8",
"@types/express": "^5.0.0",
"@types/graphql-upload": "8.0.12",
"@types/mocha": "^10.0.9",
"@types/node": "^20.17.6",
"@types/nodemailer": "^6.4.16",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.11",
"@types/nodemailer": "^6.4.17",
"@types/passport-jwt": "^4.0.1",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.3",
Expand All @@ -114,7 +114,7 @@
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.6.3"
"typescript": "5.7.2"
},
"prisma": {
"seed": "swc-node prisma/seed.ts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
import { convertToLetter } from '@/libs/utils'
import compileIcon from '@/public/icons/compile-version.svg'
import type { ProblemDetail } from '@/types/type'
import { sanitize } from 'isomorphic-dompurify'
import DOMPurify from 'isomorphic-dompurify'
import { FileText } from 'lucide-react'
import Image from 'next/image'
import CopyButton from './CopyButton'
Expand Down Expand Up @@ -131,7 +131,9 @@ export function EditorDescription({
</AccordionTrigger>
<AccordionContent>
<pre
dangerouslySetInnerHTML={{ __html: sanitize(problem.hint) }}
dangerouslySetInnerHTML={{
__html: DOMPurify.sanitize(problem.hint)
}}
className="prose prose-invert max-w-full whitespace-pre-wrap break-keep text-sm leading-relaxed text-slate-300"
/>
</AccordionContent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { cn } from '@/libs/utils'
import { sanitize } from 'isomorphic-dompurify'
import DOMPurify from 'isomorphic-dompurify'

export function WhitespaceVisualizer({
text = '',
Expand Down Expand Up @@ -37,7 +37,7 @@ export function WhitespaceVisualizer({
className
)}
dangerouslySetInnerHTML={{
__html: sanitize(
__html: DOMPurify.sanitize(
isTruncated ? truncatedText : highlightedWhitespaceText
)
}}
Expand Down
130 changes: 65 additions & 65 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
"@apollo/client": "^3.11.10",
"@apollo/client": "^3.12.4",
"@codemirror/lang-cpp": "^6.0.2",
"@codemirror/lang-java": "^6.0.1",
"@codemirror/lang-python": "^6.1.6",
Expand All @@ -22,100 +22,100 @@
"@lezer/highlight": "^1.2.1",
"@matejmazur/react-katex": "^3.1.3",
"@monaco-editor/react": "^4.6.0",
"@next/bundle-analyzer": "^14.2.17",
"@playwright/test": "^1.48.2",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-icons": "^1.3.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-scroll-area": "^1.2.0",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.1",
"@radix-ui/react-toast": "^1.2.2",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.3",
"@sentry/nextjs": "^8.38.0",
"@suspensive/react": "^2.18.7",
"@next/bundle-analyzer": "^14.2.22",
"@playwright/test": "^1.49.1",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.4",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.4",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-toggle": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.6",
"@sentry/nextjs": "^8.47.0",
"@suspensive/react": "^2.18.10",
"@tailwindcss/typography": "^0.5.15",
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-table": "^8.20.5",
"@tiptap/core": "^2.11.0",
"@tiptap/extension-image": "^2.11.0",
"@tiptap/extension-link": "^2.11.0",
"@tiptap/extension-placeholder": "^2.11.0",
"@tiptap/pm": "^2.11.0",
"@tiptap/react": "^2.11.0",
"@tiptap/starter-kit": "^2.11.0",
"@uiw/codemirror-extensions-langs": "^4.23.6",
"@uiw/codemirror-themes": "^4.23.6",
"@uiw/react-codemirror": "^4.23.6",
"@tiptap/core": "^2.9.1",
"@tiptap/extension-image": "^2.9.1",
"@tiptap/extension-link": "^2.9.1",
"@tiptap/extension-placeholder": "^2.9.1",
"@tiptap/pm": "^2.9.1",
"@tiptap/react": "^2.9.1",
"@tiptap/starter-kit": "^2.9.1",
"@uiw/codemirror-extensions-langs": "^4.23.7",
"@uiw/codemirror-themes": "^4.23.7",
"@uiw/react-codemirror": "^4.23.7",
"apollo-upload-client": "^18.0.1",
"cmdk": "^1.0.4",
"date-fns": "^4.1.0",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"embla-carousel-react": "8.3.1",
"framer-motion": "^11.11.13",
"graphql": "^16.9.0",
"isomorphic-dompurify": "^2.16.0",
"dotenv": "^16.4.7",
"embla-carousel-react": "8.5.1",
"framer-motion": "^11.15.0",
"graphql": "^16.10.0",
"isomorphic-dompurify": "^2.19.0",
"js-confetti": "^0.12.0",
"jwt-decode": "^4.0.0",
"katex": "^0.16.11",
"ky": "^1.7.2",
"next": "14.2.17",
"next-auth": "^4.24.10",
"next-themes": "^0.4.3",
"katex": "^0.16.19",
"ky": "^1.7.4",
"next": "14.2.22",
"next-auth": "^4.24.11",
"next-themes": "^0.4.4",
"pretendard": "^1.3.9",
"react": "^18.3.1",
"react-circular-progressbar": "^2.1.0",
"react-csv": "^2.2.2",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.2",
"react-icons": "^5.3.0",
"react-intersection-observer": "^9.13.1",
"react-resizable-panels": "^2.1.6",
"react-use": "^17.5.1",
"react-hook-form": "^7.54.2",
"react-icons": "^5.4.0",
"react-intersection-observer": "^9.14.1",
"react-resizable-panels": "^2.1.7",
"react-use": "^17.6.0",
"sharp": "^0.33.5",
"sonner": "^1.7.0",
"zod": "^3.23.8",
"sonner": "^1.7.1",
"zod": "^3.24.1",
"zustand": "^4.5.5"
},
"devDependencies": {
"@codemirror/language": "^6.10.5",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.5.0",
"@graphql-codegen/client-preset": "^4.5.1",
"@graphql-typed-document-node/core": "^3.2.0",
"@tanstack/react-query-devtools": "^5.61.0",
"@testing-library/react": "^16.0.1",
"@tanstack/react-query-devtools": "^5.62.14",
"@testing-library/react": "^16.1.0",
"@types/apollo-upload-client": "^18.0.0",
"@types/katex": "^0.16.7",
"@types/node": "^20.17.6",
"@types/react": "^18.3.12",
"@types/node": "^20.17.11",
"@types/react": "^18.3.18",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-csv": "^1.1.10",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"eslint-config-next": "^14.2.17",
"eslint-config-next": "^14.2.22",
"jsdom": "^25.0.1",
"lucide-react": "^0.456.0",
"msw": "^2.6.4",
"lucide-react": "^0.469.0",
"msw": "^2.7.0",
"postcss": "^8.4.49",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.4.14",
"tailwind-merge": "^2.6.0",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.6.3",
"vitest": "^2.1.4"
"typescript": "5.7.2",
"vitest": "^2.1.8"
},
"packageManager": "pnpm@9.12.3"
"packageManager": "pnpm@9.15.2"
}
Loading
Loading