Skip to content

Bump js-cookie and react-use#40

Merged
foosel merged 1 commit into
reactfrom
dependabot/npm_and_yarn/multi-8c8957879a
Jun 22, 2026
Merged

Bump js-cookie and react-use#40
foosel merged 1 commit into
reactfrom
dependabot/npm_and_yarn/multi-8c8957879a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps js-cookie to 3.0.8 and updates ancestor dependency react-use. These dependencies need to be updated together.

Updates js-cookie from 2.2.1 to 3.0.8

Release notes

Sourced from js-cookie's releases.

v3.0.8

  • Restore ES5 compatibility, inadvertently broken in 3.0.7 - #959
  • Lift Node version restriction, inadvertently restricted to >= 20 in 3.0.7 - #956

v3.0.7

  • Prevent cookie attribute injection: CVE-2026-46625 (eb3c40e)
  • Add Partitioned attribute to readme (b994768)
  • Publish to npm registry via trusted publisher exclusively (4dc71be)
  • Ensure consistent behaviour for get('name') + get() (1953d30)

v3.0.5

  • Remove npm version restriction in package.json - #818

v3.0.4

  • Publish to npmjs.com with package provenance

v3.0.1

  • Make package.json accessible in export - #727

v3.0.0

  • Removed defaults in favor of a builder: now to supply an api instance with particular predefined (cookie) attributes there's Cookies.withAttributes(), e.g.:
const api = Cookies.withAttributes({
  path: '/',
  secure: true
})
api.set('key', 'value') // writes cookie with path: '/' and secure: true...
  • The attributes that an api instance is configured with are exposed as attributes property; it's an immutable object and unlike defaults cannot be changed to configure the api.
  • The mechanism to fall back to the standard, internal converter by returning a falsy value in a custom read converter has been removed. Instead the default converters are now exposed as Cookies.converter, which allows for implementing self-contained custom converters providing the same behavior:
const customReadConverter = (value, name) => {
  if (name === 'special') {
    return unescape(value)
  }
  return Cookies.converter.read(value)
}
  • withConverter() no longer accepts a function as argument to be turned into a read converter. It is now required to always pass an object with the explicit type(s) of converter(s):
const api = Cookies.withConverter({
  read: (value, name) => unescape(value)
})
  • The converter(s) that an api instance is configured with are exposed as converter property; it's an immutable object and cannot be changed to configure the api.
  • Started providing library as ES module, in addition to UMD module. The module field in package.json points to an ES module variant of the library.
  • Started using browser field instead of main in package.json (for the UMD variant of the library).
  • Dropped support for IE < 10.
  • Removed built-in JSON support, i.e. getJSON() and automatic stringifying in set(): use Cookies.set('foo', JSON.stringify({ ... })) and JSON.parse(Cookies.get('foo')) instead.
  • Removed support for Bower.

... (truncated)

Commits
  • d7a1096 Craft v3.0.8 release
  • 248e685 Use existing Chrome with puppeteer
  • fc04269 Remove QUnit related workaround in Grunt config
  • 265a685 Tidy up package lock file
  • 478e591 Disable Node deprecation DEP0044 for release workflow
  • 331d524 Fix node version config for E2E test job
  • 11d773d Ensure ECMAScript compatibility
  • d788646 Remove engines property from package
  • e7d9a4d Fix typo in test assertion message
  • b5fca24 Make credentials use explicit in release workflow
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for js-cookie since your current version.


Updates react-use from 17.6.0 to 17.6.1

Release notes

Sourced from react-use's releases.

v17.6.1

17.6.1 (2026-06-10)

Bug Fixes

  • deps: update dependency js-cookie to v3 (c0349d9)
Changelog

Sourced from react-use's changelog.

17.6.1 (2026-06-10)

Bug Fixes

  • deps: update dependency js-cookie to v3 (c0349d9)
Commits
  • fbe99c6 chore(release): 17.6.1 [skip ci]
  • a09536d Merge pull request #2100 from streamich/renovate/js-cookie-3.x
  • 41f6437 Merge branch 'master' into renovate/js-cookie-3.x
  • 9ef9535 chore(deps): update babel monorepo to v7.28.3 (#2666)
  • 68723a5 chore(deps): update dependency eslint-plugin-react to v7.37.5 (#2659)
  • e19a114 chore(deps): update dependency eslint-plugin-jsx-a11y to v6.10.2 (#2658)
  • 756784f chore(deps): update dependency eslint-plugin-import to v2.32.0 (#2657)
  • f6b9c35 chore(deps): update dependency babel-loader to v8.4.1 (#2656)
  • c60dda9 chore(deps): update babel monorepo (#2655)
  • b80305e chore(deps): update semantic-release monorepo (#2654)
  • Additional commits viewable in compare view

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [js-cookie](https://github.com/js-cookie/js-cookie) to 3.0.8 and updates ancestor dependency [react-use](https://github.com/streamich/react-use). These dependencies need to be updated together.


Updates `js-cookie` from 2.2.1 to 3.0.8
- [Release notes](https://github.com/js-cookie/js-cookie/releases)
- [Commits](js-cookie/js-cookie@v2.2.1...v3.0.8)

Updates `react-use` from 17.6.0 to 17.6.1
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](streamich/react-use@v17.6.0...v17.6.1)

---
updated-dependencies:
- dependency-name: js-cookie
  dependency-version: 3.0.8
  dependency-type: indirect
- dependency-name: react-use
  dependency-version: 17.6.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 22, 2026
@foosel foosel merged commit a96e316 into react Jun 22, 2026
1 check passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/multi-8c8957879a branch June 22, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant