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 f876f97ee6fc..f7680644bd44 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==}