Skip to content

Commit

Permalink
build(deps): bump cookie from 0.7.0 to 1.0.2 (#6480)
Browse files Browse the repository at this point in the history
* build(deps): bump cookie from 0.7.0 to 1.0.2

Bumps [cookie](https://github.com/jshttp/cookie) from 0.7.0 to 1.0.2.
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.7.0...v1.0.2)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* correct the import of cookie to import * from 'cookie'

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Delilah <[email protected]>
  • Loading branch information
dependabot[bot] and goplayoutside3 authored Nov 25, 2024
1 parent 1ebccbe commit 38af5f1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/app-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@zooniverse/grommet-theme": "~3.2.0",
"@zooniverse/panoptes-js": "~0.5.0",
"@zooniverse/react-components": "~1.13.0",
"cookie": "~0.7.0",
"cookie": "~1.0.2",
"d3": "~6.7.0",
"engine.io-client": "~6.6.0",
"express": "^4.17.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-project/src/helpers/getCookie/getCookie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cookie from 'cookie'
import * as cookie from 'cookie'

export default function getCookie (name) {
if (document?.cookie) {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-project/stores/UI.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { autorun } from 'mobx'
import { addDisposer, getRoot, onPatch, types } from 'mobx-state-tree'
import cookie from 'cookie'
import * as cookie from 'cookie'
import stringHash from '@sindresorhus/string-hash'

import getCookie from '@helpers/getCookie'
Expand Down
2 changes: 1 addition & 1 deletion packages/app-project/stores/UI.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from 'chai'
import sinon from 'sinon'
import cookie from 'cookie'
import * as cookie from 'cookie'
import stringHash from '@sindresorhus/string-hash'

import initStore from './initStore'
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7639,10 +7639,10 @@ cookie@^0.5.0:
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==

cookie@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.0.tgz#2148f68a77245d5c2c0005d264bc3e08cfa0655d"
integrity sha512-qCf+V4dtlNhSRXGAZatc1TasyFO6GjohcOul807YOb5ik3+kQSnb4d7iajeCL8QHaJ4uZEjCgiCJerKXwdRVlQ==
cookie@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-1.0.2.tgz#27360701532116bd3f1f9416929d176afe1e4610"
integrity sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==

cookiejar@^2.1.4:
version "2.1.4"
Expand Down

0 comments on commit 38af5f1

Please sign in to comment.