From 1607face67051b16d4648555f1001b2a9308e377 Mon Sep 17 00:00:00 2001 From: Farzad Date: Mon, 15 Apr 2024 04:54:42 -0400 Subject: [PATCH] Fix @types/cookie dependency (#10776) Co-authored-by: Florian Lefebvre --- .changeset/brown-news-roll.md | 5 +++++ packages/astro/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/brown-news-roll.md diff --git a/.changeset/brown-news-roll.md b/.changeset/brown-news-roll.md new file mode 100644 index 000000000000..ff57e1bc4054 --- /dev/null +++ b/.changeset/brown-news-roll.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Fixes cookies type inference diff --git a/packages/astro/package.json b/packages/astro/package.json index 0c3935e3f990..b2c1ed99cbf0 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -125,6 +125,7 @@ "@babel/traverse": "^7.23.3", "@babel/types": "^7.23.3", "@types/babel__core": "^7.20.4", + "@types/cookie": "^0.5.4", "acorn": "^8.11.2", "aria-query": "^5.3.0", "axobject-query": "^4.0.0", @@ -189,7 +190,6 @@ "@types/chai": "^4.3.10", "@types/common-ancestor-path": "^1.0.2", "@types/connect": "^3.4.38", - "@types/cookie": "^0.5.4", "@types/cssesc": "^3.0.2", "@types/debug": "^4.1.12", "@types/diff": "^5.0.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6c25470b4ab..93da521048ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -536,6 +536,9 @@ importers: '@types/babel__core': specifier: ^7.20.4 version: 7.20.5 + '@types/cookie': + specifier: ^0.5.4 + version: 0.5.4 acorn: specifier: ^8.11.2 version: 8.11.3 @@ -718,9 +721,6 @@ importers: '@types/connect': specifier: ^3.4.38 version: 3.4.38 - '@types/cookie': - specifier: ^0.5.4 - version: 0.5.4 '@types/cssesc': specifier: ^3.0.2 version: 3.0.2 @@ -8092,7 +8092,7 @@ packages: /@types/cookie@0.5.4: resolution: {integrity: sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==} - dev: true + dev: false /@types/cssesc@3.0.2: resolution: {integrity: sha512-Qii6nTRktvtI380EloxH/V7MwgrYxkPgBI+NklUjQuhzgAd1AqT3QDJd+eD+0doRADgfwvtagLRo7JFa7aMHXg==}