From a8f1a91e7e0605d847ddcdf4d7824d1b1fe9b838 Mon Sep 17 00:00:00 2001 From: Scott Willsey <7348442+scottaw66@users.noreply.github.com> Date: Fri, 30 Sep 2022 20:25:37 -0700 Subject: [PATCH] Astro image cache dependency fix scottaw66 (#4944) * Moves http-cache-semantics from dev dependency to dependency * Pull request for astro image http-cache-semantics dependency --- .changeset/clever-lies-reflect.md | 5 +++++ packages/integrations/image/package.json | 2 +- pnpm-lock.yaml | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .changeset/clever-lies-reflect.md diff --git a/.changeset/clever-lies-reflect.md b/.changeset/clever-lies-reflect.md new file mode 100644 index 000000000000..7a83e4b80cf1 --- /dev/null +++ b/.changeset/clever-lies-reflect.md @@ -0,0 +1,5 @@ +--- +'@astrojs/image': patch +--- + +Moves http-cache-semantics from dev dependency to dependency diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index be28b6baaf58..c77ea1c5791a 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -43,6 +43,7 @@ }, "dependencies": { "@altano/tiny-async-pool": "^1.0.2", + "http-cache-semantics": "^4.1.0", "image-size": "^1.0.2", "magic-string": "^0.25.9", "mime": "^3.0.0", @@ -56,7 +57,6 @@ "astro-scripts": "workspace:*", "chai": "^4.3.6", "cheerio": "^1.0.0-rc.11", - "http-cache-semantics": "^4.1.0", "kleur": "^4.1.4", "mocha": "^9.2.2", "rollup-plugin-copy": "^3.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 845a427c83e6..9d1fdfcd8f33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2507,6 +2507,7 @@ importers: web-streams-polyfill: ^3.2.1 dependencies: '@altano/tiny-async-pool': 1.0.2 + http-cache-semantics: 4.1.0 image-size: 1.0.2 magic-string: 0.25.9 mime: 3.0.0 @@ -2519,7 +2520,6 @@ importers: astro-scripts: link:../../../scripts chai: 4.3.6 cheerio: 1.0.0-rc.12 - http-cache-semantics: 4.1.0 kleur: 4.1.5 mocha: 9.2.2 rollup-plugin-copy: 3.4.0 @@ -13124,7 +13124,6 @@ packages: /http-cache-semantics/4.1.0: resolution: {integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==} - dev: true /http-errors/2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}