chore(deps): bump js-cookie from 2.2.1 to 3.0.7 in /examples/next-js-theme-ui#4621
Conversation
Bumps [js-cookie](https://github.com/js-cookie/js-cookie) from 2.2.1 to 3.0.7. - [Release notes](https://github.com/js-cookie/js-cookie/releases) - [Commits](js-cookie/js-cookie@v2.2.1...v3.0.7) --- updated-dependencies: - dependency-name: js-cookie dependency-version: 3.0.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4a691d8. Configure here.
| "email-validator": "^2.0.4", | ||
| "jest": "^26.6.3", | ||
| "js-cookie": "^2.2.1", | ||
| "js-cookie": "^3.0.7", |
There was a problem hiding this comment.
Type definitions incompatible with bumped js-cookie v3
Medium Severity
Bumping js-cookie from v2 to v3 without updating @types/js-cookie from ^2.2.6 to ^3.0.0 leaves the type definitions mismatched with the runtime library. The v2 types describe a different API surface (e.g., getJSON(), defaults, named exports) that no longer exists in v3, which would cause TypeScript compilation errors or hide runtime breakage if any code imports js-cookie.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 4a691d8. Configure here.
|
View your CI Pipeline Execution ↗ for commit 4a691d8
☁️ Nx Cloud last updated this comment at |
1 similar comment
|
View your CI Pipeline Execution ↗ for commit 4a691d8
☁️ Nx Cloud last updated this comment at |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx test @snippet/react |
❌ Failed | 3m 38s | View ↗ |
nx test @e2e/nextjs-sdk-next-app |
✅ Succeeded | 7m 18s | View ↗ |
nx test @e2e/qwik-city |
✅ Succeeded | 7m 15s | View ↗ |
nx test @e2e/angular-17 |
✅ Succeeded | 6m 42s | View ↗ |
nx test @e2e/nuxt |
✅ Succeeded | 5m 29s | View ↗ |
nx test @e2e/angular-17-ssr |
✅ Succeeded | 5m 19s | View ↗ |
nx test @e2e/angular-19-ssr |
✅ Succeeded | 5m 11s | View ↗ |
nx test @e2e/gen1-remix |
✅ Succeeded | 4m 51s | View ↗ |
Additional runs (38) |
✅ Succeeded | ... | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-05-22 01:07:43 UTC



Bumps js-cookie from 2.2.1 to 3.0.7.
Release notes
Sourced from js-cookie's releases.
... (truncated)
Commits
17bacbaCraft v3.0.7 releaseadb823cFix release workflow halting atgit tag5f9e759May remove Git user config from release workflow6ac9211Fix release workflow not able to push commit + tag2278bc5Fix missing package version bumpeb3c40ePrevent cookie attribute injectionf6f157fBump globals from 17.5.0 to 17.6.0f409d02Bump eslint from 10.2.0 to 10.3.0a686883Bump protobufjs in the npm_and_yarn group across 1 directoryc6112d2Bump@protobufjs/utf8in the npm_and_yarn group across 1 directoryMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for js-cookie 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)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Dependency-only change, but it is a major
js-cookieupgrade that can introduce runtime/API behavior differences in cookie handling. Low blast radius since it’s limited to an example app, but it may still break any code relying on v2 APIs (e.g., JSON helpers/defaults).Overview
Bumps
js-cookiefrom^2.2.1to^3.0.7in theexamples/next-js-theme-uiexample and updatesyarn.lockaccordingly.This pulls in the v3 line of
js-cookie(including the security fix for cookie attribute injection), with potential breaking API/behavior changes for any code in the example that depends on v2 semantics.Reviewed by Cursor Bugbot for commit 4a691d8. Bugbot is set up for automated code reviews on this repo. Configure here.