Skip to content

Build your personal knowledge base with Trilium Notes

Update dependency pdfjs-dist to v6

renovate[bot]25be16e5a862
diff --git a/packages/pdfjs-viewer/package.json b/packages/pdfjs-viewer/package.json
index 44a14e7fcc..fdfe77ca1f 100644
--- a/packages/pdfjs-viewer/package.json
+++ b/packages/pdfjs-viewer/package.json
@@ -10,6 +10,6 @@
"@triliumnext/commons": "workspace:*"
},
"devDependencies": {
- "pdfjs-dist": "5.7.284"
+ "pdfjs-dist": "6.0.227"
}
}
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2cffabbd5f..1c383e72ec 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1569,8 +1569,8 @@ importers:
version: link:../commons
devDependencies:
pdfjs-dist:
- specifier: 5.7.284
- version: 5.7.284
+ specifier: 6.0.227
+ version: 6.0.227
packages/share-theme:
dependencies:
@@ -3914,24 +3914,48 @@ packages:
cpu: [arm64]
os: [android]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-3hNKJObUK7JsCF9aJlVCs1J0/KE/gGfZNeK8MO1ge6bB3aicr5walGme9t9No1f/oyk9GgvdAT/rjSdsx3gbIw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [android]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-2PcswRaC7Ly645DGt88///zuFDhJxJYdKAs1uU3mfk1atYkXufgcgLfBpk6Tm12nCQBaNt1wpybuPZ4qOhTo8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-ZIja19/BiGz2puhki+WUYSRriwFeFJ8Mi9eK3hZdSS85w4Y60cuEAJVhMCfKwswQkKkUtrnzdKMBuO7TupvexA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-ePNZtj7pNIva/siZMg+HmbeozkIjqUIYdoymH8HaA3qK7LfzFN4WMBM8G6HQ9ZC+H3+Dnn5pqtiXpgLykaPOhw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-hImggWc82jqZVpEsFR9S7PE9OQYjq/H/D7vwCGB6X1jRH+UVBP1+1niJTPBOat1B154T6GKK7/kcFtoWgjgFzQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-d5cDB48oWFGU8/XPhUOFAlySgb/VAu7D+s8fi55K1Pcfg8aPplHWqMgibhVLU8ky7Pyg/fuiVLz4Nf3JrSTuUA==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-hlJRy6d+kWLKVOG/+1rEvNQVURZ0DxxRPJsLmEWwhwiXZUJc0BF5o9esALHSEP4CoJK4wChRtj3hnyBgVx2oWA==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-rDxgxRu69RvDlX/bh9o22DxLsGr8EqsNgotL9+RwQE1S0b0cqeatqsw6aW45mukm0B42DIAaAacKaYQ8cqS1nw==}
engines: {node: '>= 10'}
@@ -3939,6 +3963,13 @@ packages:
os: [linux]
libc: [glibc]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-5Hru4T3RXkosRQafcjelv7AUzw9mXqmGYsxnzeDDOWveFCJyEPMSJltvGCM+jfH98seOCbfwm9KyFg6Jm5FhAA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-K3mDW66N+xT2/V439u1alFANiBUjdEx2gLiNYnCmUsva5jZMxWTjafBYwTzYK+EMFMHrUoabuU+T1BIP5CgbYQ==}
engines: {node: '>= 10'}
@@ -3946,6 +3977,13 @@ packages:
os: [linux]
libc: [musl]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-LTUl9jS8WsLSUGaxQZKQkxfluOJRpgvBuxxdM4pYcjib+di8AU4OzQc6+L6SzGMLcKc9H0RAjojRatBhTMqYdg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-mooqUBTIsccZpnoQC4NgrC1v6C1vof39etLNMnBwCY+p0gajWJvAHLGQ6g/gGyS5YrpDW+GefSN4+Cvcr08UWw==}
engines: {node: '>= 10'}
@@ -3953,6 +3991,13 @@ packages:
os: [linux]
libc: [glibc]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-Iz931SAZf+WVDzpjk52Q3ffW3zw0YflFwEZMgs036Wfu1kX/LrwT9wGjsuSqyduqefUkl91/vTdAjn8hQu5ezA==}
+ engines: {node: '>= 10'}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-1eCvkDCazm7FFhsT7DfGOdSaHgZVK3bt/dSBl5EWHOWmnz+I7j8tPseJqqD81NF+MH21jKUK4wQSDjN0mdhnTg==}
engines: {node: '>= 10'}
@@ -3960,6 +4005,13 @@ packages:
os: [linux]
libc: [glibc]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-pFEQ5eFK4JusgN1K6KkO9DKP/Hi1WMJOkF8Ch03/khTc4bFbCKkCCsJG4YcOMOW9bI4XbT2/eMAWxhO0xaWgPA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-20arT6lnI19S68qNlii73TSEDbECNgzMz2EpldC1V3mZFuRkeujXkcebRk0LRJe9SEUAooYiLokfMViY8IX7yA==}
engines: {node: '>= 10'}
@@ -3967,22 +4019,45 @@ packages:
os: [linux]
libc: [musl]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-jnvr8NrLHiZ3NCiOKWqDbkI4Ah+QDrqtZ+sddPZBltEb1mQ2coSvCSJYfict+oAwcm0c970oTmVySpjKP/lnaA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-DZFFT1wIAg37LJw37yhMRFfjATd3vTQzjZ1Yki8u2vhO6Hi5VE6BVaGQ1aaDu7xb4iMErz+9EOwjpS7xcxFeBw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-y2j9/Gfd5joqiqxdP/L1smqjQ+uAx3C4N0EC7bDHrnZEEH8ToM/OC5p3uHvtj4Lq591aHj+ArL01UDLNwT5HgQ==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-MyT1j3mHC2+Lu4pBi9mKyMJhtP6U7k7EldY7sj/uS5gJA65gTXt8MefJQXLJo5d/vZbuWmfxzkEUNc/urV3pHA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-qwdhh9N6Gge/hC4pL9S1tQp0iKwhSl/dYjg7+RGp9k26iRGRi5MqqUyKGOXIWli0zOcuy5Y2wIH/jk2ry6i/jA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-xglYA6q3XO5P3BNJYxVZ1IV7DLVjp1Py6nwag88YntrS+3vKHyYcMqXVS4ZztJmwz2uGvz1FWhI/4LgbR5uQDA==}
engines: {node: '>= 10'}
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-Jqxcy1XOIqj+lH9sl1GT+il6GR3uQv13vI2mrwubP3uT8Olak2ClDrK2RnxlQKjwv8BRr4b3ug0YR7c6hBX8wg==}
+ engines: {node: '>= 10'}
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==}
peerDependencies:
@@ -11173,8 +11248,8 @@ packages:
resolution: {integrity: sha512-tlUj+2IDa7G1SbvBNN74UHRLJybZDWYom+k6p5KIZl7huBvsA4APi6mKL+zCxd3tLjN5hOOEE9Tv7VdzO88pfg==}
engines: {node: '>=20.19.0 || >=22.13.0 || >=24'}
- resolution: {integrity: sha512-h4EdYQczmGhbOlqc3PPZwxevn7ApdWPbovAuWXOB/DjIyigSnwfy2oze7c6mRcSr9XgLp3eN3EeL4DyySTPMFw==}
+ resolution: {integrity: sha512-/P6M4SXw+70waMVLUM7rdRtvo+dEzqE1t6W/zQNvBETo2MaRa5rrvCcAYdfWGiUzadTgM0lJmRApUrW0d9zgKg==}
engines: {node: '>=22.13.0 || >=24'}
@@ -17134,36 +17209,69 @@ snapshots:
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ optional: true
+
'@napi-rs/[email protected]':
optionalDependencies:
'@napi-rs/canvas-android-arm64': 0.1.100
@@ -17179,6 +17287,21 @@ snapshots:
'@napi-rs/canvas-win32-x64-msvc': 0.1.100
optional: true
+ '@napi-rs/[email protected]':
+ optionalDependencies:
+ '@napi-rs/canvas-android-arm64': 1.0.0
+ '@napi-rs/canvas-darwin-arm64': 1.0.0
+ '@napi-rs/canvas-darwin-x64': 1.0.0
+ '@napi-rs/canvas-linux-arm-gnueabihf': 1.0.0
+ '@napi-rs/canvas-linux-arm64-gnu': 1.0.0
+ '@napi-rs/canvas-linux-arm64-musl': 1.0.0
+ '@napi-rs/canvas-linux-riscv64-gnu': 1.0.0
+ '@napi-rs/canvas-linux-x64-gnu': 1.0.0
+ '@napi-rs/canvas-linux-x64-musl': 1.0.0
+ '@napi-rs/canvas-win32-arm64-msvc': 1.0.0
+ '@napi-rs/canvas-win32-x64-msvc': 1.0.0
+ optional: true
+
dependencies:
'@emnapi/core': 1.10.0
@@ -26142,9 +26265,9 @@ snapshots:
'@napi-rs/canvas': 0.1.100
node-readable-to-web-readable-stream: 0.4.2
optionalDependencies:
- '@napi-rs/canvas': 0.1.100
+ '@napi-rs/canvas': 1.0.0