Skip to content

The Open Source DocuSign Alternative.

chore: upgrade libpdf (#2408)

Lucas Smith67da488f636b
diff --git a/apps/remix/vite.config.ts b/apps/remix/vite.config.ts
index 1b365314e..65dd1ec50 100644
--- a/apps/remix/vite.config.ts
+++ b/apps/remix/vite.config.ts
@@ -67,7 +67,6 @@ export default defineConfig({
'node_modules',
'@napi-rs/canvas',
'@node-rs/bcrypt',
- '@documenso/pdf-sign',
'sharp',
'playwright',
'playwright-core',
@@ -98,7 +97,6 @@ export default defineConfig({
external: [
'@napi-rs/canvas',
'@node-rs/bcrypt',
- '@documenso/pdf-sign',
'@aws-sdk/cloudfront-signer',
'nodemailer',
/playwright/,
diff --git a/package-lock.json b/package-lock.json
index 680202db0..22de3b766 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,9 +14,8 @@
],
"dependencies": {
"@ai-sdk/google-vertex": "3.0.81",
- "@documenso/pdf-sign": "^0.1.0",
"@documenso/prisma": "*",
- "@libpdf/core": "^0.1.1",
+ "@libpdf/core": "^0.2.0",
"@lingui/conf": "^5.6.0",
"@lingui/core": "^5.6.0",
"ai": "^5.0.104",
@@ -2429,136 +2428,6 @@
"resolved": "apps/openpage-api",
"link": true
},
- "node_modules/@documenso/pdf-sign": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign/-/pdf-sign-0.1.0.tgz",
- "integrity": "sha512-7PSI+A2PRLuOo3804hJqubiV0MyFbc2a/3lp292pdGmrg0diiIOao+GaJUPN1z3xkTudU/0u0pvUHxq4h/bvPA==",
- "license": "AGPL-3.0",
- "engines": {
- "node": ">= 10"
- },
- "optionalDependencies": {
- "@documenso/pdf-sign-darwin-arm64": "0.1.0",
- "@documenso/pdf-sign-darwin-x64": "0.1.0",
- "@documenso/pdf-sign-linux-arm64-gnu": "0.1.0",
- "@documenso/pdf-sign-linux-arm64-musl": "0.1.0",
- "@documenso/pdf-sign-linux-x64-gnu": "0.1.0",
- "@documenso/pdf-sign-linux-x64-musl": "0.1.0",
- "@documenso/pdf-sign-win32-x64-msvc": "0.1.0"
- }
- },
- "node_modules/@documenso/pdf-sign-darwin-arm64": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-darwin-arm64/-/pdf-sign-darwin-arm64-0.1.0.tgz",
- "integrity": "sha512-anIGpktb0DiFUA058TpAXnCq5QvpnS3Bx7LgOZVd7wuNhDrZ4tD4P3jZOVfmnSPLLAURqiLZZ1aD187W3LX3XQ==",
- "cpu": [
- "arm64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-darwin-x64": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-darwin-x64/-/pdf-sign-darwin-x64-0.1.0.tgz",
- "integrity": "sha512-eAXdgjXWh92UoBuPcYdXXnxKMHgGqf3Gh33K+QIcGWnXJUmA9OWYSfKFTZVP3MPs0VJZ8/e6Dj0VeOjMHuU64A==",
- "cpu": [
- "x64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-linux-arm64-gnu": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-linux-arm64-gnu/-/pdf-sign-linux-arm64-gnu-0.1.0.tgz",
- "integrity": "sha512-IBSCFYyppgOTISgXS2zfrm7CKqoW76nbZQw6vc98MY2Pp+EFhkhYTKnvuFB+Sph1cARNLBWVLlggHe3KMaTvyw==",
- "cpu": [
- "arm64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-linux-arm64-musl": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-linux-arm64-musl/-/pdf-sign-linux-arm64-musl-0.1.0.tgz",
- "integrity": "sha512-++YQP13qGglXpek/LHEMCBs/j3Vf0egFCUz+IDAC0bEjJVrLdwvJnAhXNdxruVVRDBcQ/6Sx7Vq3zfyd/9wQOQ==",
- "cpu": [
- "arm64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-linux-x64-gnu": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-linux-x64-gnu/-/pdf-sign-linux-x64-gnu-0.1.0.tgz",
- "integrity": "sha512-19e+lbI9CeloLHo59ktsqYZ7g4lV0g8sdqIecwHZgPk+WMzh6MHb98ZREOs5iuN1RusGXIxZCMITdKr9V/cuuw==",
- "cpu": [
- "x64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-linux-x64-musl": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-linux-x64-musl/-/pdf-sign-linux-x64-musl-0.1.0.tgz",
- "integrity": "sha512-XzxazfViLR3vJPYxd4f4n3AalOnakZ/T0dpYOtNEmIA3TYmT+gXQDI0kTmfPtMLcMwoj2WirgkfSdJ1EjqGIoA==",
- "cpu": [
- "x64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@documenso/pdf-sign-win32-x64-msvc": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@documenso/pdf-sign-win32-x64-msvc/-/pdf-sign-win32-x64-msvc-0.1.0.tgz",
- "integrity": "sha512-MAs3nJZdhNWubCLFVEVOGDQHlZHpI1gIUSVD0j/t0ddDat+Audz9ZmzidQJEBHywXZ7dwFOYFTWgjnaCiddTpQ==",
- "cpu": [
- "x64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@documenso/prettier-config": {
"resolved": "packages/prettier-config",
"link": true
@@ -4286,9 +4155,9 @@
"license": "MIT"
},
"node_modules/@libpdf/core": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@libpdf/core/-/core-0.1.1.tgz",
- "integrity": "sha512-rnYa0LGIi6SsTjxYveDXovRMQzRl9o2LmZKavxJFLPHA8cS7fOgARWnn26bx/ZCDj3Pb6hxXAOAQYws+vITnrg==",
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@libpdf/core/-/core-0.2.0.tgz",
+ "integrity": "sha512-rVY2QvTYhc9L8Z9JKEjfVF/eHLc5cnjeRQ8C5G/FnOrwATQOcrNI4lgagQ3wzL6YFy97t6NP41E/vt5q2Ve3Hw==",
"license": "MIT",
"dependencies": {
"@noble/ciphers": "^2.1.1",
diff --git a/package.json b/package.json
index ba9c12532..039ede0c8 100644
--- a/package.json
+++ b/package.json
@@ -85,9 +85,8 @@
},
"dependencies": {
"@ai-sdk/google-vertex": "3.0.81",
- "@documenso/pdf-sign": "^0.1.0",
"@documenso/prisma": "*",
- "@libpdf/core": "^0.1.1",
+ "@libpdf/core": "^0.2.0",
"@lingui/conf": "^5.6.0",
"@lingui/core": "^5.6.0",
"ai": "^5.0.104",