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

chore: bump dependencies #1815

Merged
merged 4 commits into from
Oct 2, 2023
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/api/.npm-upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"reason": ""
},
"is-ip": {
"versions": "5.0.0",
"reason": ""
"versions": "5.0.1",
"reason": "esm"
}
}
}
46 changes: 23 additions & 23 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
"@types/cookie": "^0.5.2",
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/ejs": "^3.1.2",
"@types/express": "^4.17.17",
"@types/ejs": "^3.1.3",
"@types/express": "^4.17.18",
"@types/glob": "^8.1.0",
"@types/jsonwebtoken": "9.0.3",
"@types/multer": "^1.4.7",
"@types/node": "^20.6.3",
"@types/multer": "^1.4.8",
"@types/node": "^20.8.0",
"@types/qrcode": "^1.5.2",
"@types/sharp": "^0.31.1",
"dotenv": "^16.3.1",
"regenerator-runtime": "^0.14.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vitest": "^0.34.6"
},
"dependencies": {
"multer": "^1.4.5-lts.1",
Expand All @@ -42,7 +42,7 @@
"@discordjs/rest": "^2.0.1",
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "^5.3.1",
"@sentry/node": "^7.66.0",
"@sentry/node": "^7.72.0",
"@snailycad/audit-logger": "workspace:*",
"@snailycad/config": "^1.73.1",
"@snailycad/image-data-uri": "^3.2.0",
Expand All @@ -51,43 +51,43 @@
"@snailycad/schemas": "workspace:*",
"@snailycad/types": "workspace:*",
"@snailycad/utils": "^1.73.1",
"@tsed/common": "^7.36.1",
"@tsed/components-scan": "^7.36.1",
"@tsed/core": "^7.36.1",
"@tsed/di": "^7.36.1",
"@tsed/exceptions": "^7.36.1",
"@tsed/json-mapper": "^7.36.1",
"@tsed/common": "^7.36.5",
"@tsed/components-scan": "^7.36.5",
"@tsed/core": "^7.36.5",
"@tsed/di": "^7.36.5",
"@tsed/exceptions": "^7.36.5",
"@tsed/json-mapper": "^7.36.5",
"@tsed/logger": "^6.6.3",
"@tsed/platform-exceptions": "^7.36.1",
"@tsed/platform-express": "^7.36.1",
"@tsed/platform-middlewares": "^7.36.1",
"@tsed/platform-params": "^7.36.1",
"@tsed/schema": "^7.36.1",
"@tsed/socketio": "^7.36.1",
"@tsed/swagger": "^7.36.1",
"@tsed/platform-exceptions": "^7.36.5",
"@tsed/platform-express": "^7.36.5",
"@tsed/platform-middlewares": "^7.36.5",
"@tsed/platform-params": "^7.36.5",
"@tsed/schema": "^7.36.5",
"@tsed/socketio": "^7.36.5",
"@tsed/swagger": "^7.36.5",
"bcrypt": "^5.1.1",
"command-exists": "^1.2.9",
"compression": "1.7.4",
"cookie": "^0.5.0",
"cookie-parser": "1.4.6",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"discord-api-types": "0.37.57",
"discord-api-types": "0.37.58",
"ejs": "^3.1.9",
"express": "4.18.2",
"glob": "^10.3.6",
"glob": "^10.3.10",
"is-ip": "3.1.0",
"jsonwebtoken": "9.0.2",
"nanoid": "^3.3.4",
"nodemon": "^3.0.1",
"otplib": "^12.0.1",
"prisma": "^5.3.1",
"puppeteer": "^21.1.1",
"puppeteer": "^21.3.6",
"qrcode": "^1.5.3",
"sharp": "^0.32.5",
"reflect-metadata": "^0.1.13",
"socket.io": "^4.7.2",
"undici": "^5.25.2",
"undici": "^5.25.3",
"use-intl": "^2.20.2",
"zod": "^3.22.2"
}
Expand Down
59 changes: 30 additions & 29 deletions apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
"@casperiv/use-socket.io": "6.0.1",
"@casperiv/useful": "^3.0.0",
"@headlessui/react": "^1.7.17",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.6",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-aria/label": "^3.7.0",
"@react-aria/ssr": "^3.8.0",
"@sentry/browser": "^7.70.0",
"@sentry/nextjs": "^7.70.0",
"@sentry/tracing": "^7.70.0",
"@react-types/shared": "^3.20.0",
"@sentry/browser": "^7.72.0",
"@sentry/nextjs": "^7.72.0",
"@sentry/tracing": "^7.72.0",
"@snailycad/audit-logger": "workspace:*",
"@snailycad/config": "^1.73.1",
"@snailycad/permissions": "workspace:*",
Expand All @@ -38,19 +39,29 @@
"@snailycad/ui": "workspace:*",
"@snailycad/utils": "^1.73.1",
"@tailwindcss/typography": "^0.5.10",
"@tanstack/react-query": "^4.35.3",
"@tanstack/react-table": "8.10.1",
"axios": "^1.5.0",
"@tanstack/react-query": "^4.35.7",
"@tanstack/react-table": "8.10.3",
"@types/color": "^3.0.4",
"@types/connect": "^3.4.36",
"@types/is-hotkey": "^0.1.7",
"@types/leaflet": "^1.9.6",
"@types/nprogress": "^0.2.1",
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"@types/sortablejs": "^1.15.3",
"@types/uuid": "^9.0.4",
"autoprefixer": "^10.4.16",
"axios": "^1.5.1",
"bignumber.js": "^9.1.2",
"color": "^4.2.3",
"date-fns": "^2.30.0",
"eslint-config-next": "^13.5.2",
"eslint-config-next": "^13.5.3",
"formik": "^2.4.5",
"hex-color-regex": "^1.1.0",
"is-hotkey": "^0.2.0",
"leaflet": "^1.9.4",
"mdast-util-find-and-replace": "^3.0.1",
"next": "13.5.2",
"next": "13.5.3",
"next-intl": "2.20.2",
"nookies": "^2.5.2",
"nprogress": "^0.2.0",
Expand All @@ -66,42 +77,32 @@
"react-google-recaptcha-v3": "^1.10.1",
"react-hot-toast": "^2.4.1",
"react-leaflet": "^4.2.1",
"react-markdown": "^8.0.7",
"react-select": "^5.7.5",
"react-markdown": "^9.0.0",
"react-select": "^5.7.7",
"react-sortablejs": "^6.1.4",
"react-use": "^17.4.0",
"remark-emoji": "^4.0.0",
"remark-external-links": "^9.0.1",
"remark-gfm": "^4.0.0",
"remark-github": "^11.2.4",
"remark-github": "^12.0.0",
"slate": "^0.94.1",
"slate-history": "^0.93.0",
"slate-react": "^0.98.4",
"slate-react": "^0.99.0",
"socket.io-client": "^4.7.2",
"sortablejs": "^1.15.0",
"storage-factory": "^0.2.1",
"use-intl": "^2.20.2",
"uuid": "^9.0.1",
"zod": "^3.22.2",
"zustand": "^4.4.1",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"autoprefixer": "^10.4.16",
"@react-types/shared": "^3.20.0",
"@types/color": "^3.0.4",
"@types/connect": "^3.4.36",
"@types/is-hotkey": "^0.1.7",
"@types/leaflet": "^1.9.5",
"@types/nprogress": "^0.2.0",
"@types/sortablejs": "^1.15.2",
"@types/uuid": "^9.0.4"
"zod": "3.22.2",
"zustand": "^4.4.1"
},
"devDependencies": {
"dotenv": "^16.3.1",
"postcss": "^8.4.30",
"postcss": "^8.4.31",
"sass": "^1.68.0",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
"vitest": "^0.34.6"
}
}
3 changes: 2 additions & 1 deletion apps/client/src/components/admin/values/ManageValueModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import {
} from "./manage-modal/emergency-vehicle-fields";
import { useFeatureEnabled } from "hooks/useFeatureEnabled";
import { VehicleFields } from "./manage-modal/vehicle-fields";
import type { z } from "zod";

interface Props {
type: ValueType;
Expand All @@ -69,7 +70,7 @@ interface Props {
onUpdate(oldValue: AnyValue, newValue: AnyValue): void;
}

const EXTRA_SCHEMAS: Partial<Record<ValueType, Zod.ZodObject<Zod.ZodRawShape>>> = {
const EXTRA_SCHEMAS: Partial<Record<ValueType, z.ZodType>> = {
CODES_10: CODES_10_SCHEMA,
DEPARTMENT: DEPARTMENT_SCHEMA,
DIVISION: DIVISION_SCHEMA,
Expand Down
6 changes: 4 additions & 2 deletions apps/client/src/components/shared/nav/changelog-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import remarkGfm from "remark-gfm";
import remarkEmoji from "remark-emoji";
import { remarkGitHubReferences } from "lib/editor/remarkGitHubReferences";
import useFetch from "lib/useFetch";
import remarkExternalLinks from "remark-external-links";

export function ChangelogModal() {
const modalState = useModal();
Expand Down Expand Up @@ -46,14 +47,15 @@ export function ChangelogModal() {
</div>
) : (
<ReactMarkdown
linkTarget="_blank"
remarkPlugins={[
remarkGfm,
[remarkGithub, { repository: "SnailyCAD/snaily-cadv4" }],
remarkGitHubReferences,
remarkEmoji,
// @ts-expect-error - remark-external-links doesn't have updated types
remarkExternalLinks,
]}
className="prose prose-2xl dark:prose-invert"
className="prose dark:prose-invert"
>
{body}
</ReactMarkdown>
Expand Down
4 changes: 2 additions & 2 deletions apps/client/src/pages/admin/values/[path].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,12 @@ export default function ValuePath({ pathValues: { totalCount, type, values: data
</Tooltip.Trigger>

{isValueInUse(value) ? (
<Tooltip.Portal className="z-[999]">
<Tooltip.Portal>
<Tooltip.Content
align="center"
side="left"
sideOffset={5}
className="rounded-md bg-white dark:bg-tertiary dark:text-white p-4 max-w-[350px]"
className="rounded-md bg-white dark:bg-tertiary dark:text-white p-4 max-w-[350px] z-999"
>
{t("cannotDeleteTooltip")}
</Tooltip.Content>
Expand Down
6 changes: 3 additions & 3 deletions packages/audit-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"peerDependencies": {
"@prisma/client": ">=5.3.1",
"@sentry/node": ">= 7.66.0"
"@sentry/node": ">=7.72.0"
},
"tsup": {
"entry": [
Expand All @@ -49,8 +49,8 @@
},
"dependencies": {
"@snailycad/types": "workspace:*",
"rimraf": "^5.0.1",
"superjson": "^1.13.1"
"rimraf": "^5.0.5",
"superjson": "^1.13.3"
},
"typesVersions": {
"*": {
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tsup": "6.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vitest": "^0.34.6"
},
"tsup": {
"entry": [
Expand Down
2 changes: 1 addition & 1 deletion packages/permissions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"tsup": "6.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
"vitest": "^0.34.6"
},
"tsup": {
"entry": [
Expand Down
2 changes: 1 addition & 1 deletion packages/schemas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dependencies": {
"@snailycad/types": "workspace:*",
"tslib": "^2.6.2",
"zod": "^3.22.2"
"zod": "3.22.2"
},
"tsup": {
"entry": [
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@snailycad/permissions": "^1.73.1",
"discord-api-types": "0.37.56"
"discord-api-types": "0.37.58"
},
"devDependencies": {
"tsup": "6.6.2",
Expand Down
28 changes: 14 additions & 14 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@
"prepublish": "pnpm build"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.4.4",
"@storybook/addon-interactions": "^7.4.4",
"@storybook/addon-links": "^7.4.4",
"@storybook/addon-essentials": "^7.4.5",
"@storybook/addon-interactions": "^7.4.5",
"@storybook/addon-links": "^7.4.5",
"@storybook/addon-styling": "^1.3.7",
"@storybook/blocks": "^7.4.4",
"@storybook/react": "^7.4.4",
"@storybook/react-vite": "^7.4.4",
"@storybook/blocks": "^7.4.5",
"@storybook/react": "^7.4.5",
"@storybook/react-vite": "^7.4.5",
"@storybook/testing-library": "^0.2.1",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.30",
"postcss": "^8.4.31",
"prop-types": "^15.8.1",
"storybook": "^7.4.4",
"storybook": "^7.4.5",
"tailwindcss": "^3.3.3",
"tsup": "6.6.2",
"typescript": "^5.2.2",
Expand Down Expand Up @@ -57,9 +57,9 @@
"@casperiv/useful": "^3.0.0",
"@internationalized/date": "^3.5.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-context-menu": "^2.1.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-hover-card": "^1.0.6",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-tabs": "^1.0.4",
"@react-aria/breadcrumbs": "^3.5.5",
"@react-aria/button": "^3.8.2",
Expand Down Expand Up @@ -106,9 +106,9 @@
"react-use": "^17.4.0",
"tailwind-merge": "^1.14.0",
"@snailycad/types": "workspace:*",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"rimraf": "^5.0.1",
"@types/react": "^18.2.24",
"@types/react-dom": "^18.2.8",
"rimraf": "^5.0.5",
"tslib": "^2.6.2"
},
"peerDependencies": {
Expand Down
Loading
Loading