Skip to content

Commit

Permalink
fix: fix sharp semver range to allow for 0.32.0 (#6952)
Browse files Browse the repository at this point in the history
* fix: fix sharp semver range to allow for 0.3é20

* fix: revert back to 0.31.0
  • Loading branch information
Princesseuh committed May 1, 2023
1 parent d0cf3a2 commit e5bd084
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 58 deletions.
6 changes: 6 additions & 0 deletions .changeset/thick-frogs-call.md
@@ -0,0 +1,6 @@
---
'@astrojs/image': patch
'astro': patch
---

Update allowed Sharp versions to support 0.32.0
5 changes: 2 additions & 3 deletions packages/astro/package.json
Expand Up @@ -181,7 +181,6 @@
"@types/rimraf": "^3.0.2",
"@types/send": "^0.17.1",
"@types/server-destroy": "^1.0.1",
"@types/sharp": "^0.31.1",
"@types/unist": "^2.0.6",
"astro-scripts": "workspace:*",
"chai": "^4.3.6",
Expand All @@ -196,13 +195,13 @@
"remark-code-titles": "^0.1.2",
"rollup": "^3.9.0",
"sass": "^1.52.2",
"sharp": "^0.31.3",
"sharp": "^0.32.1",
"srcset-parse": "^1.1.0",
"undici": "^5.22.0",
"unified": "^10.1.2"
},
"peerDependencies": {
"sharp": "^0.31.3"
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {
"sharp": {
Expand Down
3 changes: 1 addition & 2 deletions packages/integrations/image/package.json
Expand Up @@ -51,15 +51,14 @@
"devDependencies": {
"@types/http-cache-semantics": "^4.0.1",
"@types/mime": "^2.0.3",
"@types/sharp": "^0.30.5",
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"chai": "^4.3.6",
"cheerio": "^1.0.0-rc.11",
"fast-glob": "^3.2.11",
"mocha": "^9.2.2",
"rollup-plugin-copy": "^3.4.0",
"sharp": "^0.31.0",
"sharp": "^0.32.1",
"vite": "^4.3.1"
},
"peerDependencies": {
Expand Down
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"@astrojs/image": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -6,6 +6,6 @@
"@astrojs/image": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
Expand Up @@ -7,6 +7,6 @@
"@astrojs/mdx": "workspace:*",
"@astrojs/node": "workspace:*",
"astro": "workspace:*",
"sharp": "^0.31.0"
"sharp": "^0.32.1"
}
}
98 changes: 53 additions & 45 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 e5bd084

Please sign in to comment.