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 1 commit into
Conversation
bb62db7 to
e26d968
Compare
2501ec1 to
2fa245a
Compare
c2213d3 to
91d7db2
Compare
91d7db2 to
c7c45c9
Compare
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
|
📝 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 |
|
@GretaD ready for another review |
f3ce329 to
a1cd59a
Compare
6769186 to
215a6bb
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
215a6bb to
d72fc4e
Compare
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.