Repository navigation
chore(deps): bump styled-components from 5.3.3 to 6.6.0 - #53
Conversation
b79a9f9 to
2c12b99
Compare
|
🤖 Finished Review · ✅ Success · Started 9:14 AM UTC · Completed 9:23 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $3.25 |
|
<!-- fullsend:risk-assessment --> DetailsBot-authored semver-major bump of styled-components (5.3.3 to 6.6.0) touching only the two dependency files; Tier 1 signals are unchanged from the prior assessment (same file count, dependency files changed, no protected or security-sensitive paths, bot author), and Tier 2 reconfirms the 2.29 composite, yielding the same composite (0.62x1.75 + 0.38x2.29 = 1.96, rounded to 2). Previous run<!-- fullsend:risk-assessment --> DetailsBot-authored semver-major bump of styled-components (5.3.3 to 6.6.0) touching only the two dependency files; breaking-change risk from the major version jump is offset by bot authorship and no protected or security-sensitive paths, yielding a moderate composite (0.62x1.75 + 0.38x2.29 = 1.96, rounded to 2). |
ReviewFindingsHigh
Medium / Low
Next steps:
Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJoaWdoIiwiY2F0ZWdvcnkiOiJhcGktY29udHJhY3QiLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvSGVhZGVyL3N0eWxlLnRzIiwiaWQiOiJmX2I4ZTJjZmRjOWYxYjAzNWEiLCJsaW5lIjoxLCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9LHsic2V2ZXJpdHkiOiJoaWdoIiwiY2F0ZWdvcnkiOiJhcGktY29udHJhY3QiLCJmaWxlIjoic3JjL2NvbW1vbnMvc3R5bGUvc3R5bGVkLWNvbXBvbmVudHMudHMiLCJpZCI6ImZfY2JlOTk3YzA2Njc5YWJlYyIsImxpbmUiOjIsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn0seyJzZXZlcml0eSI6Im1lZGl1bSIsImNhdGVnb3J5IjoiYXBpLWNvbnRyYWN0IiwiZmlsZSI6InNyYy9jb21wb25lbnRzL0NhcnQvQ2FydC50c3giLCJpZCI6ImZfZGFiODJhODJkN2I2ODFmMSIsImxpbmUiOjI4LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InN0YWxlLXJlZmVyZW5jZSIsImZpbGUiOiJwYWNrYWdlLmpzb24iLCJpZCI6ImZfYWM3NjJhNjEzNmUyZWE5MCIsImxpbmUiOjc3LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9XX0= --> ReviewFindingsHigh
Medium
Low
Next steps:
|
|
/fs-fix |
|
🤖 Finished Fix · ❌ Failure (post-script /home/runner/work/react-shopping-cart/react-shopping-cart/.fullsend/.fullsend-cache/resources/sha256/90f2b0684e13fa7bb35c61dc048c6eddf3fe6792deb7bfa5b93642fa25f6d479/scripts/post-fix.sh fa…) · Started 9:28 AM UTC · Completed 9:36 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.46 |
Bumps [styled-components](https://github.com/styled-components/styled-components) from 5.3.3 to 6.6.0. - [Release notes](https://github.com/styled-components/styled-components/releases) - [Commits](https://github.com/styled-components/styled-components/compare/v5.3.3...styled-components@6.6.0) --- updated-dependencies: - dependency-name: styled-components dependency-version: 6.6.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2c12b99 to
1710475
Compare
|
🤖 Review · ❌ Terminated · Started 9:31 AM UTC · Ended 9:42 AM UTC Commit: |
|
The fix agent completed, but the post-fix script failed before finishing. Workflow run: https://github.com/shairevivo/react-shopping-cart/actions/runs/42790902168 Details: |
There was a problem hiding this comment.
Note: The following review comments could not be posted on the diff (GitHub returned 422) and are included here instead:
package.json(file-level): Line 77 ·
[low] stale-reference
Still present at PR head. @types/styled-components: ^5.1.36 remains in devDependencies, but styled-components v6 bundles its own TypeScript definitions. The v5 typings are dead weight and make v5-only type names (ThemedStyledComponentsModule, SimpleInterpolation) look valid.
Suggested fix: Remove @types/styled-components from devDependencies and regenerate package-lock.json.
|
🤖 Finished Review · ✅ Success · Started 9:31 AM UTC · Completed 9:42 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $3.79 |
|
🤖 Finished Retro · ✅ Success · Started 9:44 AM UTC · Completed 9:57 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $4.19 |
Retro: PR #53 — styled-components 5.3.3 → 6.6.0 (Dependabot, semver-major)Timeline (2026-11-10 UTC): Dependabot force-pushed Review quality: strong. Both high findings (removed Proposals: (1) fullsend-ai/agents — make post-fix replay only the agent's commits when the PR branch was force-pushed mid-run; (2) this repo — complete the styled-components v6 migration on main. Evidence for existing issues (not re-filed):
Agents resolved from Proposals filed
|
) PR #57 bumped typescript to ^7.0.2, the native Go port. react-scripts 5.0.1 declares the peer "typescript: ^3.2.1 || ^4", and its toolchain (fork-ts-checker-webpack-plugin 6, tsutils, @typescript-eslint 5) needs the require()-able JS compiler API that TS 7 no longer ships. - package.json: typescript ^7.0.2 -> ^4.9.5, the newest 4.x, which satisfies every typescript peer range in the lockfile. - package-lock.json: regenerated with npm install --package-lock-only. The only changes are typescript 4.9.5 and dropping the 20 @typescript/typescript-* native packages. - .github/dependabot.yml: ignore typescript versions >=5 so Dependabot stops proposing majors react-scripts 5 cannot use. The rule should be removed when the project migrates off CRA. tsconfig.json is unchanged; its options are valid on 4.9. Verified: npm ci succeeds and npm ls typescript reports 4.9.5 with no invalid peers; npm run lint passes. On main as-is, npx tsc --noEmit, npm test (10/19 suites) and npm run build still fail, but because of the separate styled-components 6 bump (#53), which removed styled-components/macro and the ThemedStyledComponentsModule type. With styled-components 5.3.3 installed temporarily (--no-save), tsc, npm test (19/19 suites, 39 tests) and npm run build all pass on TypeScript 4.9.5. Closes #60 Co-authored-by: fullsend-code <278716306+fullsend-ai-coder[bot]@users.noreply.github.com>
* fix(#62): complete styled-components v6 migration PR #53 bumped styled-components to v6 without updating code still using v5-only APIs, leaving main unable to resolve modules. - Import from 'styled-components' instead of the removed 'styled-components/macro' in the ten component style.ts files, and delete babel-plugin-macros.config.js (it only configured the styled-components macro). - Replace the v5 ThemedStyledComponentsModule cast with a DefaultTheme module augmentation in src/commons/style/index.d.ts and re-export css/createGlobalStyle/keyframes/ThemeProvider directly. - Use transient props ($isOpen, $large, $sku) in Cart and Product so styling-only props are not forwarded to the DOM in v6. - Drop the stale @types/styled-components devDependency (v6 ships its own types) and update Jest snapshots; only generated class names changed. Verified with TypeScript 4.9.5 swapped into node_modules, because the TypeScript 7 on main breaks tsc and react-scripts (#60): tsc --noEmit passes, all 39 tests pass, and eslint is clean. The lockfile was updated with --legacy-peer-deps because of the same TS 7 peer conflict. Closes #62 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(#62): drop undefined theme.colors.black and test cart transient props Address review feedback on PR #65: - Cart/style.ts: the open-cart button background read theme.colors.black, a key that was removed from the theme long ago. The interpolation resolved to undefined, so the declaration was dropped and the button fell back to its own theme.colors.primary background. Use theme.colors.primary directly; rendered output is unchanged and the style no longer references an undefined theme key. - Cart.test.tsx: add a test that opens the cart (exercising the $isOpen=true and $large paths) and asserts that neither isOpen nor large reaches the DOM, either as an attribute or as a React unknown-prop warning. Verified that reverting $large to large makes the test fail. Not changed (pre-existing, out of scope for this migration): the Product image alt text and the cart button accessible name; both are better handled in a follow-up. Verification: tests (19 suites, 40 tests), eslint ./src, and tsc --noEmit (with TypeScript 4.9.5 swapped into node_modules, as the TS 7 on main cannot load react-scripts; see #60) all pass. No pre-commit config exists in the repo. Addresses #65 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: fullsend-code <278716306+fullsend-ai-coder[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps styled-components from 5.3.3 to 6.6.0.
Release notes
Sourced from styled-components's releases.
... (truncated)
Commits
689ce25Version Packages (6.x) (#5800)209317cfix(rsc): send repeated server-component styles once, and explain edge-runtim...7afbd116.x maintenance: attrs and undefined props, RSC global styles, types on older...1c0e309fix: emit RSC styles per instance so they survive Suspense reveals (#5808)52c5f6efix: run style interpolations on every render (#5788) (#5809)3de03c2perf(types): faster type-checking for annotated styled component exports (#5801)7ce6aeafeat(types): add StyledComponent for explicit export annotations (#5799)1593023Version Packages (6.x) (#5798)3470387fix: support template index signatures (#5797)8ebf40aVersion Packages (6.x) (#5795)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for styled-components since your current version.