Conversation
Bumps [wretch](https://github.com/elbywan/wretch) from 2.11.1 to 3.0.7. - [Release notes](https://github.com/elbywan/wretch/releases) - [Changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md) - [Commits](elbywan/wretch@2.11.1...3.0.7) --- updated-dependencies: - dependency-name: wretch dependency-version: 3.0.7 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughUpdated the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/app/universal-testing-utils/package.json`:
- Line 64: Add an explicit Node engine floor to this package's package.json to
prevent installing wretch@^3 on unsupported Node versions: in
packages/app/universal-testing-utils/package.json add an "engines" field with
"node": ">=22.0.0" (or ensure the repo root package.json already declares the
same and remove duplication), so the package's dependency on "wretch": "^3.0.7"
is constrained to Node 22+. Update the package.json top-level object (near the
existing dependencies block) to include the "engines" entry.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 6724728e-c33e-46ad-a054-e51853543e13
📒 Files selected for processing (1)
packages/app/universal-testing-utils/package.json
| "typescript": "5.9.3", | ||
| "vitest": "^4.0.15", | ||
| "wretch": "^2.11.0", | ||
| "wretch": "^3.0.7", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "# Node/toolchain declarations"
fd -HI '(^package\.json$|^\.nvmrc$|^\.node-version$|^\.tool-versions$)' | while read -r f; do
echo "## $f"
if [[ "$f" == *.json ]]; then
rg -nC2 '"engines"|"packageManager"|"volta"|"node"' "$f" || true
else
sed -n '1,20p' "$f"
fi
echo
done
echo "# CI node versions"
if [[ -d .github/workflows ]]; then
fd -HI '\.ya?ml$' .github/workflows -x rg -nC2 'setup-node|node-version' {}
fi
echo "# Wretch imports and v2-only APIs"
rg -nC2 --glob '!**/dist/**' --glob '!**/node_modules/**' \
'from ["'"'"']wretch["'"'"']|require\(["'"'"']wretch["'"'"']\)|\.polyfills\s*\(|wretch\.polyfills\s*\(|wretch\.options\s*\(|\.errorType\s*\(|wretch\.errorType\s*\('Repository: lokalise/shared-ts-libs
Length of output: 2570
Add engines.node constraint to match wretch@^3's Node.js 22+ requirement.
The monorepo's CI tests on Node 22.x and 24.x, and no v2-only wretch APIs remain in use. However, universal-testing-utils (and the root package.json) do not declare an explicit engines.node floor. This allows installation on Node <22 locally, which would fail at runtime with wretch@^3. Add "engines": { "node": ">=22.0.0" } to this package's package.json (or rely on a root-level engines declaration if established repository-wide).
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@packages/app/universal-testing-utils/package.json` at line 64, Add an
explicit Node engine floor to this package's package.json to prevent installing
wretch@^3 on unsupported Node versions: in
packages/app/universal-testing-utils/package.json add an "engines" field with
"node": ">=22.0.0" (or ensure the repo root package.json already declares the
same and remove duplication), so the package's dependency on "wretch": "^3.0.7"
is constrained to Node 22+. Update the package.json top-level object (near the
existing dependencies block) to include the "engines" entry.
Bumps wretch from 2.11.1 to 3.0.7.
Release notes
Sourced from wretch's releases.
... (truncated)
Changelog
Sourced from wretch's changelog.
... (truncated)
Commits
0b90bc4v3.0.7f677f28⬆️ Upgrade dependenciesb655993Merge pull request #285 from ecancino/catcher-errors1abd52fdocs(readme): Fix the failing snippetdc93190🏭 Allow multiple error ids on catchersd06b116Merge pull request #297 from elbywan/dependabot/npm_and_yarn/qs-6.14.202ca86e⬆️ Bump qs from 6.14.0 to 6.14.223c076bMerge pull request #294 from elbywan/dependabot/npm_and_yarn/fastify-5.7.3153cae9⬆️ Bump fastify from 5.6.1 to 5.7.394998e7Merge pull request #293 from elbywan/dependabot/npm_and_yarn/lodash-4.17.23Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for wretch since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)