You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then apply the fix commands from Step 5 of the single-alert workflow (edit `package.json`, `yarn install`, `yarn dedupe-deps:fix`, verify) — but **skip the "Do NOT commit" instruction**, since user approval was already obtained in Step 2b. After applying:
95
+
Then apply the fix commands from Step 5 of the single-alert workflow (`npx yarn-update-dependency@latest <package>`, `yarn dedupe-deps:fix`, verify) — but **skip the "Do NOT commit" instruction**, since user approval was already obtained in Step 2b. After applying:
96
96
97
97
```bash
98
98
# 3. Stage and commit the changes
@@ -263,8 +263,8 @@ Present findings and **wait for user approval** before making changes:
263
263
<One of: Safe to bump / Version-specific test - do not bump / Bump parent package>
264
264
265
265
### Proposed Fix
266
-
1. Update <file>: "<package>": "<new-version>"
267
-
2. yarn install && yarn dedupe-deps:fix
266
+
1. npx yarn-update-dependency@latest <package>
267
+
2. yarn dedupe-deps:fix
268
268
3. Verify with: yarn why <package>
269
269
270
270
Proceed?
@@ -273,15 +273,14 @@ Proceed?
273
273
### Step 5: Apply Fix (After Approval)
274
274
275
275
```bash
276
-
# 1. Edit package.json
277
-
# 2. Update lockfile
278
-
yarn install
279
-
# 3. Deduplicate
276
+
# 1. Upgrade the package (updates package.json + lockfile)
277
+
npx yarn-update-dependency@latest <package>
278
+
# 2. Deduplicate
280
279
yarn dedupe-deps:fix
281
-
# 4. Verify
280
+
# 3. Verify
282
281
yarn dedupe-deps:check
283
282
yarn why <package>
284
-
# 5. Show changes
283
+
# 4. Show changes
285
284
git diff
286
285
```
287
286
@@ -325,6 +324,7 @@ gh api --method PATCH repos/getsentry/sentry-javascript/dependabot/alerts/<numbe
0 commit comments