Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/next-js-theme-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"css-color-names": "^1.0.1",
"email-validator": "^2.0.4",
"jest": "^26.6.3",
"js-cookie": "^2.2.1",
"js-cookie": "^3.0.7",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4a691d8. Configure here.

"keen-slider": "^5.2.4",
"lodash.random": "^3.2.0",
"lodash.throttle": "^4.1.1",
Expand Down
8 changes: 4 additions & 4 deletions examples/next-js-theme-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4703,10 +4703,10 @@ jkroso-type@1:
resolved "https://registry.yarnpkg.com/jkroso-type/-/jkroso-type-1.1.1.tgz#bc4ced6d6c45fe0745282bafc86a9f8c4fc9ce61"
integrity sha1-vEztbWxF/gdFKCuvyGqfjE/JzmE=

js-cookie@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.1.tgz#69e106dc5d5806894562902aa5baec3744e9b2b8"
integrity sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==
js-cookie@^3.0.7:
version "3.0.7"
resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-3.0.7.tgz#0a53abfc459c8e89c85d7a38eb6cb68714965b8c"
integrity sha512-z/wZZgDrkNV1eA0ULjM/F9/50Ya8fbzgKneSpoPsXSGd0KnpdtHfOZWK+GcwLk+EZbS4F9RBhU+K2RgzuDaItw==

"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
Expand Down
Loading