fix(deps): update dependency tempy to v3.2.0#784
fix(deps): update dependency tempy to v3.2.0#784renovate[bot] wants to merge 2 commits intomasterfrom
Conversation
|
@claude The Renovate PR build failed (workflow run: 21602402270). Please analyze the CI failure and implement a fix if possible. Workflow run: https://github.com/olexs/pdf-assembler/actions/runs/21602402270 |
|
Claude finished @olexs's task in 8m 14s —— View job CI Failure Analysis Complete
Root CauseThe E2E tests were failing because tempy 3.2.0 introduced new code paths that call
These functions use SolutionUpdated alias: {
fs: 'pdfkit/js/virtual-fs.js',
// Exclude node:fs from aliasing to allow tempy to use real fs module
'node:fs': false,
'node:fs/promises': false
}This allows tempy to access the real Node.js fs module (including Pre-commit Checks
Changes PushedCommitted and pushed the webpack configuration fix to the |
Tempy 3.2.0 added new code paths that call fs.mkdirSync() in the resolveParentDirectory function and getPath function. These calls use 'node:fs' imports which were being caught by webpack's fs alias to pdfkit's virtual-fs.js in the renderer bundle. The virtual-fs only implements readFileSync and writeFileSync, causing the app to crash when tempy tries to call mkdirSync. This fix explicitly excludes 'node:fs' and 'node:fs/promises' from the fs alias, allowing tempy to use the real Node.js fs module while pdfkit continues to use the virtual-fs. Fixes E2E test failures on macOS and Windows. Co-authored-by: Olex S. <olexs@users.noreply.github.com>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
3.1.2→3.2.0Release Notes
sindresorhus/tempy (tempy)
v3.2.0Compare Source
rootDirectoryoption71cbe20parentDirectoryoption0107c8d53b1211Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.