Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(deps): restore @react-pdf/textkit patch dropped by the 4.6.0 bump

Amruth Pillaib4f245a38eda
diff --git a/patches/@[email protected] b/patches/@[email protected]
similarity index 88%
rename from patches/@[email protected]
rename to patches/@[email protected]
index 4f2b698e7..a82c3949d 100644
--- a/patches/@[email protected]
+++ b/patches/@[email protected]
@@ -1,8 +1,8 @@
diff --git a/lib/textkit.js b/lib/textkit.js
-index 0b8b6fa636c48ef0ac9cecb27040d2bac9303ce8..058d96e4d47339482c2c8e8769ca031b8688e3a5 100644
+index 40814303e013f68675712caaeb3ca21617cfc9e7..7d337ad45eab263af25e9b724dd288509ab8bb82 100644
--- a/lib/textkit.js
+++ b/lib/textkit.js
-@@ -697,6 +697,31 @@ const omit = (value, run) => {
+@@ -709,6 +709,31 @@ const omit = (value, run) => {
return Object.assign({}, run, { attributes });
};
@@ -34,7 +34,7 @@ index 0b8b6fa636c48ef0ac9cecb27040d2bac9303ce8..058d96e4d47339482c2c8e8769ca031b
/**
* Get run ascent
*
-@@ -706,7 +731,7 @@ const omit = (value, run) => {
+@@ -718,7 +743,7 @@ const omit = (value, run) => {
const ascent$1 = (run) => {
const { font, attachment } = run.attributes;
const attachmentHeight = attachment?.height || 0;
@@ -43,7 +43,7 @@ index 0b8b6fa636c48ef0ac9cecb27040d2bac9303ce8..058d96e4d47339482c2c8e8769ca031b
return Math.max(attachmentHeight, fontAscent * scale(run));
};
-@@ -718,7 +743,7 @@ const ascent$1 = (run) => {
+@@ -730,7 +755,7 @@ const ascent$1 = (run) => {
*/
const descent = (run) => {
const font = run.attributes?.font;
@@ -52,7 +52,7 @@ index 0b8b6fa636c48ef0ac9cecb27040d2bac9303ce8..058d96e4d47339482c2c8e8769ca031b
return scale(run) * fontDescent;
};
-@@ -730,8 +755,8 @@ const descent = (run) => {
+@@ -742,8 +767,8 @@ const descent = (run) => {
*/
const lineGap = (run) => {
const font = run.attributes?.font;
@@ -63,7 +63,7 @@ index 0b8b6fa636c48ef0ac9cecb27040d2bac9303ce8..058d96e4d47339482c2c8e8769ca031b
};
/**
-@@ -742,7 +767,8 @@ const lineGap = (run) => {
+@@ -754,7 +779,8 @@ const lineGap = (run) => {
*/
const height$1 = (run) => {
const lineHeight = run.attributes?.lineHeight;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 15e6ce6ab..9ba32faab 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -11,6 +11,9 @@ overrides:
samlify@<2.13.0: ^2.13.0
uuid@<11.1.1: ^11.1.1
+patchedDependencies:
+ '@react-pdf/[email protected]': 95ef89248e1cc048aeb087707276f303854ac17438221c3fe7b8c0098c65db50
+
importers:
.:
@@ -1504,10 +1507,6 @@ packages:
resolution: {integrity: sha512-5FgxM4dLQpMJHSiVATk8foW263dVHQHBVpXYiimNECVWG01f4nFyEbQixeT6Mwvg7TayREJ2gpKl3o2RoMdnqw==}
engines: {node: ^22.18.0 || >=24.11.0}
- '@babel/[email protected]':
- resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==}
engines: {node: '>=6.9.0'}
@@ -1611,11 +1610,6 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
- '@babel/[email protected]':
- resolution: {integrity: sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==}
engines: {node: '>=6.0.0'}
@@ -1672,10 +1666,6 @@ packages:
resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==}
engines: {node: '>=6.9.0'}
@@ -1684,10 +1674,6 @@ packages:
resolution: {integrity: sha512-bxTj/W2VclGE6CctlfQOpxg8MPDzXArRqkOBePw8EHfebcjF7fETWSS3BriEECo+UiU/Yblq+xUtSImFu7cTbw==}
engines: {node: ^22.18.0 || >=24.11.0}
- '@babel/[email protected]':
- resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
engines: {node: '>=6.9.0'}
@@ -2840,12 +2826,6 @@ packages:
resolution: {integrity: sha512-GaPlicMtnvgPr5SowFRprkEJicDSrV3qCq17U4jiF5u0kNORZo3IbdN2Bk4SfcZJAMYFHbMVJ81O3w21CYxazg==}
engines: {node: '>= 10'}
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==}
- peerDependencies:
- '@emnapi/core': ^1.7.1
- '@emnapi/runtime': ^1.7.1
-
'@napi-rs/[email protected]':
resolution: {integrity: sha512-JfB4kuJQjaoHuCTseIINHtHWeJnvgEcxjwA5t/Y00ZgaOO1Crz3fjT/p8kT28zA/Caz7oiUMn3d6H2yOVCVwuw==}
engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0}
@@ -2920,10 +2900,6 @@ packages:
resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
engines: {node: ^14.21.3 || >=16}
- '@noble/[email protected]':
- resolution: {integrity: sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==}
- engines: {node: '>= 20.19.0'}
-
resolution: {integrity: sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==}
engines: {node: '>= 20.19.0'}
@@ -5100,11 +5076,6 @@ packages:
resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==}
engines: {node: ^4.5.0 || >= 5.9}
- resolution: {integrity: sha512-c/jurFrDLyui7o1J86yLkRu4LMsTYcBohveus7/I2Hzdn9KIP2bdJPTue/lR1KH46enoPbD77GKeSYNdyPoD3Q==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-k9HNuUVMlqVjQ9UHzfPjIqiDbWw7WqT1AoT7GL8VwvF3r0ZfArtgiSPAlmupyNquNgOJHTuH4CKYf8ttMTWBTQ==}
engines: {node: '>=6.0.0'}
@@ -5211,11 +5182,6 @@ packages:
resolution: {integrity: sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==}
- resolution: {integrity: sha512-Cu2E6QejHWzuDMTkuwgpABFgDfZrXLQq5V13YOACZx4mFAG4IwGTbTfHPMr4WtxlHoXSM8FIuRwYYCz5XiabaQ==}
- engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
- hasBin: true
-
resolution: {integrity: sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
@@ -5256,9 +5222,6 @@ packages:
resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-g/uHREV2ZpK9qMalCsWaxmA6ol+DX8GYhuf3T40RKoP+oL7vhRJh8LNt73PCjpnR6l14FzfPrB5Yux4PKm2meg==}
-
resolution: {integrity: sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==}
@@ -5816,9 +5779,6 @@ packages:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
- resolution: {integrity: sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg==}
-
resolution: {integrity: sha512-MQsYmdaLzvaCX5j+ZZBr5Fm6uCCnPQcRtlvmvRlWqrXy+BH2O4ffXIAScF+JQznQWB9brWp4lSD9Z4yNmaf2BA==}
@@ -7169,10 +7129,6 @@ packages:
resolution: {integrity: sha512-QrdiYYm1NnLRXsMXThUgVcF/syWfWIgHFmy8hylWMGFbHFtnRuXLBxxGQvIm3xaIJMUDJ0ayOmT/FGJYT3pZIw==}
- resolution: {integrity: sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==}
engines: {node: '>=18'}
@@ -8420,12 +8376,6 @@ packages:
resolution: {integrity: sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw==}
- resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
- hasBin: true
- peerDependencies:
- browserslist: '>= 4.21.0'
-
resolution: {integrity: sha512-x/M6q3w4Ybp91CNaS4S69UnliqR3BzRpOT6LWbksjth0S/+jhfaPJsWjt/TewpT8j9eLIojUf5jr29WextHroA==}
hasBin: true
@@ -9046,14 +8996,14 @@ snapshots:
dependencies:
'@babel/code-frame': 7.29.7
- '@babel/generator': 7.29.7
+ '@babel/generator': 7.29.8
'@babel/helper-compilation-targets': 7.29.7
'@babel/helper-module-transforms': 7.29.7(@babel/[email protected]([email protected]))([email protected])
'@babel/helpers': 7.29.7
- '@babel/parser': 7.29.7
+ '@babel/parser': 7.29.8
'@babel/template': 7.29.7
- '@babel/traverse': 7.29.7([email protected])
- '@babel/types': 7.29.7
+ '@babel/traverse': 7.29.8([email protected])
+ '@babel/types': 7.29.8
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
debug: 4.4.3([email protected])
@@ -9082,14 +9032,6 @@ snapshots:
obug: 2.1.4
semver: 7.8.5
- '@babel/[email protected]':
- dependencies:
- '@babel/parser': 7.29.7
- '@babel/types': 7.29.7
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
- jsesc: 3.1.0
-
dependencies:
'@babel/parser': 7.29.8
@@ -9115,7 +9057,7 @@ snapshots:
dependencies:
'@babel/compat-data': 7.29.7
'@babel/helper-validator-option': 7.29.7
- browserslist: 4.28.5
+ browserslist: 4.28.8
lru-cache: 5.1.1
semver: 6.3.1
@@ -9123,7 +9065,7 @@ snapshots:
dependencies:
'@babel/compat-data': 8.0.0
'@babel/helper-validator-option': 8.0.0
- browserslist: 4.28.5
+ browserslist: 4.28.8
lru-cache: 11.5.2
semver: 7.8.5
@@ -9153,8 +9095,8 @@ snapshots:
dependencies:
- '@babel/traverse': 7.29.7([email protected])
- '@babel/types': 7.29.7
+ '@babel/traverse': 7.29.8([email protected])
+ '@babel/types': 7.29.8
transitivePeerDependencies:
- supports-color
@@ -9163,7 +9105,7 @@ snapshots:
'@babel/core': 7.29.7([email protected])
'@babel/helper-module-imports': 7.29.7([email protected])
'@babel/helper-validator-identifier': 7.29.7
- '@babel/traverse': 7.29.7([email protected])
+ '@babel/traverse': 7.29.8([email protected])
transitivePeerDependencies:
- supports-color
@@ -9204,7 +9146,7 @@ snapshots:
dependencies:
'@babel/template': 7.29.7
- '@babel/types': 7.29.7
+ '@babel/types': 7.29.8
dependencies:
@@ -9215,10 +9157,6 @@ snapshots:
dependencies:
'@babel/types': 7.29.8
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.29.7
-
dependencies:
'@babel/types': 7.29.8
@@ -9293,18 +9231,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@babel/code-frame': 7.29.7
- '@babel/generator': 7.29.7
- '@babel/helper-globals': 7.29.7
- '@babel/parser': 7.29.7
- '@babel/template': 7.29.7
- '@babel/types': 7.29.7
- debug: 4.4.3([email protected])
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/code-frame': 7.29.7
@@ -9327,11 +9253,6 @@ snapshots:
'@babel/types': 8.0.0
obug: 2.1.4
- '@babel/[email protected]':
- dependencies:
- '@babel/helper-string-parser': 7.29.7
- '@babel/helper-validator-identifier': 7.29.7
-
dependencies:
'@babel/helper-string-parser': 7.29.7
@@ -9459,7 +9380,7 @@ snapshots:
'@better-auth/[email protected]':
dependencies:
- '@noble/hashes': 2.2.0
+ '@noble/hashes': 2.3.0
'@better-auth/[email protected]':
dependencies:
@@ -10355,13 +10276,6 @@ snapshots:
'@napi-rs/canvas-win32-arm64-msvc': 1.0.5
'@napi-rs/canvas-win32-x64-msvc': 1.0.5
- dependencies:
- '@emnapi/core': 1.11.2
- '@emnapi/runtime': 1.11.2
- '@tybys/wasm-util': 0.10.3
- optional: true
-
dependencies:
'@emnapi/core': 1.11.2
@@ -10408,8 +10322,6 @@ snapshots:
'@noble/[email protected]': {}
- '@noble/[email protected]': {}
-
'@noble/[email protected]': {}
'@nodelib/[email protected]':
@@ -10798,7 +10710,7 @@ snapshots:
dependencies:
'@emnapi/core': 1.11.2
'@emnapi/runtime': 1.11.2
- '@napi-rs/wasm-runtime': 1.1.6(@emnapi/[email protected])(@emnapi/[email protected])
+ '@napi-rs/wasm-runtime': 1.2.2(@emnapi/[email protected])(@emnapi/[email protected])
optional: true
'@oxc-resolver/[email protected]':
@@ -11104,7 +11016,7 @@ snapshots:
'@react-pdf/image': 3.1.1
'@react-pdf/primitives': 4.3.0
'@react-pdf/stylesheet': 6.2.2
- '@react-pdf/textkit': 6.4.0
+ '@react-pdf/textkit': 6.4.0(patch_hash=95ef89248e1cc048aeb087707276f303854ac17438221c3fe7b8c0098c65db50)
'@react-pdf/types': 2.11.2
emoji-regex-xs: 1.0.0
queue: 6.0.2
@@ -11136,7 +11048,7 @@ snapshots:
'@babel/runtime': 7.29.7
'@react-pdf/fns': 3.1.3
'@react-pdf/primitives': 4.3.0
- '@react-pdf/textkit': 6.4.0
+ '@react-pdf/textkit': 6.4.0(patch_hash=95ef89248e1cc048aeb087707276f303854ac17438221c3fe7b8c0098c65db50)
'@react-pdf/types': 2.11.2
abs-svg-path: 0.1.1
color-string: 2.1.4
@@ -11174,7 +11086,7 @@ snapshots:
dependencies:
'@react-pdf/primitives': 4.3.0
- '@react-pdf/[email protected]':
+ '@react-pdf/[email protected](patch_hash=95ef89248e1cc048aeb087707276f303854ac17438221c3fe7b8c0098c65db50)':
dependencies:
'@react-pdf/fns': 3.1.3
bidi-js: 1.0.3
@@ -12449,7 +12361,7 @@ snapshots:
dependencies:
- '@babel/types': 7.29.7
+ '@babel/types': 7.29.8
@@ -12461,8 +12373,6 @@ snapshots:
-
@@ -12503,7 +12413,7 @@ snapshots:
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.4.3
'@better-fetch/fetch': 1.3.1
rou3: 0.7.12
set-cookie-parser: 3.1.1
@@ -12548,14 +12458,6 @@ snapshots:
dependencies:
pako: 1.0.11
- dependencies:
- baseline-browser-mapping: 2.10.42
- caniuse-lite: 1.0.30001803
- electron-to-chromium: 1.5.389
- node-releases: 2.0.50
- update-browserslist-db: 1.2.3([email protected])
-
dependencies:
baseline-browser-mapping: 2.11.13
@@ -12595,8 +12497,6 @@ snapshots:
-
@@ -12970,8 +12870,6 @@ snapshots:
-
@@ -14482,8 +14380,8 @@ snapshots:
dependencies:
'@next/env': 16.3.0
'@swc/helpers': 0.5.15
- baseline-browser-mapping: 2.10.42
- caniuse-lite: 1.0.30001803
+ baseline-browser-mapping: 2.11.13
+ caniuse-lite: 1.0.30001809
postcss: 8.5.23
react: 19.2.8
react-dom: 19.2.8([email protected])
@@ -14520,8 +14418,6 @@ snapshots:
css-select: 5.2.2
entities: 8.0.0
-
@@ -15786,7 +15682,7 @@ snapshots:
dependencies:
- esbuild: 0.28.1
+ esbuild: 0.28.2
optionalDependencies:
fsevents: 2.3.3
@@ -15925,12 +15821,6 @@ snapshots:
optional: true
- dependencies:
- browserslist: 4.28.5
- escalade: 3.2.0
- picocolors: 1.1.1
-
dependencies:
browserslist: 4.28.8
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 9a2dded8d..62739771b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -16,3 +16,5 @@ overrides:
postcss@<8.5.10: ^8.5.14
samlify@<2.13.0: ^2.13.0
uuid@<11.1.1: ^11.1.1
+patchedDependencies:
+ '@react-pdf/[email protected]': patches/@[email protected]