chore(deps): bump node-polyfill-webpack-plugin from ^3.0.0 to v4 (main)#12762
chore(deps): bump node-polyfill-webpack-plugin from ^3.0.0 to v4 (main)#12762renovate[bot] wants to merge 2 commits into
Conversation
bb62db7 to
e26d968
Compare
2501ec1 to
2fa245a
Compare
c2213d3 to
91d7db2
Compare
91d7db2 to
c7c45c9
Compare
c7c45c9 to
a6b0d18
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
a6b0d18 to
4bb29fd
Compare
|
@coderabbitai review and explain the CI failure "Module not found: Error: Can't resolve '/tmp/krankerl.EYBEGK6plpba/mail/node_modules/node-stdlib-browser/node_modules/buffer' in '/tmp/krankerl.EYBEGK6plpba/mail/node_modules/html-to-text/node_modules/entities/dist/esm/internal'" |
🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo '== PR diff and changed files =='
git diff --name-status HEAD^ HEAD
git diff -- package.json package-lock.json 2>/dev/null || true
echo '== Package manifests and relevant lockfile entries =='
fd -a -t f '^(package(-lock)?\.json|webpack\..*|.*webpack.*\.(js|cjs|mjs|ts))$' . \
-E node_modules -E .git \
-x sh -c 'echo "--- $1"; rg -n -C3 '"'"'node-polyfill-webpack-plugin|node-stdlib-browser|"buffer"|html-to-text|entities|NodePolyfillPlugin'"'"' "$1" || true' sh {} \;
echo '== Webpack/plugin usage across repository =='
rg -n -C5 --glob '!node_modules/**' --glob '!package-lock.json' \
'NodePolyfillPlugin|node-polyfill-webpack-plugin|resolve\.fallback|fallback\s*:' .
echo '== Effective installed lockfile dependency records =='
node -e '
const p=require("./package-lock.json");
for (const [path, pkg] of Object.entries(p.packages || {})) {
if (/(node-polyfill-webpack-plugin|node-stdlib-browser|(^|\/)buffer$|html-to-text|(^|\/)entities$)/.test(path)) {
console.log(path, JSON.stringify({version:pkg.version, resolved:pkg.resolved, dependencies:pkg.dependencies}, null, 2));
}
}
'
echo '== GitHub PR checks and failed workflow metadata =='
gh pr checks 12762 --repo nextcloud/mail --json name,state,workflow,link,completedAt,startedAt 2>&1 || true
gh pr view 12762 --repo nextcloud/mail --json commits,statusCheckRollup,files 2>&1 || trueLength of output: 45892 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo '== Failed GitHub Actions job logs =='
for run in 29506901520 29506901502; do
echo "--- workflow run $run (failed steps)"
gh run view "$run" --repo nextcloud/mail --log-failed 2>&1 || true
done
echo '== webpack.common.js relevant configuration =='
cat -n webpack.common.js | sed -n '1,130p'
echo '== Exact dependency upgrade diff =='
git diff HEAD^ HEAD -- package.json package-lock.json | sed -n '1,320p'
echo '== Workflow/package scripts referencing packaging or webpack =='
rg -n -C4 --glob '!node_modules/**' \
'(npm (ci|install|run)|webpack|build|krankerl|tarball|package)' \
package.json .github 2>/dev/null || true
echo '== node-polyfill-webpack-plugin v4 source/metadata via npm registry =='
curl -fsSL https://registry.npmjs.org/node-polyfill-webpack-plugin/4.1.0 \
| jq '{version, dependencies, dist: .dist.tarball, engines}' || true
curl -fsSL https://registry.npmjs.org/node-polyfill-webpack-plugin/-/node-polyfill-webpack-plugin-4.1.0.tgz \
| tar -xzO package/index.js 2>/dev/null || trueLength of output: 201585 🏁 Script executed: #!/bin/bash
set -euo pipefail
for version in 3.0.0 4.1.0; do
echo "== node-polyfill-webpack-plugin@$version index.js =="
curl -fsSL "https://registry.npmjs.org/node-polyfill-webpack-plugin/-/node-polyfill-webpack-plugin-$version.tgz" \
| tar -xzO package/index.js 2>/dev/null \
| rg -n -C3 'buffer|fallback|defaultPolyfills|stdLib' || true
done
echo '== node-stdlib-browser@1.3.1 buffer mapping =='
curl -fsSL https://registry.npmjs.org/node-stdlib-browser/-/node-stdlib-browser-1.3.1.tgz \
| tar -xzO package/index.js 2>/dev/null \
| rg -n -C3 'buffer' || true
echo '== Package entrypoint metadata for buffer@5.7.1 =='
curl -fsSL https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz \
| tar -xzO package/package.json 2>/dev/null \
| jq '{main, module, exports, type}' || trueLength of output: 2222
Root cause
require.resolve('buffer/')That resolves to the fully specified In buffer: stdLibBrowser.bufferIn this install, that becomes the absolute directory: rather than Webpack is trying to bundle strict ESM dependencies. Strict ESM requires fully specified paths, so it refuses to infer Why
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe development dependency ChangesWebpack polyfill dependency
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
node-polyfill-webpack-plugin v4 sources polyfills from node-stdlib-browser, whose .mjs modules import bare specifiers webpack rejects as fully specified. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Christoph Wurst <1374172+ChristophWurst@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. |
|
@GretaD ready for another review |
This PR contains the following updates:
^3.0.0→^4.1.0Release Notes
Richienb/node-polyfill-webpack-plugin (node-polyfill-webpack-plugin)
v4.1.0Compare Source
processsupport873bac2timers/promises, and improveprocess,querystringandurl399f2ecv4.0.0Compare Source
4d26fb0fsnull fallback (#45)010fc94console,domain,process, and internalstreammodules by default08f793bincludeAliasestoadditionalAliases08f793bonlyAliases08f793bConfiguration
📅 Schedule: (in timezone Europe/Vienna)
* 0-3 1 * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.
Summary by CodeRabbit