Skip to content

Commit

Permalink
Updates dependency cookie (#1326)
Browse files Browse the repository at this point in the history
Co-authored-by: Emma Hamilton <[email protected]>
  • Loading branch information
fsmeier and emmatown authored Oct 9, 2024
1 parent e4684b2 commit 6d7fae2
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 31 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-planets-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystatic/core': patch
---

Update `cookie` dependency
5 changes: 5 additions & 0 deletions .changeset/big-needles-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystatic/astro': patch
---

Remove unused `cookie` dependency
1 change: 0 additions & 1 deletion dev-projects/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@types/react": "^18.2.8",
"@types/react-dom": "^18.0.11",
"astro": "^4.0.3",
"cookie": "^0.5.0",
"direction": "^2.0.1",
"is-hotkey": "^0.2.0",
"lodash": "^4.17.21",
Expand Down
2 changes: 0 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
"@sindresorhus/slugify": "^1.1.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.3",
"@types/cookie": "^0.5.1",
"@types/node": "16.11.13",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.0.11",
"cookie": "^0.5.0",
"emery": "^1.4.1",
"next": "^14.1.3",
"react": "^18.2.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@
"dependencies": {
"@babel/runtime": "^7.18.3",
"@types/react": "^18.2.8",
"cookie": "^0.5.0",
"set-cookie-parser": "^2.5.1"
},
"devDependencies": {
"@keystatic/core": "workspace:^",
"@types/cookie": "^0.5.1",
"@types/set-cookie-parser": "^2.4.2",
"astro": "^4.0.3",
"react": "^18.2.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/keystatic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"@urql/exchange-auth": "^2.2.0",
"@urql/exchange-graphcache": "^7.1.2",
"@urql/exchange-persisted": "^4.3.0",
"cookie": "^0.5.0",
"cookie": "^1.0.0",
"emery": "^1.4.1",
"escape-string-regexp": "^4.0.0",
"fast-deep-equal": "^3.1.3",
Expand Down Expand Up @@ -191,7 +191,6 @@
"@ts-gql/compiler": "^0.16.7",
"@ts-gql/eslint-plugin": "^0.9.1",
"@ts-gql/next": "^17.0.1",
"@types/cookie": "^0.5.1",
"@types/is-hotkey": "^0.1.7",
"@types/js-yaml": "^4.0.5",
"@types/mdast": "^4.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/keystatic/src/api/generic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cookie from 'cookie';
import * as cookie from 'cookie';
import * as s from 'superstruct';
import { Config } from '..';
import {
Expand Down
30 changes: 7 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d7fae2

Please sign in to comment.