chore: atualiza dependencias e build de PDF

This commit is contained in:
Felipe Coutinho
2026-06-06 16:31:42 -03:00
parent 811a035cb0
commit 2cead626ab
6 changed files with 1263 additions and 1263 deletions

View File

@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",

View File

@@ -1,6 +1,6 @@
{
"name": "openmonetis",
"version": "2.7.2",
"version": "2.7.3",
"private": true,
"packageManager": "pnpm@11.1.3",
"scripts": {
@@ -31,13 +31,13 @@
"mockup": "tsx scripts/mock-data.ts"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.79",
"@ai-sdk/google": "^3.0.79",
"@ai-sdk/openai": "^3.0.65",
"@ai-sdk/anthropic": "^3.0.81",
"@ai-sdk/google": "^3.0.80",
"@ai-sdk/openai": "^3.0.67",
"@ai-sdk/openai-compatible": "^2.0.48",
"@aws-sdk/client-s3": "^3.1050.0",
"@aws-sdk/s3-request-presigner": "^3.1050.0",
"@better-auth/passkey": "^1.6.11",
"@aws-sdk/client-s3": "^3.1059.0",
"@aws-sdk/s3-request-presigner": "^3.1059.0",
"@better-auth/passkey": "^1.6.14",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
@@ -64,27 +64,27 @@
"@radix-ui/react-toggle-group": "1.1.11",
"@radix-ui/react-tooltip": "1.2.8",
"@remixicon/react": "4.9.0",
"@tanstack/react-query": "^5.100.14",
"@tanstack/react-query": "^5.101.0",
"@tanstack/react-table": "8.21.3",
"@tanstack/react-virtual": "^3.13.26",
"ai": "^6.0.191",
"better-auth": "1.6.11",
"@tanstack/react-virtual": "^3.14.2",
"ai": "^6.0.195",
"better-auth": "1.6.14",
"canvas-confetti": "^1.9.4",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.3.0",
"date-fns": "^4.4.0",
"drizzle-orm": "0.45.2",
"exceljs": "^4.4.0",
"jspdf": "^4.2.1",
"jspdf-autotable": "^5.0.8",
"next": "16.2.6",
"next": "16.2.7",
"next-themes": "0.4.6",
"pdfjs-dist": "^5.7.284",
"pdfjs-dist": "^6.0.227",
"pg": "8.21.0",
"react": "19.2.6",
"react": "19.2.7",
"react-day-picker": "^10.0.1",
"react-dom": "19.2.6",
"react-dom": "19.2.7",
"recharts": "3.8.1",
"resend": "^6.12.4",
"sonner": "2.0.7",
@@ -95,19 +95,19 @@
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@biomejs/biome": "2.4.16",
"@tailwindcss/postcss": "4.3.0",
"@types/canvas-confetti": "^1.9.0",
"@types/node": "25.9.1",
"@types/pg": "^8.20.0",
"@types/react": "19.2.15",
"@types/react": "19.2.16",
"@types/react-dom": "19.2.3",
"babel-plugin-react-compiler": "^1.0.0",
"dotenv": "^17.4.2",
"drizzle-kit": "0.31.10",
"knip": "^6.14.2",
"knip": "^6.15.0",
"tailwindcss": "4.3.0",
"tsx": "4.22.3",
"tsx": "4.22.4",
"typescript": "6.0.3"
}
}

2446
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,29 +7,7 @@ allowBuilds:
sharp: true
unrs-resolver: true
minimumReleaseAgeExclude:
- '@aws-sdk/client-s3@3.1050.0'
- '@aws-sdk/s3-request-presigner@3.1050.0'
- '@types/node@25.9.1'
- '@types/react@19.2.15'
- '@aws-sdk/client-s3@3.1054.0'
- '@aws-sdk/core@3.974.14'
- '@aws-sdk/credential-provider-env@3.972.40'
- '@aws-sdk/credential-provider-http@3.972.42'
- '@aws-sdk/credential-provider-ini@3.972.44'
- '@aws-sdk/credential-provider-login@3.972.44'
- '@aws-sdk/credential-provider-node@3.972.45'
- '@aws-sdk/credential-provider-process@3.972.40'
- '@aws-sdk/credential-provider-sso@3.972.44'
- '@aws-sdk/credential-provider-web-identity@3.972.44'
- '@aws-sdk/middleware-bucket-endpoint@3.972.16'
- '@aws-sdk/middleware-flexible-checksums@3.974.22'
- '@aws-sdk/middleware-sdk-s3@3.972.43'
- '@aws-sdk/nested-clients@3.997.12'
- '@aws-sdk/s3-request-presigner@3.1054.0'
- '@aws-sdk/signature-v4-multi-region@3.996.29'
- '@aws-sdk/token-providers@3.1054.0'
- '@aws-sdk/xml-builder@3.972.26'
minimumReleaseAge: 0
overrides:
defu: 6.1.7

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@ function PdfCanvas({ url }: PdfCanvasProps) {
let pdf: Awaited<ReturnType<typeof pdfjsLib.getDocument>["promise"]>;
try {
pdf = await pdfjsLib.getDocument(url).promise;
pdf = await pdfjsLib.getDocument({ url }).promise;
} catch (err) {
if ((err as { name?: string }).name === "PasswordException") {
if (!cancelled) setLocked(true);